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

Disassembly:
not esi
call fcn.00f23b84
mov dword [esp + ecx - 0x58ceca27], ecx
add al, 0x32
xor bl, al
sar dword [esp + ecx - 0x58ceca27], cl
and ecx, ecx
lea eax, [esp + eax + 8]
jno 0x1022058
push edi
push 0xc903618a
rol dword [esp], 0x2e
movzx edi, byte [edx]
xor edi, esi
or byte [esp], 0x9e
and edi, 0xff
mov edi, dword [edi*4 + 0xf435f0]
shr esi, 8
xor esi, edi
inc edx
sal dword [esp], 0x12
xor esi, 0x51aeadbf
dec eax
lea esp, [esp + 4]
jne 0xf38549
pop edi
jmp 0xe1515b
lea esp, [esp + 8]
jmp fcn.00f6baae
mov cx, word [eax + ecx - 0x58ceca27]
sar byte [esp + 3], 1
sbb edi, 2
mov word [edi], cx
jmp 0x1020bfd

Function at 0xf7503e
Capabilities:
Encode data using xor

Disassembly:
sbb ah, byte [edx + 0x41c34cdb]
adc al, 0x83
hlt
mov dword [esi + 0xc], eax
mov dword [esi + 8], ebx
call fcn.00e32bbf
jae 0xf7505a
pop esi
or al, ch
jbe 0xf75022
jmp 0xf75048
push dword [ebx + 0xf]
pop es
inc ebp
loope 0xf7507b
iretd
inc ebp
and ebx, ebp
mov edi, 0x29d5f733
fild word [ebx + 0x27]
add eax, 0x73ffcb01
fucompi st(5)
cmp dword [ebx - 1], 0x67a51ab5
mov bh, 0xff
pop esp
sbb esi, esi
out dx, al
cmp al, 0xaa
xchg esi, eax
jbe 0xf7509a
cli
mov al, 0x77
out 0x2d, eax
jle 0xf75042
cmp dword [edx], 0xf01b6830
mov byte [edx - 0x821dda3], cl
or eax, 0xe777b030
sub eax, 0x12fe6341
loopne 0xf75059
adc ah, al
mov esp, 0x307d6a05
mov edx, 0x4df0c194
add eax, 0xba307d6a
xchg esp, eax
sal eax, 0x4d
push 0x7d
xor byte [edx + 0x4df0c194], bh
jle 0xf7509e
outsb dx, byte [esi]
into
mov edx, 0xffde0396
invalid
Function at 0x44eb20
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 8
mov ebx, dword [0x4a0708]
test ebx, ebx
jne 0x44ec36
push 0x475431
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x44eb75
mov edi, eax
push str.WaitOnAddress
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x44eb75
mov esi, eax
push str.WakeByAddressSingle
push edi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x44eb75
mov edi, eax
mov dword [ebp - 0x10], 0
jmp 0x44ebe9
push 0x4753ec
call dword [sym.imp.kernel32.dll_GetModuleHandleA]
test eax, eax
je 0x44ec40
mov esi, eax
push str.NtCreateKeyedEvent
push eax
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x44ec40
mov ebx, eax
push str.NtReleaseKeyedEvent
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x44ec40
mov edi, eax
push str.NtWaitForKeyedEvent
push esi
call dword [sym.imp.kernel32.dll_GetProcAddress]
test eax, eax
je 0x44ec40
mov ecx, ebx
mov esi, eax
mov dword [ebp - 0x10], edi
call dword [section..00cfg]
xor eax, eax
lea ecx, [ebp - 0x14]
push eax
push eax
push 0xc0000000
push ecx
call ebx
test eax, eax
jne 0x44ec40
mov edi, dword [ebp - 0x14]
mov al, byte [0x4a06e5]
push 4
push 0xc
call fcn.00415040
add esp, 8
test eax, eax
je 0x44ec45
mov ebx, eax
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov dword [ebx + 4], esi
mov dword [ebx + 8], edi
xor eax, eax
lock cmpxchg dword [0x4a0708], ebx
je 0x44ec36
cmp dword [ebx], 0
mov esi, eax
je 0x44ec27
push dword [ebx + 8]
call dword [sym.imp.kernel32.dll_CloseHandle]
push 4
push 0xc
push ebx
call fcn.004150b0
add esp, 0xc
mov ebx, esi
mov eax, ebx
add esp, 8
pop esi
pop edi
pop ebx
pop ebp
ret
call fcn.0045cb70
push 0xc
push 4
call fcn.00451c70
int3

