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

Disassembly:
pop edx
div byte [eax]
mov ah, 0x53
jp 0x51e29d
popal
xchg dword [eax], esi
sar esp, cl
invalid
fstp xword [eax*4 + 0x2859b281]
fdivrp st(5)
imul edi, ebx, 0x9c7c186a
push ecx
les eax, [ecx - 0x578bcd23]
fnsave dword [edx]
je 0x51e25c
jne 0x51e2cb
sbb dword [ebx + 0x11], ebx
adc byte [edi - 0x19fd6150], bh
pop esi
adc ecx, dword [0xcd2ba326]
jo 0x51e261
in al, dx
add eax, dword [esi + ebx*8]
fdivp st(4)
cld
add dl, al
cmp eax, 0xa7243c2d
pushal
loope 0x51e2b0
pop esi
sub bl, 0x86
invalid

Function at 0x547b28
Capabilities:
Encode data using xor

Disassembly:
fimul word [edi + esi*8 + 0x56]
mov ecx, 0x90f0c2b0
cmp esi, dword [edx]
or esp, dword [esi]
invalid
adc bh, byte [ebx]
loope 0x547ba6
clc
aad 0x88
push ecx
les ebx, [ebp + 0x3ad155b8]
xor byte [eax], 0xb9
mov esp, 0x2e6f68cd
stosd dword es:[edi], eax
xchg ecx, eax
inc edx
add dword [edx - 0x48fb5363], eax
push 0x16967b2c
sub al, 0x7b
xchg esi, eax
push ss
sets byte [esi + 0x6efa0b24]
adc ah, cl
push 0xffffffffffffffe1
loope 0x547b48
push 0xffffffffffffffe1
sal byte [edx], 1
fst st(4)
fld dword [ebx + 0x1929d5c0]
xor al, 0xd3
pop eax
mov al, 0x90
imul eax, esi, 0x617f9728
mov edx, 0x309e2a33
xchg esi, eax
je 0x547b08
xchg ebx, eax
enter 0xffffffffffffabb7, 0x47
add al, 0x75
adc ebx, esp
xchg dword [edx + 0x587797fe], ebx
sub ebx, dword [eax - 0x2b]
sub ebp, dword [ebp - 0x690d8179]
bound esp, qword gs:[eax + 0x68]
jb 0x547b54
ffree st(3)
add byte [ecx], 0xd7

Function at 0x5485f8
Capabilities:
Encode data using xor

Disassembly:
jmp 0x563f13
push eax
lea esi, [esi - 0x1b758eee]
mov byte [esp], 0x75
call fcn.00527891

Function at 0x558d55
Capabilities:
Encode data using xor

Disassembly:
push cs
sbb ch, dh
inc ecx
test al, 0xb7
inc ebp
jae 0x558cec
ficomp dword [eax]
daa
xchg edx, eax
inc edi
out 0x17, al
adc al, 6
pushfd
sub ecx, dword [eax - 0x67]
test byte [edi], 0x7c
movsd dword es:[edi], dword [esi]
pop ebx
imul eax, dword [edx + 0x7b33cd24], 0x30
iretd
inc edx
dec esi
jnp 0x558cfb
jae 0x558ce5
enter 0xbf4, 0xffffffffffffff94
adc ch, byte [ecx - 2]
mov bl, 1
out dx, eax
add dword [ecx], eax
loopne 0x558d8b
ljmp 0x4ec8:0xb7a80ac0
mov dh, 0xa0
pop esi
fistp dword [eax + 0x7941cc1b]
sbb byte [edi - 0x58], bh
jg 0x558d27
mov edx, dword [ebx]
mov dh, 0xf5
jo 0x558df4
outsb dx, byte [esi]
cmp ebx, dword [ecx + 0x7bdb462f]
out 0xda, al
xor cl, cl
jnp 0x558d73
fidiv dword [eax]
leave
and al, 0xd0
jle 0x558de4
jnp 0x558df0
fsub qword [ebx + edi*4 + 0x4a029ce1]
movsd dword es:[edi], dword [esi]
xchg esp, eax
cld
push ss
not ebp
inc ecx
retf 0xca26
pop ss
popfd
outsb dx, byte [esi]
test byte [ebp + eax*8 + 0x5792abfe], dl
retf 0x40ce
inc eax
adc dword [ebx + 0x7b], esi
push 0xb032c95a
movsb byte es:[edi], byte [esi]
les edi, [eax]
dec ebx
leave
xor dh, byte [eax + 0x4b38c4a4]
jns 0x558df6
mov cl, 0x4f
dec edi
xchg edi, eax
cmp ch, cl
sti
xchg ebx, eax
jae 0x558e00
add byte [edi], dl
or esp, edi
xor eax, 0x79d65e41
mov dl, 0x93
lahf
jmp [ebx]
Function at 0x55d07a
Capabilities:
Encode data using xor

