joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3003ad5d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ecx
push ebx
push ebp
push esi
mov esi, dword [esp + 0x14]
movzx eax, word [esi]
add eax, esi
push edi
mov dword [esp + 0x18], esi
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x10]
xor edi, edi
cmp eax, esi
mov ebp, esi
je 0x3003add8
mov edx, dword [0x300200f0]
cmp eax, ebp
jne 0x3003ad94
movzx ecx, byte [pe_dos_header]
test ecx, ecx
je 0x3003add8
test dl, 1
je 0x3003adae
mov ecx, eax
and cl, 7
neg cl
mov ebx, edx
sbb ecx, ecx
add ecx, 1
and ebx, 2
xor ecx, ebx
je 0x3003adb8
movzx ecx, word [eax + 2]
cmp ecx, dword [esp + 0x1c]
jge 0x3003ae0a
mov dword [esp + 0x18], eax
movzx eax, word [eax]
xor ecx, ecx
add eax, esi
test edi, edi
sete cl
mov edi, ecx
test edi, edi
je 0x3003add4
movzx ebp, word [ebp]
add ebp, esi
cmp eax, esi
jne 0x3003ad85
mov ax, word [esi + 6]
cmp ax, 0xfffe
je 0x3003ae01
movzx eax, ax
cmp word [eax*2 + 0x300080e8], 5
jne 0x3003ae01
push eax
call fcn.3003c6a4
add esp, 4
test eax, eax
jne 0x3003ad73
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
pop ecx
ret
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x3003af0d
Capabilities:
Encrypt data using rc4 prga

Disassembly:
test byte [0x300200f0], 1
mov edx, dword [esp + 8]
mov eax, dword [esp + 4]
jne 0x3003af3c
mov cx, word [eax]
test cx, cx
je 0x3003af3c
movzx ecx, cx
add ecx, eax
movzx ecx, word [ecx + 2]
push esi
lea esi, [edx + 4]
cmp ecx, esi
pop esi
jae 0x3003af49
cmp ecx, edx
je 0x3003af49
mov dword [esp + 8], edx
mov dword [esp + 4], eax
jmp fcn.3003ad5d
ret

Function at 0x3003be7c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3003beb0
cmp byte [eax], 0
je 0x3003bef4
lea eax, [eax + 1]
test eax, 3
je 0x3003beb0
cmp byte [eax], 0
je 0x3003bef4
lea eax, [eax + 1]
test eax, 3
je 0x3003beb0
cmp byte [eax], 0
je 0x3003bef4
lea eax, [eax + 1]
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x1010101
xor edx, ecx
and edx, 0x80808080
je 0x3003beb0
test cl, cl
lea eax, [eax - 4]
je 0x3003bef4
test ecx, 0xff00
lea eax, [eax + 1]
je 0x3003bef4
test ecx, 0xff0000
lea eax, [eax + 1]
je 0x3003bef4
test ecx, 0xff000000
lea eax, [eax + 1]
je 0x3003bef4
lea eax, [eax + 1]
jmp 0x3003beb0
sub eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4

Function at 0x3003bf03
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
test eax, 3
je 0x3003bf2a
cmp word [eax], 0
je 0x3003bf23
lea eax, [eax + 2]
test eax, 3
je 0x3003bf2a
jmp 0x3003bf11
sub eax, dword [ebp + 8]
shr eax, 1
jmp 0x3003bf65
mov edx, dword [eax]
lea eax, [eax + 4]
mov ecx, edx
sub edx, 0x10001
xor edx, ecx
and edx, 0x80008000
je 0x3003bf2a
sub eax, dword [ebp + 8]
shr eax, 1
test cx, cx
lea eax, [eax - 2]
je 0x3003bf65
test ecx, 0xffff0000
lea eax, [eax + 1]
je 0x3003bf65
lea eax, [eax*2 + 2]
add eax, dword [ebp + 8]
jmp 0x3003bf2a
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 4
Function at 0x401210
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword [0x41c800]
sub esp, 0x3f0
cmp eax, 0x63
ja 0x401281
lea eax, [esp + 4]
lea ecx, [esp + 8]
push eax
mov eax, dword [esp + 0x3f8]
lea edx, [esp + 4]
push ecx
push edx
push 0
push 0x403020
push eax
mov dword [esp + 0x18], 1
mov dword [esp + 0x1c], 0x3e8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x401281
mov eax, dword [0x41c800]
lea ecx, [esp + 8]
lea edx, [eax + eax*4]
inc eax
mov dword [0x41c800], eax
lea edx, [edx + edx*4]
lea edx, [edx + edx*4]
lea edx, [edx*8 + 0x403990]
mov al, byte [ecx]
inc ecx
mov byte [edx], al
inc edx
test al, al
jne 0x401277
add esp, 0x3f0
ret
Function at 0x20ff686
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp], al
adc al, al
push 0x35a72dd6
lea esp, [esp + 8]
jae 0x21170ff
pushfd
jmp 0x21087f9
pushfd
lea esp, [esp + 8]
jne 0x20fe0c4
pushfd
pushal
call fcn.02109286
push esp
mov al, 0xd4
popf
stc
sbb byte [ebx + 0x2f], 0xa1
xchg esp, eax
mov dword [ecx - 0x3a], ecx
push ebp
sar dl, 0x27
sbb esi, eax
pop edx
leave
dec esi
in eax, 0x27
ljmp 0xdf2c

