joyce8/EMBER2024-capa huggingface dataset:
Function at 0x5c050470
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x5c0504ae
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x5c0504a6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x5c0504b0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x5c050496
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x5c050580
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x5c0505b1
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x5c0505b1
mov ecx, 0x10b
cmp word [eax + 0x18], cx
jne 0x5c0505b1
mov eax, 1
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x5c063538
Capabilities:
Encode data using xor

Disassembly:
call 0x5c0634b1
sub bl, byte [ebx]
mov eax, 0x64f7f691
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
cld
test edx, ebx
or eax, dword [ebx - 0x178f73c]
xor esi, 0xde5af04
add eax, esi
lea esp, [esp - 0xe]
mov esi, dword [esp + 0xe]
lea esp, [esp + 0x12]
xor esi, dword [esp]
push eax
sub eax, 0xf24f2b00
mov eax, esp
or dword [eax - 0x22], ebx
pop eax
jmp 0x5c0634e1
xor dword [esp], esi
xor eax, 0
mov dword [esp], esi
add esp, 4
add esi, dword [ebp + 8]
push ebp
add ebp, 0xc
mov ecx, dword [ebp]
pop ebp
ja 0x5c0634fd
xor edx, 0
jmp 0x5c063508
xor edx, edx
jmp 0x5c06351f
jmp 0x5c06352b
xor eax, eax
push 0x8427d7c0
call 0x5c063538
stc
add esp, 8
add esi, 0
cmp ecx, 0
je 0x5c063574
mov ebx, dword [ebp + 0x10]
mov edi, dword [ebp + 0x14]
add bl, dl
xor byte [esi], bl
mov dl, byte [esi]
inc esi
add ebx, edi
rol ebx, 8
dec ecx
jne 0x5c06354d
lea esp, [esp - 4]
xchg dword [esp], ebx
mov ebx, dword [esp]
or eax, edx
xor eax, eax
add eax, dword [esp]
add esp, 4
pop esi
pop edi
pop ebx
xchg dword [esp], ecx
mov dword [esp], ecx
lea esp, [esp + 4]
pop edx
leave
je 0x5c06358b
add eax, 0
jno 0x5c063590
add esi, 0
ret 0x10
Function at 0x5c0642f9
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 0x5c06431b
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 0x5c0644bd
cmp edi, dword [ebp + 0x10]
jb 0x5c0644bd
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.5c063de5
inc edi
jmp 0x5c0643a4
jmp 0x5c0643b1
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c063de5
inc edi
and dword [esp - 0x4e], ecx
ror eax, 8
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push eax
push edi
call fcn.5c063de5
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 0x5c064405
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 0x5c0643e9
pop ebx
xor edx, 0x1b7d0cc
add edx, 0xedeb415d
xchg dword [esp], edx
push edx
mov edx, esp
call int.5c064433
add dword [eax], 0x39
jle 0x5c06440f
sub al, 0xf5
mov ch, al
call fcn.5c064448
mov dword [edi], eax
pop ecx
pop edi
pop eax
leave
ret 0x10