Disassembly:
aas
scasd eax, dword es:[edi]
pop ebx
push esp
cdq
mov ch, 5
leave
pushal
sbb dword [esi + 0x6d], esp
lcall 0xb7bc, 0x60903e7c
dec edx
and al, 0x1e
insd dword es:[edi], dx
jne 0x55d103
ret
xor dh, cl
mov es, word [edx - 0x7443439a]
sbb ah, byte [edi + 0x6e]
and byte [esi - 0x44], 0xbc
mov ebx, dword [edx]
outsb dx, byte [si]
adc edi, edi
out 0x75, al
out 0x26, al
movsb byte es:[edi], byte [esi]
xor bl, 0x68
fbstp tbyte [edx]
jecxz 0x55d106
mov dword [esi + ebp - 0x76], 0xc2f98575
invalid

Function at 0x58646c
Capabilities:
Encode data using xor

Disassembly:
and dword [esi + 0x3e], 0xffffff94
xchg sp, ax
xchg edi, eax
add dword [eax - 0x14c06ee0], edi
sub edi, dword [ebx + 0x25]
popal
invalid
loop 0x58648c
invalid
adc bl, 0xa3
scasb al, byte es:[edi]
mov edx, 0x3b3f0916
or dword [edi], edi
cmp esi, dword [ecx - 0x58]
mov ebp, dword [esi]
xchg bh, cl
imul eax, ebx, 0xe724dca9
out dx, al
test eax, 0xeee724dc
scasb al, byte es:[edi]
aad 0x7a
push ds
stc
in al, dx
push esp
aaa
sbb ebx, dword [ebx - 0x28]
dec esi
sbb dl, byte [edx + 0x2d]
and bh, ch
out dx, eax
jns 0x58641a
js 0x586419
adc al, byte [ecx - 0x687128ff]
insd dword es:[edi], dx
cmpsb byte [esi], byte es:[edi]
cmp ecx, dword [esi + 0xc]
loopne 0x586477
xlatb
mov ss, word [edi + 0x4e3ba66d]
or al, 0xe0
fldenv [ebx + 0x452a92bd]
mov dword [0x452a92bd], eax
js 0x586494
pop edx
fcompp
xchg dword [ecx], ecx
rcr dword [edi + 0x7a], 1
loop 0x5864c0
fdiv qword [ecx]
mov word [edx + 0x30], gs
cmc
xchg edi, eax
fiadd word [edx + 5]
les eax, cs:[eax]
sub bl, ah
sbb edx, edi
jle 0x586464
test eax, 0x5719f24e
mov edi, 0x5f45aa96
salc
jae 0x586539
cmp edx, dword [ebx + eax*2 - 0x7b6ba196]
fstp dword [ecx]
sub eax, 0xb7e6c29b
cmp esp, edx
out 0xb6, al
daa
rcl dword [edx + 0x43], 0x5e

Function at 0x587695
Capabilities:
Encode data using xor

Disassembly:
mov dh, 0x8a
das
dec esp
xor dword [ebx + 0x52], 0xffffff90
out 2, eax
invalid

Function at 0x58ca40
Capabilities:
Encode data using xor

Disassembly:
call fcn.00545042
xchg ecx, eax
jmp 0x58ca65
add ch, al
pop ebx
popal
or al, 0xe6
mov ebp, 0x11d93238
leave
pop edi
enter 0xffffffffffffd3b8, 0x3c
invalid

Function at 0x5ab9ac
Capabilities:
Encode data using xor

Disassembly:
lea ebx, [ebx - 0x23f1438c]
jmp 0x552017
pushfd
call fcn.00584c91
jmp 0x541958

