joyce8/EMBER2024-capa huggingface dataset:
Function at 0x406e10
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x406f48
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
jne 0x406f32
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406e6d
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406f32
cmp dword [ebp - 0x10], 0
jne 0x406e82
mov eax, dword [ebp - 8]
call 0xd403198
aaa
mov bl, 0xc0
mov al, 0
add byte [eax], al
cmp dword [ebp - 0x10], 0x70000000
jb 0x406e90
call fcn.00405884
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
lea eax, [ebp - 0x14]
mov ecx, esi
xor edx, edx
call fcn.00403278
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
call fcn.00403420
push eax
lea eax, [ebp - 0xc]
push eax
push 0
mov eax, dword [ebp - 4]
push eax
push edi
call sub.advapi32.dll_RegQueryValueExA
cmp eax, 0xea
je 0x406e36
test eax, eax
jne 0x406f32
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 0xc]
je 0x406ee0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp + 8]
jne 0x406f32
mov esi, dword [ebp - 0x10]
test esi, esi
sar esi, 0
jmp 0x406eeb
inc ecx
ljmp 0x8000
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x406f4f
lea eax, [ebp - 0x14]
call fcn.00403198
ret

Function at 0x407890
Capabilities:
Hash data with crc32

Disassembly:
push esi
xor esi, esi
mov ecx, 0x40c55c
mov eax, esi
mov edx, 8
test al, 1
je 0x4078ac
shr eax, 1
xor eax, 0xedb88320
jmp 0x4078ae
shr eax, 1
dec edx
jne 0x40789f
mov dword [ecx], eax
inc esi
add ecx, 4
cmp esi, 0x100
jne 0x407898
pop esi
ret

Function at 0x4078c4
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
mov esi, ecx
mov edi, edx
mov ebx, eax
cmp dword [0x40c558], 0
jne 0x4078e7
call fcn.00407890
push 1
push 0x40c558
call sub.kernel32.dll_InterlockedExchange
mov eax, edi
test esi, esi
je 0x407912
mov edx, ebx
and dx, 0xff
xor ecx, ecx
mov cl, byte [eax]
xor dx, cx
movzx edx, dx
mov edx, dword [edx*4 + 0x40c55c]
shr ebx, 8
xor edx, ebx
mov ebx, edx
dec esi
inc eax
test esi, esi
jne 0x4078ed
mov eax, ebx
pop edi
pop esi
pop ebx
ret

Function at 0x408fbc
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
mov esi, edx
mov ebx, eax
lea edx, [ebp - 0xc]
mov eax, ebx
call fcn.00408f70
test al, al
jne 0x408fdd
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x409029
xor eax, eax
push ebp
push 0x409019
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.00403414
push eax
call sub.kernel32.dll_DeleteFileA
mov dword [ebp - 4], eax
call sub.kernel32.dll_GetLastError_1
mov dword [ebp - 0x10], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409020
lea eax, [ebp - 0xc]
call fcn.00408fac
ret
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x401d55
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401d94
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401d94
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401d94
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401d94
cmp dword [ecx + 0x74], 0xe
jbe 0x401d94
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x404050
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40407d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40407d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x86bff8
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.0086c148
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x86c01e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86c00a
add dl, dl
jne 0x86c029
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86c07c
xor eax, eax
add dl, dl
jne 0x86c036
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x86c11d
add dl, dl
jne 0x86c045
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86c050
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86c05b
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86c066
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x86c072
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x86c015
mov eax, 1
add dl, dl
jne 0x86c08a
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x86c095
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86c081
sub eax, ebx
mov ebx, 1
jne 0x86c0c8
mov ecx, 1
add dl, dl
jne 0x86c0ae
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x86c0b9
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86c0a5
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86c015
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x86c0df
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x86c0ea
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x86c0d6
cmp eax, 0x7d00
jae 0x86c10d
cmp eax, 0x500
jb 0x86c108
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86c015
cmp eax, 0x7f
ja 0x86c110
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x86c015
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x86c13e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x86c015
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x1000100c
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x1003bfe8], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x10001050
call ebx
test eax, eax
jns 0x10001046
push str.___.___
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push str.Unicows.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x1003bfec], eax
mov dword [0x1003bfe8], 1
mov eax, dword [0x1003bfec]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x1000106c
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x1000109c
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x10001092
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x10001087
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x1000108c
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x1000109b
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc

Function at 0x10001fe2
Capabilities:
Encode data using xor

Disassembly:
xor edx, edx
push esi
mov esi, ecx
test eax, eax
jg 0x10001ff4
call fcn.100016a4
test eax, eax
jle 0x1000200f
push edi
movzx ecx, byte [esi]
movzx ecx, byte [ecx + 0x10033450]
mov edi, edx
shl edi, 3
xor ecx, edi
xor edx, ecx
inc esi
dec eax
test eax, eax
jg 0x10001ff5
pop edi
mov eax, edx
and eax, 0x7fffffff
pop esi
ret
Function at 0x10016ade
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
sub esp, 0x74
mov eax, dword [section..data]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x4c], eax
mov eax, dword [0x1003b010]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [esp + 0x50], eax
mov edx, dword [0x1003b054]
mov eax, dword [0x1003b044]
push eax
mov ecx, dword [esp + 0x50]
call fcn.10017df6
mov dword [esp + 0x18], eax
mov edx, dword [0x1003b01c]
mov eax, dword [0x1003b044]
push eax
mov ecx, dword [esp + 0x50]
call fcn.10017df6
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x4c]
mov esi, dword [0x1003b028]
mov ecx, dword [0x1003b044]
mov ebx, dword [edx + 0x3c]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x30], esi
mov eax, dword [ebx + edx + 0x78]
mov edi, dword [eax + edx + 0x20]
mov ecx, dword [eax + edx + 0x1c]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], edi
lea esi, [edx + edi]
lea edi, [edx + ecx]
mov ecx, dword [eax + edx + 0x24]
lea ebx, [edx + ecx]
mov edx, dword [eax + edx + 0x18]
test edx, edx
jbe 0x10016c51
mov dword [esp + 0x40], esi
xor eax, eax
mov dword [esp + 0x3c], edi
mov dword [esp + 0x38], ebx
mov dword [esp + 0x34], edx
mov dword [esp + 0x10], ecx
Function at 0x1001726b
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + eax*4]
add ebx, dword [esp + 0x50]
cmp byte [ebx], 0
je 0x10017219
xor esi, esi
inc esi
cmp byte [esi + ebx], 0
jne 0x100171b2
test esi, esi
je 0x10017219
mov edx, esi
xor edi, edi
shr edx, 1
je 0x100177f7
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x24]
imul edi, eax
movsx esi, byte [ebx + ecx*2]
movzx esi, si
add edi, esi
imul edi, eax
movsx esi, byte [ebx + ecx*2 + 1]
inc ecx
movzx esi, si
add edi, esi
cmp ecx, edx
jb 0x100171d7
mov esi, dword [esp + 0x34]
lea ecx, [ecx + ecx + 1]
mov eax, dword [esp + 0x28]
lea edx, [ecx - 1]
cmp edx, esi
jae 0x1001721b
imul edi, dword [esp + 0x24]
movsx edx, byte [ecx + ebx - 1]
movzx ecx, dx
add edi, ecx
jmp 0x1001721b
invalid
add dh, byte [ebx]
dec dword [ebx - 0x74abdbac]
dec esp
and al, 0x58
xor edi, edi
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
movzx ebx, word [edx + eax*2]
mov esi, dword [ecx + ebx*4]
add esi, dword [esp + 0x50]
cmp edi, dword [esp + 0x3c]
je 0x10017241
inc eax
cmp eax, dword [esp + 0x38]
jb 0x100171a0
xor esi, esi
push 0x84
push 0x40
call dword [esp + 0x50]
mov ebx, eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x3c], esi
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
mov dword [ebx + 0x34], edi
mov edi, dword [esp + 0x50]
push eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x64], esi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x54], ecx
mov dword [ebx + 0x70], esi
mov ecx, dword [edi + 0x3c]
mov eax, dword [0x1003b038]
mov edx, dword [0x1003b044]
mov esi, dword [ecx + edi + 0x78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov edx, dword [esi + edi + 0x20]
mov eax, dword [esi + edi + 0x1c]
add edx, edi
mov ecx, dword [esi + edi + 0x24]
add eax, edi
mov esi, dword [esi + edi + 0x18]
add ecx, edi
test esi, esi
jbe 0x10017396
xchg bh, al
add byte [eax], al
invalid
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ebx
mov ecx, 1
jmp 0x10017201
Function at 0x100172ca
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov edx, dword [esp + 0x5c]
mov ebx, dword [edx + eax*4]
add ebx, dword [esp + 0x50]
cmp byte [ebx], 0
je 0x10017219
xor esi, esi
inc esi
cmp byte [esi + ebx], 0
jne 0x100171b2
test esi, esi
je 0x10017219
mov edx, esi
xor edi, edi
shr edx, 1
je 0x100177f7
mov dword [esp + 0x28], eax
xor ecx, ecx
mov dword [esp + 0x34], esi
mov eax, dword [esp + 0x24]
imul edi, eax
movsx esi, byte [ebx + ecx*2]
movzx esi, si
add edi, esi
imul edi, eax
movsx esi, byte [ebx + ecx*2 + 1]
inc ecx
movzx esi, si
add edi, esi
cmp ecx, edx
jb 0x100171d7
mov esi, dword [esp + 0x34]
lea ecx, [ecx + ecx + 1]
mov eax, dword [esp + 0x28]
lea edx, [ecx - 1]
cmp edx, esi
jae 0x1001721b
imul edi, dword [esp + 0x24]
movsx edx, byte [ecx + ebx - 1]
movzx ecx, dx
add edi, ecx
jmp 0x1001721b
invalid
add dh, byte [ebx]
dec dword [ebx - 0x74abdbac]
dec esp
and al, 0x58
xor edi, edi
mov edx, dword [esp + 0x54]
mov ecx, dword [esp + 0x58]
movzx ebx, word [edx + eax*2]
mov esi, dword [ecx + ebx*4]
add esi, dword [esp + 0x50]
cmp edi, dword [esp + 0x3c]
je 0x10017241
inc eax
cmp eax, dword [esp + 0x38]
jb 0x100171a0
xor esi, esi
push 0x84
push 0x40
call dword [esp + 0x50]
mov ebx, eax
mov edi, dword [esp + 0x1c]
mov eax, dword [esp + 0x4c]
mov edx, dword [esp + 0x14]
mov dword [ebx + 0x3c], esi
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x48]
mov dword [ebx + 0x34], edi
mov edi, dword [esp + 0x50]
push eax
mov dword [ebx + 4], eax
mov dword [ebx + 0x68], edx
mov dword [ebx + 0x44], ecx
mov dword [ebx + 0x64], esi
mov eax, dword [esp + 0x2c]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov esi, dword [esp + 0x20]
mov dword [ebx + 0x78], edi
mov dword [ebx + 0x4c], eax
mov dword [ebx + 0x6c], edx
mov dword [ebx + 0x54], ecx
mov dword [ebx + 0x70], esi
mov ecx, dword [edi + 0x3c]
mov eax, dword [0x1003b038]
mov edx, dword [0x1003b044]
mov esi, dword [ecx + edi + 0x78]
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], edx
mov edx, dword [esi + edi + 0x20]
mov eax, dword [esi + edi + 0x1c]
add edx, edi
mov ecx, dword [esi + edi + 0x24]
add eax, edi
mov esi, dword [esi + edi + 0x18]
add ecx, edi
test esi, esi
jbe 0x10017396
xchg bh, al
add byte [eax], al
invalid
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
mov dword [esp + 0x44], ebx
mov ecx, 1
jmp 0x10017201
Function at 0x4125ec
Capabilities:
Terminate process

