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

Disassembly:
movsb byte es:[edi], byte [esi]
push 0xffffffffffffffd7
push ds
aam 0x85
pop ebx
push esp
cmpsd dword [esi], dword es:[edi]
inc ecx
push ebp
cdq
sub eax, 0x510715c2
test al, 0xaf
invalid
jno 0x625852
xor byte [eax - 0x5f], al
pop eax
xor al, 0xd5
dec ebp
push cs
pop ss
dec edx
dec edx
lea edx, [0x7124123]
aam 0
add ch, 0xa5
or byte [ecx - 0x22], al
fisub word [edx - 0x78]
mov bl, 0xa8
mov al, byte [0x62e4c2a5]
fisub word [edx - 0x78]
mov bl, 0xa8
mov al, byte [0x62e4c2a5]
stosb byte es:[edi], al
jne 0x6257b3
je 0x625806
xlatb
in al, 0x32
mov ebp, 0xb52d1f14
inc edi
mov al, 0xde
out 0x54, eax
pop edi
cwde
inc ebp
jns 0x625860
nop
and dword [ebx + 0x25], ecx
adc edx, ebp
push esp
sbb eax, 0x4e17f350
and eax, 0x1d54d513
push eax
pop ss
dec esi
pushal
cmp al, 0xad
xchg edi, eax
js 0x625812
js 0x625812
pop es
cwde
dec ebx
push esp
jp 0x62582e
jo 0x6258c0
adc eax, 0xc4947ceb
cmp byte [esi + 0x60], cl
xchg esp, eax
les edi, [eax]
dec esi
pushal
inc eax
or esp, dword [edi - 0x1b461207]
push esp
push esp
jnp 0x625842
sal dword [ebp + 0x67], cl
jne 0x6258d8
push esi
jb 0x6258de
push ds
cmpsb byte [esi], byte es:[edi]
sub byte [ebx], dh
outsb dx, byte [esi]
lds esi, [esi - 0x1c]
mov ch, 0x47
loopne 0x625844
or eax, 0xd97a35b7
mov bh, 0x35
jp 0x62585f
xchg dword [ebx + edx*2 + 5], eax
je 0x62586e
salc
lcall 0x102d, 0x7476f0ad
salc
invalid
rcr byte ss:[edi], cl
loope 0x625920
insb byte es:[edi], dx
xchg ebp, eax
jecxz 0x625882
test al, 0x7e
arpl word [edi + 0x54], dx
inc eax
aaa
movsb byte es:[edi], byte [esi]
cmc
xchg ebp, eax
mov esp, dword [eax + 0x126ae6f4]
push 0x12
pop esp
jb 0x625862
sbb byte [0x6c24ba94], dh
xor eax, 0x6c24ba94
add eax, 0xf5c55cce
je 0x62593e
dec ebp
mov edi, 0x26d262f3
cmp eax, 0x2a4a2ec3
in eax, 0x71
into
mov ebp, 0x5bb1758c
jp 0x6258c0
in eax, 0x24
jp 0x625928
in al, 0xd5
xor al, 0x99
xor al, 5
invalid
xchg esp, eax
cmp esp, dword [eax]
invalid
fild word [eax + 5]
pop ebp
lcall 0x2795, 0xe171d173
xchg ebp, eax
daa
ficom word [ecx]
test byte [0x8cba86ff], ch
aam 0x4a
mov ch, 0x5c
pop esp
sbb eax, 0x129c548c
add byte [ebp + 0x7af56c5d], 0xa4
xor al, 0xbb
dec ebx
cmp eax, 0x16b9f220
aam 0x45
xchg ebp, eax
test dword [ecx - 9], esi
inc esi
push ebp
aad 0x30
sbb eax, 0x3f878169
movsd dword es:[edi], dword [esi]
xchg esp, eax
mov ah, 0xd5
add edi, esi
cmp dh, byte [esi]
das
sub eax, 0x3a633d44
or al, 0x51
adc ecx, 0xf1bc207c
jbe 0x625931
arpl word [ebp - 0x7a], sp
dec ebx
in eax, 0x10
push es
adc al, 0x15
xor dh, byte [edi]
rcl dword [edx], 0xd4
xor dword [ebx - 0x1a9425dd], ecx
wait
test dword [ecx + 0x61], ebx
frstor dword [edx]
xchg esp, eax
mov eax, dword [0x80a8fae7]
sbb eax, 0xbeb061b7
daa
push ebx
fidivr dword [ecx + 4]
popal
invalid
Function at 0x1c33610
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x1b83000]
push edi
or ebp, 0xffffffff
jmp 0x1c33632
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x1c33639
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c33628
mov eax, 1
add ebx, ebx
jne 0x1c3364b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x1c3365c
jne 0x1c3367b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c3367b
dec eax
add ebx, ebx
jne 0x1c33668
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x1c33640
add ebx, ebx
jne 0x1c33677
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x1c336cd
xor ecx, ecx
sub eax, 3
jb 0x1c33693
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x1c33702
sar eax, 1
mov ebp, eax
jmp 0x1c3369e
add ebx, ebx
jne 0x1c3369e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c3366c
inc ecx
add ebx, ebx
jne 0x1c336ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x1c3366c
add ebx, ebx
jne 0x1c336b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x1c336ae
jne 0x1c336ca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x1c336ae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x1c336ec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x1c336de
jmp 0x1c3362e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x1c336ec
add edi, ecx
jmp 0x1c3362e
pop esi
mov edi, esi
mov ecx, 0x76f9
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x1c3370a
cmp byte [edi], 0x1e
jne 0x1c3370a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
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 0x1c3370f
lea edi, [esi + 0x1be7000]
mov eax, dword [edi]
or eax, eax
je 0x1c3377e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x36aeeb0]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x36aefc8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x1c3373c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x36aefcc]
or eax, eax
je 0x1c33778
mov dword [ebx], eax
add ebx, 4
jmp 0x1c33759
call dword [esi + 0x36aefd4]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x1c337af
cmp al, 0xef
ja 0x1c337a2
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x1c33784
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x1c33791
mov ebp, dword [esi + 0x36aefd0]
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 0x1c337e3
sub esp, 0xffffff80
jmp 0x147598
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
pushal
call 0x40673a
pop dword [ebp - 0x34]
mov eax, 0xf92e8268
add eax, 0x711e4d2
sub dword [ebp - 0x34], eax
mov dword [ebp - 0x44], 0x47f4c832
sub dword [ebp - 0x44], 0xf9a282e7
mov dword [ebp - 0x40], 0x42451eef
sub dword [ebp - 0x40], 0x1011d2aa
mov dword [ebp - 0x3c], 0x5323a017
add dword [ebp - 0x3c], 0xf928a417
mov dword [ebp - 0x38], 0x9b48ee97
sub dword [ebp - 0x38], 0x9b48ee97
lea eax, [ebp - 0x44]
push eax
mov eax, 0xc2cf7be0
sub eax, 0xc28efadc
add eax, dword [ebp - 0x34]
call dword [eax]
mov dword [ebp - 0x44], 0x1fe3dfe
add dword [ebp - 0x44], 0x72742b58
mov dword [ebp - 0x40], 0x160e8c37
sub dword [ebp - 0x40], 0xd4a22ac2
mov dword [ebp - 0x3c], 0x67f47e8a
add dword [ebp - 0x3c], 0xfb7aede2
mov dword [ebp - 0x38], 0x61ecf042
add dword [ebp - 0x38], 0x9e130fbe
lea ebx, [ebp - 0x44]
push ebx
push eax
mov eax, 0xc518bbd3
sub eax, 0xc4d83ad3
add eax, dword [ebp - 0x34]
call dword [eax]
push 0x40
push 0x1000
push 0x3f215
push 0
call eax
mov ecx, 0x37e3aeed
sub ecx, 0x37e34878
xor edx, edx
add edx, eax
mov ebx, 0x46e400
add ebx, dword [ebp - 0x34]
mov esi, 0x8bead932
add dword [ebp - 0x2c], 0x5733cb73
mov edi, dword [ebx]
sub dword [ebp - 4], 0x44705ded
xor edi, esi
sub dword [ebp - 0x20], 0x810b408a
mov dword [edx], edi
add dword [ebp - 0x2c], 0x5748f09a
add edx, 4
add ebx, 0x6f1bcef2
sub ebx, 0x6f1bceee
loop 0x406852
add eax, 0x18ca7
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0xc0e001d6
sub ecx, 0xc0a001d6
add ecx, dword [ebp - 0x34]
call ebx
leave
ret
Function at 0x5092ed4
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
push ebp
push 0x5092f2d
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
call sub.kernel32.dll_GetCommandLineA
lea edx, [ebp - 8]
call fcn.05092d70
mov dword [ebp - 4], eax
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.05092d70
mov dword [ebp - 4], eax
cmp dword [ebp - 8], 0
je 0x5092f17
inc ebx
jmp 0x5092f00
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5092f34
lea eax, [ebp - 8]
call fcn.05094c48
ret