Function at 0x2109292
Capabilities:
Encode data using xor

Disassembly:
mov eax, 0xdbae5dd2
mov ebx, 0x44a2a758
rcr byte [ebp - 0x52], cl
scasb al, byte es:[edi]
fstp xword [ebx + 0x44a2a758]
aad 0xd6
and dword [ebx - 0x1d], ebp
xor cl, bl
jecxz 0x20ff749
xor cl, bl
cmp ecx, dword [ebp + ecx*4 - 0x29]
xlatb
pop edx
add dl, dh
sub dword [edx - 0xd], edx
sub ah, byte [ecx + 0x39]
out 0x15, al
psubsb mm5, qword [edx + 0x500000e6]
call 0x210de17
push eax
out 0, al
add byte [eax - 0x3f], dl
xchg edx, eax
rcl dword [edx - 0x7f06f446], 0xbe
mov edx, 0xbe80f90b
sub esi, eax
daa
in al, 0x43
fadd qword [edi - 0x30]
cmp ecx, eax
mov byte [ebp + eax*8 + 0x50], dl
jne 0x20ff746
je 0x20ff746
loope 0x20ff770
fst dword ss:[edx]
push ds
std
add al, 0x8b
push dword [eax]
fnstsw word [ecx + 0x75a46463]
cmp esi, edx
mov esi, 0x7e7efdc1
cld
pop ss
je 0x20ff75b
fst dword [edi + 0xa]
mov dl, 0x56
inc ebp
mov al, 0x6d
xor dword [edi + 7], ecx
fdivr st(4)
sub al, 0x14
sti
jecxz 0x20ff754
mov byte [eax + 0x6d], al
sar dword [ecx - 0x7a], cl
jnp 0x20ff76a
movsb byte es:[edi], byte [esi]
xor dl, byte [edi]
jge 0x20ff747
pushfd
and ah, byte [eax + 0x61c4e05]
mov esi, 0x8dcd5131
mov cl, 0x92
or bh, dh
add edx, dword [ecx]
sbb byte [ebp - 0x32], dl
dec esp
mov dword [0xd4f0bbb4], eax
enter 0xffffffffffffee94, 0xffffffffffffffb0
push ss
fmul qword [ecx - 0x34]
int3
push ebx
pushal
pushfd
lea esp, [esp + 0x30]
je 0x21164ca
jmp 0x20ff768
Function at 0x2113958
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push esp
cmc
push ebx
sub ecx, dword [edx + 0x10]
jmp 0x2109c7f
lea esp, [esp + 0x20]
jbe 0x1af4075
bswap ecx
rcl ecx, cl
mov edi, dword [edx + 0x24]
rol ch, 5
cmc
add edi, eax
cmp ah, 0x77
mov ebx, dword [edx + 0x20]
rcl cx, cl
xor ecx, 0xd1f55c08
sar ecx, cl
add ebx, eax
xor ch, al
rcl cx, cl
inc cl
pushfd
mov dword [ebp - 8], 0
pop ecx
not cl
or ch, ch
mov ecx, dword [edx + 0x18]
lea esp, [esp + 0x28]
je fcn.01e01338
pushal
add edx, eax
movzx ecx, al
shr ch, cl
mov ecx, dword [esi + 0x7c]
cmp edi, 0x859e82a
add ecx, edx
cmp ecx, 0x91ea4ad5
mov dword [ebp - 0x10], ecx
inc ch
movzx cx, al
lea ecx, [ebx - 0x4f501adc]
mov ecx, dword [ebp + 0xc]
cmc
stc
cmp ecx, 0xffff
jmp 0x1e01f51
test esp, 0xaae8f269
cmp al, bl
cmp ecx, dword [edx + 0x14]
push 0x743f590
pushal
pushfd
lea esp, [esp + 0x28]
jae fcn.01e01338
push ecx
lea esp, [esp + 4]
jmp 0x210334e
pushfd
cmc
add esp, 0xc
ja 0x2107514
cmp ecx, dword [edx + 0x14]
pushfd
mov byte [esp], 0x10
pushal
push 0x984d460d
lea esp, [esp + 0x28]
jae fcn.01e01338
push edi
lea esp, [esp + 4]
jmp 0x210334e
lea esp, [esp + 0x24]
je fcn.01e01338
pushal
bts si, di
not dh
xadd dx, si
mov esi, dword [eax + 0x3c]
adc dl, 0xf4
sub dh, 0xcc
stc
bts dx, sp
add esi, eax
and dh, dl
mov edx, dword [esi + 0x78]
pushfd
cmc
pushfd
test edx, edx
mov byte [esp + 0xc], cl
jmp 0x20feb17

Function at 0x401113
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
and dword [ebp - 4], 0
push 0
push dword [ebp + 8]
push 0
push 0x8000040
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x40115b
push 0
push 0
push 0
push 0xf001f
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 4], eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 4], 0
jne 0x401176
push 0x40
push 0x101000
push dword [ebp + 8]
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x401197
push 0
push 0
push 0x40119c
push 0x40119c
push 0x80030008
call fcn.004010a1
add esp, 0x14
mov eax, dword [ebp - 4]
leave
ret
Function at 0x283cac5
Capabilities:
Encode data using xor

Disassembly:
invalid
or ah, ah
call 0x1581ef6
mov gs, word [edx + ebx*4 - 0x6489435f]
loopne 0x283cafb
fadd dword [0x5736eea]
push 0x2c
fcom qword [ecx - 0x41a07777]
test dword [ecx], ecx
xor dword [esi + 0x69], edx
mov bl, 0xe1
dec dword [edi]
xor ch, byte [ecx + ebp*2]
pop ecx
out 0xfe, eax
or byte [ebx], ah
mov dl, 0xe4
lodsd eax, dword [esi]
pushfd
test eax, 0xa503da5f
ljmp 0xdc2c:0x6a05736e
fiadd dword [ebx]
movsd dword es:[edi], dword [esi]
jb 0x283cad7
rcr dword [edx - 0x5b57ce39], 0x23
lodsd eax, dword [esi]
stosd dword es:[edi], eax
fdiv qword [ebp + 0x45]
arpl word [edx + edi*2 + 0x19], bx
inc edi
dec eax
dec esi
imul ebp, esp, 0xf8fd3c48
test al, 0x38
jno 0x283cac3
cdq
pop esi
pop dword [eax + 0x5e]
invalid

Function at 0x283d6b6
Capabilities:
Encode data using xor

Disassembly:
mov byte [esp + 8], 0x92
dec dl
std
jmp 0x158704e
std
pushfd
not dl
bt ecx, edi
pushfd
jmp 0x156f6ab
Function at 0x402af4
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
push edi
add esp, 0xfffffef8
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404658
test esi, esi
jne 0x402b2a
push 0x105
lea eax, [esp + 4]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
mov edx, esp
mov eax, ebx
call fcn.00404748
jmp 0x402b48
call sub.kernel32.dll_GetCommandLineA
mov edi, eax
mov edx, ebx
mov eax, edi
call fcn.004029a8
mov edi, eax
test esi, esi
je 0x402b48
cmp dword [ebx], 0
je 0x402b48
dec esi
jmp 0x402b31
add esp, 0x108
pop edi
pop esi
pop ebx
ret

Function at 0x4036bc
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [0x47a00c]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x403754
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403734
xor eax, eax
push ebp
push 0x40372d
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 0x403770
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 0x403734
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [0x47a00c]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [0x47a00c], ax
mov esp, ebp
pop ebp
ret