Function at 0x5c066120
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 0x5c066136
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 0x5c066147
mov eax, edx
pop edx
pop ecx
pop esi
mov esp, ebp
mov ebp, dword [esp]
add esp, 4
push 0x54
call fcn.5c066188
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 0x5c0684f4
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 0x5c06843d
add ebx, 0
push ecx
call 0x5c068452
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, 0x6de16372
sub ebx, dword [0x6de35bb1]
mov dword [ebp - 8], ebx
xchg esi, eax
push 0x6de35ba1
call fcn.5c063f1c
xchg esi, eax
add esi, ebx
mov edx, dword [ebp + 8]
sub edx, ebx
call fcn.5c06342a
mov edi, eax
mov eax, dword [esi + 8]
xor dword [esp - 0x69], edx
xor ebx, 0
xor eax, edi
cmp edx, eax
jb 0x5c0685b0
mov eax, dword [esi + 0xc]
xor eax, edi
cmp edx, eax
ja 0x5c0685b0
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 0x5c068567
mov eax, 1
lock xchg dword [0x6de35bad], eax
push 0x3dd1fc71
call 0x5c0684f4
push esi
add esp, 8
cmp eax, 0
jne 0x5c0684dd
push edx
mov eax, edi
xor byte [esi + edx], al
inc edx
dec ecx
jne 0x5c068503
pop edx
mov eax, dword [esi + 0x14]
xor eax, edi
js 0x5c068518
cmp ecx, edx
cmp eax, 0
je 0x5c06853d
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 0x5c068527
mov eax, 1
mov dword [esp - 0x1a], eax
push 0x8ae1b7eb
call fcn.5c068556
dec eax
loope 0x5c068559
invalid
xor eax, edi
mov dword [esi], eax
mov dword [0x6de35bad], 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 0x5c06858d
xor edx, 0
add esp, 4
pop edi
pop ecx
pop edx
pop ebx
pop eax
leave
jmp 0x5c0685a2
jmp 0x5c0685ad
ret 4
mov eax, dword [esi + 4]
xor eax, edi
add esi, eax
jmp 0x5c06849b
Function at 0x5c06f615
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 0x5c06f8eb
push ebp
push 0xffffffffffffffff
sub esp, 0x32
mov dword [esp + 0x2e], 0x6de22825
add esp, 0x2e
sub esp, 4
mov dword [esp], 0x6de197eb
push 0xffffffffffffffff
call fcn.5c066815
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 0x5c06f67f
and eax, eax
xchg edx, eax
mov edx, dword [ecx + edx - 0x75d46dac]
call fcn.5c06f697
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 0x5c06f8df
xor eax, 0
ret 4
xor ecx, ecx
jmp 0x5c06f8b3
Function at 0x5c07f0e5
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 0x5c07f107
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c07f107
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c07f107
ret
cmp word [ebx + 4], 0x14c
jne 0x5c07f107
test word [ebx + 0x16], 2
je 0x5c07f107
test word [ebx + 0x16], 0x100
je 0x5c07f107
cmp word [ebx + 0x18], 0x10b
jne 0x5c07f107
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c07f107
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c07f193
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c07f127
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c066072
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c07f107
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 0x5c07f193
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 0x5c07f107
mov ebx, dword [eax + 0x3c]
cmp ebx, 0xf08
ja 0x5c07f107
add ebx, eax
cmp dword [ebx], 0x4550
jne 0x5c07f107
ret
cmp word [ebx + 4], 0x14c
jne 0x5c07f107
test word [ebx + 0x16], 2
je 0x5c07f107
test word [ebx + 0x16], 0x100
je 0x5c07f107
cmp word [ebx + 0x18], 0x10b
jne 0x5c07f107
mov edx, dword [ebx + 0x78]
cmp edx, 0
je 0x5c07f107
lea edx, [eax + edx]
mov edx, dword [edx + 0xc]
push 0xe1641d81
call 0x5c07f193
adc al, 0xbd
mov dl, 3
cmp byte [ecx + 0x75ac5ffe], 0xa
jnp 0x5c07f127
int1
salc
push edi
inc esp
add esp, 8
lea edx, [edx + eax]
mov ebx, eax
push edx
call fcn.5c066072
xchg ebx, eax
cmp ebx, dword [ebp + 0xc]
jne 0x5c07f107
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 0x5c07f24a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c07f2a3
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c07f24a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c07f259
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 0x5c484efc
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 0x5c07f2aa
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.5c066120
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c07f349
add edi, 4
add eax, 2
dec ecx
jne 0x5c07f28f
call 0x5c07f2f6
loope 0x5c07f2ec
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c07f346
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 0x5c07f357
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 0x5c07f30a
cmp eax, ecx
ja 0x5c07f30a
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c07f394
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c07f38a
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.5c0665ff
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x5c07f259
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0
push ecx
xor ecx, ecx
jne 0x5c07f2a3
mov ecx, esp
xor dword [ecx - 0x55], edi
pop ecx
call 0x5c07f24a
dec esp
adc eax, 0x91b81b2a
div bh
int 0x82
xchg ebx, eax
ror cl, 1
into
out dx, eax
call 0x5c07f259
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 0x5c484efc
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 0x5c07f2aa
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.5c066120
cmp eax, dword [ebp + 0xc]
pop eax
je 0x5c07f349
add edi, 4
add eax, 2
dec ecx
jne 0x5c07f28f
call 0x5c07f2f6
loope 0x5c07f2ec
invalid
sbb esi, ebx
mov edi, 0xdbead58c
js 0x5c07f346
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 0x5c07f357
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 0x5c07f30a
cmp eax, ecx
ja 0x5c07f30a
mov esi, eax
lea edi, [ebp - 0x100]
mov al, byte [esi]
mov byte [edi], al
inc edi
inc esi
js 0x5c07f394
or ecx, ecx
xor dword [esp - 0x6b], eax
cmp al, 0x2e
jne 0x5c07f38a
lea edi, [ebp - 0x100]
push pe_nt_image_headers32
push edi
push esi
call fcn.5c0665ff
lea esp, [esp - 0x60]
mov dword [esp + 0x5c], edi
lea esp, [esp + 0x5c]
Function at 0x430006
Capabilities:
Encode data using xor

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