Disassembly:
call fcn.004125f9
push 0
call dword [sym.imp.KERNEL32.DLL_ExitProcess]

Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x433072
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x50d12d5
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x433060
nop
nop
mov eax, section..text_1
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4330d2
nop
nop
nop
mov ebx, 0x4304d8
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x22c7c5f
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4330c0
nop
nop
popal
nop
nop
nop
nop
jmp 0x431219
Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..rdata
nop
nop
nop
push 4
nop
nop
nop
pop edi
nop
nop
nop
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x430072
mov ebx, 0x408ecc
nop
nop
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x7bca148f
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
loop 0x430060
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
je 0x4300d2
nop
nop
mov ebx, 0x42e1d0
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x2d5a78d9
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
loop 0x4300c0
nop
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x408866
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x410204
push 0x4101fc
push str.FlsGetValue
push 0x21
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40889d
push dword [ebp + 8]
mov ecx, esi
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4088a5
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x41020c
push 0x410204
push str.FlsSetValue
push 0x22
call fcn.00408723
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4088df
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x40e150]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]

Function at 0x40916d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
inc ebp
mov dl, 0xd3
mov byte [ebp - 0x4d], 0xc2
mov byte [ebp - 0x4c], 0xca
mov byte [ebp - 0x4b], 0xee
mov byte [ebp - 0x4a], 0xc9
mov byte [ebp - 0x49], 0xc1
mov byte [ebp - 0x48], 0xc8
mov byte [ebp - 0x47], 0xa7
call fcn.00408eed
adc ecx, dword [eax + 0x458d7b91]
test al, 0x50
call fcn.00408efd
mov esi, dword [ebp + 0xc]
push eax
push esi
push dword [ebp + 8]
call fcn.00408eb2
add esp, 0x10
lea ecx, [ebp - 0xb0]
push ecx
call eax
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xac]
xor edx, edx
div ecx
xor edx, edx
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 8]
div ecx
test edx, edx
je 0x4091db
inc dword [ebp - 0x8c]
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
mov byte [ebp - 0x34], 0x7f
mov byte [ebp - 0x33], 0x7f
mov byte [ebp - 0x32], 0x7c
mov byte [ebp - 0x31], 0x70
mov byte [ebp - 0x30], 0x13
call fcn.00408eed
lcall 0xc045, 0x8dec2d23
push eax
call fcn.00408efd
push eax
push esi
push dword [ebp + 8]
call fcn.00408eb2
add esp, 0x10
mov dword [ebp - 0x88], eax
call fcn.00408eed
jae 0x4091f4
les eax, [ebp - 0x3a]
inc ebp
lds edi, [edx - 0x3a]
inc ebp
invalid
dec esi
loop 0x4091e2
inc ebp
call 0x5128efe3
mov byte [ebp - 0x17], bl
mov byte [ebp - 0x16], 0x40
mov byte [ebp - 0x15], bl
mov byte [ebp - 0x14], 0xe9
mov byte [ebp - 0x13], 0xd6
mov byte [ebp - 0x12], 0xcd
mov byte [ebp - 0x11], 0xcb
mov byte [ebp - 0x10], 0xca
mov byte [ebp - 0xf], 0xde
mov byte [ebp - 0xe], 0xd3
mov byte [ebp - 0xd], 0xf9
mov byte [ebp - 0xc], 0xcd
invalid

