joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7743cdfd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x7743ce1f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x7743ce1f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x7743ce1f
ret
cmp word [ebx + 4], 0x14c
jne 0x7743ce1f
test word [ebx + 0x16], 2
je 0x7743ce1f
test word [ebx + 0x16], 0x100
je 0x7743ce1f
cmp word [ebx + 0x18], 0x10b
jne 0x7743ce1f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x7743ce1f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x7743ceab
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x7743ce3f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77423d8a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x7743ce1f
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x7743ceab
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x7743ce1f
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x7743ce1f
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x7743ce1f
ret
cmp word [ebx + 4], 0x14c
jne 0x7743ce1f
test word [ebx + 0x16], 2
je 0x7743ce1f
test word [ebx + 0x16], 0x100
je 0x7743ce1f
cmp word [ebx + 0x18], 0x10b
jne 0x7743ce1f
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x7743ce1f
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x7743ceab
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x7743ce3f
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.77423d8a
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x7743ce1f
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x7743cf62
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x7743cfbb
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7743cf62
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x7743cf71
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x77842c14
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x7743cfc2
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77423e38
cmp eax, dword [ebp + 0xc]
pop eax
je 0x7743d061
add edi, 4
add eax, 2
dec ecx
jne 0x7743cfa7
call 0x7743d00e
loope 0x7743d004
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x7743d05e
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x7743d06f
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x7743d022
cmp eax, ecx
ja 0x7743d022
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x7743d0ac
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7743d0a2
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.77424317
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x7743cf71
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x7743cfbb
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x7743cf62
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x7743cf71
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x77842c14
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x7743cfc2
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.77423e38
cmp eax, dword [ebp + 0xc]
pop eax
je 0x7743d061
add edi, 4
add eax, 2
dec ecx
jne 0x7743cfa7
call 0x7743d00e
loope 0x7743d004
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x7743d05e
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x7743d06f
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x7743d022
cmp eax, ecx
ja 0x7743d022
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x7743d0ac
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x7743d0a2
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.77424317
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x40488c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffdf4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00406f48
test esi, esi
jne 0x4048c2
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.004070d0
jmp 0x4048e0
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404770
mov edi, eax
test esi, esi
je 0x4048e0
cmp dword [ebx], 0
je 0x4048e0
dec esi
jmp 0x4048c9
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

