joyce8/EMBER2024-capa huggingface dataset:
Function at 0x50a890
Capabilities:
Get thread local storage value

Disassembly:
cmp word [esi + 0x40], 0
push edi
mov edi, dword [sym.imp.KERNEL32.dll_TlsGetValue]
je 0x50a8df
mov eax, dword [0x551d48]
test eax, eax
jge 0x50a8ab
xor eax, eax
jmp 0x50a8ae
push eax
call edi
movzx ecx, word [esi + 0x40]
cmp ecx, dword [eax + 0x124]
ja 0x50a8d6
mov edx, dword [esi + 4]
mov eax, dword [eax + 0x120]
shl ecx, 4
lea eax, [ecx + eax - 0x10]
test edx, edx
je 0x50a8d6
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov dword [eax + 4], edx
xor edx, edx
mov word [esi + 0x40], dx
mov dword [esi + 4], edx
cmp word [esi + 0x42], 0
je 0x50a927
mov eax, dword [0x551d48]
test eax, eax
jge 0x50a8f3
xor eax, eax
jmp 0x50a8f6
push eax
call edi
movzx ecx, word [esi + 0x42]
cmp ecx, dword [eax + 0x124]
ja 0x50a91e
mov edx, dword [esi + 0xc]
mov eax, dword [eax + 0x120]
shl ecx, 4
lea eax, [ecx + eax - 0x10]
test edx, edx
je 0x50a91e
mov ecx, dword [eax + 4]
mov dword [edx], ecx
mov dword [eax + 4], edx
xor edx, edx
mov word [esi + 0x42], dx
mov dword [esi + 0xc], edx
pop edi
ret
Function at 0x50cb90
Capabilities:
Get thread local storage value

Disassembly:
test esi, esi
je 0x50cbd6
mov eax, dword [0x551d48]
test eax, eax
jl 0x50cbd6
push edi
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
je 0x50cbd5
push 0x44
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 0x18]
add esp, 0xc
test eax, eax
je 0x50cbcf
mov dword [eax], esi
mov dword [edi + 0x18], esi
pop edi
ret
mov dword [edi + 0x14], esi
mov dword [edi + 0x18], esi
pop edi
ret
Function at 0x530f40
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
cmp dword [ebx], 0
je 0x530fe2
push esi
push edi
mov esi, dword [ebx]
mov eax, dword [esi + 0x14]
mov dword [ebp - 4], eax
test esi, esi
je 0x530fd3
mov ecx, dword [esi + 0x10]
test ecx, ecx
je 0x530f93
cmp ecx, 0xffffffff
je 0x530f93
mov eax, dword [esi + 0x18]
test eax, eax
je 0x530f78
mov edx, dword [esi + 0x14]
mov dword [eax + 0x14], edx
jmp 0x530f7e
mov eax, dword [esi + 0x14]
mov dword [ecx + 0x24], eax
mov eax, dword [esi + 0x14]
test eax, eax
je 0x530f8d
mov ecx, dword [esi + 0x18]
mov dword [eax + 0x18], ecx
jmp 0x530f93
mov edx, dword [esi + 0x18]
mov dword [ecx + 0x28], edx
mov eax, dword [0x551d48]
test eax, eax
jge 0x530fa0
xor edi, edi
jmp 0x530fa9
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
push 0xf0
push 0xfe
push esi
call sub.msvcrt.dll_memset
mov dword [esi], 0
mov eax, dword [edi + 0xc]
add esp, 0xc
test eax, eax
je 0x530fcd
mov dword [eax], esi
jmp 0x530fd0
mov dword [edi + 8], esi
mov dword [edi + 0xc], esi
mov eax, dword [ebp - 4]
mov dword [ebx], eax
test eax, eax
jne 0x530f51
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x534a50
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x551d48]
test eax, eax
jl 0x534a69
push eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
jne 0x534a6f
xor eax, eax
pop ebp
ret 4
mov ecx, dword [ebp + 8]
mov edx, dword [eax + 0x1c]
mov dword [eax + 0x1c], ecx
lea ecx, [eax + 0x20]
mov eax, 0xf
mov dword [ecx], 0
mov dword [ecx + 4], 0
add ecx, 8
sub eax, 1
jne 0x534a80
mov eax, edx
pop ebp
ret 4
Function at 0x53a850
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1774
call fcn.0054b100
mov eax, dword [0x54f048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0x10]
push eax
mov esi, ecx
mov ecx, dword [ebp + 0xc]
push ecx
lea edx, [ebp - 0xbbc]
push 0xbb7
push edx
call sub.msvcrt.dll__vsnprintf
add esp, 0x10
test eax, eax
jl 0x53a895
cmp eax, 0xbb7
ja 0x53a895
jne 0x53a899
mov byte [ebp - 5], 0
cmp byte [ebp + 8], 0
je 0x53a8b9
lea eax, [ebp - 0xbbc]
push eax
push 0x449cf0
push 0xbb8
lea ecx, [ebp - 0x1774]
push ecx
jmp 0x53a8d1
lea edx, [ebp - 0xbbc]
push edx
push 0x449d1c
push 0xbb8
lea eax, [ebp - 0x1774]
push eax
call fcn.00456d40
add esp, 0x10
test esi, esi
je 0x53a8f6
lea ecx, [ebp - 0x1774]
push ecx
push edi
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054b0c8
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea edx, [ebp - 0x1774]
push edx
call esi
push 0x439fa0
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054b0c8
mov esp, ebp
pop ebp
ret

