joyce8/EMBER2024-capa huggingface dataset:
Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x408f6c
mov ecx, 0x416e225a
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x5c636b16
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x430084
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

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

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
pop edi
nop
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
nop
nop
je 0x433072
nop
mov ebx, 0x40de38
nop
nop
mov ecx, ebx
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
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
mov esi, 0x59e71766
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
add eax, edi
nop
nop
loop 0x433060
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4330d2
nop
mov ebx, 0x4304d8
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
xor edx, edx
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
nop
div edi
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
mov esi, 0x35570dfe
nop
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
add eax, edi
nop
loop 0x4330c0
nop
nop
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x431219
Function at 0x401873
Capabilities:
Encode data using xor

Disassembly:
cmp esi, 0x9b8b
ja 0x401880
mov eax, 0xab21941b
push ebp
push ecx
sub bl, dl
xor eax, 0x22e34cb3
inc ebp
push edi
push ebx
or ch, cl
mov ebx, ebp
mov dh, dh
lea eax, [0x7537592c]
imul edi, ebp
call 0x4018a2
mov bh, 0x9d
dec edi
mov ah, bl
test ebp, edi
jno 0x4018b3
mov ah, 0x30
mov bh, bh
or ah, dl
mov edx, 0xc47ddfc8
mov dh, ch
movzx ebx, dx
push ebx
test dl, 0xdc
pop eax
dec ebp
cmp edi, 0x98db
jb 0x4018d2
test ah, dh
movzx edi, di
xor ecx, eax
mov bl, bl
mov ah, dh
adc ecx, 0x5e491c5d
inc ah
and eax, 0x6d7b62a5
push 0x10ac
test ch, ch
pop ebx
jmp 0x4018f6
sub ebx, 0x228
sbb dl, bl
and eax, 0xe7a3b89b
cmp esi, eax
imul esi, ecx
sub ebx, 0xfff68560
dec ecx
sub ebx, 0x97aa1
dec eax
test ebx, 0x78993077
test ecx, 0x92252a71
mov ch, bh
cmp ch, dl
cmp ebx, 0x515
jg 0x4018fc
pop edx
movsx eax, al
or eax, 0x19761588
mov ecx, 0xf093d3ca
test cl, 0x7f
push 0x92e73a
push 0xfa4bc1
ja 0x401954
test ah, al
push 0
pop edi
cmp edx, 0x3fab
js 0x401963
mov eax, ebx
dec ecx
or ah, ah
lea eax, [0x6018f5cf]
lea ebp, [0xec6035fc]
mov al, cl
add edi, 0x402
test dl, 0x81
mov ebp, edi
sub edi, 0x401
mov al, 0x2e
adc ebx, edx
mov ebx, edi
mov ebx, ecx
test ebp, ebp
mov esi, 0xa70c610a
add al, 0xc9
cmp edi, 0x8f1
jl 0x401957
test ebx, edx
jno 0x4019a8
inc ebp
inc ebp
test dl, dh
imul eax, eax, 0xe14e2f2d
dec cl
movsx ebx, ax
mov bl, al
adc al, 0x18
add edx, 0x452b
mov eax, edx
sub edx, 0xda1
xchg ch, cl
test dh, ah
sub bl, al
movsx ecx, bx
test ecx, ebx
jne 0x4019e0
imul eax, ecx
dec ecx
imul eax, esi, 0x8d828902
mov esi, ebp
imul ebp, ebp, 0
inc edi
imul ecx, ebp
inc ecx
mov al, 0xd2
add ch, al
xchg esi, esi
mov ebx, 0xe07d5
imul edi, ebx, 0x33a9862f
movsx edi, cx
xor ebx, 0xe0311
sub cl, bl
inc ecx
add ebp, ebx
mov ah, 0x37
inc edi
sub ebp, 0x4c3
imul edi, edi, 0x3ef39379
xchg ecx, esi
test dl, bh
mov ebx, ebx
imul edi, ebx
cmp ebp, 0x164
jb 0x4019e5
add cl, bl
mov bl, 0x3f
test bh, 0x90
mov bl, 0x82
push edx
lea ecx, [0xb507f410]
mov cl, 4
sub eax, 0xdb781619
dec ebx
sub edi, ebp
test ah, al
imul ebp, eax, 0xbc42b983
or al, 0xf4
ret
Function at 0x503b67
Capabilities:
Accept command line arguments
Hide graphical window