Function at 0x40d5a0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40d5cd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40d5cd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x10029480
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
pushal
call 0x1002948f
pop dword [ebp - 0x1c]
mov eax, 0x26891967
add eax, 0xe9797b28
sub dword [ebp - 0x1c], eax
mov dword [ebp - 0x2c], 0x3e1da0de
sub dword [ebp - 0x2c], 0xefcb5b93
mov dword [ebp - 0x28], 0x31f07819
add dword [ebp - 0x28], 0x42d42c
mov dword [ebp - 0x24], 0x60cf8d6b
add dword [ebp - 0x24], 0xeb7cb6c3
mov dword [ebp - 0x20], 0xf90c5773
sub dword [ebp - 0x20], 0xf90c5773
lea eax, [ebp - 0x2c]
push eax
mov eax, 0xef04058d
add eax, 0x21029aab
add eax, dword [ebp - 0x1c]
call dword [eax]
mov dword [ebp - 0x2c], 0x50ff9414
sub dword [ebp - 0x2c], 0xdc8d2abe
mov dword [ebp - 0x28], 0x5d6d2c43
sub dword [ebp - 0x28], 0x1c00cace
mov dword [ebp - 0x24], 0xc7e0cedf
add dword [ebp - 0x24], 0x9b8e9d8d
mov dword [ebp - 0x20], 0x62e39d6f
sub dword [ebp - 0x20], 0x62e39d6f
lea ebx, [ebp - 0x2c]
push ebx
push eax
mov eax, 0x8a8ed05f
add eax, 0x8577cfdd
add eax, dword [ebp - 0x1c]
call dword [eax]
push 0x40
push 0x1000
push 0x4552d
push 0
call eax
mov ecx, 0x484b
xor ebx, ebx
add ebx, eax
mov esi, 0xb17e049
add esi, 0x4f253b7
add esi, dword [ebp - 0x1c]
mov edx, 0x7df68e1d
xor dword [ebp - 0x18], ebx
mov edi, dword [esi]
xor dword [ebp - 0x14], 0xb12f3238
xor edi, edx
sub dword [ebp - 0x10], ecx
mov dword [ebx], edi
add dword [ebp - 0xc], 0xfaae500f
add ebx, 0x9b572a5
sub ebx, 0x9b572a1
add esi, 0x6740a554
add esi, 0x98bf5ab0
loop 0x100295a7
add eax, 0x113ff
xor ebx, ebx
add ebx, eax
add eax, 0x78aa5f9c
sub eax, 0x78aa5f97
mov ecx, 0x4a90203b
sub ecx, 0x3a90203b
add ecx, dword [ebp - 0x1c]
call ebx
leave
ret

