joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000af30
Capabilities:
Contain obfuscated stackstrings

Disassembly:
sub esp, 0x1c
sub esp, 8
mov dword [esp + 8], 0x5f327377
lea edx, [esp + 0x14]
mov dword [esp + 0xc], 0x642e3233
lea ecx, [esp + 8]
mov word [esp + 0x10], 0x6c6c
mov byte [esp + 0x12], 0
mov dword [esp + 0x14], 0x68746567
mov dword [esp + 0x18], 0x6274736f
mov dword [esp + 0x1c], 0x6d616e79
mov word [esp + 0x20], 0x65
call fcn.10005070
mov dword [0x10040cac], eax
add esp, 0x24
ret

Function at 0x1000b040
Capabilities:
Create thread

Disassembly:
sub dword [esp + 8], 1
jne 0x1000b07b
push dword [esp + 4]
call dword [sym.imp.KERNEL32.dll_DisableThreadLibraryCalls]
call fcn.1000b220
call fcn.1000af30
push 0
push 0
push 0
push 0x1000af90
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x1000b07b
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
ret 0xc
Function at 0x100254b4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10037e28
push 0x10037e20
push str.FlsAlloc
push 0x1e
call fcn.1002537e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x100254e8
push dword [ebp + 8]
mov ecx, esi
call dword [0x10034164]
call esi
jmp 0x100254ee
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x10025532
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10037e38
push 0x10037e30
push str.FlsGetValue
push 0x20
call fcn.1002537e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x10025569
push dword [ebp + 8]
mov ecx, esi
call dword [0x10034164]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x1002702e
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, 0x101c
call fcn.10017800
mov eax, dword [0x1003f080]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x14]
push ebx
push dword [ebp + 8]
mov dword [ebp - 0x100c], eax
call fcn.10022fe3
pop ecx
mov ecx, dword [ebp + 8]
mov ebx, eax
cmp dword [ecx + 8], 0
jne 0x10027070
mov eax, dword [ebp + 0xc]
mov edx, dword [ebp + 0x10]
jmp 0x100271cc
mov eax, dword [ecx]
sub eax, dword [ecx + 4]
push esi
push edi
push 0
cdq
push 2
push edx
push eax
call fcn.10032b80
push dword [ebp - 0x100c]
mov ecx, ebx
mov dword [ebp - 0x1008], eax
mov esi, ebx
mov dword [ebp - 0x1018], edx
and ecx, 0x3f
sar esi, 6
imul edi, ecx, 0x38
push 0
mov eax, dword [esi*4 + 0x10040880]
push dword [edi + eax + 0x24]
push dword [edi + eax + 0x20]
push ebx
call fcn.10026bc3
mov ecx, dword [esi*4 + 0x10040880]
add esp, 0x14
mov dword [ebp - 0x1010], eax
mov eax, edx
mov edx, dword [ebp - 0x1010]
mov dword [ebp - 0x101c], eax
cmp edx, dword [edi + ecx + 0x20]
jne 0x100271c5
cmp eax, dword [edi + ecx + 0x24]
jne 0x100271c5
push 0
lea eax, [ebp - 0x1014]
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
push dword [edi + ecx + 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100271c5
push dword [ebp - 0x100c]
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10026bc3
add esp, 0x14
test edx, edx
jl 0x100271c5
jg 0x1002713b
test eax, eax
jb 0x100271c5
mov ebx, dword [ebp - 0x1018]
mov eax, dword [ebp - 0x1014]
test ebx, ebx
jg 0x100271c5
jl 0x10027155
cmp dword [ebp - 0x1008], eax
ja 0x100271c5
lea edi, [ebp - 0x1004]
xor edx, edx
add edi, eax
lea ecx, [ebp - 0x1004]
xor esi, esi
cmp dword [ebp - 0x1008], edx
jne 0x10027173
test ebx, ebx
je 0x100271ac
cmp ecx, edi
jae 0x100271ac
mov al, byte [ecx]
cmp al, 0xd
jne 0x1002718d
lea eax, [edi - 1]
cmp ecx, eax
jae 0x10027199
cmp byte [ecx + 1], 0xa
jne 0x10027199
inc ecx
jmp 0x10027199
movzx eax, al
movsx eax, byte [eax + 0x1003f318]
add ecx, eax
add esi, 1
adc edx, 0
inc ecx
cmp esi, dword [ebp - 0x1008]
jne 0x10027173
cmp edx, ebx
jne 0x10027173
lea eax, [ebp - 0x1004]
sub ecx, eax
mov eax, ecx
cdq
add eax, dword [ebp - 0x1010]
adc edx, dword [ebp - 0x101c]
jmp 0x100271ca
or edx, 0xffffffff
mov eax, edx
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.1001703b
leave
ret
Function at 0x100274c3
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
sar ecx, 6
push esi
push edi
imul edi, eax, 0x38
mov eax, dword [ecx*4 + 0x10040880]
mov dword [ebp - 0x10], ecx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10027503
cmp byte [ebx], 0xa
jne 0x10027503
or byte [eax + edi + 0x28], 4
jmp 0x10027508
and byte [eax + edi + 0x28], 0xfb
add ecx, ebx
mov edx, ebx
mov dword [ebp - 0xc], ecx
mov esi, ebx
cmp ebx, ecx
jae 0x10027606
mov al, byte [edx]
cmp al, 0x1a
je 0x100275e8
lea ecx, [edx + 1]
mov dword [ebp - 8], ecx
mov ecx, dword [ebp - 0xc]
cmp al, 0xd
je 0x10027537
mov edx, dword [ebp - 8]
mov byte [esi], al
jmp 0x1002755c
mov eax, dword [ebp - 8]
cmp eax, ecx
jae 0x10027566
mov cl, byte [eax]
xor eax, eax
cmp cl, 0xa
sete al
inc eax
add edx, eax
cmp cl, 0xa
sete al
dec al
and al, 3
add al, 0xa
mov byte [esi], al
mov ecx, dword [ebp - 0xc]
inc esi
cmp edx, ecx
jb 0x10027519
jmp 0x10027606
push 0
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 1]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100275e3
cmp dword [ebp - 0xc], 0
je 0x100275e3
mov ecx, dword [ebp - 0x10]
mov eax, dword [ecx*4 + 0x10040880]
test byte [eax + edi + 0x28], 0x48
je 0x100275bd
mov dl, byte [ebp - 1]
lea eax, [esi + 1]
mov dword [ebp - 0x14], eax
cmp dl, 0xa
jne 0x100275a8
mov byte [esi], dl
jmp 0x100275b9
mov byte [esi], 0xd
mov eax, dword [ecx*4 + 0x10040880]
mov byte [eax + edi + 0x2a], dl
mov eax, dword [ebp - 0x14]
mov esi, eax
jmp 0x10027606
cmp byte [ebp - 1], 0xa
jne 0x100275cc
cmp esi, ebx
jne 0x100275cc
mov byte [esi], 0xa
jmp 0x10027605
push 1
push 0xffffffffffffffff
push 0xffffffffffffffff
push dword [ebp + 8]
call fcn.10026be1
add esp, 0x10
cmp byte [ebp - 1], 0xa
je 0x10027606
mov byte [esi], 0xd
jmp 0x10027605
mov ecx, dword [ebp - 0x10]
mov ecx, dword [ecx*4 + 0x10040880]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10027602
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10027606
mov byte [esi], 0x1a
inc esi
sub esi, ebx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1002760f
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0xc]
mov ebx, eax
and eax, 0x3f
sar ebx, 6
push edi
imul edi, eax, 0x38
push 0xa
mov eax, dword [ebx*4 + 0x10040880]
pop edx
mov dword [ebp - 0x14], edx
mov ecx, dword [edi + eax + 0x18]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x10027652
cmp word [esi], dx
jne 0x10027652
or byte [edi + eax + 0x28], 4
jmp 0x10027657
and byte [edi + eax + 0x28], 0xfb
lea edx, [esi + ecx*2]
mov eax, esi
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
cmp eax, edx
jae 0x10027790
mov dword [ebp - 0xc], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x10], edx
push 0x1a
pop edx
cmp cx, dx
mov edx, dword [ebp - 8]
je 0x10027770
add eax, 2
cmp cx, word [ebp - 0xc]
je 0x10027699
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x100276cf
cmp eax, edx
jae 0x100276db
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x14]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 8]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
add esi, 2
cmp eax, edx
jb 0x10027671
jmp 0x10027790
push 0
lea eax, [ebp - 0x14]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1002776c
cmp dword [ebp - 0x14], 0
je 0x1002776c
mov eax, dword [ebx*4 + 0x10040880]
push 0xa
test byte [edi + eax + 0x28], 0x48
je 0x10027744
mov cx, word [ebp - 4]
pop eax
cmp cx, ax
je 0x1002778a
push 0xd
pop eax
mov word [esi], ax
mov eax, dword [ebx*4 + 0x10040880]
push 0xa
mov byte [edi + eax + 0x2a], cl
mov eax, dword [ebx*4 + 0x10040880]
shr cx, 8
mov byte [edi + eax + 0x2b], cl
mov eax, dword [ebx*4 + 0x10040880]
pop ecx
mov byte [edi + eax + 0x2c], cl
jmp 0x1002778d
pop ebx
cmp word [ebp - 4], bx
jne 0x10027755
cmp esi, dword [ebp + 0xc]
jne 0x10027755
mov word [esi], bx
jmp 0x1002778d
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.10026be1
add esp, 0x10
cmp word [ebp - 4], bx
je 0x10027790
push 0xd
jmp 0x10027789
mov ecx, dword [ebx*4 + 0x10040880]
mov al, byte [ecx + edi + 0x28]
test al, 0x40
jne 0x10027787
or al, 2
mov byte [ecx + edi + 0x28], al
jmp 0x10027790
push 0x1a
pop eax
mov word [esi], ax
add esi, 2
sub esi, dword [ebp + 0xc]
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x10027fb1
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.10027e22
Function at 0x1002afde
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1002b07b
push ebx
push esi
call fcn.1002afa7
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.10029dae
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1002b028
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002b07a
push edi
push eax
call fcn.1002225c
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1002b048
call fcn.10022222
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1002b079
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.10029dae
add esp, 0x20
test eax, eax
jne 0x1002b067
push edi
call fcn.10022222
jmp 0x1002b06f
push ebx
call fcn.10022222
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret
Function at 0x10031139
Capabilities:
Clear file content

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x2c
push ebx
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x2c]
push esi
push edi
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.100310b5
mov eax, dword [ebp - 0x2c]
and eax, dword [ebp - 0x28]
cmp eax, 0xffffffff
je 0x100312b1
mov eax, dword [ebp - 0x24]
and eax, dword [ebp - 0x20]
cmp eax, 0xffffffff
je 0x100312b1
mov ecx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 8], ecx
mov dword [ebp - 4], eax
test ecx, ecx
jl 0x10031260
jg 0x10031192
test eax, eax
je 0x10031256
push 1
push 0x1000
call fcn.10025080
mov esi, eax
pop ecx
pop ecx
test esi, esi
jne 0x100311b8
mov eax, dword [ebp + 0x14]
push 0xc
pop edi
mov byte [eax + 0x1c], 1
mov dword [eax + 0x18], edi
jmp 0x1003124d
push 0x8000
push ebx
call fcn.10030fe6
mov edi, dword [ebp + 0x14]
pop ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x18]
test eax, eax
jl 0x100311e4
jg 0x100311df
cmp ecx, 0x1000
jb 0x100311e4
mov ecx, 0x1000
push edi
push ecx
push esi
push ebx
call fcn.100267da
add esp, 0x10
cmp eax, 0xffffffff
je 0x10031229
mov ecx, dword [ebp - 4]
cdq
sub ecx, eax
mov eax, dword [ebp - 8]
mov dword [ebp - 4], ecx
sbb eax, edx
mov dword [ebp - 8], eax
test eax, eax
jg 0x100311df
jl 0x10031210
test ecx, ecx
jne 0x100311d1
push dword [ebp - 0xc]
push ebx
call fcn.10030fe6
push esi
call fcn.10022222
add esp, 0xc
xor edi, edi
jmp 0x100312c2
cmp byte [edi + 0x24], 0
je 0x10031240
cmp dword [edi + 0x20], 5
jne 0x10031240
mov byte [edi + 0x1c], 1
mov dword [edi + 0x18], 0xd
cmp byte [edi + 0x1c], 0
je 0x1003124b
mov edi, dword [edi + 0x18]
jmp 0x1003124d
xor edi, edi
push esi
call fcn.10022222
pop ecx
jmp 0x100312c2
test ecx, ecx
jg 0x10031222
jl 0x10031260
test eax, eax
jae 0x10031222
push 0
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
call fcn.10026be1
and eax, edx
add esp, 0x10
cmp eax, 0xffffffff
jne 0x10031283
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x10031222
jmp 0x100312ba
push ebx
call fcn.1001df27
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
jne 0x10031222
mov esi, dword [ebp + 0x14]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0xd
mov byte [esi + 0x24], 1
mov dword [esi + 0x20], eax
pop edi
mov byte [esi + 0x1c], 1
mov dword [esi + 0x18], edi
jmp 0x100312c2
mov edi, dword [ebp + 0x14]
cmp byte [edi + 0x1c], 0
je 0x100312bf
mov edi, dword [edi + 0x18]
jmp 0x100312c2
push 0x16
pop edi
push 0
push dword [ebp - 0x28]
push dword [ebp - 0x2c]
push dword [ebp - 0x14]
call fcn.10026be1
add esp, 0x10
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x10032980
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x100329ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x100329ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x403094
Capabilities:
Query or enumerate registry value

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