Function at 0x44f9c3
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x54
pushal
call 0x44f9d2
pop dword [ebp - 0x44]
mov eax, 0x3e5495f8
sub eax, 0x3e0f9c26
sub dword [ebp - 0x44], eax
push 0x40
push 0x1000
push 0x3ba98
push 0
mov eax, 0x36dbea39
sub eax, 0x36921c0d
add eax, dword [ebp - 0x44]
call dword [eax]
mov ecx, 0x50f8
mov esi, eax
mov edi, 0x8acbf688
sub edi, 0x8a817a88
add edi, dword [ebp - 0x44]
mov edx, 0x329e23ef
sub edx, 0xb1e0474a
add dword [ebp - 0x18], 0xed4f9696
mov ebx, dword [edi]
sub ebx, edx
sub dword [ebp - 0x34], 0xa55a8dcd
mov dword [esi], ebx
xor dword [ebp - 0x28], ebx
add esi, 4
add edi, 4
loop 0x44fa2b
add eax, 0x136b3
mov ebx, eax
add eax, 5
mov ecx, 0xa28a299b
add ecx, 0x5db5d665
add ecx, dword [ebp - 0x44]
call ebx
leave
ret
Function at 0x454bc0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x2c
mov eax, dword [0x4a0088]
xor eax, ebp
mov dword [ebp - 0x10], eax
mov bl, 1
cmp dword [ecx + 0x38], 0
je 0x454c62
mov esi, ecx
cmp byte [ecx + 0x3d], 0
je 0x454c62
mov eax, dword [esi]
mov edi, dword [eax + 0xc]
mov ecx, edi
call dword [section..00cfg]
mov ecx, esi
push 0xffffffffffffffff
call edi
cmp eax, 0xffffffff
je 0x454c60
mov ebx, dword [esi + 0x38]
lea eax, [esi + 0x40]
mov dword [ebp - 0x38], eax
mov eax, dword [ebx]
mov edi, dword [eax + 0x20]
mov ecx, edi
call dword [section..00cfg]
lea eax, [ebp - 0x34]
lea edx, [ebp - 0x30]
mov ecx, ebx
mov ebx, edx
push eax
lea eax, [ebp - 0x10]
push eax
push edx
push dword [ebp - 0x38]
call edi
cmp eax, 3
je 0x454c76
cmp eax, 1
je 0x454c3c
test eax, eax
jne 0x454c60
mov byte [esi + 0x3d], 0
mov edi, dword [ebp - 0x34]
sub edi, ebx
je 0x454c57
push dword [esi + 0x4c]
push edi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
add esp, 0x10
cmp edi, eax
jne 0x454c60
cmp byte [esi + 0x3d], 0
sete bl
jmp 0x454c62
xor ebx, ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0044f7d0
mov eax, ebx
add esp, 0x2c
pop esi
pop edi
pop ebx
pop ebp
ret
mov byte [esi + 0x3d], 0
mov bl, 1
jmp 0x454c62

Function at 0x431000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43100c
nop
nop
nop
nop
pop eax
nop
add eax, 0x403e6a
nop
sub eax, 0x403e10
nop
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
mov ecx, dword [eax + 4]
nop
mov edx, dword [eax + 8]
nop
nop
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
jl 0x431030
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43101e
nop
nop
nop
popal
nop
nop
nop
nop
jmp fcn.00401219
Function at 0x11d9f90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.code
lea edi, [esi - 0xa1b000]
push edi
or ebp, 0xffffffff
jmp 0x11d9fb2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x11d9fb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11d9fa8
mov eax, 1
add ebx, ebx
jne 0x11d9fcb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x11d9fdc
jne 0x11d9ffb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11d9ffb
dec eax
add ebx, ebx
jne 0x11d9fe8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x11d9fc0
add ebx, ebx
jne 0x11d9ff7
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x11da04d
xor ecx, ecx
sub eax, 3
jb 0x11da013
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x11da082
sar eax, 1
mov ebp, eax
jmp 0x11da01e
add ebx, ebx
jne 0x11da01e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11d9fec
inc ecx
add ebx, ebx
jne 0x11da02c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x11d9fec
add ebx, ebx
jne 0x11da039
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x11da02e
jne 0x11da04a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x11da02e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x11da06c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x11da05e
jmp 0x11d9fae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x11da06c
add edi, ecx
jmp 0x11d9fae
pop esi
mov edi, esi
mov ecx, 0x4d51a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x11da08a
mov eax, dword [edi]
mov bl, byte [edi + 4]
xchg ah, al
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x11da08f
lea edi, [esi + 0xdd4000]
mov eax, dword [edi]
or eax, eax
je 0x11da0f7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xdf4ec8]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xdf5094]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x11da0b5
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xdf5098]
or eax, eax
je 0x11da0f1
mov dword [ebx], eax
add ebx, 4
jmp 0x11da0d2
call dword [esi + 0xdf50a8]
mov ebp, dword [esi + 0xdf509c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x21f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x11da12b
sub esp, 0xffffff80
jmp 0xd3c438
Function at 0x100536b
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x10053a6
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x1005383
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x10053c2
dec esi
je 0x10053bb
dec esi
jne 0x10053c7
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43200c
nop
nop
nop
nop
pop eax
nop
add eax, 0x40729f
nop
sub eax, 0x407245
nop
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
nop
nop
jl 0x432030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
cmp dword [eax], 0
nop
jne 0x43201e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x409004
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.004094c4
mov byte [esp], al
cmp byte [esp], 0
jne 0x40918d
test edi, edi
je 0x40918d
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4090cd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
xor eax, eax
mov dword [esp + 0xc], eax
test ebp, ebp
jle 0x4090a8
cmp edi, 0xffffffff
je 0x409069
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x409069
mov byte [esp], 0
jmp 0x40918d
cmp dword [esi], 1
jg 0x4090a8
cmp dword [esi], 0
jne 0x40909a
xor eax, eax
mov edx, 1
lock cmpxchg dword [esi], edx
test eax, eax
jne 0x40909a
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40918d
lea eax, [esp + 0xc]
call fcn.00408cb8
dec ebp
test ebp, ebp
jg 0x40904e
cmp edi, 0xffffffff
je 0x4090cd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4090cb
mov byte [esp], 0
jmp 0x40918d
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x409012
lea edx, [ebx + 2]
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x4090cd
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.00409208
mov edx, eax
mov ebx, dword [0x5fa8fc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x409131
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x40912f
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x409131
xor edi, edi
cmp byte [esp], 0
je 0x409157
mov ebx, dword [esi]
test bl, 1
jne 0x40916d
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409137
mov byte [esp + 1], 1
jmp 0x40916d
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, ebx
lock cmpxchg dword [esi], edx
cmp ebx, eax
jne 0x409157
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4090e4
cmp byte [esp], 0
je 0x40918d
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 0x40a054
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x5fa05c], 0
je 0x40a0bb
cmp word [0x5fa348], 0xd7b2
jne 0x40a07d
cmp dword [0x5fa350], 0
jbe 0x40a07d
mov eax, 0x5fa344
call dword [0x5fa360]
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, 0x40a0e8
call fcn.0040abd4
push eax
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x5f4036], 0
jne 0x40a0d7
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x40a27c
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 [0x5f4038], 0
je 0x40a2a7
mov edx, edi
mov eax, esi
call dword [0x5f4038]
mov ebx, eax
jmp 0x40a2b8
mov eax, 8
call fcn.00406fcc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x5fa05d], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x40a244
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 0x40a2e8
mov eax, ebx
call fcn.00406fe8
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40db38
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 0x40dc9f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0040a3bc
cmp si, word [0x5f4a18]
jb 0x40dbd0
cmp si, word [0x5f4c18]
ja 0x40dbd0
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x40dbd0
mov ebx, edi
add ebx, dword [ebp - 8]
shr ebx, 1
cmp si, word [ebx*8 + 0x5f4a18]
jae 0x40dbaa
mov edi, ebx
dec edi
jmp 0x40dbcb
cmp si, word [ebx*8 + 0x5f4a18]
jbe 0x40dbba
inc ebx
mov dword [ebp - 8], ebx
jmp 0x40dbcb
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x5f4a1c]
call fcn.0040da54
jmp 0x40dbd0
cmp edi, dword [ebp - 8]
jae 0x40db94
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x40dc7f
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x40dc7f
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.0040aebc
push dword [ebp - 0x160]
push 0x40dcbc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.0040aebc
push dword [ebp - 0x164]
push 0x40dccc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.0040aebc
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.0040b0f4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40dca6
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.0040a41c
pop eax
jmp eax
Function at 0x424638
Capabilities:
Encrypt data using rc4 prga