Function at 0x1002a7a0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
push edi
push ebx
add ecx, 0xec
call dword [0x1006a19c]
push str.JSINCLUDE
call dword [sym.imp.msvcr100.dll_getenv]
mov edi, eax
add esp, 4
test edi, edi
je 0x1002a801
cmp byte [edi], 0
je 0x1002a801
mov ecx, ebx
call dword [sym.imp.ScCore.dll_public:_int___thiscall_ScCore::String::length_void_const]
test eax, eax
je 0x1002a7f1
mov ecx, dword [esi + 8]
push 0x3a
add ecx, 0xec
call dword [0x1006a2a4]
mov ecx, dword [esi + 8]
push edi
add ecx, 0xec
call dword [0x1006a2c4]
pop edi
pop esi
pop ebx
pop ebp
ret 4

Function at 0x10033280
Capabilities:
Get number of processors

Disassembly:
mov dword [ecx], vtable.jsEngine.0
jmp fcn.10018120
Function at 0x10007667
Capabilities:
Parse pe header
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push esi
and esp, 0xfffffff8
sub esp, 0x90
lea eax, [esp + 0x20]
lea ecx, [esp + 0x30]
mov dword [0x10044b9c], 0x37a
mov dword [esp], eax
mov dword [esp + 0x1c], ecx
call fcn.100088a7
lea ecx, [0x10007798]
mov edx, dword [0x10044b9c]
mov esi, dword [esp + 0x20]
mov dword [esp + 0x78], esi
add edx, 0xffffdcc0
mov dword [0x10044b9c], edx
mov dword [esp + 0x34], 0x121e00
mov edx, dword [0x10044b88]
mov dword [esp + 0x64], edx
mov edx, dword [0x10044b8c]
mov dword [esp + 0x48], edx
mov edx, dword [0x10044b90]
mov dword [esp + 0x30], edx
mov edx, dword [0x10044b94]
mov dword [esp + 0x70], edx
mov edx, dword [0x10044b98]
mov dword [esp + 0x5c], edx
mov dword [0x10044ba0], 0x1a2
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
mov eax, dword [esp + 0x14]
cmp word [eax], 0x5a4d
mov dword [esp + 0x10], eax
jne 0x1000772a
mov eax, dword [esp + 0x10]
mov ecx, dword [eax + 0x3c]
add eax, ecx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
cmp dword [eax], 0x4550
je 0x1000773e
mov eax, dword [esp + 0x10]
add eax, 0xfffff000
and eax, 0xfffff000
mov dword [esp + 0x14], eax
jmp 0x100076fe
lea eax, [esp + 0x30]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x84], ecx
mov dword [0x10044b9c], 0xd16
mov edx, dword [esp + 0xc]
mov esi, dword [ecx + edx + 0x50]
mov dword [esp + 0x80], esi
mov esi, dword [esp + 0x28]
mov dword [esp], eax
mov dword [esp + 4], esi
call fcn.10008738
mov ecx, esp
lea edx, [esp + 0x30]
mov dword [ecx], edx
call eax
sub esp, 4
mov eax, 2
mov dword [0x10044b9c], 0x4fd
lea esp, [ebp - 4]
pop esi
pop ebp
ret