Function at 0x403df8
Capabilities:
Write file on windows

Disassembly:
push ecx
cmp byte [0x47604c], 0
je 0x403e59
cmp word [0x476220], 0xd7b2
jne 0x403e21
cmp dword [0x476228], 0
jbe 0x403e21
mov eax, 0x47621c
call dword [0x476238]
push 0
lea eax, [esp + 4]
push eax
push 0x1e
push 0x47406c
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 0x403e80
push 0xfffffffffffffff5
call sub.kernel32.dll_GetStdHandle
push eax
call sub.kernel32.dll_WriteFile
pop edx
ret
cmp byte [0x474030], 0
jne 0x403e75
push 0
push 0x474064
push 0x47406c
push 0
call sub.user32.dll_MessageBoxA
pop edx
ret
Function at 0x405ec0
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 0x405f26
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.004041e4
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 4]
call fcn.00402c58
mov ebx, eax
cmp dword [ebp - 4], 0
je 0x405f10
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x405f2d
lea eax, [ebp - 0x10]
call fcn.00403f74
ret

Function at 0x40b54c
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 0x40b585
mov ecx, eax
dec ecx
lea edx, [ebp - 0x100]
mov eax, ebx
call fcn.00404064
jmp 0x40b58e
mov eax, ebx
mov edx, esi
call fcn.00403fc8
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

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

Function at 0x40bc40
Capabilities:
Write file on windows

Disassembly:
add esp, 0xfffffbbc
push 0x400
lea ecx, [esp + 0x48]
call 0x40bab8
mov eax, dword [0x475c24]
cmp byte [eax], 0
je 0x40bcbc
mov eax, dword [0x475924]
call fcn.00402a88
call fcn.004028c4
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.00408994
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 0x40bd04
push 0xfffffffffffffff4
call sub.kernel32.dll_GetStdHandle_1
push eax
call sub.kernel32.dll_WriteFile_1
jmp 0x40bcf2
push 0x40
lea eax, [esp + 8]
push eax
mov eax, dword [0x4758b0]
mov eax, dword [eax + 4]
push eax
mov eax, dword [0x476668]
call fcn.004053d4
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 0x40c5a0
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 0x40c676
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 4], 0xffffffff
lea eax, [ebp - 8]
mov edx, ebx
call fcn.0040400c
lea eax, [ebp - 8]
call fcn.00404484
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
call fcn.00404434
push eax
call sub.version.dll_GetFileVersionInfoSizeA
mov ebx, eax
test ebx, ebx
je 0x40c660
mov eax, ebx
call fcn.0040275c
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x40c659
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.00404434
push eax
call sub.version.dll_GetFileVersionInfoA
test eax, eax
je 0x40c643
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push 0x40c688
mov eax, dword [ebp - 0x10]
push eax
call sub.version.dll_VerQueryValueA
test eax, eax
je 0x40c643
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 0x40c660
mov eax, dword [ebp - 0x10]
call fcn.0040277c
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40c67d
lea eax, [ebp - 8]
call fcn.00403f74
ret