Function at 0xca9b10
Capabilities:
Encode data using xor

Disassembly:
jmp 0xca9b1a
pushal
call 0xca9b20
pop ebp
sub ebp, 0x10
sub ebp, 0x8a9b10
jmp 0xca9b36
mov eax, 0x8a9b10
add eax, ebp
add eax, 0x4c
mov ecx, 0x5c3
mov edx, 0x5c848537
xor byte [eax], dl
inc eax
dec ecx
jne 0xca9b4d
jmp 0xca9b60
mov esp, 0xbbebcfa
aaa
aaa
aaa
mov dh, 0xf6
iretd
Function at 0x401749
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40d400]
jne 0x401753
repz ret
jmp fcn.00403b1d

Function at 0x402ff2
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x40d410]
je 0x40300d
inc edi
cmp edi, 0x17
jb 0x402ffe
cmp edi, 0x17
jae 0x40318d
push ebp
push 3
call fcn.00405c1e
cmp eax, 1
pop ecx
je 0x403159
push 3
call fcn.00405c1e
test eax, eax
pop ecx
jne 0x403041
cmp dword [0x40d004], 1
je 0x403159
cmp ebx, 0xfc
je 0x40318c
push str.Runtime_Error__n_nProgram:
mov ebx, 0x314
push ebx
mov ebp, 0x40dfd8
push ebp
call fcn.00405bb9
add esp, 0xc
test eax, eax
je 0x403077
push esi
push esi
push esi
push esi
push esi
call fcn.004026a4
add esp, 0x14
push 0x104
mov esi, 0x40dff1
push esi
push 0
mov byte [0x40e0f5], 0
call dword [sym.imp.KERNEL32.DLL_GetModuleFileNameA]
test eax, eax
jne 0x4030bb
push str._program_name_unknown_
push 0x2fb
push esi
call fcn.00405bb9
add esp, 0xc
test eax, eax
je 0x4030bb
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004026a4
add esp, 0x14
push esi
call fcn.00405390
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x403100
push esi
call fcn.00405390
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x40e2ec
push 0x40a82c
sub ecx, eax
push ecx
push eax
call fcn.00405b06
add esp, 0x14
test eax, eax
je 0x403100
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004026a4
add esp, 0x14
jmp 0x403102
xor esi, esi
push 0x40a828
push ebx
push ebp
call fcn.00405a95
add esp, 0xc
test eax, eax
je 0x403122
push esi
push esi
push esi
push esi
push esi
call fcn.004026a4
add esp, 0x14
push dword [edi*8 + 0x40d414]
push ebx
push ebp
call fcn.00405a95
add esp, 0xc
test eax, eax
je 0x403144
push esi
push esi
push esi
push esi
push esi
call fcn.004026a4
add esp, 0x14
push 0x12010
push str.Microsoft_Visual_C_Runtime_Library
push ebp
call fcn.004058d8
add esp, 0xc
jmp 0x40318c
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.DLL_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x40318c
cmp ebp, 0xffffffff
je 0x40318c
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x40d414]
push dword [esi]
call fcn.00405390
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.DLL_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4058d8
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.00402b10
xor ebx, ebx
cmp dword [0x40e8ec], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x4059ae
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x405a8e
mov esi, dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x405a8e
push eax
call fcn.00402aa2
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x40e8ec], eax
call esi
push eax
call fcn.00402aa2
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x40e8f0], eax
call esi
push eax
call fcn.00402aa2
mov dword [0x40e8f4], eax
lea eax, [ebp - 0xc]
push eax
call fcn.004014d6
test eax, eax
pop ecx
pop ecx
je 0x40597c
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004026a4
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x4059ae
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.00402aa2
cmp eax, ebx
pop ecx
mov dword [0x40e8fc], eax
je 0x4059ae
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00402aa2
pop ecx
mov dword [0x40e8f8], eax
mov eax, dword [0x40e8f8]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x405a33
cmp dword [0x40e8fc], ecx
je 0x405a33
push eax
call fcn.00402b19
push dword [0x40e8fc]
mov esi, eax
call fcn.00402b19
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x405a33
cmp edi, ebx
je 0x405a33
call esi
cmp eax, ebx
je 0x405a00
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x405a00
test byte [ebp - 0x18], 1
jne 0x405a33
lea eax, [ebp - 0x10]
push eax
call fcn.0040150d
test eax, eax
pop ecx
je 0x405a1b
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004026a4
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x405a2a
or dword [ebp + 0x10], 0x200000
jmp 0x405a6e
or dword [ebp + 0x10], 0x40000
jmp 0x405a6e
mov eax, dword [0x40e8f0]
cmp eax, dword [ebp - 8]
je 0x405a6e
push eax
call fcn.00402b19
cmp eax, ebx
pop ecx
je 0x405a6e
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x405a6e
mov eax, dword [0x40e8f4]
cmp eax, dword [ebp - 8]
je 0x405a6e
push eax
call fcn.00402b19
cmp eax, ebx
pop ecx
je 0x405a6e
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x40e8ec]
call fcn.00402b19
cmp eax, ebx
pop ecx
je 0x405a8e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x405a90
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401a40
Capabilities:
Write file on windows

