joyce8/EMBER2024-capa huggingface dataset:
Function at 0x46e875
Capabilities:
Capture webcam image

Disassembly:
sub esp, 0x44
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x3c]
test eax, eax
je 0x46e98d
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x46e98d
mov eax, dword [esi + 0x3c]
push eax
call fcn.0048b13b
mov esi, eax
test esi, esi
je 0x46e98d
mov ebx, dword [esp + 0x58]
mov ecx, dword [esi + 0x1c]
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push ebx
push 0x419
push ecx
call ebp
mov edi, eax
test edi, edi
jl 0x46e98d
mov ecx, esi
call fcn.0046e7e0
cmp edi, eax
jge 0x46e98d
mov eax, dword [esi + 0xc4]
mov edx, dword [esi + 0xc0]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x5c]
xor ecx, ecx
mov dword [esp + 0x28], edx
cmp eax, ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], ecx
mov dword [esp + 0x38], edi
jne 0x46e913
mov dword [esp + 0x34], 1
jmp 0x46e96e
mov edx, dword [esi + 0x1c]
lea ecx, [esp + 0x18]
push ecx
push ebx
push 0x433
push edx
call ebp
test eax, eax
je 0x46e98d
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x10], ecx
mov dword [eax], 0
mov ecx, dword [esi + 0x1c]
lea eax, [esp + 0x10]
add edx, 2
push eax
push ecx
mov dword [esp + 0x1c], edx
call dword [sym.imp.USER32.dll_ClientToScreen]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esp + 0x34], 3
mov dword [esp + 0x3c], edx
mov dword [esp + 0x40], eax
xor ecx, ecx
push ecx
lea ecx, [esp + 0x2c]
push ecx
push 0x7d8
call fcn.0046ddc0
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x44
ret 0xc
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x44
ret 0xc

Function at 0x48badf
Capabilities:
Get graphical window text

Disassembly:
push esi
mov esi, ecx
mov ecx, dword [esi + 0x38]
test ecx, ecx
jne 0x48bb17
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextLengthA]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [esp + 0xc]
push eax
call fcn.00489b6c
push eax
push dword [esi + 0x1c]
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov ecx, dword [esp + 8]
push 0xffffffffffffffff
call fcn.00489b44
jmp 0x48bb23
mov eax, dword [ecx]
push dword [esp + 8]
call dword [eax + 0x88]
pop esi
ret 4