Function at 0x404458
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47c04c], 0
je 0x4044b9
cmp word [0x47c220], 0xd7b2
jne 0x404481
cmp dword [0x47c228], 0
jbe 0x404481
mov eax, 0x47c21c
call dword [0x47c238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47a054
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 0x4044e0
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x47a01c], 0
jne 0x4044d5
push 0
push 0x47a074
push 0x47a054
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret

Function at 0x40460c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov eax, 8
call fcn.00402778
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x47c04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x4045d4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x406010
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 0x406240
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406093
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406240
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406093
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40625c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40611c
xor eax, eax
push ebp
push 0x406115
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405e58
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 0x4060fa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40627c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4060fa
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 0x40611c
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 0x406236
cmp byte [ebp - 0xd], 0
jne 0x406163
cmp byte [ebp - 0x12], 0
je 0x406236
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40617c
dec ebx
cmp byte [ebx], 0x2e
je 0x40618b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40617b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406236
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4061c8
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 0x406236
cmp byte [ebp - 0xd], 0
je 0x406236
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 0x406236
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 0x40611c
Capabilities:
Get geographical location

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 0x406240
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406093
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x406240
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x406093
lea eax, [ebp - 8]
push eax
push 0xf0019
push 0
push 0x40625c
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x40611c
xor eax, eax
push ebp
push 0x406115
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x11d]
mov edx, 0x105
call fcn.00405e58
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 0x4060fa
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x40627c
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
test eax, eax
je 0x4060fa
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 0x40611c
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 0x406236
cmp byte [ebp - 0xd], 0
jne 0x406163
cmp byte [ebp - 0x12], 0
je 0x406236
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40617c
dec ebx
cmp byte [ebx], 0x2e
je 0x40618b
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x40617b
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x406236
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4061c8
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 0x406236
cmp byte [ebp - 0xd], 0
je 0x406236
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 0x406236
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 0x40b7b0
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 0x40b7e9
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404748
jmp 0x40b7f2
mov eax, ebx
mov edx, esi
call fcn.004046ac
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x40b7fc
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 0x40b81d
mov al, byte [esp]
jmp 0x40b81f
mov eax, ebx
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x40bea4
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bd1c
mov eax, dword [0x47bb94]
cmp byte [eax], 0
je 0x40bf0c
mov eax, dword [0x47b964]
call fcn.00402f24
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.00408f68
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff5
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 0x40bf54
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bf42
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x47b914]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x47c718]
call fcn.00405e1c
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 0x40cd34
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 0x40cd98
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.004048d0
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408bb4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cd9f
lea eax, [ebp - 0xc]
call fcn.00404658
ret

Function at 0x41fd14
Capabilities:
Suspend thread

Disassembly:
push ebx
mov ebx, eax
mov byte [ebx + 0xe], 1
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_SuspendThread
test eax, eax
setge dl
mov eax, ebx
call fcn.0041fb88
pop ebx
ret

Function at 0x41fd34
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.kernel32.dll_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0041fb88
dec esi
jne 0x41fd56
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret
Function at 0x4214a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x47ca28
cmp dword [edi], 0
jne 0x42151c
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x47ca24]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x47a530
mov ecx, 2
call fcn.00402968
mov edx, 0x421478
lea eax, [esi + 5]
call fcn.00421498
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00421498
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 0x4214f1
mov dword [0x47ca24], 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 0x422ae8
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 0x422aee
ret

Function at 0x424ffc
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 0x42504d
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x425034
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x425024
jmp 0x42504d
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 0x425035
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fd78
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.00404b08
xor eax, eax
push ebp
push 0x42fea6
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x42fe79
xor eax, eax
push ebp
push 0x42fe72
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404920
inc eax
push eax
push 0x2002
call sub.kernel32.dll_GlobalAlloc
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x42fe47
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 0x42fe36
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00404920
inc eax
push eax
mov eax, dword [ebp - 4]
call fcn.00404b18
mov edx, ebx
pop ecx
call fcn.00402968
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 0x42fe3d
mov eax, dword [ebp - 8]
push eax
call sub.kernel32.dll_GlobalUnlock
ret
mov ecx, dword [0x47b8ac]
mov dl, 1
mov eax, dword [0x407b44]
call fcn.0040c074
call fcn.00404018
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42fead
lea eax, [ebp - 4]
call fcn.00404658
ret