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

Disassembly:
lea esp, [esp - 0x63]
mov dword [esp + 0x5f], ebx
lea esp, [esp + 0x5f]
mov ebx, 0x8dff8662
xchg dword [esp], ebx
and dword [esp], ebp
jmp 0x10053104
add ebx, 0
or dword [esp], ebp
mov ebp, esp
push eax
push edi
lea esp, [esp - 4]
xchg dword [esp], ecx
pop ecx
lea esp, [esp - 4]
mov edi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
cmp edi, dword [ebp + 0x14]
ja 0x100532a6
cmp edi, dword [ebp + 0x10]
jb 0x100532a6
lea esi, [esi]
sub esi, 0
push dword [ebp + 0x14]
push dword [ebp + 0x10]
sub esp, 0x6a
mov dword [esp + 0x66], 0xc2ccbc3c
add esp, 0x66
mov dword [esp], edi
or edi, 0xffffffff
and edi, 0xcedcf875
xor edi, 0xce9c140e
xchg dword [esp], edi
push edx
mov edx, esp
xor edx, 0
add edx, 0
push ebx
lea ebx, [edx + 4]
mov dword [ebx], eax
pop ebx
pop edx
push edi
call fcn.10052bce
inc edi
jmp 0x1005318d
jmp 0x1005319a
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10052bce
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.10052bce
inc edi
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push 0
sub esi, 0
add dword [esp], edx
xor edx, edx
je 0x100531ee
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or edx, 0x13e27bd2
push ebx
add ebx, esi
mov ebx, esp
xor dword [ebx - 0x2a], edi
fdiv qword [ecx]
jnp 0x100531d2
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.1005321c
add dword [eax], 0x39
jle 0x100531f8
sub al, 0xf5
mov ch, al
call fcn.10053231
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x10054f09
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
push ecx
push edx
push 0
sub esi, esi
shr esi, 9
and dword [esp - 0x69], ebx
jbe 0x10054f1f
add edi, 0
shr esi, 0x17
or esi, dword [esp]
add esp, 4
add esi, dword [ebp + 8]
xor eax, eax
xor edx, edx
cld
and dword [esp - 0x46], edx
xor ecx, ecx
rol edx, 7
and dword [esp - 0x4b], edx
xor dl, al
mov al, byte [esi]
inc esi
or al, al
jne 0x10054f30
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.10054f71
std
inc ebx
sar cl, 0x3e
lahf
in al, dx
mov ch, 0x4a
mov ebx, 0x971631d8
test byte [ebp - 0x5e], ch
xor eax, dword [ebx + 0x2b5108c4]
add esp, 8
push ecx
sub ecx, eax
mov ecx, esp
cmp dword [ecx - 0x51], edx
Function at 0x100572dd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0xffffffffffffffff
push esi
mov esi, esp
xor dword [esp - 0x43], esi
xor dword [esp - 0x45], esi
and dword [esi + 4], eax
pop esi
push 0
ja 0x10057226
add ebx, 0
push ecx
call 0x1005723b
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
add esp, 8
xor dword [esp], ebx
sub esp, 0x6b
mov dword [esp + 0x67], edx
add esp, 0x67
push ecx
push 0
xor dword [esp - 0x56], edx
xor edi, 0
add dword [esp], edi
push esi
mov ebx, 0x6dc6c0b8
sub ebx, dword [0x6dc8b8f7]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6dc8b8e7
call fcn.10052d05
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.10052213
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x10057399
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x10057399
mov ecx, dword [esi + 0x10]
sub dword [esp - 0x34], ebx
xor ecx, edi
mov edx, dword [esi + 0x14]
xor edx, edi
shl edx, 2
add edx, 0x18
mov eax, dword [esi]
xor eax, edi
cmp eax, 1
je 0x10057350
mov eax, 1
lock xchg dword [0x6dc8b8f3], eax
push 0x3dd1fc71
call 0x100572dd
push esi
add esp, 8
cmp eax, 0
jne 0x100572c6
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x100572ec
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x10057301
cmp ecx, edx
cmp eax, 0
je 0x10057326
mov dword [ebp - 4], eax
lea ecx, [esi + 0x18]
mov eax, dword [esi + ecx]
xor eax, edi
add eax, edx
add dword [esi + eax], ebx
add ecx, 4
dec dword [ebp - 4]
jne 0x10057310
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.1005733f
dec eax
loope 0x10057342
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6dc8b8f3], 0
add edx, esi
mov dword [ebp + 4], edx
xchg dword [esp], esi
push ecx
lea ecx, [edi - 0x72d1f741]
mov ecx, esp
mov dword [ecx - 0x15], ebx
pop ecx
push esi
xor esi, esi
mov esi, esp
and dword [esi - 0x1d], ecx
pop esi
mov dword [esp], esi
jb 0x10057376
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x1005738b
jmp 0x10057396
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x10057284
Function at 0x1005e3fe
Capabilities:
Access peb ldr_data

Disassembly:
add esp, 8
and dword [esp], ebx
push ecx
push edx
push edi
push esi
or edi, 0xffffffff
not edi
add edi, dword [ebp + 8]
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov ecx, dword [eax + 0xc]
push ecx
xor edx, edx
mov ecx, dword [ecx]
cmp ecx, dword [esp]
je 0x1005e6d4
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6dc7856b
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6dc6f531
push 0xffffffffffffffff
call fcn.100555fe
xchg edx, eax
and eax, 0
add eax, 0x75d46dc4
push ecx
and ecx, 0xcfb6d7ec
mov ecx, esp
mov dword [ecx - 0x54], esi
pop ecx
ja 0x1005e468
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.1005e480
mov byte [0xee69f033], al
invalid
mov eax, ecx
pop esi
mov edi, dword [esp]
add esp, 4
pop edx
xor ecx, ecx
add ecx, 0xffffffff
and ecx, dword [esp]
xor ecx, 0
add esp, 4
pop ebx
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
jno 0x1005e6c8
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x1005e69c
Function at 0x1006dece
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1006def0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1006def0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1006def0
ret
cmp word [ebx + 4], 0x14c
jne 0x1006def0
test word [ebx + 0x16], 2
je 0x1006def0
test word [ebx + 0x16], 0x100
je 0x1006def0
cmp word [ebx + 0x18], 0x10b
jne 0x1006def0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1006def0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1006df7c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1006df10
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10054e5b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1006def0
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8