Function at 0x5c4c32
Capabilities:
Encode data using xor

Disassembly:
loopne 0x5c4c5c
test al, 0x59
or al, byte [edx + 0x45c8d1c6]
fsubr dword [edi - 0x2552c8ac]
push esi
cmp eax, 0x58e1e36a
jns 0x5c4c3c
mov dword [0x7986bf66], eax
push 0x41416f1a
add al, 0x29
xor dl, dh
and ah, dl
mov ebx, 0x9ea690f1
nop
cmpsb byte [esi], byte es:[edi]
sahf
sbb bh, cl
add eax, 0xdf9ba3d4
invalid
Function at 0x1001f35
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov ecx, dword [ebp + 0xc]
cmp word [ecx], 0
mov eax, dword [ebp + 8]
mov dword [ebp + 8], eax
je 0x1001fc0
cmp word [eax], 0
push ebx
push esi
push edi
je 0x1001fbb
mov ebx, dword [fcn.01001118]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
jmp 0x1001fa1
movzx eax, word [edi]
test ax, ax
je 0x1001fc4
movzx ecx, word [esi]
movzx eax, ax
sub ecx, eax
jne 0x1001fa7
push esi
call ebx
push edi
mov dword [ebp - 4], eax
call ebx
mov ecx, dword [ebp - 4]
sub eax, edi
sub ecx, esi
xor eax, ecx
test eax, 0xfffffffe
jne 0x1001fa7
jmp 0x1001f9c
inc esi
inc esi
movzx ecx, word [esi]
inc edi
inc edi
movzx eax, word [edi]
sub ecx, eax
je 0x1001fa1
cmp esi, dword [ebp - 4]
jb 0x1001f8e
cmp word [esi], 0
jne 0x1001f61
cmp word [edi], 0
je 0x1001fc4
push dword [ebp + 8]
call ebx
cmp word [eax], 0
mov dword [ebp + 8], eax
jne 0x1001f59
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 8
mov eax, dword [ebp + 8]
jmp 0x1001fbd

Function at 0x10027b8
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x1006060]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
xor esi, esi
push esi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], esi
call fcn.01001b66
mov edi, eax
cmp edi, esi
je 0x100281b
lea ecx, [ebp - 0x208]
call fcn.01001af3
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01004723
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x1002839
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x208]
call fcn.010027b8
cmp eax, esi
jne 0x1002881
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call edi
test eax, eax
je 0x1002823
lea ecx, [ebp - 0x208]
call fcn.01001af3
push dword [ebp - 0x210]
push dword [ebx]
call dword [entry0]
lea ecx, [ebp - 0x208]
mov esi, eax
call fcn.01001af3
mov eax, esi
jmp 0x100280a
Function at 0x1004bc0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
cmp word [ecx], 0x5a4d
je 0x1004bd3
xor eax, eax
pop ebp
ret
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x1004bcf
xor ecx, ecx
cmp word [eax + 0x18], 0x10b
sete cl
mov eax, ecx
pop ebp
ret