Disassembly:
mov ecx, ebp
push ebp
mov ebp, esp
mov dword [0x505076], ecx
call dword [sym.imp.KERNEL32.DLL_GetCommandLineA]
mov dword [0x505298], eax
mov dword [0x505220], 0x5032dd
mov dword [0x50521c], 2
jmp 0x503b97
mov dword [0x505224], 0
mov dword [0x505228], 0
mov dword [0x505218], 0x30
push 0
call dword [sym.imp.KERNEL32.DLL_GetModuleHandleA]
mov dword [0x50522c], eax
mov dword [0x505240], 0x504088
mov dword [0x505238], 0xf
mov dword [0x50506e], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadIconA]
mov dword [0x505230], eax
mov dword [0x505244], eax
push 0x7f00
push 0
call dword [sym.imp.user32.dll_LoadCursorA]
mov dword [0x505234], eax
push 0x505218
call dword [sym.imp.user32.dll_RegisterClassExA]
push 0
push dword [0x50506e]
push 0
push 0
push 0x1e5
push 0x21e
push 0xffffe52a
push 0xfffff588
push 0x40000
push str.wait
push str.aroka
push 0
call dword [sym.imp.user32.dll_CreateWindowExA]
mov dword [0x505290], eax
push 5
push dword [0x505290]
call dword [sym.imp.user32.dll_ShowWindow]
push dword [0x505290]
call dword [sym.imp.user32.dll_UpdateWindow]
jmp 0x503c6a
push 0
push 0
push 0
push 0x505248
call dword [sym.imp.user32.dll_GetMessageA]
or eax, eax
je 0x503c97
push 0x505248
call dword [sym.imp.user32.dll_TranslateMessage]
push 0x505248
call dword [sym.imp.user32.dll_DispatchMessageA]
jmp 0x503c6a
mov eax, dword [0x505250]
jmp 0x503ca4
call 0x502b16
ret

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
mov ecx, 0x1fce5f30
nop
test eax, eax
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data_1
nop
mov ebx, 0x42f314
nop
mov ecx, 0x66b474c1
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43206c
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x4074f8
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.0040a848
test esi, esi
jne 0x40752e
push 0x105
lea eax, [esp + 4]
add al, 0x50
call sub.kernel32.dll_GetCommandLineW
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004073dc
mov edi, eax
test esi, esi
je 0x40754c
cmp dword [ebx], 0
je 0x40754c
dec esi
jmp 0x407535

Function at 0x40945c
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.0040991c
mov byte [esp], al
cmp byte [esp], 0
jne 0x4095e5
test edi, edi
je 0x4095e5
mov byte [esp + 1], 0
test ebp, ebp
jle 0x409525
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x409500
cmp edi, 0xffffffff
je 0x4094c1
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4094c1
mov byte [esp], 0
jmp 0x4095e5
cmp dword [esi], 1
jg 0x409500
cmp dword [esi], 0
jne 0x4094f2
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x4094f2
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x4095e5
lea eax, [esp + 0xc]
call fcn.00409118
dec ebp
test ebp, ebp
jg 0x4094a6
cmp edi, 0xffffffff
je 0x409525
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409523
mov byte [esp], 0
jmp 0x4095e5
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x40946a
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409525
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00409660
mov edx, eax
mov ebx, dword [0x7be8f8]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x409589
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x409587
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x409589
xor edi, edi
cmp byte [esp], 0
je 0x4095af
mov ebx, dword [esi]
test bl, 1
jne 0x4095c5
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x40958f
mov byte [esp + 1], 1
jmp 0x4095c5
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4095af
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x40953c
cmp byte [esp], 0
je 0x4095e5
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 0x40a4a4
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x7be058], 0
je 0x40a50b
cmp word [0x7be344], 0xd7b2
jne 0x40a4cd
cmp dword [0x7be34c], 0
jbe 0x40a4cd
mov eax, 0x7be340
call dword [0x7be35c]
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, 0x40a538
call fcn.0040b284
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x796032], 0
jne 0x40a527
push 0
push 0x7969d3
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA_1
pop edx
ret

Function at 0x40a708
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov edi, dword [ebp + 0x10]
cmp dword [0x796034], 0
je 0x40a733
mov edx, edi
mov eax, esi
call dword [0x796034]
mov ebx, eax
jmp 0x40a744
mov eax, 8
call fcn.004070a8
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x7be059], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a6d0
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_CreateThread
mov esi, eax
test esi, esi
jne 0x40a774
mov eax, ebx
call fcn.004070c4
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc
Function at 0x40d88c
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 0x40d9f1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a848
cmp si, word [0x796a10]
jb 0x40d924
cmp si, word [0x796c10]
ja 0x40d924
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40d924
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x796a10]
jae 0x40d8fe
mov edi, ebx
dec edi
jmp 0x40d91f
cmp si, word [ebx*8 + 0x796a10]
jbe 0x40d90e
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40d91f
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x796a14]
call fcn.0040d7ac
jmp 0x40d924
cmp edi, dword [ebp - 8]
jae 0x40d8e8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40d9d3
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40d9d3
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.0040b750
push dword [ebp - 0x160]
push 0x40da0c
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040b750
push dword [ebp - 0x164]
push 0x40da1c
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040b750
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b988
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40d9f8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a8a8
ret
Function at 0x40dba4
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 0x40dca8
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x7c0c10
call sub.kernel32.dll_EnterCriticalSection
cmp bx, word [0x7c0c28]
jne 0x40dbf0
mov eax, esi
mov edx, 0x7c0c2a
mov ecx, 0x55
call fcn.0040b750
push 0x7c0c10
call sub.kernel32.dll_LeaveCriticalSection
jmp 0x40dc92
push 0x7c0c10
call sub.kernel32.dll_LeaveCriticalSection
mov eax, esi
call fcn.0040a848
push 2
movzx eax, bx
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40dc5f
cmp byte [0x7c0c0c], 0
je 0x40dc24
mov edx, esi
mov eax, ebx
call fcn.0040da88
jmp 0x40dc5f
mov edx, esi
mov eax, ebx
call fcn.0040d88c
call sub.kernel32.dll_GetSystemDefaultUILanguage
cmp bx, ax
je 0x40dc5f
cmp dword [esi], 0
je 0x40dc48
mov eax, esi
mov edx, 0x40dcc0
call fcn.0040b8a8
call sub.kernel32.dll_GetSystemDefaultUILanguage
lea edx, [ebp - 4]
call fcn.0040d88c
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.0040b8a8
push 0x7c0c10
call sub.kernel32.dll_EnterCriticalSection
mov word [0x7c0c28], bx
mov eax, dword [esi]
call fcn.0040b698
mov ecx, eax
mov eax, 0x7c0c2a
mov edx, 0xaa
call fcn.0040d70c
push 0x7c0c10
call sub.kernel32.dll_LeaveCriticalSection
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dcaf
lea eax, [ebp - 4]
call fcn.0040a848
ret
Function at 0x40ded8
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.0040a92c
xor eax, eax
push ebp
push 0x40e0fd
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
jne 0x40df18
push 0x105
lea eax, [ebp - 0x21a]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
jmp 0x40df32
mov eax, dword [ebp - 4]
call fcn.0040b698
mov ecx, eax
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040d70c
cmp word [ebp - 0x21a], 0
je 0x40e0e7
xor eax, eax
mov dword [ebp - 8], eax
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e10c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e10c
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e148
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e148
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e17c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
je 0x40e001
lea eax, [ebp - 0xc]
push eax
push 0xf0019
push 0
push 0x40e1b0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExW
test eax, eax
jne 0x40e0e7
xor eax, eax
push ebp
push 0x40e0e0
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x21a]
mov edx, 0x105
call fcn.0040dce8
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 0x40e070
mov eax, dword [ebp - 0x10]
call fcn.004070a8
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.0040b6fc
jmp 0x40e0bb
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push 0x40e1f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
test eax, eax
jne 0x40e0bb
mov eax, dword [ebp - 0x10]
call fcn.004070a8
mov dword [ebp - 8], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0
push 0x40e1f0
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov eax, ebx
mov edx, dword [ebp - 8]
call fcn.0040b6fc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e0e7
cmp dword [ebp - 8], 0
je 0x40e0d6
mov eax, dword [ebp - 8]
call fcn.004070c4
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 0x40e104
lea eax, [ebp - 4]
call fcn.0040a848
ret
Function at 0x40e404
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.0040a92c
xor eax, eax
push ebp
push 0x40e4c4
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.0040b750
mov ecx, dword [ebp - 0x10]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b900
mov eax, dword [ebx]
call fcn.0040e2b4
test al, al
jne 0x40e4a1
mov word [ebp - 8], 0
lea eax, [ebp - 0x14]
lea edx, [ebp - 0xc]
mov ecx, 4
call fcn.0040b750
mov ecx, dword [ebp - 0x14]
mov eax, ebx
mov edx, dword [ebp - 4]
call fcn.0040b900
mov eax, dword [ebx]
call fcn.0040e2b4
test al, al
jne 0x40e4a1
mov eax, ebx
call fcn.0040a848
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40e4cb
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.0040a8a8
lea eax, [ebp - 4]
call fcn.0040a848
ret