Function at 0x1006df7c
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
push ecx
lea esp, [esp - 0x10]
mov dword [esp + 0xc], edx
lea esp, [esp + 0xc]
sub esp, 4
mov dword [esp], 0x8b92e34e
mov dword [esp], edi
push esi
mov eax, dword [ebp + 8]
and ax, 0xf001
dec eax
cmp word [eax], 0x5a4d
jne 0x1006def0
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x1006def0
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x1006def0
ret
cmp word [ebx + 4], 0x14c
jne 0x1006def0
test word [ebx + 0x16], 2
je 0x1006def0
test word [ebx + 0x16], 0x100
je 0x1006def0
cmp word [ebx + 0x18], 0x10b
jne 0x1006def0
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x1006def0
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x1006df7c
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x1006df10
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.10054e5b
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x1006def0
sub esp, 0x3e
mov esi, dword [esp + 0x3e]
add esp, 0x42
pop edi
mov edx, dword [esp]
add esp, 4
pop ecx
pop ebx
leave
ret 8
Function at 0x1006e033
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1006e08c
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1006e033
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1006e042
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10473ce5
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1006e093
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10054f09
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1006e132
add edi, 4
add eax, 2
dec ecx
jne 0x1006e078
call 0x1006e0df
loope 0x1006e0d5
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006e12f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1006e140
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1006e0f3
cmp eax, ecx
ja 0x1006e0f3
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006e17d
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1006e173
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100553e8
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x1006e042
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x1006e08c
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x1006e033
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x1006e042
cld
test edx, ebx
or ebp, eax
add dword [esi - 0x7cc26b19], esp
les ecx, [eax]
or dword [esp], ebp
mov ebp, esp
sub esp, 0x100
push ebx
push edx
push ecx
push edi
push esi
mov ebx, dword [ebp + 8]
mov edx, ebx
add ebx, dword [ebx + 0x3c]
mov ebx, dword [ebx + 0x78]
lea ebx, [ebx + edx]
mov eax, dword [ebx + 0x24]
add eax, edx
xor edi, edi
jne 0x10473ce5
or edi, dword [ebx + 0x20]
add edi, edx
mov ecx, dword [ebx + 0x18]
mov esi, dword [edi]
add esi, edx
push 0
push ecx
mov ecx, esp
push 0x55d34c8a
call 0x1006e093
sti
sbb byte [ecx + 0x56], dh
xlatb
les ebp, [ebp + 0x8c483e2]
xchg dword [ecx + 4], eax
xor eax, edx
shl eax, 3
xor ecx, 0
shl eax, 0x1d
add eax, dword [ecx + 4]
pop ecx
push esi
call fcn.10054f09
cmp eax, dword [ebp + 0xc]
pop eax
je 0x1006e132
add edi, 4
add eax, 2
dec ecx
jne 0x1006e078
call 0x1006e0df
loope 0x1006e0d5
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x1006e12f
mov dh, 0xe8
or byte [eax], al
add byte [eax], al
mov bh, 0x24
lea eax, [edx + 0x53]
nop
mov dword [esi + 0x2308c483], ecx
sal byte [ecx], 0xc0
fsub st(7)
int 0xf
mov bh, 0
movzx eax, word [eax]
jmp 0x1006e140
shl eax, 2
add eax, dword [ebx + 0x1c]
add eax, edx
mov eax, dword [eax]
add eax, edx
mov ebx, edx
add ebx, dword [edx + 0x3c]
mov ecx, dword [ebx + 0x7c]
mov ebx, dword [ebx + 0x78]
add ebx, edx
add ecx, ebx
cmp eax, ebx
jb 0x1006e0f3
cmp eax, ecx
ja 0x1006e0f3
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x1006e17d
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x1006e173
lea edi, [ebp - 0x100]
push 0x100
push edi
push esi
call fcn.100553e8
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x402718
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4027b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x402790
xor eax, eax
push ebp
push 0x402789
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 0x4027cc
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 0x402790
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret
Function at 0x403e0c
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 0xf003f
push 0
push 0x403fc4
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
je 0x403e6d
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x403fe0
push 0x80000001
call sub.advapi32.dll_RegOpenKeyExA
test eax, eax
jne 0x403eda
xor eax, eax
push ebp
push 0x403ed3
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
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 0x403ebc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404000
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegQueryValueExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403eda
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrcpyA
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 0x403fbb
cmp byte [ebp - 0xd], 0
jne 0x403f1c
cmp byte [ebp - 0x12], 0
je 0x403fbb
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_lstrlenA
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x403f35
dec ebx
cmp byte [ebx], 0x2e
je 0x403f44
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x403f34
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x403fbb
inc ebx
cmp byte [ebp - 0x12], 0
je 0x403f71
lea eax, [ebp - 0x12]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403fbb
cmp byte [ebp - 0xd], 0
je 0x403fbb
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call sub.kernel32.dll_LoadLibraryExA
mov esi, eax
test esi, esi
jne 0x403fbb
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call sub.kernel32.dll_lstrcpyA
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 0x4063e8
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x110], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x4064f2
push dword fs:[eax]
mov dword fs:[eax], esp
test esi, esi
jne 0x40643b
push 0x105
lea eax, [ebp - 0x109]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameA_2
mov ecx, eax
lea edx, [ebp - 0x109]
mov eax, dword [ebp - 4]
call fcn.00403134
jmp 0x4064d9
call sub.kernel32.dll_GetCommandLineA_1
mov ebx, eax
mov eax, ebx
call fcn.0040639c
mov ebx, eax
mov edi, ebx
mov eax, ebx
call fcn.004063bc
mov ebx, eax
test esi, esi
je 0x406463
dec esi
test esi, esi
jl 0x406463
cmp edi, ebx
jne 0x406442
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x110]
mov edx, edi
call fcn.00403174
mov eax, dword [ebp - 0x110]
mov ecx, ebx
sub ecx, edi
mov edx, 1
call fcn.004033cc
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004031c8
cmp eax, 2
jl 0x4064d9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
cmp byte [eax], 0x22
jne 0x4064d9
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004031c8
mov edx, dword [ebp - 4]
mov edx, dword [edx]
cmp byte [edx + eax - 1], 0x22
jne 0x4064d9
mov eax, dword [ebp - 4]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax]
call fcn.004031c8
mov ecx, eax
sub ecx, 2
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov edx, 2
call fcn.004033cc
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4064f9
lea eax, [ebp - 0x110]
call fcn.00403050
ret

Function at 0x406534
Capabilities:
Get file attributes

Disassembly:
call fcn.00404f70
push eax
call sub.kernel32.dll_GetFileAttributesA
and al, 0x10
sete al
ret

Function at 0x4067fc
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov esi, ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x406894
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebx + 0x18], 0
jne 0x406849
mov eax, dword [ebx + 0x19]
call fcn.0040338c
push eax
push esi
mov eax, edi
call fcn.0040338c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040338c
push eax
call sub.kernel32.dll_GetPrivateProfileIntA
mov dword [ebp - 4], eax
jmp 0x40687e
mov dword [ebp - 4], esi
mov eax, dword [ebx + 0x19]
call fcn.0040338c
push eax
lea edx, [ebp - 8]
mov eax, esi
call fcn.00406244
mov eax, dword [ebp - 8]
call fcn.0040338c
push eax
mov eax, edi
call fcn.0040338c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040338c
push eax
call sub.kernel32.dll_WritePrivateProfileStringA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40689b
lea eax, [ebp - 8]
call fcn.00403050
ret
Function at 0x40853c
Capabilities:
Get graphical window text