Function at 0x1004c00
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
push ebx
push esi
movzx esi, word [ecx + 6]
xor edx, edx
test esi, esi
push edi
lea eax, [eax + ecx + 0x18]
jbe 0x1004c3f
mov edi, dword [ebp + 0xc]
mov ecx, dword [eax + 0xc]
cmp edi, ecx
jb 0x1004c35
mov ebx, dword [eax + 8]
add ebx, ecx
cmp edi, ebx
jb 0x1004c41
add edx, 1
add eax, 0x28
cmp edx, esi
jb 0x1004c25
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x402e44
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffeec
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x114], ecx
mov esi, edx
mov ebx, eax
lea edi, [ebp - 4]
xor eax, eax
push ebp
push 0x402f3f
push dword fs:[eax]
mov dword fs:[eax], esp
test ebx, ebx
jne 0x402e98
push 0x105
lea eax, [ebp - 0x10d]
push eax
push 0
call fcn.00402354
mov ecx, eax
lea edx, [ebp - 0x10d]
mov eax, esi
call fcn.0040161c
jmp 0x402f26
call fcn.0040232c
mov dword [edi], eax
mov eax, dword [edi]
call fcn.00402dcc
mov dword [edi], eax
mov eax, dword [edi]
mov dword [ebp - 8], eax
mov eax, dword [edi]
call fcn.00402df4
mov dword [edi], eax
test ebx, ebx
je 0x402ec6
dec ebx
test ebx, ebx
jl 0x402ec6
mov eax, dword [edi]
cmp eax, dword [ebp - 8]
jne 0x402e9f
push esi
lea eax, [ebp - 0x114]
mov edx, dword [ebp - 8]
call fcn.0040165c
mov eax, dword [ebp - 0x114]
mov ecx, dword [edi]
sub ecx, dword [ebp - 8]
mov edx, 1
call fcn.004018f8
mov eax, dword [esi]
call fcn.004016a4
cmp eax, 2
jl 0x402f26
mov eax, dword [esi]
cmp byte [eax], 0x22
jne 0x402f26
mov eax, dword [esi]
call fcn.004016a4
mov edx, dword [esi]
cmp byte [edx + eax - 1], 0x22
jne 0x402f26
push esi
mov eax, dword [esi]
call fcn.004016a4
mov ecx, eax
sub ecx, 2
mov eax, dword [esi]
mov edx, 2
call fcn.004018f8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402f46
lea eax, [ebp - 0x114]
call fcn.00401530
ret

Function at 0x403128
Capabilities:
Get common file path

Disassembly:
push eax
sub esp, 0x108
push esp
push 0x105
call fcn.0040237c
mov edx, esp
mov eax, dword [esp + 0x108]
call fcn.0040165c
add esp, 0x108
pop edx
mov eax, dword [edx]
call fcn.004030a4
ret

Function at 0x4031dc
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40329c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00407980
push 0
push 0
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push edi
call fcn.004022e4
test eax, eax
jne 0x403286
cmp dword [ebp - 8], 0
jbe 0x403284
mov eax, dword [ebp - 8]
inc eax
call fcn.004010d4
mov ebx, eax
xor esi, esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x403262
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040165c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407970
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call fcn.004022cc
cmp eax, 0x103
jne 0x403245
mov eax, ebx
call fcn.004010ec
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4032a3
lea eax, [ebp - 0x10]
call fcn.00401530
ret
Function at 0x4032ac
Capabilities:
Query or enumerate registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x40336c
push dword fs:[eax]
mov dword fs:[eax], esp
xor ebx, ebx
mov eax, dword [ebp - 4]
call fcn.00407980
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push edi
call fcn.004022e4
test eax, eax
jne 0x403356
cmp dword [ebp - 8], 0
jbe 0x403354
mov eax, dword [ebp - 8]
inc eax
call fcn.004010d4
mov ebx, eax
xor esi, esi
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
jmp 0x403332
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.0040165c
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.00407970
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 0xc], eax
inc esi
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
push ebx
push esi
push edi
call fcn.004022d4
cmp eax, 0x103
jne 0x403315
mov eax, ebx
call fcn.004010ec
mov bl, 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x403373
lea eax, [ebp - 0x10]
call fcn.00401530
ret

Function at 0x40346c
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffffc
push ebx
push esi
push edi
mov esi, ecx
mov dword [ebp - 4], edx
mov ebx, eax
mov edi, dword [ebp + 8]
cmp byte [ebx + 0x18], 0
jne 0x4034e8
mov byte [ebp - 0x1004], 0
mov eax, dword [ebx + 0x19]
call fcn.0040189c
push eax
push 0x1000
lea eax, [ebp - 0x1004]
push eax
mov eax, esi
call fcn.0040189c
push eax
mov eax, dword [ebp - 4]
call fcn.0040189c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040189c
push eax
call fcn.0040236c
test eax, eax
je 0x4034df
mov eax, edi
lea edx, [ebp - 0x1004]
mov ecx, 0x1000
call fcn.0040168c
jmp 0x403519
mov eax, edi
call fcn.00401530
jmp 0x403519
mov eax, edi
mov edx, esi
call fcn.00401584
mov eax, dword [ebx + 0x19]
call fcn.0040189c
push eax
mov eax, esi
call fcn.0040189c
push eax
mov eax, dword [ebp - 4]
call fcn.0040189c
push eax
mov eax, dword [ebx + 0x1d]
call fcn.0040189c
push eax
call fcn.004023ec
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405f44
Capabilities:
Get file attributes

