joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401e40
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
pushfd
das
jne 0x401e56
cmp byte [ebp + 0x86a8845], cl
push eax
push esi
call fcn.0040874f
daa
add byte [edi], ah
mov cl, byte [eax]
mov edx, dword [0x4089c8]
push eax
push ecx
or byte [ebx + 0x4089c815], cl
add byte [eax + 0x51], dl
add edx, 0x40
push str._s:__s___d__n
xchg esi, eax
call dword [0x3840c180]
insb byte es:[edi], dx
lodsb al, byte [esi]
add al, byte [ecx]
add esp, 0x14
pop esi
sal byte [edi + ecx + 0x50], 0x68
push esp
rol byte [eax], cl
push ebx
cmp cl, al
inc eax
add byte [ebx - 0xf1f779], al
adc eax, sym.imp.WS2_32.dll_WSARecv
mov ch, 0x90
nop
nop
nop
nop
nop
enter 0xffffffffffff9090, 0xffffffffffffff90
nop
pushfd
xor ah, ch
sub esp, 0x14
push ebx
movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push edi
mov eax, dword [esi - 0x49]
mov dword [edx], edi
or al, ch
dec ecx
stc
add byte [eax], al
mov dword [0x410ba0], eax
mov dword [0x410bcc], edx
mov ebx, eax
mov eax, dword [esi - 0x1d]
mov al, byte [0xaefa8bc0]
jne 0x401e59
dec esi
out 0x6a, al
dec ebp
push 0
push ecx
cmp byte [esi + 0x5b67006d], dl
sahf
cmp byte [eax], cl
add byte [eax], al
mov dword [esi + 0x815], edi
lodsb al, byte [esi]
inc esi
sbb byte [eax], al
add byte [eax], al
add byte [ebx + 0x4117ec15], cl
add byte [ecx + 0x60a11456], cl
invalid

Function at 0x403200
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
mov eax, dword [0x410b14]
mov ecx, dword [0xc3410ba4]
push ebx
mov ebx, dword [0x650bc0]
push esi
push edi
mov eax, edx
les edi, [eax - 0x3c19fff5]
sbb ecx, edi
mov edx, dword [0x3a17e8]
mov dword [ebp - 0x38], eax
mov dword [edi + edx - 0x74379221], ebp
fisub word [ecx + eax*8 + 0x40]
add byte [edx + 0x68], dl
in al, dx
out 0x40, eax
add ah, bl
or eax, 0x77c238
fstp qword [ebp - 0x38]
call esi
mov eax, dword [0xb01734]
push 0x8a0713e0
xor al, 0x50
mov eax, dword [0x410ba8]
push eax
push 0x4b40e7a0
adc dh, 0x8b
or eax, 0x41186e
mov eax, dword [0x4117d5]
mov edi, dword [edi]
test al, 0xb
inc ecx
add byte [ecx + 0x50], dl
push eax
scasb al, byte es:[edi]
push 0x9de79b
mov dl, 0xd6
inc edi
or eax, 0x410ba8
xor eax, eax
jecxz 0x40322a
hlt
Function at 0x404a60
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ecx, dword [ecx - 0x7d]
in al, dx
xor al, 0x8b
inc ebp
or al, 0x53
push esi
push edi
lea edx, [eax + 7]
in eax, dx
loop 0x404a6a
cmp edx, eax
lds edi, [esi + 8]
mov dword [ebp - 8], edx
jae 0x404a99
mov eax, dword [eax + 0x20]
test eax, eax
je 0x40a8cd
push 0xc
call eax
or dword [ecx], 4
xor eax, eax
leave
push eax
mov eax, dword [0x6e40c174]
cmp dword [eax], 1
or eax, 0x6ac9e30e
add dword [eax + 0xe], ebp
call edi
les cx, [eax]
jmp 0x40a8cf
loopne 0x40a8d0
test esi, esp
jne 0x40a8db
out 0x75, al
or byte [edx - 0x7bb9feba], cl
sal byte [ebp - 0x35], 0xa1
add byte [eax], cl
inc ecx
add byte [ebx + 0x10730af8], al
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x40a8a6
mov eax, dword [0x410800]
cmp eax, 0xa
jae 0x40a8f5
mov cl, byte [esi]
iretd
cmp eax, 0x5a
jae 0x40a90a
jg 0x40a90a
xor eax, eax
cmp cl, 0x41
xchg esi, eax
popfd
xlatb
lea eax, [eax + eax + 0xe]
jmp 0x40a916
mov eax, 0x700012
jmp 0x40a916
Function at 0x433002
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
mov eax, section..data
nop
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
je 0x433072
nop
nop
nop
mov ebx, 0x40de38
nop
nop
nop
mov ecx, ebx
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
nop
nop
nop
push eax
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
mov esi, 0x5a1875d7
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
nop
nop
loop 0x433060
nop
mov eax, section..data_1
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x16327ca8
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x4330c0
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43300c
nop
nop
nop
nop
nop
pop eax
nop
add eax, 0x40a063
sub eax, 0x40a009
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x433030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43301e
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401465
Capabilities:
Encode data using xor