Function at 0x410260
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 0x422538
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x422591
test eax, edx
je 0x422594
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42254f
movzx eax, word [eax]
sub eax, ecx
jmp 0x422576
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 0x422577
add ecx, 4
js 0x422567
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x422574
movzx eax, word [ecx + eax]
movzx edx, word [ecx + edx]
sub eax, edx
pop ebx
pop ebx
jmp 0x422576
xor eax, eax
ret
test eax, eax
je 0x4225a0
test edx, edx
jne 0x422540
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x423a9c
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
push 0
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp + 8]
push eax
mov eax, dword [esi]
add eax, edi
push eax
push ebx
call sub.kernel32.dll_ReadFile
test eax, eax
jne 0x423ac9
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
pop ecx
pop ebp
ret 4

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

Disassembly:
push ebx
push esi
push edi
mov ebx, edx
mov esi, eax
mov eax, esi
call fcn.0040b698
mov edi, eax
push edi
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423c06
test ah, 4
je 0x423bff
test bl, bl
jne 0x423bc4
mov al, 1
jmp 0x423c2d
test al, 0x10
je 0x423bcc
xor eax, eax
jmp 0x423c2d
push 0
push 0
push 3
push 0
push 1
push 0x80000000
push edi
call sub.kernel32.dll_CreateFileW
cmp eax, 0xffffffff
je 0x423bf0
push eax
call sub.kernel32.dll_CloseHandle
mov al, 1
jmp 0x423c2d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 0x20
sete al
jmp 0x423c2d
test al, 0x10
sete al
jmp 0x423c2d
call sub.kernel32.dll_GetLastError
mov ebx, eax
cmp ebx, 2
je 0x423c27
cmp ebx, 3
je 0x423c27
cmp ebx, 0x7b
je 0x423c27
mov eax, esi
call fcn.00423b5c
test al, al
jne 0x423c2b
xor eax, eax
jmp 0x423c2d
mov al, 1
pop edi
pop esi
pop ebx
ret

Function at 0x423d14
Capabilities:
Check if file exists
Delete directory
Delete file
Get file attributes

Disassembly:
push ebx
push esi
push edi
push ebp
mov esi, eax
mov eax, esi
call fcn.0040b698
mov ebp, eax
push ebp
call sub.kernel32.dll_DeleteFileW
cmp eax, 1
sbb ebx, ebx
inc ebx
test bl, bl
jne 0x423d69
call sub.kernel32.dll_GetLastError
mov edi, eax
push ebp
call sub.kernel32.dll_GetFileAttributesW
cmp eax, 0xffffffff
je 0x423d63
test ah, 4
je 0x423d63
test al, 0x10
je 0x423d63
mov eax, esi
call fcn.0040b698
push eax
call sub.kernel32.dll_RemoveDirectoryW
cmp eax, 1
sbb ebx, ebx
inc ebx
jmp 0x423d69
push edi
call sub.kernel32.dll_SetLastError
mov eax, ebx
pop ebp
pop edi
pop esi
pop ebx
ret
Function at 0x427c40
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
test eax, eax
jle 0x427c79
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a9d0
jmp 0x427c82
mov eax, ebx
mov edx, esi
call fcn.0040ac28
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x427c8c
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
test eax, eax
jle 0x427cae
movzx eax, word [esp]
jmp 0x427cb0
mov eax, edi
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x428fe8
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 0x42910d
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.00428df0
mov esi, eax
mov eax, dword [0x7bd768]
cmp byte [eax], 0
je 0x4290b5
mov eax, dword [0x7bd578]
call fcn.00407e48
call fcn.0040728c
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
mov ebx, eax
push ebx
lea eax, [ebp - 4]
mov ecx, 1
mov edx, dword [0x428fb8]
call fcn.0040ce84
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
push 0
lea eax, [ebp - 8]
push eax
push ebx
mov eax, dword [ebp - 4]
push eax
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
push 0
lea eax, [ebp - 8]
push eax
push 2
push 0x429128
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x4290f1
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x7bd534]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x7c1634]
call fcn.0040d3b0
push eax
call sub.user32.dll_LoadStringW
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 0x429114
lea eax, [ebp - 4]
mov edx, dword [0x428fb8]
call fcn.0040cfa8
ret