Disassembly:
call fcn.004028b4
push eax
call fcn.0040233c
inc eax
je 0x405f58
dec eax
and al, 0x10
sete al
ret
Function at 0x406118
Capabilities:
Read .ini file

Disassembly:
or eax, 0
je 0x40610a
lea eax, [esi + 4]
call fcn.00402db8
mov dword [esi], eax
lea edx, [esi + 4]
inc eax
add esi, eax
mov eax, edi
call fcn.00407970
cmp byte [esi + 4], 0
jne 0x4060ed
pop eax
call fcn.004010ec
pop ecx
pop ebx
pop edi
pop esi
ret
push esi
push edi
push ebx
push ecx
mov ebx, eax
mov eax, 0x8003
mov edi, edx
call fcn.004010d4
mov esi, eax
push eax
or byte [ebx + 0x18], 0
jne 0x40614d
push dword [ebx + 0x19]
mov eax, 0x7fff
push eax
lea eax, [esi + 4]
push eax
push dword [ebx + 0x1d]
call fcn.00402364
jmp 0x4060e8
push ebx
push esi
push edx
push ebp
mov edx, 0
mov ebp, dword [edi + 0x1c]
mov ebx, 0x7ffd
or ebp, ebp
je 0x40618e
or ebx, ebx
je 0x40618e
push edx
mov eax, edi
call fcn.004079dc
push eax
call fcn.00402db8
pop eax
xor ecx, 0xffffffff
mov edx, esi
sub ebx, ecx
ja 0x406182
add ecx, ebx
xor ebx, ebx
add esi, ecx
call fcn.004011b8
pop edx
inc edx
dec ebp
jmp 0x406160
mov word [esi], 0
pop ebp
pop edx
pop esi
pop ebx
mov eax, ebx
call fcn.0040344c
push dword [ebx + 0x19]
push esi
push dword [ebx + 0x1d]
call fcn.004023e4
pop eax
call fcn.004010ec
pop ecx
pop ebx
pop edi
pop esi
ret

Function at 0x406f2c
Capabilities:
Hide graphical window

Disassembly:
and byte [eax + 0x37], 0xef
test dl, dl
je 0x406f38
or byte [eax + 0x37], 0x10
mov byte [eax + 0x52], dl
mov ecx, dword [eax + 0x28]
jecxz 0x406f54
push eax
je 0x406f55
call dword [0x40c0fc]
pop eax
push 5
push dword [eax + 0x28]
call fcn.004026b4
ret
mov byte [eax + 0x174], dl
push 0
push ecx
call fcn.004026b4
pop eax
call dword [0x40c0fc]
ret

Function at 0x407ffc
Capabilities:
Capture screenshot

Disassembly:
push ebx
mov ebx, eax
call fcn.00407fb0
je 0x40802e
mov eax, ebx
push edx
call fcn.00404b70
pop edx
cmp eax, edx
je 0x40802e
test edx, edx
mov eax, ebx
jne 0x408020
pop ebx
inc edx
jmp fcn.00404b60
mov byte [ebx + 0x49], dl
xor edx, edx
call fcn.00404b60
xchg ebx, eax
cmp eax, 0
pop ebx
jne fcn.0040804c
ret
Function at 0x40804c
Capabilities:
Capture screenshot

Disassembly:
push eax
call fcn.00407fb0
pop eax
je 0x40823d
pushal
mov ebx, eax
call dword [ebx + 0x34]
xor eax, eax
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x56], eax
mov dword [ebx + 0x5a], eax
mov esi, dword [ebx + 0x1c]
mov edi, dword [ebx + 0x18]
mov ecx, dword [ebx + 0x41]
jecxz 0x408086
mov eax, dword [ebx + 0x3d]
mov esi, dword [eax + 4]
mov edi, dword [eax + 8]
test edi, edi
jge 0x4080a5
neg edi
jmp 0x4080a5
mov ecx, dword [ebx + 0x20]
jecxz 0x4080a5
add esp, 0xffffffe8
push esp
push 0x18
push ecx
call fcn.0040245c
xchg ecx, eax
jecxz 0x4080a2
mov esi, dword [esp + 4]
mov edi, dword [esp + 8]
add esp, 0x18
push 0
call fcn.00402414
push eax
cmp byte [ebx + 0x3c], 1
jne 0x408155
push 0
call fcn.0040259c
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push eax
call fcn.0040240c
xchg ebp, eax
push 0
call fcn.0040267c
pop edx
push edx
push ebp
push edx
call fcn.004024ac
push eax
push dword [ebx + 0x18]
push dword [ebx + 0x1c]
push 0
push 0
mov eax, dword [ebx + 0x2c]
call fcn.004058b8
push eax
call fcn.00402434
mov edx, esp
push eax
push eax
push edx
push dword [esp + 0x20]
call fcn.0040257c
call fcn.00402444
add esp, 0x10
mov ecx, dword [ebx + 0x41]
jecxz 0x408132
push dword [esp + 4]
call fcn.004024ac
push 0
push dword [ebx + 0x3d]
push dword [ebx + 0x41]
push dword [ebx + 0x18]
push 0
push ebp
push dword [esp + 0x18]
call fcn.004024cc
jmp 0x408146
mov edx, dword [esp + 4]
push edx
mov eax, ebx
xor ecx, ecx
push ecx
call fcn.00407c14
call fcn.004024ac
mov eax, ebx
call fcn.00407b9c
mov dword [ebx + 0x20], ebp
jmp 0x40822a
movzx eax, byte [ebx + 0x49]
xchg ecx, eax
mov cl, byte [ecx + 0x40c434]
movzx eax, byte [0x40c0f0]
jecxz 0x408159
xor ebp, ebp
mov eax, dword [ebx + 0x1c]
mov edx, dword [ebx + 0x18]
call fcn.00407a88
push eax
cmp byte [ebx + 0x49], 5
jne 0x408182
call fcn.00407b20
pop eax
push eax
call fcn.00408038
mov edx, dword [ebx + 0x18]
mul edx
push eax
push eax
push 0
call fcn.0040238c
push eax
push 0
push dword [esp + 0xc]
push eax
mov eax, dword [ebx + 0x18]
cmp eax, edi
jle 0x4081a8
mov eax, edi
push eax
push 0
mov eax, ebx
call fcn.00404530
push eax
push dword [esp + 0x24]
call fcn.00402454
mov edx, dword [ebx + 0x18]
cmp edx, edi
jle 0x4081c5
mov edx, edi
cmp eax, edx
je 0x40820c
call fcn.00402394
xor eax, eax
push eax
mov edx, esp
mov ecx, dword [esp + 8]
push eax
push eax
push edx
push 0
push ecx
push dword [esp + 0x20]
call fcn.0040241c
xor esi, 0xffffffff
xchg ebp, eax
push ebp
push dword [esp + 0x10]
call fcn.004024ac
push eax
mov edx, dword [esp + 0x10]
xor ecx, ecx
push ecx
mov eax, ebx
call fcn.00407c14
push dword [esp + 0x10]
call fcn.004024ac
mov eax, ebx
call fcn.00407b9c
pop dword [ebx + 0x41]
pop dword [ebx + 0x45]
pop dword [ebx + 0x3d]
mov dword [ebx + 0x20], ebp
test esi, esi
mov byte [ebx + 0x72], 0
jge 0x40822a
inc byte [ebx + 0x72]
mov ecx, dword [ebx + 0x4a]
jecxz 0x408237
pop edx
push edx
push edi
xchg esi, ecx
xchg ebx, eax
call esi
call fcn.0040243c
popal
ret
Function at 0x409b10
Capabilities:
Get common file path

Disassembly:
push ebx
add esp, 0xfffffc10
mov ebx, edx
push esp
push eax
push 0
call fcn.00408d34
lea eax, [esp + 4]
push eax
mov eax, dword [esp + 4]
push eax
call fcn.00408d2c
mov eax, dword [esp]
push eax
call fcn.00408bb4
mov eax, ebx
lea edx, [esp + 4]
mov ecx, 0x3e9
call fcn.0040168c
add esp, 0x3f0
pop ebx
ret