Function at 0x40cbf4
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 0x40cc58
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.004041e4
mov eax, dword [ebp - 0xc]
push eax
call sub.kernel32.dll_GetACP
mov edx, eax
pop eax
call fcn.00408444
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40cc5f
lea eax, [ebp - 0xc]
call fcn.00403f74
ret

Function at 0x420f2c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x476888
cmp dword [edi], 0
jne 0x420fa8
push 0x40
push 0x1000
push 0x1000
push 0
call sub.kernel32.dll_VirtualAlloc_1
mov esi, eax
mov eax, dword [0x476884]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x474508
mov ecx, 2
call fcn.00402958
mov edx, 0x420f04
lea eax, [esi + 5]
call fcn.00420f24
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00420f24
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 0x420f7d
mov dword [0x476884], 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 0x42243c
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 0x422442
ret
Function at 0x4248f0
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 0x424941
lea eax, [ebp - 0x2c]
cmp word [eax + 0x20], 3
je 0x424928
mov eax, dword [edx + ecx*4]
bswap eax
shr eax, 8
mov dword [edx + ecx*4], eax
dec ecx
jns 0x424918
jmp 0x424941
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 0x424929
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42fe8c
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 0x42fdd8
call sub.user32.dll_EnumWindows
ret

Function at 0x42ffac
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 0x430029
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, esi
call fcn.0042fa0c
call sub.kernel32.dll_GetTickCount
mov ebx, eax
push 0
call sub.kernel32.dll_Sleep
call sub.kernel32.dll_GetTickCount
sub eax, ebx
cmp eax, 0x3e8
jbe 0x42ffd1
lea ecx, [ebp - 4]
xor edx, edx
mov eax, esi
call fcn.0042f60c
cmp dword [ebp - 4], 0
je 0x430013
push 0
push 9
mov eax, dword [ebp - 4]
call fcn.00404434
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 0x430030
lea eax, [ebp - 4]
call fcn.00403f74
ret