Disassembly:
xchg edx, eax
movzx ecx, byte [edx + 0x3a]
jecxz 0x40854b
mov edx, dword [edx + 0x36]
jmp fcn.00403174
mov ecx, dword [edx + 0x18]
jecxz 0x408543
push ebx
push esi
xchg ebx, eax
mov esi, ecx
push esi
call sub.user32.dll_GetWindowTextLengthA
mov edx, eax
inc eax
push eax
mov eax, ebx
call fcn.0040349c
pop edx
mov ecx, dword [ebx]
jecxz 0x408573
push edx
push ecx
push esi
call sub.user32.dll_GetWindowTextA
pop esi
pop ebx
ret

Function at 0x4085e4
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x27], 0xef
test dl, dl
je 0x4085f0
or byte [eax + 0x27], 0x10
mov byte [eax + 0x4e], dl
mov ecx, dword [eax + 0x18]
jecxz 0x40860c
push eax
je 0x40860d
call dword [0x417144]
pop eax
push 5
push dword [eax + 0x18]
call sub.user32.dll_ShowWindow
ret
mov byte [eax + 0x15a], dl
push 0
push ecx
call sub.user32.dll_ShowWindow
pop eax
call dword [0x417144]
ret
Function at 0x45a02a
Capabilities:
Terminate process

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
test ebx, ebx
je 0x45a097
cmp byte [ebx], 0
je 0x45a097
mov esi, dword [esp + 0x10]
test esi, esi
je 0x45a04d
push esi
call fcn.0045b048
pop ecx
mov edi, eax
jmp 0x45a04f
xor edi, edi
push ebx
call fcn.0045b048
pop ecx
lea eax, [eax + edi + 1]
test esi, esi
push eax
je 0x45a074
push esi
call fcn.0045b279
mov esi, eax
pop ecx
test esi, esi
pop ecx
jne 0x45a087
push 1
call fcn.0045b186
call fcn.0045aab5
mov esi, eax
pop ecx
test esi, esi
jne 0x45a087
push 1
call fcn.0045b186
lea eax, [esi + edi]
push ebx
push eax
call fcn.0045af58
pop ecx
mov eax, esi
pop ecx
jmp 0x45a09b
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebx
ret

Function at 0x45a34a
Capabilities:
Terminate process

Disassembly:
sub esp, 0x190
push 1
push 0x100
call dword [fcn.0040702c]
call dword [fcn.00407028]
lea eax, [esp]
push eax
push 2
call fcn.0045a96a
test eax, eax
push 1
je 0x45a37a
call fcn.0045b186
push 0x401a15
call dword [fcn.00407024]
add esp, 0x190
ret

Function at 0x45a868
Capabilities:
Create thread
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.0045a34a
cmp dword [ebp + 8], 1
jle 0x45a889
mov eax, dword [ebp + 0xc]
push dword [eax + 4]
call fcn.0045b14e
pop ecx
mov dword [0x408eb0], eax
jmp 0x45a88e
mov eax, dword [0x408eb0]
cmp eax, 0x270f
jg 0x45a89c
cmp eax, 0x1f40
jge 0x45a8a6
mov eax, 0x2000
mov dword [0x408eb0], eax
push esi
push edi
push eax
push 0
call fcn.00459a6c
pop ecx
mov dword [ebp + 8], eax
test eax, eax
pop ecx
jge 0x45a8c2
push 1
call fcn.0045b186
pop edi
pop esi
call fcn.0045a2e6
push dword [ebp + 8]
call fcn.00459b17
mov edi, eax
pop ecx
test edi, edi
jl 0x45a8c2
push 0x48
call fcn.0045aab5
mov esi, eax
pop ecx
test esi, esi
jne 0x45a8ed
push edi
call fcn.0045a3aa
pop ecx
jmp 0x45a8c2
push 0x48
push 0
push esi
call fcn.0045a9d8
or dword [esi + 4], 0xffffffff
mov dword [esi + 0x40], 1
mov dword [esi], edi
mov eax, dword [0x409244]
push esi
push 0x10000
mov dword [esi + 0x44], eax
push 0x401f18
mov dword [0x409244], esi
call fcn.0045b53d
add esp, 0x18
jmp 0x45a8c2

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

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x43000c
nop
nop
nop
pop eax
nop
nop
add eax, 0x403d7a
nop
sub eax, 0x403d20
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x430030
nop
nop
nop
nop
nop
nop
add eax, 0xc
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp loc.00401219