Disassembly:
jmp 0x418f56
push esi
xor esi, esi
cmp dword [esp + 0xc], esi
jbe 0x419021
push ebx
push ebp
push edi
mov edi, dword [esp + 0x14]
mov ebx, str.1110
mov ebp, 0x751298
push ebx
push ebp
call fcn.004032a6
push eax
call fcn.00406ff5
xor byte [esi + edi], 0x90
push ebx
push ebp
call fcn.004032a6
push eax
call fcn.00406ff5
add byte [esi + edi], 0xc5
push ebx
push ebp
call fcn.004032a6
push eax
call fcn.00406ff5
add byte [esi + edi], 0x2c
push ebx
push ebp
call fcn.004032a6
push eax
call fcn.00406ff5
xor byte [esi + edi], 0x82
push ebx
push ebp
call fcn.004032a6
push eax
call fcn.00406ff5
add byte [esi + edi], 0x40
push ebx
push ebp
call fcn.004032a6
add esp, 0x44
push eax
call fcn.00406ff5
add byte [esi + edi], 0x2f
push ebx
push ebp
call fcn.004032a6
push eax
call fcn.00406ff5
add byte [esi + edi], 0x84
push ebx
push ebp
call fcn.004032a6
push eax
call fcn.00406ff5
add byte [esi + edi], 0x5f
push ebx
push ebp
call fcn.004032a6
push eax
call fcn.00406ff5
xor byte [esi + edi], 0x8c
add esp, 0x28
inc esi
cmp esi, dword [esp + 0x18]
jb 0x418f74
pop edi
pop ebp
pop ebx
pop esi
ret

Function at 0x403c7e
Capabilities:
Terminate process

Disassembly:
jmp 0x45aa49
push 0x17
call dword [sym.imp.KERNEL32.dll_IsProcessorFeaturePresent]
test eax, eax
je 0x45aa5a
push 5
pop ecx
int 0x29
push esi
push 1
mov esi, 0xc0000417
push esi
push 2
call fcn.0040665e
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
pop esi
ret

Function at 0x403e09
Capabilities:
Query environment variable

Disassembly:
jmp 0x4a45a2
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4a45b3
pop esi
ret
push ebx
push edi
push esi
call fcn.004a4489
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0040488b
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4a45db
push ebx
push esi
push edi
call fcn.004063fc
add esp, 0xc
push 0
call fcn.00407185
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x4064d3
Capabilities:
Parse pe header

Disassembly:
jmp 0x44987f
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4498be
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4498be
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4498be
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4498be
cmp dword [ecx + 0x74], 0xe
jbe 0x4498be
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x40480c
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.00406938
test esi, esi
jne 0x404842
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.00406a90
jmp 0x404860
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.00404750
mov edi, eax
test esi, esi
je 0x404860
cmp dword [ebx], 0
je 0x404860
dec esi
jmp 0x404849
add esp, 0x20c
pop edi
pop esi
pop ebx
ret

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

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff0
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405cdc
mov byte [esp], al
cmp byte [esp], 0
jne 0x4059d9
test edi, edi
je 0x4059d9
mov byte [esp + 1], 0
test ebp, ebp
jle 0x405919
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4058f4
cmp edi, 0xffffffff
je 0x4058b5
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4058b5
mov byte [esp], 0
jmp 0x4059d9
cmp dword [esi], 1
jg 0x4058f4
cmp dword [esi], 0
jne 0x4058e6
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4058e6
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4059d9
lea eax, [esp + 0xc]
call fcn.0040550c
dec ebp
test ebp, ebp
jg 0x40589a
cmp edi, 0xffffffff
je 0x405919
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405917
mov byte [esp], 0
jmp 0x4059d9
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40585e
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405919
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00405a48
mov edx, eax
mov ebx, dword [0x41f8f4]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40597d
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40597b
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40597d
xor edi, edi
cmp byte [esp], 0
je 0x4059a3
mov ebx, dword [esi]
test bl, 1
jne 0x4059b9
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x405983
mov byte [esp + 1], 1
jmp 0x4059b9
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4059a3
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x405930
cmp byte [esp], 0
je 0x4059d9
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0x10
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x4066b4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x41f054], 0
je 0x40671b
cmp word [0x41f340], 0xd7b2
jne 0x4066dd
cmp dword [0x41f348], 0
jbe 0x4066dd
mov eax, 0x41f33c
call dword [0x41f358]
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, 0x406748
call fcn.00406e2c
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x41d022], 0
jne 0x406737
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x4086f4
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 0x408859
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406938
cmp si, word [0x41d9e8]
jb 0x40878c
cmp si, word [0x41dbe8]
ja 0x40878c
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40878c
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x41d9e8]
jae 0x408766
mov edi, ebx
dec edi
jmp 0x408787
cmp si, word [ebx*8 + 0x41d9e8]
jbe 0x408776
inc ebx
mov dword [ebp - 8], ebx
jmp 0x408787
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x41d9ec]
call fcn.00408614
jmp 0x40878c
cmp edi, dword [ebp - 8]
jae 0x408750
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40883b
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40883b
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.00406fc4
push dword [ebp - 0x160]
push 0x408874
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00406fc4
push dword [ebp - 0x164]
push 0x408884
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00406fc4
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040717c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408860
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.00406998
ret
Function at 0x408a0c
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 0x408b10
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x421c0c
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x421c24]
jne 0x408a58
mov eax, esi
mov edx, 0x421c26
mov ecx, 0x55
call fcn.00406fc4
push 0x421c0c
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x408afa
push 0x421c0c
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.00406938
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408ac7
cmp byte [0x421c08], 0
je 0x408a8c
mov edx, esi
mov eax, ebx
call fcn.004088f0
jmp 0x408ac7
mov edx, esi
mov eax, ebx
call fcn.004086f4
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x408ac7
cmp dword [esi], 0
je 0x408ab0
mov eax, esi
mov edx, 0x408b28
call fcn.0040709c
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.004086f4
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040709c
push 0x421c0c
call sub.kernel32.dll_EnterCriticalSection
mov word [0x421c24], bx
mov eax, dword [esi]
call fcn.00406f30
mov ecx, eax
mov eax, 0x421c26
mov edx, 0xaa
call fcn.00408574
push 0x421c0c
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408b17
lea eax, [ebp - 4]
call fcn.00406938
ret
Function at 0x408d40
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.00406a1c
xor eax, eax
push ebp
push 0x408f65
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x408d80
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x408d9a
mov eax, dword [ebp - 4]
call fcn.00406f30
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408574
cmp word [ebp - 0x21a], 0
je 0x408f4f
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408f74
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408f74
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408fb0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408fb0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x408fe4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x408e69
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x409018
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x408f4f
xor eax, eax
push ebp
push 0x408f48
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.00408b50
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 0x408ed8
mov eax, dword [ebp - 0x10]
call fcn.004044ac
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.00406f88
jmp 0x408f23
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x409058
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x408f23
mov eax, dword [ebp - 0x10]
call fcn.004044ac
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x409058
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.00406f88
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408f4f
cmp dword [ebp - 8], 0
je 0x408f3e
mov eax, dword [ebp - 8]
call fcn.004044c8
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 0x408f6c
lea eax, [ebp - 4]
call fcn.00406938
ret
Function at 0x409254
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.00406a1c
xor eax, eax
push ebp
push 0x409314
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.00406fc4
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004070f4
mov eax, dword [ebx]
call fcn.0040911c
test al, al
jne 0x4092f1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.00406fc4
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.004070f4
mov eax, dword [ebx]
call fcn.0040911c
test al, al
jne 0x4092f1
mov eax, ebx
call fcn.00406938
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40931b
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00406998
lea eax, [ebp - 4]
call fcn.00406938
ret

Function at 0x40aba8
Capabilities:
Get system information on windows

Disassembly:
add esp, 0xffffffdc
push esp
call sub.kernel32.dll_GetSystemInfo
mov eax, dword [esp + 0x14]
add esp, 0x24
ret

Function at 0x413960
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x4139b9
test eax, edx
je 0x4139bc
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x413977
movzx eax, word [eax]
sub eax, ecx
jmp 0x41399e
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 0x41399f
add ecx, 4
js 0x41398f
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x41399c
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x41399e
xor eax, eax
ret
test eax, eax
je 0x4139c8
test edx, edx
jne 0x413968
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x415cc4
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 0x415cfd
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.00406a90
jmp 0x415d06
mov eax, ebx
mov edx, esi
call fcn.00406c0c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x415d10
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 0x415d32
movzx eax, word [esp]
jmp 0x415d34
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x417030
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 0x417155
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00416e38
mov esi, eax
mov eax, dword [0x41e684]
cmp byte [eax], 0
je 0x4170fd
mov eax, dword [0x41e59c]
call fcn.004048ec
call fcn.00404600
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 [0x417000]
call fcn.0040802c
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 0x417170
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x417139
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x41e574]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x422620]
call fcn.00408218
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 0x41715c
lea eax, [ebp - 4]
mov edx, dword [0x417000]
call fcn.00408150
ret