Function at 0x432ccc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
push edi
mov esi, eax
lea edi, [ebp - 9]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [ebp - 0x10], edx
xor eax, eax
mov dword [ebp - 0x18], eax
cmp dword [0x476b58], 0
je 0x432e1b
push 0x11
call sub.user32.dll_GetKeyState
test ax, 0x8000
setne al
mov edx, dword [0x475b90]
mov edx, dword [edx]
xor al, byte [edx + 0xb4]
je 0x432e1b
mov eax, dword [0x476b5c]
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [0x476b58]
mov ebx, dword [eax + 8]
dec ebx
test ebx, ebx
jl 0x432dea
inc ebx
xor edi, edi
mov edx, edi
mov eax, dword [0x476b58]
call fcn.0041a4fc
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
je 0x432de2
mov eax, dword [ebp - 0x14]
cmp byte [eax + 0x1a6], 0
je 0x432de2
mov eax, dword [ebp - 0x14]
mov edx, dword [eax]
call dword [edx + 0x50]
test al, al
je 0x432de2
mov eax, dword [ebp - 0x14]
call fcn.0043b87c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x432de2
push ebp
call fcn.00432c88
pop ecx
test al, al
jne 0x432de2
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 0xa0]
cmp eax, dword [ebp - 0x14]
jne 0x432d9e
mov eax, dword [ebp - 0x14]
call fcn.0043a3ac
dec eax
jle 0x432de2
mov byte [ebp - 1], 1
lea eax, [ebp - 9]
push eax
lea eax, [ebp - 1]
push eax
lea ecx, [ebp - 0x28]
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
mov si, 0xffbd
call fcn.00403420
cmp byte [ebp - 1], 0
je 0x432de2
push dword [ebp - 5]
push dword [ebp - 9]
lea eax, [ebp - 0x28]
push eax
call sub.user32.dll_PtInRect
test eax, eax
je 0x432de2
mov edx, dword [ebp - 0x14]
mov eax, dword [0x476b5c]
call fcn.00432454
inc edi
dec ebx
jne 0x432d31
mov eax, dword [0x476b5c]
cmp dword [eax + 8], 0
jle 0x432e02
mov eax, dword [0x476b5c]
call fcn.004324e4
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
je 0x432e1b
push ebp
mov eax, dword [ebp - 0x18]
call fcn.00432af0
pop ecx
test al, al
jne 0x432e1b
xor eax, eax
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret