joyce8/EMBER2024-capa huggingface dataset:
Function at 0x446cc0
Capabilities:
Hash data using fnv
Set registry value

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49310d
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4b30fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax + 0x44]
lea edi, [eax + 0x40]
mov esi, dword [ebx + 8]
mov dword [ebp - 0x14], ecx
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul ecx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor ecx, eax
movzx eax, byte [esi + 2]
imul ecx, ecx, 0x1000193
xor ecx, eax
movzx eax, byte [esi + 3]
imul ecx, ecx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
push esi
lea eax, [ebp - 0x24]
push eax
call fcn.00417300
mov eax, dword [eax + 4]
test eax, eax
jne 0x446d55
mov eax, dword [edi + 4]
cmp eax, dword [ebp - 0x14]
mov ecx, edi
push esi
lea eax, [ebp - 0x24]
push eax
je 0x446d7a
call fcn.0044b9a0
movups xmm0, xmmword [esi + 4]
mov eax, dword [eax]
movups xmmword [eax + 0xc], xmm0
movups xmm0, xmmword [esi + 0x14]
movups xmmword [eax + 0x1c], xmm0
jmp 0x446d7f
call fcn.0044cea0
lea eax, [ebp - 0x18]
push eax
push dword [0x4b88a0]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
push edi
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0x14]
push eax
mov ecx, edi
call fcn.0044aca0
mov dword [ebp - 4], 0
mov esi, dword [ebp - 0x14]
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x446dd9
add eax, eax
push eax
push esi
push 1
push 0x4a35ac
push 0x4a1f04
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetKeyValueW]
lea eax, [ebp - 0x14]
push eax
lea ecx, [edi + 0x60]
call fcn.00403230
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x446e01
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
Function at 0x447320
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4931bb
mov eax, dword fs:[0]
push eax
sub esp, 0x234
mov eax, dword [0x4b30fc]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
lea eax, [ebp - 0x218]
push eax
push dword [0x4b88a0]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x200
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0x4a35ac
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x218]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x4473b0
sub ecx, edx
sar ecx, 1
cmp ecx, 0x14
jbe 0x4474ad
call fcn.00403910
mov ecx, eax
test ecx, ecx
je 0x4474c7
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x210]
mov dword [ebp - 4], 0
push eax
lea ecx, [ebp - 0x214]
call fcn.00402a50
test al, al
jne 0x447432
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x447410
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x214]
call fcn.00402d80
lea eax, [ebp - 0x214]
mov dword [ebp - 4], 1
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.00446e20
push eax
lea ecx, [esi + 0x40]
call fcn.0044b4e0
lea ecx, [ebp - 0x240]
call fcn.00420210
mov dword [ebp - 4], 0xffffffff
or eax, 0xffffffff
mov edx, dword [ebp - 0x214]
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x447485
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebp - 0x210]
lea ecx, [esi + 0x60]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x447491
sub edx, esi
lea eax, [ebp - 0x210]
sar edx, 1
push edx
push eax
call fcn.00402d80
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0046a70a
mov esp, ebp
pop ebp
ret
push 0x80004005
call fcn.004036e0
int3
Function at 0x44b7c0
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, ecx
push ebx
push esi
push edi
cmp dword [edx + 0x14], 8
mov edi, edx
mov dword [ebp - 4], eax
jb 0x44b7db
mov edi, dword [edx]
mov ebx, dword [edx + 0x10]
mov esi, 0x811c9dc5
mov ecx, 0
add ebx, ebx
je 0x44b804
nop dword [eax]
movzx eax, byte [ecx + edi]
inc ecx
xor eax, esi
imul esi, eax, 0x1000193
cmp ecx, ebx
jb 0x44b7f0
mov eax, dword [ebp - 4]
push esi
push edx
lea ecx, [ebp - 0xc]
push ecx
mov ecx, eax
call fcn.00450660
pop edi
pop esi
pop ebx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 8]
test ecx, ecx
jne 0x44b824
mov ecx, dword [ebp - 4]
mov ecx, dword [ecx + 4]
mov dword [eax], ecx
mov esp, ebp
pop ebp
ret 8
Function at 0x44cea0
Capabilities:
Hash data using fnv

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x491325
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x18
push esi
push edi
mov eax, dword [0x4b30fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov esi, dword [ebx + 0xc]
movzx eax, byte [esi]
xor eax, 0x811c9dc5
imul edx, eax, 0x1000193
movzx eax, byte [esi + 1]
xor edx, eax
movzx eax, byte [esi + 2]
imul edx, edx, 0x1000193
xor edx, eax
movzx eax, byte [esi + 3]
imul ecx, edx, 0x1000193
xor ecx, eax
imul eax, ecx, 0x1000193
mov ecx, edi
push eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00417300
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x44cf37
mov eax, dword [ebx + 8]
mov dword [eax], ecx
mov byte [eax + 4], 0
jmp 0x44d070
cmp dword [edi + 8], 0x5d1745d
je 0x44d086
lea eax, [edi + 4]
mov dword [ebp - 0x24], eax
mov dword [ebp - 4], 0
push 0x2c
mov dword [ebp - 0x20], 0
call fcn.0046aa7a
mov esi, eax
add esp, 4
mov eax, dword [ebx + 0xc]
mov dword [ebp - 0x20], esi
mov ecx, dword [eax]
mov dword [esi + 8], ecx
movups xmm0, xmmword [eax + 4]
movups xmmword [esi + 0xc], xmm0
movups xmm0, xmmword [eax + 0x14]
movups xmmword [esi + 0x1c], xmm0
mov dword [ebp - 4], 1
mov eax, dword [edi + 8]
inc eax
movss xmm3, dword [edi]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x4a44b0]
mov eax, dword [edi + 0x1c]
movd xmm1, eax
cvtdq2pd xmm1, xmm1
shr eax, 0x1f
cvtpd2ps xmm0, xmm0
addsd xmm1, qword [eax*8 + 0x4a44b0]
movaps xmm2, xmm0
cvtpd2ps xmm1, xmm1
divss xmm2, xmm1
comiss xmm2, xmm3
jbe 0x44d020
divss xmm0, xmm3
call fcn.0041ae20
call fcn.0048da60
mov ecx, 8
cmp eax, ecx
cmova ecx, eax
mov eax, dword [edi + 0x1c]
cmp eax, ecx
jae 0x44cffc
cmp eax, 0x200
jae 0x44cffa
shl eax, 3
cmp eax, ecx
jae 0x44cffc
mov eax, ecx
push eax
mov ecx, edi
call fcn.00417710
push dword [ebp - 0x14]
lea eax, [esi + 8]
mov ecx, edi
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.00417300
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
jmp 0x44d023
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 4]
inc dword [edi + 8]
mov dword [esi + 4], eax
mov dword [esi], edx
mov dword [eax], esi
mov dword [edx + 4], esi
mov ecx, dword [edi + 0xc]
mov esi, dword [ebp - 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [edi + 0x18]
and eax, dword [ebp - 0x14]
mov edi, dword [ecx + eax*8]
cmp edi, dword [esi]
mov esi, dword [ebp - 0x20]
jne 0x44d051
mov dword [ecx + eax*8], esi
jmp 0x44d063
cmp edi, edx
jne 0x44d05a
mov dword [ecx + eax*8], esi
jmp 0x44d067
mov edx, dword [ebp - 0x18]
cmp dword [ecx + eax*8 + 4], edx
jne 0x44d067
mov dword [ecx + eax*8 + 4], esi
mov eax, dword [ebx + 8]
mov dword [eax], esi
mov byte [eax + 4], 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret 8
push str.unordered_map_set_too_long
call fcn.0045349b
int3
Function at 0x451020
Capabilities:
Hide graphical window

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x493efd
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x50
push esi
push edi
mov eax, dword [0x4b30fc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x18], esi
mov edi, dword [esi + 4]
test edi, edi
jne 0x45115e
call fcn.00403910
mov ecx, eax
test ecx, ecx
je 0x4511da
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
add eax, 0x10
mov dword [ebp - 0x14], eax
push str.SYSTEM_EVT_HANDLER
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], edi
call fcn.00402a50
test al, al
jne 0x4510aa
push 0x12
push str.SYSTEM_EVT_HANDLER
lea ecx, [ebp - 0x14]
call fcn.00402d80
mov dword [ebp - 4], 0xffffffff
xorps xmm0, xmm0
mov eax, dword [esi + 8]
mov esi, dword [ebp - 0x14]
mov dword [ebp - 0x4c], eax
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0
movlpd qword [ebp - 0x54], xmm0
movlpd qword [ebp - 0x48], xmm0
movlpd qword [ebp - 0x40], xmm0
mov dword [ebp - 0x58], 0x4511f0
mov dword [ebp - 0x38], esi
call dword [sym.imp.USER32.dll_RegisterClassW]
mov eax, dword [ebp - 0x18]
push 0
push dword [eax + 8]
push 0
push 0
push 1
push 0xffffffffffffffff
push 1
push 0xffffffffffffffff
push SysReAllocString
push 0
push esi
push 0x8000000
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov edi, eax
test edi, edi
jne 0x451130
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x45112c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
xor edi, edi
jmp 0x451158
push 0
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_UpdateWindow]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x451158
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov esi, dword [ebp - 0x18]
mov dword [esi + 4], edi
push 1
push 0
push 0
xorps xmm0, xmm0
mov dword [ebp - 0x1c], 0
push edi
lea eax, [ebp - 0x34]
movq qword [ebp - 0x24], xmm0
push eax
movups xmmword [ebp - 0x34], xmm0
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x4511c4
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x34]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x30]
cmp eax, 0x401
je 0x4511ab
cmp eax, 0x402
jne 0x4511c4
mov dword [esi + 0xc], eax
mov al, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
push 0x80004005
call fcn.004036e0
int3
Function at 0x451ab0
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
push ebx
lea eax, [ebp - 4]
mov dword [ebp - 4], 1
mov dword [ebp - 0x24], eax
mov ebx, ecx
lea eax, [ebp - 0x2c]
mov dword [ebp - 0x28], 2
push esi
mov dword [ebp - 0x30], eax
lea eax, [ebp - 0x38]
push eax
lea esi, [ebx + 0x20]
mov dword [ebp - 0x2c], 4
push esi
mov dword [ebp - 0x38], 0
mov dword [ebp - 0x34], 1
call dword [sym.imp.Secur32.dll_ApplyControlToken]
push 0
lea ecx, [ebp - 8]
mov dword [ebp - 0x1c], 2
push ecx
lea ecx, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push ecx
push 0
push 0
push ecx
push 0
push 0
push 0x811c
lea eax, [ebp - 0x20]
mov dword [ebp - 0x10], 1
push 0
mov dword [ebp - 0xc], eax
lea eax, [ebx + 0x18]
push esi
push eax
mov dword [ebp - 8], 0x811c
call dword [sym.imp.Secur32.dll_InitializeSecurityContextW]
test eax, eax
jne 0x451b75
mov esi, dword [ebp - 0x18]
push edi
mov edi, dword [ebp - 0x20]
test edi, edi
je 0x451b6a
nop dword [eax]
push 0
push edi
push esi
push dword [ebx + 0x14]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jle 0x451b67
add esi, eax
sub edi, eax
jne 0x451b50
mov esi, dword [ebp - 0x18]
push esi
call dword [sym.imp.Secur32.dll_FreeContextBuffer]
lea esi, [ebx + 0x20]
pop edi
push 2
push dword [ebx + 0x14]
call dword [sym.imp.WS2_32.dll_shutdown]
push esi
call dword [sym.imp.Secur32.dll_DeleteSecurityContext]
lea eax, [ebx + 0x18]
push eax
call dword [sym.imp.Secur32.dll_FreeCredentialsHandle]
push dword [ebx + 0x14]
call dword [sym.imp.WS2_32.dll_closesocket]
call dword [sym.imp.WS2_32.dll_WSACleanup]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x452820
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x4b30fc]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x414], 0x400
push edi
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x410], eax
call fcn.00452990
mov ecx, dword [eax]
sub ecx, 0x10
call fcn.00402c30
mov edi, eax
lea eax, [ebp - 0x408]
lea ecx, [edi + 0x10]
push ecx
push 0x4a41d8
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x452889
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
lea eax, [ebp - 0x40c]
push eax
lea eax, [ebp - 0x408]
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyW]
mov eax, dword [ebp + 8]
cmp eax, 0xff
jne 0x4528ff
cmp byte [ebp + 0xc], 0
jne 0x4528ff
lea eax, [ebp - 0x414]
push eax
lea eax, [ebp - 0x408]
push eax
push 0x4a1f04
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueW]
mov ax, word [ebp - 0x408]
cmp ax, 0x31
jne 0x4528e7
mov dword [esi + 0xc], 1
jmp 0x45294b
cmp ax, 0x32
jne 0x4528f6
mov dword [esi + 0xc], 2
jmp 0x45294b
mov dword [esi + 0xc], 0
jmp 0x45294b
push eax
mov dword [esi + 0xc], eax
lea eax, [ebp - 0x408]
push 0x4a3474
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
lea ecx, [ebp - 0x408]
add esp, 0xc
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x452921
sub ecx, edx
lea eax, [ebp - 0x408]
sar ecx, 1
push ecx
push eax
push 1
push 0x4a1f04
push dword [ebp - 0x40c]
call dword [sym.imp.ADVAPI32.dll_RegSetValueW]
mov eax, dword [ebp - 0x410]
cmp eax, dword [esi + 0xc]
je 0x45295d
mov cl, 1
lea eax, [esi + 8]
xchg byte [eax], cl
push dword [ebp - 0x40c]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046a70a
mov esp, ebp
pop ebp
ret 8
Function at 0x46a314
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
call fcn.00479f31
push 2
lea ecx, [ebp - 4]
push ecx
mov eax, dword [eax + 0x14]
push 0x22
push eax
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoEx]
movzx eax, word [ebp - 4]
sub eax, 0x30
je 0x46a353
sub eax, 1
je 0x46a34e
sub eax, 1
je 0x46a34a
xor eax, eax
leave
ret
push 3
jmp 0x46a355
xor eax, eax
inc eax
leave
ret
push 2
pop eax
leave
ret

Function at 0x46b565
Capabilities:
Parse pe header

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

Function at 0x481929
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49b784
push 0x49b77c
push str.FlsAlloc
push 0x1f
call fcn.00481754
mov esi, eax
add esp, 0x10
test esi, esi
je 0x48195d
push dword [ebp + 8]
mov ecx, esi
call dword [0x4963e0]
call esi
jmp 0x481963
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4819a7
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49b794
push 0x49b78c
push str.FlsGetValue
push 0x21
call fcn.00481754
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4819de
push dword [ebp + 8]
mov ecx, esi
call dword [0x4963e0]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x4819e6
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x49b79c
push 0x49b794
push str.FlsSetValue
push 0x22
call fcn.00481754
mov esi, eax
add esp, 0x10
test esi, esi
je 0x481a20
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x4963e0]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x484ca6
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x4b30fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x484cf1
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.00484e41
test al, al
jne 0x484ceb
sub edx, 2
cmp edx, edi
jne 0x484cd1
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x484d13
lea eax, [edi + 2]
cmp edx, eax
je 0x484d13
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00484bf2
add esp, 0x10
jmp 0x484e0d
push esi
lea ecx, [ebp - 0x255]
call fcn.00484e41
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x484d56
push dword [ebp - 0x25c]
jmp 0x484d03
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x484d93
cmp word [ebp - 0x226], 0
je 0x484db4
cmp word [ebp - 0x226], ax
jne 0x484d93
cmp word [ebp - 0x224], 0
je 0x484db4
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00484bf2
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x484e00
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x484d6d
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x484de8
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x484e0d
push 0x484a22
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.00478b00
add esp, 0x10
jmp 0x484ddd
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a70a
leave
ret

Function at 0x485724
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x485735
pop esi
ret
push ebx
push edi
push esi
call fcn.004856ed
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0047fe95
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x48575d
push ebx
push esi
push edi
call fcn.0046c560
add esp, 0xc
push 0
call fcn.0047fe5b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x485b2d
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00485772
Function at 0x487f8a
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.0047fb70
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x487ff9
cmp esi, dword [ebp - 4]
je 0x487ff4
cmp dword [ebp + 0xc], 0
je 0x487ff4
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x487fd1
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.00487adc
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x487ffb
xor eax, eax
inc eax
jmp 0x487ffb
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x488060
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x4b30fc]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.0047fb70
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.0047fb70
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x4880d7
cmp word [ecx], dx
je 0x4880d7
mov eax, dword [0x49bdec]
push edi
dec eax
push eax
push 0x49bcd8
call fcn.00487fff
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x48814a
cmp word [eax], dx
je 0x48814a
mov eax, dword [edi]
test eax, eax
je 0x4880fb
cmp word [eax], dx
je 0x4880fb
lea eax, [ebp - 0x10]
push eax
call fcn.004879e2
jmp 0x488104
lea eax, [ebp - 0x10]
push eax
call fcn.00487a7d
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x488174
mov eax, dword [0x49bcd4]
push dword [ebp - 0x14]
dec eax
push eax
push 0x49b9c8
call fcn.00487fff
add esp, 0xc
test al, al
je 0x488174
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x48813f
cmp word [eax], di
je 0x48813f
lea eax, [ebp - 0x10]
push eax
call fcn.004879e2
pop ecx
jmp 0x488176
lea eax, [ebp - 0x10]
push eax
call fcn.00487a7d
jmp 0x48813c
mov eax, dword [edi]
test eax, eax
je 0x488161
cmp word [eax], dx
je 0x488161
lea eax, [ebp - 0x10]
push eax
call fcn.00487997
pop ecx
jmp 0x488174
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x48823f
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.00487e84
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x48823f
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x48823f
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x48823f
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x4881cc
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.00481bc2
test ebx, ebx
je 0x48823a
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.00481bc2
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48823f
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x48823f
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.0048bc2d
add esp, 0x10
xor eax, eax
inc eax
jmp 0x488241
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a70a
leave
ret