Function at 0x48d1d6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push esi
push edi
xor edi, edi
cmp dword [esp + 0x10], edi
mov ebx, ecx
je 0x48d218
call fcn.00492ebb
mov esi, dword [eax + 0xc]
push 0xf0
push dword [esp + 0x14]
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
cmp eax, edi
je 0x48d218
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, edi
jne 0x48d20f
xor eax, eax
jmp 0x48d220
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
push edi
mov ecx, ebx
call fcn.0048d226
pop edi
pop esi
pop ebx
ret 4
Function at 0x4933eb
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x493419
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x493437
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00493351
jmp 0x493437
mov eax, dword [esi + 0x14]
test eax, eax
je 0x493437
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
mov ecx, esi
push eax
call fcn.00493351
test edi, edi
mov eax, edi
jne 0x493421
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
Function at 0x41b05d
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x100
push esi
push edi
mov cl, 0x72
mov al, 0x65
mov dl, 0x73
push 0x1005cc1c
mov byte [esp + 0xc], 0x57
mov byte [esp + 0xd], cl
mov byte [esp + 0xe], 0x69
mov byte [esp + 0xf], 0x74
mov byte [esp + 0x10], al
mov byte [esp + 0x11], 0x50
mov byte [esp + 0x12], cl
mov byte [esp + 0x13], 0x6f
mov byte [esp + 0x14], 0x63
mov byte [esp + 0x15], al
mov byte [esp + 0x16], dl
mov byte [esp + 0x17], dl
mov byte [esp + 0x18], 0x4d
mov byte [esp + 0x19], al
mov byte [esp + 0x1a], 0x6d
mov byte [esp + 0x1b], 0x6f
mov byte [esp + 0x1c], cl
mov byte [esp + 0x1d], 0x79
mov byte [esp + 0x1e], 0
call dword [0x1004f1a0]
mov esi, eax
test esi, esi
je 0x41b11f
lea eax, [esp + 8]
push eax
push esi
call dword [0x1004f1a4]
push esi
mov edi, eax
call dword [0x1004f1a8]
test edi, edi
je 0x41b11f
mov ecx, dword [esp + 0x11c]
mov edx, dword [esp + 0x118]
mov eax, dword [esp + 0x114]
push ecx
mov ecx, dword [esp + 0x114]
push edx
mov edx, dword [esp + 0x114]
push eax
push ecx
push edx
call edi
pop edi
pop esi
add esp, 0x100
ret
pop edi
xor eax, eax
pop esi
add esp, 0x100
ret
Function at 0x421c4d
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x208
push ebx
push ebp
mov ebp, dword [esp + 0x214]
push esi
push edi
mov edi, 0x100618a0
mov eax, dword [ebp + 4]
mov ecx, dword [ebp]
mov dword [esp + 0x10c], eax
mov eax, dword [ebp + 0x48]
mov dword [esp + 0x108], ecx
mov ecx, dword [ebp + 0x50]
mov dword [esp + 0xf8], eax
mov eax, dword [ebp + 0x15c]
mov dword [esp + 0x104], ecx
mov ecx, dword [ebp + 0x40]
mov dword [esp + 0x114], eax
mov dword [esp + 0xfc], ecx
mov edx, dword [ebp + 0x3c]
or ecx, 0xffffffff
xor eax, eax
mov ebx, dword [ebp + 0x160]
repne scasb al, byte es:[edi]
mov dword [esp + 0x58], edx
mov edx, dword [ebp + 0x158]
not ecx
dec ecx
mov dword [esp + 0x110], edx
mov edx, dword [ebp + 0x44]
push 1
mov dword [esp + 0x14], ecx
push ecx
mov ecx, ebx
mov dword [esp + 0xf8], edx
call dword [0x1004f51c]
test al, al
je 0x421d09
mov eax, dword [esp + 0x10]
mov edi, dword [ebx + 4]
mov ecx, eax
mov esi, 0x100618a0
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov dword [ebx + 8], eax
mov byte [ecx + eax], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
mov dword [esp + 0xf4], eax
jg 0x424079
Function at 0x446c55
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x1004eb18
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
mov esi, ecx
lea ecx, [esp + 4]
mov dword [esp + 0x1c], 1
call fcn.00449e8b
mov eax, dword [esp + 0x2c]
lea ecx, [esp + 4]
push eax
push 0x1005ce1c
push ecx
mov byte [esp + 0x28], 2
call fcn.00449ef7
add esp, 8
lea edx, [esp + 8]
mov ecx, esp
mov dword [esp + 0xc], esp
push edx
call fcn.00449ea9
push ecx
lea eax, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
mov byte [esp + 0x28], 3
call fcn.00449ea9
push ecx
lea edx, [esp + 0x30]
mov ecx, esp
mov dword [esp + 0x1c], esp
push edx
mov byte [esp + 0x2c], 4
call fcn.00449ea9
lea eax, [esp + 0x38]
mov ecx, esi
push eax
mov byte [esp + 0x2c], 2
call fcn.00446d2d
mov eax, dword [eax]
push eax
call dword [0x1004f654]
add esp, 4
lea ecx, [esp + 0x2c]
mov esi, eax
call fcn.00449b85
lea ecx, [esp + 4]
mov byte [esp + 0x1c], 1
call fcn.00449b85
lea ecx, [esp + 0x24]
mov byte [esp + 0x1c], 0
call fcn.00449b85
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], 0xffffffff
call fcn.00449b85
mov ecx, dword [esp + 0x14]
mov eax, esi
mov dword fs:[0], ecx
pop esi
add esp, 0x1c
ret 0xc
Function at 0x447cdd
Capabilities:
Hash data with md5

Disassembly:
xor eax, eax
mov dword [ecx], 0x67452301
mov byte [ecx + 0x68], al
mov dword [ecx + 0x14], eax
mov dword [ecx + 0x10], eax
mov dword [ecx + 4], 0xefcdab89
mov dword [ecx + 8], 0x98badcfe
mov dword [ecx + 0xc], 0x10325476
ret