Function at 0x5092f3c
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffef4
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.05094c48
test esi, esi
jne 0x5092f73
push 0x105
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.05094d38
jmp 0x5092f94
call sub.kernel32.dll_GetCommandLineA
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.05092d70
mov dword [esp], eax
test esi, esi
je 0x5092f94
cmp dword [ebx], 0
je 0x5092f94
dec esi
jmp 0x5092f7b
add esp, 0x10c
pop esi
pop ebx
ret

Function at 0x5093598
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
push ebx
xor ebx, ebx
imul edx, dword [ebx + 0x516a008], 0x8088405
inc edx
mov dword [ebx + 0x516a008], edx
mul edx
mov eax, edx
pop ebx
ret

Function at 0x5093bc0
Capabilities:
Query or enumerate registry value

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

Function at 0x5094a20
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x516d04c], 0
je 0x5094a81
cmp word [0x516d220], 0xd7b2
jne 0x5094a49
cmp dword [0x516d228], 0
jbe 0x5094a49
mov eax, 0x516d21c
call dword [0x516d238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x516a074
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 0x5094aa8
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x516a034], 0
jne 0x5094a9d
push 0
push 0x516a06c
push 0x516a074
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x5094bfc
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.05092b10
mov dword [eax], edi
mov edx, dword [ebp + 0x10]
mov dword [eax + 4], edx
mov byte [0x516d04d], 1
mov edx, dword [ebp + 8]
push edx
mov edx, dword [ebp + 0xc]
push edx
push eax
mov eax, 0x5094bc4
push eax
push esi
push ebx
call sub.kernel32.dll_CreateThread
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x5096d60
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
xor edx, edx
mov dword [ebp - 0x10], edx
xor edx, edx
push ebp
push 0x5096dc6
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 0xb]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA
lea eax, [ebp - 0x10]
lea edx, [ebp - 0xb]
mov ecx, 7
call fcn.05094eb8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.05093784
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x5096db0
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5096dcd
lea eax, [ebp - 0x10]
call fcn.05094c48
ret

Function at 0x5098588
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.050950f8
xor eax, eax
push ebp
push 0x509871a
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
call fcn.05094c48
mov ebx, 1
xor edi, edi
mov eax, dword [ebp - 4]
call fcn.05094f08
mov dword [ebp - 0x18], eax
cmp ebx, dword [ebp - 0x18]
jg 0x50986f7
jmp 0x509865a
mov eax, dword [ebp - 4]
mov al, byte [eax + ebx - 1]
mov byte [ebp - 9], al
xor eax, eax
mov al, byte [ebp - 9]
cmp eax, 0x3d
jg 0x5098605
je 0x509862d
sub eax, 0x2b
je 0x5098617
sub eax, 4
je 0x509861d
dec eax
sub eax, 0xa
jb 0x5098623
jmp 0x5098646
add eax, 0xffffffbf
sub eax, 0x1a
jb 0x5098632
add eax, 0xfffffffa
sub eax, 0x1a
jb 0x509863c
jmp 0x5098646
mov si, 0x3e
jmp 0x509864a
mov si, 0x3f
jmp 0x509864a
movzx esi, byte [ebp - 9]
sub si, 0xfffc
jmp 0x509864a
or esi, 0xffffffff
jmp 0x509864a
movzx esi, byte [ebp - 9]
sub si, 0x41
jmp 0x509864a
movzx esi, byte [ebp - 9]
sub si, 0x47
jmp 0x509864a
mov si, 0xfffe
cmp si, 0xfffe
je 0x5098659
movzx eax, di
mov word [ebp + eax*2 - 0x12], si
inc edi
inc ebx
cmp ebx, dword [ebp - 0x18]
jg 0x5098669
cmp di, 4
jb 0x50985dd
cmp di, 4
jne 0x50986ee
xor edi, edi
lea eax, [ebp - 0x1c]
mov dx, word [ebp - 0x12]
shl edx, 2
movsx ecx, word [ebp - 0x10]
shr ecx, 4
or dl, cl
call fcn.05094e30
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 8]
call fcn.05094f10
mov eax, dword [ebp - 8]
cmp word [ebp - 0xe], 0xffff
je 0x50986f7
lea eax, [ebp - 0x20]
mov dx, word [ebp - 0x10]
shl edx, 4
movsx ecx, word [ebp - 0xe]
shr ecx, 2
or dl, cl
call fcn.05094e30
mov edx, dword [ebp - 0x20]
mov eax, dword [ebp - 8]
call fcn.05094f10
mov eax, dword [ebp - 8]
cmp word [ebp - 0xc], 0xffff
je 0x50986f7
lea eax, [ebp - 0x24]
mov dx, word [ebp - 0xe]
shl edx, 6
mov cx, word [ebp - 0xc]
or dl, cl
call fcn.05094e30
mov edx, dword [ebp - 0x24]
mov eax, dword [ebp - 8]
call fcn.05094f10
mov eax, dword [ebp - 8]
cmp ebx, dword [ebp - 0x18]
jle 0x509865a
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x5098721
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.05094c6c
lea eax, [ebp - 4]
call fcn.05094c48
ret
Function at 0x509d0d4
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 0x509d10d
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.05094d38
jmp 0x509d116
mov eax, ebx
mov edx, esi
call fcn.05094c9c
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x509d7d8
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x509d640
mov eax, dword [0x516ca28]
cmp byte [eax], 0
je 0x509d854
mov eax, dword [0x516c680]
call fcn.05093390
call fcn.05092c9c
lea eax, [esp + 0x44]
push eax
lea eax, [esp + 0x48]
push eax
call sub.user32.dll_CharToOemA
push 0
lea eax, [esp + 4]
push eax
lea eax, [esp + 0x4c]
call fcn.0509a890
push eax
lea eax, [esp + 0x50]
push eax
push 0xfffffffffffffff4
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 0x509d89c
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x509d88a
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x516c600]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x516d668]
call fcn.050961b0
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 0x509e14c
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x509e222
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.05094ce0
lea eax, [ebp - 8]
call fcn.05095158
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.05095108
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x509e20c
mov eax, ebx
call fcn.05092b10
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x509e205
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x10]
push eax
push ebx
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.05095108
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x509e1ef
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x509e234
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x509e1ef
mov eax, dword [ebp - 0x14]
mov eax, dword [eax + 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509e20c
mov eax, dword [ebp - 0x10]
call fcn.05092b40
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509e229
lea eax, [ebp - 8]
call fcn.05094c48
ret

Function at 0x509e788
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 0x509e7ec
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.05094eb8
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.0509a3a4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x509e7f3
lea eax, [ebp - 0xc]
call fcn.05094c48
ret
Function at 0x50aff98
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
lea ebx, [ebp - 0xc]
mov esi, 0x516d8b4
cmp dword [esi], 0
jne 0x50b003e
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
mov edx, dword [0x516d8b0]
mov dword [eax], edx
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, 0x516a480
mov ecx, 2
call fcn.05092d30
mov edx, 0x50aff70
mov eax, dword [ebp - 8]
add eax, 5
call fcn.050aff90
mov edx, dword [ebp - 8]
mov dword [edx + 6], eax
mov eax, dword [ebp - 8]
add eax, 0xa
mov dword [ebx], eax
mov eax, dword [ebx]
mov byte [eax], 0xe8
mov eax, dword [ebp - 8]
lea edx, [eax + 4]
mov eax, dword [ebx]
call fcn.050aff90
mov edx, dword [ebx]
mov dword [edx + 1], eax
mov eax, dword [ebx]
mov edx, dword [esi]
mov dword [eax + 5], edx
mov eax, dword [ebx]
mov dword [esi], eax
add dword [ebx], 0xd
mov eax, dword [ebx]
sub eax, dword [ebp - 8]
cmp eax, 0xffc
jl 0x50b0005
mov eax, dword [ebp - 8]
mov dword [0x516d8b0], eax
mov eax, dword [esi]
mov dword [ebp - 4], eax
mov eax, dword [esi]
mov dword [ebx], eax
mov eax, dword [ebx]
mov eax, dword [eax + 5]
mov dword [esi], eax
mov eax, dword [ebx]
mov edx, dword [ebp + 8]
mov dword [eax + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [eax + 9], edx
mov eax, dword [ebp - 4]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x50b153c
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 0x50b1542
ret

Function at 0x50b39c0
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 0x50b3a11
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x50b39f8
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x50b39e8
jmp 0x50b3a11
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 0x50b39f9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x50b9cbc
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffb8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x44], ebx
mov dword [ebp - 0x48], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
lea eax, [ebp - 0x10]
mov edx, dword [0x5098c6c]
call fcn.050956e4
xor eax, eax
push ebp
push 0x50b9e00
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x516a7b0], 0
jne 0x50b9d0f
mov ecx, dword [0x516c4b4]
mov dl, 1
mov eax, dword [0x50992ec]
call fcn.0509d968
call fcn.050945b8
lea eax, [ebp - 0x20]
xor ecx, ecx
mov edx, 0x10
call fcn.05093578
mov eax, ebx
call fcn.050954b0
mov dword [ebp - 0x1c], eax
push esi
push edi
mov esi, 0x50b9e10
lea edi, [ebp - 0x30]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
lea eax, [ebp - 0x30]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0xc]
call fcn.05096828
xor eax, eax
mov dword [ebp - 8], eax
mov eax, ebx
call fcn.050954c0
test eax, eax
jle 0x50b9da7
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x50b9da0
lea eax, [ebp - 0x44]
mov edx, ebx
call fcn.05094ed0
mov eax, dword [ebp - 0x44]
push eax
lea eax, [ebp - 0x48]
lea edx, [ebp - 0x40]
mov ecx, 0x10
call fcn.05094eb8
mov eax, dword [ebp - 0x48]
pop edx
call fcn.0509a0bc
test eax, eax
jne 0x50b9da0
mov ebx, 0x15
jmp 0x50b9dac
mov ebx, 0x10
jmp 0x50b9dac
mov ebx, 0x15
lea eax, [ebp - 0x10]
push eax
push 1
lea eax, [ebp - 0x20]
push eax
push ebx
push 0
push esi
call dword [0x516a7b0]
call fcn.050b9b34
mov eax, dword [ebp - 8]
call fcn.050b9b34
mov eax, edi
mov edx, dword [ebp - 0xc]
call fcn.05096840
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50b9e07
lea eax, [ebp - 0x48]
mov edx, 2
call fcn.05094c6c
lea eax, [ebp - 0x10]
mov edx, dword [0x5098c6c]
call fcn.050957b4
ret

Function at 0x50bfb4c
Capabilities:
Enumerate gui resources

Disassembly:
mov byte [eax + 0xc], 0
mov byte [eax + 0xd], 0
xor edx, edx
mov dword [eax + 4], edx
push eax
push 0x50bfa98
call sub.user32.dll_EnumWindows
ret

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

Disassembly:
push ebp
mov ebp, esp
push 0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x50bfce9
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.050bf6cc
call sub.kernel32.dll_GetTickCount_1
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount_1
sub eax, ebx
cmp eax, 0x3e8
jbe 0x50bfc91
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.050bf2cc
cmp dword [ebp - 4], 0
je 0x50bfcd3
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.05095108
push eax
mov eax, dword [esi + 0x1c]
mov edx, dword [eax]
call dword [edx + 0xc]
push eax
call sub.user32.dll_WinHelpA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x50bfcf0
lea eax, [ebp - 4]
call fcn.05094c48
ret