Function at 0x405ef8
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.004061a8
mov byte [esp], al
cmp byte [esp], 0
jne 0x406084
test edi, edi
je 0x406084
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405fbb
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x405f96
cmp edi, 0xffffffff
je 0x405f57
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405f57
mov byte [esp], 0
jmp 0x406084
mov ebx, dword [esi]
cmp ebx, 1
jg 0x405f96
test ebx, ebx
jne 0x405f8c
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402728
test eax, eax
jne 0x405f8c
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x406084
call 0x4061ec
dec ebp
test ebp, ebp
jg 0x405f3c
cmp edi, 0xffffffff
je 0x405fbb
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405fb9
mov byte [esp], 0
jmp 0x406084
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405f06
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402728
cmp ebx, eax
jne 0x405fbb
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004060f4
mov edx, eax
mov ebx, dword [0x4588f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x406022
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x406020
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x406022
xor edi, edi
cmp byte [esp], 0
je 0x40604b
mov ebx, dword [esi]
test bl, 1
jne 0x406064
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402728
cmp ebx, eax
jne 0x406028
mov byte [esp + 1], 1
jmp 0x406064
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402728
cmp ebx, eax
jne 0x40604b
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405fd5
cmp byte [esp], 0
je 0x406084
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x406cb0
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x458058], 0
je 0x406d17
cmp word [0x458344], 0xd7b2
jne 0x406cd9
cmp dword [0x45834c], 0
jbe 0x406cd9
mov eax, 0x458340
call dword [0x45835c]
push 0
lea eax, [esp + 4]
push eax
push 0x1d
push str.Runtime_error_____at_00000000
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [esp + 4]
push eax
push 2
mov eax, 0x406d44
call fcn.004077c0
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x45602e], 0
jne 0x406d33
push 0
push 0x4569ba
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4092ac
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe98
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x160], ecx
mov dword [ebp - 0x164], ecx
mov dword [ebp - 0x168], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x409411
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406f48
cmp si, word [0x4569f8]
jb 0x409344
cmp si, word [0x456bf8]
ja 0x409344
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x409344
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x4569f8]
jae 0x40931e
mov edi, ebx
dec edi
jmp 0x40933f
cmp si, word [ebx*8 + 0x4569f8]
jbe 0x40932e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40933f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4569fc]
call fcn.004091bc
jmp 0x409344
cmp edi, dword [ebp - 8]
jae 0x409308
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x4093f3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x4093f3
push 0x55
lea eax, [ebp - 0xb2]
push eax
push 0x59
movzx ebx, si
push ebx
call sub.kernel32.dll_GetLocaleInfoW
push 0x55
lea eax, [ebp - 0x15c]
push eax
push 0x5a
push ebx
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x160]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407c3c
push dword [ebp - 0x160]
push 0x40942c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407c3c
push dword [ebp - 0x164]
push 0x40943c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407c3c
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407e74
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409418
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406fa8
ret
Function at 0x4095c4
Capabilities:
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x4096c7
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x45ab88
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x45aba0]
jne 0x409610
mov eax, esi
mov edx, 0x45aba2
mov ecx, 0x55
call fcn.00407c3c
push 0x45ab88
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x4096b1
push 0x45ab88
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406f48
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40967f
cmp byte [0x45ab84], 0
je 0x409644
mov edx, esi
mov eax, ebx
call fcn.004094a8
jmp 0x40967f
mov edx, esi
mov eax, ebx
call fcn.004092ac
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40967f
cmp dword [esi], 0
je 0x409668
mov eax, esi
mov edx, 0x4096e0
call fcn.00407d94
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004092ac
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00407d94
push 0x45ab88
call sub.kernel32.dll_EnterCriticalSection
mov word [0x45aba0], bx
push 0xaa
mov eax, dword [esi]
call fcn.00407ba8
push eax
push 0x45aba2
call sub.kernel32.dll_lstrcpynW
push 0x45ab88
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4096ce
lea eax, [ebp - 4]
call fcn.00406f48
ret
Function at 0x4098fc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffde4
push ebx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040702c
xor eax, eax
push ebp
push 0x409b21
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40993c
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x409956
push 0x105
mov eax, dword [ebp - 4]
call fcn.00407ba8
push eax
lea eax, [ebp - 0x21a]
push eax
call sub.kernel32.dll_lstrcpynW
cmp word [ebp - 0x21a], 0
je 0x409b0b
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409b30
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409a25
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409b30
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409a25
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409b6c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409a25
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409b6c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409a25
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409ba0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x409a25
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409bd4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x409b0b
xor eax, eax
push ebp
push 0x409b04
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00409708
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409a94
mov eax, dword [ebp - 0x10]
call fcn.004044cc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
lea eax, [ebp - 0x21a]
push eax
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407c00
jmp 0x409adf
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409c14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x409adf
mov eax, dword [ebp - 0x10]
call fcn.004044cc
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409c14
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00407c00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409b0b
cmp dword [ebp - 8], 0
je 0x409afa
mov eax, dword [ebp - 8]
call fcn.004044e8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409b28
lea eax, [ebp - 4]
call fcn.00406f48
ret
Function at 0x409e04
Capabilities:
Get geographical location
Identify system language via api

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffec
push ebx
xor ecx, ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], ecx
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040702c
xor eax, eax
push ebp
push 0x409ec4
push dword fs:[eax]
mov dword fs:[eax], esp
push 4
lea eax, [ebp - 0xc]
push eax
push 3
call sub.kernel32.dll_GetUserDefaultUILanguage
movzx eax, ax
push eax
call sub.kernel32.dll_GetLocaleInfoW
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407c3c
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407dec
mov eax, dword [ebx]
call fcn.00409ccc
test al, al
jne 0x409ea1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00407c3c
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.00407dec
mov eax, dword [ebx]
call fcn.00409ccc
test al, al
jne 0x409ea1
mov eax, ebx
call fcn.00406f48
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409ecb
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406fa8
lea eax, [ebp - 4]
call fcn.00406f48
ret