Function at 0x53a920
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x1774
call fcn.0054b100
mov eax, dword [0x54f048]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
lea eax, [ebp + 0xc]
push eax
mov esi, ecx
mov ecx, dword [ebp + 8]
push ecx
lea edx, [ebp - 0xbbc]
push 0xbb7
push edx
call sub.msvcrt.dll__vsnprintf
add esp, 0x10
test eax, eax
jl 0x53a965
cmp eax, 0xbb7
ja 0x53a965
jne 0x53a969
mov byte [ebp - 5], 0
lea eax, [ebp - 0xbbc]
push eax
push 0x449d50
lea ecx, [ebp - 0x1774]
push 0xbb8
push ecx
call fcn.00456d40
add esp, 0x10
test esi, esi
je 0x53a9a6
lea edx, [ebp - 0x1774]
push edx
push edi
call esi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0054b0c8
mov esp, ebp
pop ebp
ret
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
lea eax, [ebp - 0x1774]
push eax
call esi
push 0x439fa0
call esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.0054b0c8
mov esp, ebp
pop ebp
ret
Function at 0x5476a0
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push esi
lea eax, [ebp - 0x24]
mov esi, ecx
and dword [esi], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp + 0xc]
and dword [esi + 8], 0
and dword [esi + 0xc], 0
and dword [esi + 0x10], 0
lea eax, [ecx + eax - 1]
dec ecx
not ecx
and eax, ecx
mov ecx, dword [ebp + 8]
mov dword [esi + 4], eax
test ecx, ecx
jne 0x5476e2
mov ecx, 0x100000
lea ecx, [eax + ecx - 1]
dec eax
not eax
and ecx, eax
mov dword [esi + 0x14], ecx
mov eax, esi
pop esi
leave
ret 8
Function at 0x5496ac
Capabilities:
Encode data using base64

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, ecx
mov ecx, dword [esi]
push edi
mov dword [ebp - 4], ebx
cmp ecx, 0x35
jne 0x549712
push ecx
mov ecx, ebx
call fcn.0048ea10
mov eax, dword [esi + 0x508]
shr eax, 2
inc eax
inc eax
push eax
mov ecx, ebx
call fcn.0048eaa0
xor edi, edi
test dword [esi + 0x508], 0xfffffffc
jbe 0x54970b
mov eax, dword [esi + 0x50c]
push dword [eax + edi*4]
mov ecx, ebx
call fcn.0048eaa0
mov eax, dword [esi + 0x508]
inc edi
shr eax, 2
cmp edi, eax
jb 0x5496ed
mov ecx, ebx
jmp 0x549814
mov eax, dword [esi + 0x4ec]
neg eax
sbb eax, eax
mov edx, ecx
and eax, 0x80000000
and edx, 0x7ff
or eax, edx
cmp ecx, 0x1f
jg 0x549753
je 0x549745
sub ecx, 3
je 0x549745
dec ecx
dec ecx
je 0x549745
sub ecx, 3
je 0x549745
sub ecx, 5
jne 0x54976f
mov ecx, dword [esi + 0x504]
and ecx, 1
shl ecx, 0x12
jmp 0x54976d
sub ecx, 0x3d
je 0x549761
dec ecx
dec ecx
je 0x549745
sub ecx, 0x30
jne 0x54976f
mov ecx, dword [esi + 0x504]
and ecx, 3
shl ecx, 0xb
or eax, ecx
mov ecx, dword [esi + 0x500]
neg ecx
sbb ecx, ecx
and ecx, 0x2000
or ecx, eax
push ecx
mov ecx, ebx
call fcn.0048ea10
xor ebx, ebx
cmp dword [esi + 0x4ec], ebx
je 0x5497f0
mov eax, dword [esi]
cmp eax, 0x2d
jl 0x5497f0
cmp eax, 0x2e
jle 0x5497b1
cmp eax, 0x44
jle 0x5497f0
cmp eax, 0x4a
jle 0x5497b1
add eax, 0xffffff94
cmp eax, 1
ja 0x5497f0
movsx eax, byte [esi + 0x4f6]
movsx ecx, byte [esi + 0x4f5]
and eax, 0xf
and ecx, 0xf
shl eax, 4
or eax, ecx
movsx ecx, byte [esi + 0x4f4]
and ecx, 0xf
shl eax, 4
or eax, ecx
mov ecx, dword [esi + 0x4f0]
and ecx, 0x3f
shl eax, 9
or eax, ecx
mov ecx, dword [ebp - 4]
push eax
call fcn.0048eaa0
lea edi, [esi + 0x4e8]
cmp dword [edi], ebx
jbe 0x549811
add esi, 8
mov ecx, dword [ebp - 4]
push esi
call fcn.00549424
inc ebx
add esi, 0xd0
cmp ebx, dword [edi]
jb 0x5497fd
mov ecx, dword [ebp - 4]
call fcn.0048ea50
pop edi
pop esi
pop ebx
leave
ret 4
Function at 0x403504
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47b020]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x40359c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40357c
xor eax, eax
push ebp
push 0x403575
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4035b8
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40357c
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47b020]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47b020], ax
mov esp, ebp
pop ebp
ret

Function at 0x404260
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47d048], 0
je 0x4042c1
cmp word [0x47d21c], 0xd7b2
jne 0x404289
cmp dword [0x47d224], 0
jbe 0x404289
mov eax, 0x47d218
call dword [0x47d234]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47b070
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x4042e8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47b030], 0
jne 0x4042dd
push 0
push 0x47b068
push 0x47b070
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405698
Capabilities:
Get geographical location
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4058c8
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40571b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4058c8
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x40571b
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x4058e4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x4057a4
xor eax, eax
push ebp
push 0x40579d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.004054e0
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
push eax
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405782
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x405904
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x405782
mov byte [ebp - 0x12], 0
mov byte [ebp - 0xe], 0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4057a4
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
push 0x105
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpynA
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call sub.kernel32.dll_GetThreadLocale
push eax
call sub.kernel32.dll_GetLocaleInfoA
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x4058be
cmp byte [ebp - 0xd], 0
jne 0x4057eb
cmp byte [ebp - 0x12], 0
je 0x4058be
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x405804
dec ebx
cmp byte [ebx], 0x2e
je 0x405813
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x405803
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x4058be
inc ebx
cmp byte [ebp - 0x12], 0
je 0x405850
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4058be
cmp byte [ebp - 0xd], 0
je 0x4058be
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x4058be
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0x11d]
mov edx, ebx
sub edx, eax
mov eax, 0x105
sub eax, edx
push eax
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpynA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x405f90
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x405ff6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.0040464c
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.004030c8
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405fe0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405ffd
lea eax, [ebp - 0x10]
call fcn.004043dc
ret

Function at 0x408ad4
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebx
mov ebx, eax
mov eax, ebx
call fcn.0040489c
push eax
call sub.kernel32.dll_GetFileAttributesA
cmp eax, 0xffffffff
je 0x408aed
test al, 0x10
jne 0x408af1
xor eax, eax
pop ebx
ret
mov al, 1
pop ebx
ret

Function at 0x40b830
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x100]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b869
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.004044cc
jmp 0x40b872
mov eax, ebx
mov edx, esi
call fcn.00404430
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b87c
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, ecx
mov esi, edx
mov edi, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push edi
call sub.kernel32.dll_GetLocaleInfoA_1
test eax, eax
jle 0x40b89d
mov al, byte [esp]
jmp 0x40b89f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bf24
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bd9c
mov eax, dword [0x47cbd0]
cmp byte [eax], 0
je 0x40bfa0
mov eax, dword [0x47c9d8]
call fcn.00402d94
call fcn.00402894
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408e4c
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [esp + 4]
push eax
push 2
push 0x40bfe8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bfd6
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47c984]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47d664]
call fcn.004054a4
push eax
call sub.user32.dll_LoadStringA_1
push 0x2010
lea eax, [esp + 8]
push eax
lea eax, [esp + 0x4c]
push eax
push 0
call sub.user32.dll_MessageBoxA_1
add esp, 0x444
ret
Function at 0x40c83c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40c912
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.00404474
lea eax, [ebp - 8]
call fcn.004048ec
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040489c
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c8fc
mov eax, ebx
call fcn.0040272c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c8f5
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.0040489c
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c8df
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c924
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c8df
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c8fc
mov eax, dword [ebp - 0x10]
call fcn.0040274c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c919
lea eax, [ebp - 8]
call fcn.004043dc
ret

Function at 0x40ce24
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x40ce88
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.0040464c
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.004087cc
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40ce8f
lea eax, [ebp - 0xc]
call fcn.004043dc
ret

Function at 0x41b2ec
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47d884
cmp dword [edi], 0
jne 0x41b368
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47d880]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47b3f0
mov ecx, 2
call fcn.00402960
mov edx, 0x41b2c4
lea eax, [esi + 5]
call fcn.0041b2e4
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0041b2e4
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x41b33d
mov dword [0x47d880], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8

Function at 0x41c904
Capabilities:
Encode data using xor

Disassembly:
mov ecx, edx
mov edx, eax
xor eax, eax
rol ax, 5
xor al, byte [edx]
inc edx
dec ecx
jne 0x41c90a
ret
Function at 0x41eecc
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
lea eax, [ebp - 0x2c]
push eax
call sub.kernel32.dll_GetSystemInfo
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 8]
dec ecx
js 0x41ef1d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x41ef04
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x41eef4
jmp 0x41ef1d
push ebx
xor ebx, ebx
mov eax, dword [edx + ecx*4]
mov bh, al
mov bl, ah
shr eax, 0x10
shl ebx, 8
mov bl, al
mov dword [edx + ecx*4], ebx
dec ecx
jns 0x41ef05
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427f70
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.0040488c
xor eax, eax
push ebp
push 0x42809e
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x428071
xor eax, eax
push ebp
push 0x42806a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040469c
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42803f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalLock
mov ebx, eax
xor eax, eax
push ebp
push 0x42802e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040469c
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.0040489c
mov edx, ebx
pop ecx
call fcn.00402960
call sub.user32.dll_EmptyClipboard
mov eax, dword [ebp - 8]
push eax
push 1
call sub.user32.dll_SetClipboardData
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428035
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47c928]
mov dl, 1
mov eax, dword [0x4073d0]
call fcn.0040c0a8
call fcn.00403e18
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4280a5
lea eax, [ebp - 4]
call fcn.004043dc
ret
Function at 0x4280ac
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff8c
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x70], ecx
mov dword [ebp - 0x74], ecx
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 8], ecx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x42825d
push dword fs:[eax]
mov dword fs:[eax], esp
lea ecx, [ebp - 0x10]
mov edx, 0x1b
mov al, 0x2d
call fcn.00404a8c
mov edx, dword [ebp - 0x10]
lea eax, [ebp - 8]
mov ecx, 0x428274
call fcn.004046e8
mov eax, ebx
call fcn.0041a880
mov edi, eax
dec edi
test edi, edi
jl 0x428164
inc edi
xor esi, esi
mov edx, esi
mov eax, ebx
call fcn.0041a854
mov edx, dword [0x4368a8]
call fcn.00403818
test al, al
je 0x428160
push dword [ebp - 0xc]
mov edx, esi
mov eax, ebx
call fcn.0041a854
lea edx, [ebp - 0x14]
call fcn.00443094
push dword [ebp - 0x14]
lea ecx, [ebp - 0x18]
mov edx, 3
mov al, 0x20
call fcn.00404a8c
push dword [ebp - 0x18]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.0040475c
inc esi
dec edi
jne 0x428112
mov al, byte [0x428278]
push eax
lea eax, [ebp - 0x1c]
push eax
xor ecx, ecx
mov edx, 0x428284
mov eax, dword [ebp - 0xc]
call fcn.0040d3fc
mov edx, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
call fcn.00404474
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x6c], eax
mov byte [ebp - 0x68], 0xb
lea edx, [ebp - 0x70]
mov eax, ebx
call fcn.00443094
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x64], eax
mov byte [ebp - 0x60], 0xb
mov eax, 0x428274
mov dword [ebp - 0x5c], eax
mov byte [ebp - 0x58], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x54], eax
mov byte [ebp - 0x50], 0xb
lea edx, [ebp - 0x74]
mov eax, dword [ebx + 0x2f8]
call fcn.00443094
mov eax, dword [ebp - 0x74]
mov dword [ebp - 0x4c], eax
mov byte [ebp - 0x48], 0xb
mov eax, 0x428274
mov dword [ebp - 0x44], eax
mov byte [ebp - 0x40], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x3c], eax
mov byte [ebp - 0x38], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x34], eax
mov byte [ebp - 0x30], 0xb
mov eax, 0x428274
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 8]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
lea edx, [ebp - 0x6c]
mov ecx, 9
mov eax, 0x428290
call fcn.00409514
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428264
lea eax, [ebp - 0x74]
mov edx, 2
call fcn.00404400
lea eax, [ebp - 0x1c]
mov edx, 2
call fcn.00404400
lea eax, [ebp - 0x14]
call fcn.004043dc
lea eax, [ebp - 0x10]
mov edx, 3
call fcn.00404400
ret