Function at 0x45585d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055258
push 0x10040e94
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x1004f0c0]
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0x30]
mov dword [ebp - 0x38], ecx
cmp word [ecx], 0x5a4d
jne 0x4558f8
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x3c], eax
cmp dword [eax], 0x4550
jne 0x4558f8
mov edx, dword [eax + 0xd8]
lea edi, [edx + ecx]
mov esi, dword [ebp + 0xc]
cmp esi, edi
jb 0x4558f8
mov eax, dword [eax + 0xdc]
add eax, edx
add eax, ecx
cmp esi, eax
jae 0x4558f8
mov dword [ebp - 4], 0xffffffff
mov al, 1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor al, al
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x45633d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055268
push 0x10040e94
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x38]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [0x1004f0c0]
test eax, eax
je 0x4563c7
mov dword [ebp - 4], 0
mov eax, dword [ebp - 0x34]
cmp word [eax], 0x5a4d
jne 0x4563c0
mov ecx, dword [eax + 0x3c]
add ecx, eax
mov dword [ebp - 0x3c], ecx
cmp dword [ecx], 0x4550
jne 0x4563c0
cmp word [ecx + 0x14], 0
mov dword [ebp - 4], 0xffffffff
je 0x4563c7
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x45651d
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055288
push 0x10040e94
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x30
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
test eax, eax
mov esi, 0x10000
je 0x456555
lea esi, [eax + 0x10000]
mov ecx, 7
xor eax, eax
lea edi, [ebp - 0x38]
rep stosd dword es:[edi], eax
or ebx, 0xffffffff
mov edi, dword [0x1004f0c0]
push 0x1c
lea eax, [ebp - 0x38]
push eax
push esi
call edi
test eax, eax
jbe 0x4565df
cmp dword [ebp - 0x28], 0x1000
jne 0x45659c
mov eax, dword [ebp - 0x24]
test ah, 1
jne 0x45659c
mov dword [ebp - 4], 0
mov dword [ebp - 0x3c], esi
cmp word [esi], 0x5a4d
je 0x4565a7
mov dword [ebp - 4], ebx
mov ecx, dword [ebp - 0x38]
mov edx, dword [ebp - 0x2c]
lea esi, [edx + ecx]
jmp 0x45656a
mov eax, dword [esi + 0x3c]
add eax, esi
mov dword [ebp - 0x40], eax
cmp dword [eax], 0x4550
mov dword [ebp - 4], ebx
jne 0x45659c
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4565fd
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10055298
push 0x10040e94
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
xor edi, edi
cmp eax, edi
jne 0x45663d
push edi
call dword [0x1004f198]
mov ecx, eax
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], edi
cmp word [ecx], 0x5a4d
je 0x456651
push 0xc1
jmp 0x456745
mov eax, dword [ecx + 0x3c]
add eax, ecx
mov dword [ebp - 0x24], eax
cmp dword [eax], 0x4550
je 0x45666b
push 0xbf
jmp 0x456745
mov cx, word [eax + 0x14]
cmp cx, di
je 0x456740
and ecx, 0xffff
lea ecx, [ecx + eax + 0x18]
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x28], edi
xor edx, edx
mov dx, word [eax + 6]
cmp edi, edx
jae 0x456740
lea eax, [edi + edi*4]
mov ecx, dword [ebp - 0x20]
lea eax, [ecx + eax*8]
mov esi, 0x10061894
mov ecx, eax
mov bl, byte [ecx]
mov dl, bl
cmp bl, byte [esi]
jne 0x4566ca
test dl, dl
je 0x4566c6
mov bl, byte [ecx + 1]
mov dl, bl
cmp bl, byte [esi + 1]
jne 0x4566ca
add ecx, 2
add esi, 2
test dl, dl
jne 0x4566a6
xor ecx, ecx
jmp 0x4566cf
sbb ecx, ecx
sbb ecx, 0xffffffff
test ecx, ecx
jne 0x45672b
mov ecx, dword [eax + 0xc]
test ecx, ecx
je 0x456740
mov edx, dword [eax + 0x10]
test edx, edx
je 0x456740
mov edx, dword [ebp - 0x1c]
lea esi, [ecx + edx]
mov dword [ebp - 0x2c], esi
mov dword [ebp - 0x30], esi
mov eax, dword [esi]
cmp eax, 0x40
jb 0x456740
cmp dword [esi + 4], 0x727444
jne 0x456740
mov ecx, dword [esi + 8]
test ecx, ecx
jne 0x456707
mov dword [esi + 8], eax
push 0
call dword [0x1004f120]
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
inc edi
mov dword [ebp - 0x28], edi
mov eax, dword [ebp - 0x24]
jmp 0x456688
push 0xc0
call dword [0x1004f120]
mov dword [ebp - 4], 0xffffffff
xor eax, eax
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x47cc06
Capabilities:
Encode data using xor

Disassembly:
xchg edi, eax
mov byte [0xbe92a793], al
mov esi, 0xac9ea48a
test cl, dl
das
pop edi
add eax, 0x78e828bb
sbb al, 0x77
pop ss
jne 0x47cc0c
invalid
add eax, 0x968157b
push ebp
jnp 0x47cc1e
push 0x78245509
and al, 0x78
xor dword [eax + 0x4ea0e796], ebp
std
jo 0x47cb9f
mov dl, 0xb6
stosb byte es:[edi], al
jle 0x47cbc6
mov word [esi + 0x291a22a2], es
xchg byte [edx + 0x73291a22], ah
pop esi
sbb ch, byte [ecx]
jae 0x47cc83
inc ebx
push cs
and dword [edi - 0x666cdbff], eax
call 0xfed9b1c6
mov ecx, ebp
xchg edx, eax
idiv byte [edi + 0x17]
dec byte [ecx + 0x7ff692e9]
pop ss
xor dword [eax + 0x36], 0xffffff8a
mov ebx, 0x857081f6
mov byte [0xaaa5200d], al
test dword [edx - 0x555adff3], esp
out 0xcb, al
imul edi, ebx, 0xc4c7b638
clc
and al, 0xf9
inc ebp
sti
xor dl, byte [edx]
jne 0x47cc33
jnp 0x47cc42
out 0x14, eax
push edi
pushal
mov ah, 0xf
arpl word [edi], dx
pop edx
cmp ebx, dword [eax - 0x15]
mov ah, 0xd
sahf
sbb eax, 0xe257efff
in eax, 0x15
dec edi
mov ch, 0x32
jbe 0x47cbfc
mov byte [0xe97aa656], al
add cl, 0xf2
xlatb
cld
mov ah, 0x8c
mov dh, 0x82
mov ah, 0x81
mov eax, 0x4f19bb84
xor byte [ecx + eax*4 + 0x19bb84b8], 0x4f
sub byte [esi + 0x3e], al
pop ebp
ficom dword [ebx]
movsd dword es:[edi], dword [esi]
js 0x47ccd6
jbe 0x47cc21
adc edx, dword [ecx]
push ss
retf 0x1e0e
leave
pushal
sbb eax, 0x98b996a4
test eax, 0xc3eea49d
fadd qword [edi + 0x7d832e63]
call 0xff8deb85
xchg ecx, eax
or dl, byte [edx - 0x56]
and edx, ecx
rol byte [edx], 1
fiadd dword [ebx - 0x3e]
lodsd eax, dword [esi]
call ebp
shl byte [ebx - 0x561fa39a], cl
cmpsd dword es:[esi], dword es:[edi]
xlatb
pop ds
inc esi
call eax
inc ebp
les edi, [ebx + 0x3502d0ca]
ret 0x46a2
Function at 0x4b2e45
Capabilities:
Execute syscall

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
cmp dword [ebp + 8], 0
jge 0x4b2e67
mov eax, 0xfffffffd
jmp 0x4b2edf
mov ebx, dword [0x3c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
je 0x4b2ead
mov eax, dword [ebp + 8]
mov ecx, eax
and eax, 0xffff
shr ecx, 0x10
and ecx, 0xffff
mov edx, dword [ebp]
lea edx, [edx + 8]
call dword fs:[0xc0]
nop
nop
nop
nop
nop
leave
ret 4
mov ebx, dword [0x3c]
add ebx, 0x1c
mov dword [ebp - 4], ebx
mov ebx, dword [ebp - 4]
cmp dword [ebx], 0
jne 0x4b2ed5
mov eax, dword [ebp + 8]
mov edx, dword [ebp]
lea edx, [edx + 8]
int 0x2e
nop
leave
ret 4
mov eax, 0
jmp 0x4b2edf
mov esp, ebp
pop ebp
ret 4

Function at 0x4e2b39
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
xor eax, eax
mov ecx, dword fs:[0x30]
mov al, byte [ecx + 2]
leave
ret

Function at 0x417eea
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
jmp 0x417f7b
lea eax, [ebp - 0x104]
push eax
call fcn.004180cb
push 0x401019
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
jne 0x418044
lea eax, [ebp - 0x10c]
push eax
push 0x20019
push 0
push 0x401038
push 0x80000001
call sub.ADVAPI32.dll_RegOpenKeyExA
cmp eax, 0
jne 0x418084
mov dword [ebp - 0x110], 0x103
lea eax, [ebp - 0x110]
push eax
lea eax, [ebp - 0x104]
push eax
push 0
push 0
push 0x401052
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegQueryValueExA
push eax
push dword [ebp - 0x10c]
call sub.ADVAPI32.dll_RegCloseKey
pop eax
cmp eax, 0
jne 0x418084
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrlenA
lea ebx, [ebp - 0x104]
add ebx, eax
dec ebx
cmp byte [ebx], 0x5c
je 0x418029
mov word [ebx], 0x5c
push 0x401023
lea eax, [ebp - 0x104]
push eax
call sub.KERNEL32.dll_lstrcatA
push eax
call sub.KERNEL32.dll_LoadLibraryA
test eax, eax
je 0x418084
mov dword [ebp - 0x108], eax
push 0x40102d
push eax
call sub.KERNEL32.dll_GetProcAddress
test eax, eax
je 0x418079
push 0x3e8
call eax
test eax, eax
je 0x418079
call 0x418069
add dword [esp], 0x1e76
call eax
push 0
call sub.KERNEL32.dll_ExitProcess
push dword [ebp - 0x108]
call sub.KERNEL32.dll_FreeLibrary
push 0x10
push 0x401096
push 0x401057
push 0
call sub.USER32.dll_MessageBoxA
mov eax, 0xffffffff
leave
ret

Function at 0x47af17
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
push ebx
xor eax, eax
mov ebx, dword fs:[0x18]
mov ecx, dword fs:[0x30]
test ecx, ecx
jns 0x47af4f
mov ecx, 0x530000
cmp dword [ebx + 0x58], ecx
jne 0x47af3d
mov al, 1
jmp 0x47af99
cmp dword [ebx + 0x54], ecx
jne 0x47af46
mov al, 2
jmp 0x47af99
cmp dword [ebx + 0x7c], ecx
jne 0x47af99
mov al, 3
jmp 0x47af99
mov ebx, dword [ecx + 0xa8]
mov ecx, dword [ecx + 0xa4]
cmp ecx, 4
ja 0x47af64
mov al, 4
jmp 0x47af99
cmp ecx, 5
jne 0x47af84
cmp ebx, 0
jne 0x47af72
mov al, 5
jmp 0x47af99
cmp ebx, 1
jne 0x47af7b
mov al, 6
jmp 0x47af99
cmp ebx, 2
jne 0x47af84
mov al, 7
jmp 0x47af99
cmp ecx, 6
jne 0x47af90
cmp ebx, 0
jne 0x47af92
mov al, 8
jmp 0x47af99
cmp ebx, 1
jne 0x47af99
mov al, 9
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4056f4
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffffff4
mov edi, edx
mov esi, eax
mov ebp, dword [esi + 0x10]
mov eax, esi
call fcn.00405ae0
mov byte [esp], al
cmp byte [esp], 0
jne 0x40587d
test edi, edi
je 0x40587d
mov byte [esp + 1], 0
test ebp, ebp
jle 0x4057b4
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
test ebp, ebp
jle 0x40578f
cmp edi, 0xffffffff
je 0x405753
call sub.kernel32.dll_GetTickCount
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x405753
mov byte [esp], 0
jmp 0x40587d
mov ebx, dword [esi]
cmp ebx, 1
jg 0x40578f
test ebx, ebx
jne 0x405788
mov eax, esi
xor ecx, ecx
mov edx, 1
call fcn.00402614
test eax, eax
jne 0x405788
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
mov byte [esp], 1
jmp 0x40587d
pause
dec ebp
test ebp, ebp
jg 0x405738
cmp edi, 0xffffffff
je 0x4057b4
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
ja 0x4057b2
mov byte [esp], 0
jmp 0x40587d
sub edi, eax
mov ebx, dword [esi]
test ebx, ebx
je 0x405702
lea edx, [ebx + 2]
mov eax, esi
mov ecx, ebx
call fcn.00402614
cmp ebx, eax
jne 0x4057b4
call sub.kernel32.dll_GetTickCount
mov dword [esp + 4], eax
mov eax, esi
call fcn.004058f0
mov edx, eax
mov ebx, dword [0x4eb8cc]
mov ecx, edi
xor eax, eax
call dword [ebx + 0x10]
test eax, eax
sete byte [esp]
cmp edi, 0xffffffff
je 0x40581b
call sub.kernel32.dll_GetTickCount
mov dword [esp + 8], eax
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
cmp edi, eax
jbe 0x405819
mov eax, dword [esp + 8]
sub eax, dword [esp + 4]
sub edi, eax
jmp 0x40581b
xor edi, edi
cmp byte [esp], 0
je 0x405844
mov ebx, dword [esi]
test bl, 1
jne 0x40585d
mov edx, ebx
sub edx, 2
or edx, 1
mov eax, esi
mov ecx, ebx
call fcn.00402614
cmp ebx, eax
jne 0x405821
mov byte [esp + 1], 1
jmp 0x40585d
mov ebx, dword [esi]
mov edx, ebx
sub edx, 2
mov eax, esi
mov ecx, ebx
call fcn.00402614
cmp ebx, eax
jne 0x405844
mov byte [esp + 1], 1
cmp byte [esp + 1], 0
je 0x4057ce
cmp byte [esp], 0
je 0x40587d
call sub.kernel32.dll_GetCurrentThreadId
mov dword [esi + 8], eax
mov dword [esi + 4], 1
movzx eax, byte [esp]
add esp, 0xc
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x4065f8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x4eb054], 0
je 0x406659
cmp word [0x4eb330], 0xd7b2
jne 0x406621
cmp dword [0x4eb338], 0
jbe 0x406621
mov eax, 0x4eb32c
call dword [0x4eb348]
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
push 0x406684
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x4e7028], 0
jne 0x406675
push 0
push str.Error
push str.Runtime_error_____at_00000000
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x406804
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 [0x4e702c], 0
je 0x40682f
mov edx, edi
mov eax, esi
call dword [0x4e702c]
mov ebx, eax
jmp 0x406840
mov eax, 8
call fcn.004043fc
mov ebx, eax
mov dword [ebx], esi
mov dword [ebx + 4], edi
mov byte [0x4eb055], 1
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp + 0xc]
push eax
push ebx
mov eax, 0x4067cc
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 0x406875
mov edx, 8
mov eax, ebx
call fcn.00404418
mov eax, esi
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret 0xc

Function at 0x40894c
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 0x408ab1
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00406948
cmp si, word [0x4e77dc]
jb 0x4089e4
cmp si, word [0x4e79dc]
ja 0x4089e4
mov edi, 0x40
xor eax, eax
mov dword [ebp - 8], eax
cmp edi, dword [ebp - 8]
jb 0x4089e4
mov ebx, dword [ebp - 8]
add ebx, edi
shr ebx, 1
cmp si, word [ebx*8 + 0x4e77dc]
jae 0x4089be
mov edi, ebx
dec edi
jmp 0x4089df
cmp si, word [ebx*8 + 0x4e77dc]
jbe 0x4089ce
inc ebx
mov dword [ebp - 8], ebx
jmp 0x4089df
mov edx, dword [ebp - 4]
mov eax, dword [ebx*8 + 0x4e77e0]
call fcn.0040885c
jmp 0x4089e4
cmp edi, dword [ebp - 8]
jae 0x4089a8
mov eax, dword [ebp - 4]
cmp dword [eax], 0
jne 0x408a93
push 2
movzx eax, si
push eax
call sub.kernel32.dll_IsValidLocale
test eax, eax
je 0x408a93
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.00407308
push dword [ebp - 0x160]
push 0x408acc
lea eax, [ebp - 0x164]
lea edx, [ebp - 0x15c]
mov ecx, 0x55
call fcn.00407308
push dword [ebp - 0x164]
push 0x408adc
lea eax, [ebp - 0x168]
lea edx, [ebp - 0xb2]
mov ecx, 0x55
call fcn.00407308
push dword [ebp - 0x168]
mov eax, dword [ebp - 4]
mov edx, 5
call fcn.00407540
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x408ab8
lea eax, [ebp - 0x168]
mov edx, 3
call fcn.004069a8
ret