Function at 0x419000
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x419059
test eax, edx
je 0x41905c
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x419017
movzx eax, word [eax]
sub eax, ecx
jmp 0x41903e
push ebx
mov ebx, dword [eax - 4]
xor ecx, ecx
sub ebx, dword [edx - 4]
push ebx
adc ecx, 0xffffffff
and ecx, ebx
sub ecx, dword [eax - 4]
shl ecx, 1
sub eax, ecx
sub edx, ecx
mov ebx, dword [ecx + eax]
xor ebx, dword [ecx + edx]
jne 0x41903f
add ecx, 4
js 0x41902f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41903c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41903e
xor eax, eax
ret
test eax, eax
je 0x419068
test edx, edx
jne 0x419008
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x41dda0
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe00
push ebx
push esi
mov esi, ecx
mov ebx, dword [ebp + 8]
push pe_nt_image_headers32
lea ecx, [ebp - 0x200]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41ddd9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.004070d0
jmp 0x41dde2
mov eax, ebx
mov edx, esi
call fcn.00407328
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x41ddec
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
push ecx
mov edi, ecx
mov esi, edx
mov ebx, eax
push 2
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW_1
test eax, eax
jle 0x41de0e
movzx eax, word [esp]
jmp 0x41de10
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x41ead4
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff778
push ebx
push esi
xor ecx, ecx
mov dword [ebp - 4], ecx
xor ecx, ecx
push ebp
push 0x41ebf9
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0041e8dc
mov esi, eax
mov eax, dword [0x457bb0]
cmp byte [eax], 0
je 0x41eba1
mov eax, dword [0x457a18]
call fcn.00404d44
call fcn.00404620
push 0
push 0
push 0
push 0
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x41eaa4]
call fcn.00408d2c
add esp, 4
push 0
push 0
push ebx
mov eax, dword [ebp - 4]
push eax
push esi
lea eax, [ebp - 0x888]
push eax
push 0
push 1
call sub.kernel32.dll_WideCharToMultiByte_1
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x41ec14
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x41ebdd
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x4579d4]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x45ac50]
call fcn.00408df0
push eax
call sub.user32.dll_LoadStringW_1
push 0x2010
lea eax, [ebp - 0x88]
push eax
lea eax, [ebp - 0x888]
push eax
push 0
call sub.user32.dll_MessageBoxW
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41ec00
lea eax, [ebp - 4]
mov edx, dword [0x41eaa4]
call fcn.00408d38
ret

Function at 0x420b44
Capabilities:
Get geographical location

Disassembly:
push ebx
add esp, 0xfffff800
mov ebx, ecx
mov word [esp], 0
push 0x400
lea ecx, [esp + 4]
push ecx
push edx
push eax
call sub.kernel32.dll_GetLocaleInfoW_1
mov eax, ebx
mov edx, esp
mov ecx, 0x400
call fcn.00407c3c
add esp, 0x800
pop ebx
ret

Function at 0x444a24
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x45cf9c
cmp dword [edi], 0
jne 0x444aa0
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x45cf98]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x45782c
mov ecx, 2
call fcn.00404670
mov edx, 0x4449fc
lea eax, [esi + 5]
call fcn.00444a1c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00444a1c
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 0x444a75
mov dword [0x45cf98], 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