Disassembly:
cmp eax, edx
je 0x424691
test eax, edx
je 0x424694
movzx ecx, word [edx]
cmp cx, word [eax]
je 0x42464f
movzx eax, word [eax]
sub eax, ecx
jmp 0x424676
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 [eax + ecx]
xor ebx, dword [edx + ecx]
jne 0x424677
add ecx, 4
js 0x424667
pop eax
pop ebx
ret
bsf ebx, ebx
shr ebx, 4
add ebx, ebx
add ecx, ebx
jns 0x424674
movzx eax, word [eax + ecx]
movzx edx, word [edx + ecx]
sub eax, edx
pop ebx
pop ebx
jmp 0x424676
xor eax, eax
ret
test eax, eax
je 0x4246a0
test edx, edx
jne 0x424640
mov eax, dword [eax - 4]
ret
sub eax, dword [edx - 4]
ret

Function at 0x42a2d8
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 0x42a311
mov ecx, eax
dec ecx
lea edx, [ebp - 0x200]
mov eax, ebx
call fcn.0040a554
jmp 0x42a31a
mov eax, ebx
mov edx, esi
call fcn.0040a7ac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x42a324
Capabilities:
Get geographical location

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffff8
mov edi, ecx
mov esi, edx
mov ebx, eax
push 3
lea eax, [esp + 4]
push eax
push esi
push ebx
call sub.kernel32.dll_GetLocaleInfoW
test eax, eax
jle 0x42a348
movzx eax, word [esp]
jmp 0x42a34a
mov eax, edi
pop ecx
pop edx
pop edi
pop esi
pop ebx
ret
Function at 0x42ba68
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 0x42bb8f
push dword fs:[ecx]
mov dword fs:[ecx], esp
push 0x400
lea ecx, [ebp - 0x888]
call fcn.0042b870
mov esi, eax
mov eax, dword [0x5f9ad4]
cmp byte [eax], 0
je 0x42bb35
mov eax, dword [0x5f9790]
call fcn.00407d8c
call fcn.00407140
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 [0x42ba38]
call fcn.0040d094
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 0x42bba8
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
jmp 0x42bb71
push 0x40
lea eax, [ebp - 0x88]
push eax
mov eax, dword [0x5f9708]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x5fd63c]
call fcn.0040d658
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 0x42bb96
lea eax, [ebp - 4]
mov edx, dword [0x42ba38]
call fcn.0040d1b8
pop eax
jmp eax
Function at 0x4c06c0
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xf]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x4c070e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xf], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 8]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.004bfba4
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4c0727
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x4c3428
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x6008bc
cmp dword [edi], 0
jne 0x4c34a4
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc
mov esi, eax
mov eax, dword [0x6008b8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x5f73b4
mov ecx, 2
call fcn.004073d0
mov edx, 0x4c3400
lea eax, [esi + 5]
call fcn.004c3420
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.004c3420
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 0x4c3479
mov dword [0x6008b8], 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 0x4dcc30
Capabilities:
Encode data using xor
Hash data using fnv

Disassembly:
push ebx
add edx, eax
cmp edx, eax
jbe 0x4dcc47
movzx ebx, byte [eax]
xor ecx, ebx
imul ecx, ecx, 0x1000193
inc eax
cmp edx, eax
ja 0x4dcc37
mov eax, ecx
pop ebx
ret
Function at 0x504190
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00502fc4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.0040ae20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.005031ac
test al, al
jne 0x5041f8
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5f994c]
mov dl, 1
mov eax, dword [0x501d90]
call fcn.0042bdc8
call fcn.00409ab4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x504204
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.0040ae20
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.005031ac
test al, al
jne 0x504265
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x5f9cc0]
mov dl, 1
mov eax, dword [0x501d90]
call fcn.0042bdc8
call fcn.00409ab4
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00502ff4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8