Function at 0x409d84
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
xor edx, edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040188c
xor eax, eax
push ebp
push 0x409df5
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00405e9c
mov edx, dword [ebp - 8]
mov eax, 0x40d7a0
call fcn.00401584
xor eax, eax
mov dword [0x40d79c], eax
push 0
push 0x409c98
call fcn.00402574
mov ebx, dword [0x40d79c]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409dfc
lea eax, [ebp - 8]
mov edx, 2
call fcn.00401554
ret

Function at 0x409e04
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push eax
push 0xffffffffffffffff
push 0x1f0fff
call fcn.004023a4
mov esi, eax
push esp
push esi
call fcn.00402334
test esi, esi
je 0x409e33
mov eax, dword [esp]
push eax
push esi
call fcn.004023d4
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call fcn.004022ec
mov eax, ebx
pop edx
pop esi
pop ebx
ret

Function at 0x409e0a
Capabilities:
Terminate process

Disassembly:
push ebx
push esi
push ecx
xor ebx, ebx
push eax
push 0xffffffffffffffff
push 0x1f0fff
call fcn.004023a4
mov esi, eax
push esp
push esi
call fcn.00402334
test esi, esi
je 0x409e33
mov eax, dword [esp]
push eax
push esi
call fcn.004023d4
cmp eax, 1
sbb ebx, ebx
inc ebx
push esi
call fcn.004022ec
mov eax, ebx
pop edx
pop esi
pop ebx
ret
Function at 0x40a7c8
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor edx, edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x24], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x40a86f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [0x40d788]
push dword [eax + 0x28]
push 0x40a884
push ebx
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00401764
mov edx, dword [ebp - 0x24]
mov eax, dword [0x40d784]
call fcn.0040a720
lea eax, [ebp - 0x1e]
mov edx, 0x1e
call fcn.004026d4
mov dword [ebp - 0x1a], 3
mov word [ebp - 0xe], 0x14
lea edx, [ebp - 0x28]
mov eax, ebx
call fcn.004030b8
lea eax, [ebp - 0x28]
mov edx, 0x40a890
call fcn.004016ac
mov eax, dword [ebp - 0x28]
call fcn.0040189c
mov dword [ebp - 0x16], eax
lea eax, [ebp - 0x1e]
push eax
call fcn.00408c2c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a876
lea eax, [ebp - 0x28]
mov edx, 2
call fcn.00401554
ret

Function at 0x40a894
Capabilities:
Delete directory

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x40a928
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov bl, 1
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004030b8
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.00405e9c
mov esi, 8
mov edi, 0x40d7a4
mov eax, dword [ebp - 0xc]
mov edx, dword [edi]
call fcn.004017e8
jne 0x40a8ec
xor ebx, ebx
jmp 0x40a8f2
add edi, 4
dec esi
jne 0x40a8dc
test bl, bl
je 0x40a90d
mov eax, dword [ebp - 4]
call fcn.0040189c
push eax
call fcn.004023b4
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 5], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40a92f
lea eax, [ebp - 0x10]
mov edx, 2
call fcn.00401554
ret

Function at 0x40a93c
Capabilities:
Delete file
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0040188c
xor eax, eax
push ebp
push 0x40aa20
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x40aa05
test bl, bl
je 0x40a99c
mov ebx, 8
mov eax, dword [ebp - 4]
call fcn.0040189c
mov esi, eax
push esi
call fcn.0040233c
test al, 1
je 0x40a994
push 0x80
push esi
call fcn.004023bc
push esi
call fcn.00402304
jmp 0x40a9a9
mov ebx, 0xa
mov eax, dword [ebp - 4]
call fcn.0040a894
mov eax, dword [0x40d788]
push dword [eax + ebx*4]
push 0x40aa38
push dword [ebp - 4]
lea eax, [ebp - 8]
mov edx, 3
call fcn.00401764
mov edx, dword [ebp - 8]
mov eax, dword [0x40d784]
call fcn.0040a720
mov ebx, 0xa
lea edx, [ebp - 0x10]
mov eax, dword [ebp - 4]
call fcn.004030cc
mov eax, dword [ebp - 0x10]
lea edx, [ebp - 0xc]
call fcn.004030b8
mov edx, dword [ebp - 0xc]
lea eax, [ebp - 4]
call fcn.004015c8
mov eax, dword [ebp - 4]
call fcn.0040a894
test al, al
jne 0x40a9a9
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40aa27
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00401554
ret