Disassembly:
mov edx, dword [esp + 8]
mov ecx, dword [ecx]
lea eax, [esp + 8]
push 0
push eax
mov eax, dword [esp + 0xc]
push edx
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WriteFile]
ret 8

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

Disassembly:
pushal
nop
call 0x43000c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
mov ebx, dword [eax]
nop
nop
nop
nop
nop
nop
mov ecx, dword [eax + 4]
mov edx, dword [eax + 8]
nop
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
nop
jmp loc.00401219
Function at 0x433000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
nop
mov ecx, 0x50533476
nop
nop
test eax, eax
nop
nop
nop
nop
nop
nop
je 0x43304e
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
mov ecx, 0x3df61294
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x43306c
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4079b0
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x47b22b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x180
push ebx
push ebp
mov ebp, ecx
lea ecx, [esp + 8]
lea eax, [ebp + 0x40]
push eax
call fcn.00470208
mov ecx, dword [esp + 8]
mov dword [esp + 0x190], 0
mov eax, dword [ecx - 8]
test eax, eax
je 0x407a32
lea edx, [esp + 0x10]
push 1
push edx
lea ecx, [esp + 0x10]
call fcn.0046e157
mov eax, dword [eax]
push 0x4921e8
push eax
call fcn.00460e64
add esp, 8
lea ecx, [esp + 0x10]
test eax, eax
setne bl
call fcn.00470493
test bl, bl
je 0x407a32
push 0x4921e8
lea ecx, [esp + 0xc]
call fcn.00470823
push 0x495d30
lea ecx, [esp + 0xc]
call fcn.00470823
mov ecx, dword [esp + 8]
lea eax, [esp + 0x48]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x407a6e
lea ecx, [esp + 8]
mov dword [esp + 0x190], eax
call fcn.00470493
jmp 0x407b39
push esi
mov esi, dword [esp + 0x19c]
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
mov ebx, 0x23
test byte [esp + 0x50], 0x10
je 0x407af2
lea edx, [esp + 0x7c]
push 0x495d2c
push edx
call fcn.00460e64
add esp, 8
test eax, eax
je 0x407af2
lea eax, [esp + 0x7c]
push 0x495d28
push eax
call fcn.00460e64
add esp, 8
test eax, eax
je 0x407af2
mov eax, dword [ebp + 0x1c]
lea edx, [esp + 0x1c]
push edx
push 0
lea ecx, [esp + 0x84]
push 0x1100
push eax
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], 0xffff0003
mov dword [esp + 0x4c], 0
mov dword [esp + 0x50], 1
mov dword [esp + 0x44], ecx
mov dword [esp + 0x34], ebx
call edi
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x50]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x407a82
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [ebp + 0x1c]
push esi
push 2
push 0x1102
push ecx
call edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x198], 0xffffffff
call fcn.00470493
pop edi
pop esi
mov ecx, dword [esp + 0x188]
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18c
ret 4

Function at 0x408330
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x408392
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc