joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401c74
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
mov esi, dword [0x42a1ec]
push edi
push 0x41
pop ecx
xor eax, eax
xor ebx, ebx
mov byte [ebp - 0x158], bl
lea edi, [ebp - 0x157]
rep stosd dword es:[edi], eax
push 0x458ff0
lea eax, [ebp - 0x158]
push eax
call esi
lea eax, [ebp - 0x158]
push eax
call dword [0x42a214]
lea eax, [ebp + eax - 0x158]
push 0x27
push eax
call fcn.00413732
push 0x500000
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push dword [ebp + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ebx
call fcn.0040ed45
add esp, 0x1c
test al, al
je 0x401e23
push 0x10
pop ecx
xor eax, eax
push 0x3f
mov byte [ebp - 0x50], bl
lea edi, [ebp - 0x4f]
rep stosd dword es:[edi], eax
pop ecx
push dword [ebp + 0xc]
mov byte [ebp - 0x258], bl
lea edi, [ebp - 0x257]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x258]
push eax
call esi
lea eax, [ebp - 0x258]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0041a679
lea eax, [ebp - 0x50]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
call fcn.0041a7a8
push 0x40
push dword [ebp + 0xc]
lea eax, [ebp - 0x50]
push eax
call fcn.004224e1
add esp, 0x24
test eax, eax
jne 0x401e1a
push dword [ebp - 4]
call fcn.00410bf4
push dword [ebp - 4]
mov edi, eax
push dword [ebp - 8]
push edi
call fcn.00421920
push dword [ebp - 4]
push edi
call fcn.00401647
add esp, 0x18
test al, al
je 0x401e0f
push edi
call fcn.00410c3b
pop ecx
mov esi, 0x80
push esi
lea eax, [ebp - 0x158]
push eax
xor edi, edi
mov dword [ebp - 0xc], ebx
call dword [0x42a10c]
push ebx
push esi
push 2
push ebx
push 2
push 0x40000000
lea eax, [ebp - 0x158]
push eax
call dword [0x42a1d8]
mov esi, eax
cmp esi, 0xffffffff
je 0x401e1a
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
push dword [ebp - 8]
push esi
call dword [0x42a1d4]
push esi
call dword [0x42a1e0]
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 4]
jne 0x401e02
push 0x41
lea eax, [ebp - 0x50]
push eax
push 0x4594f3
call dword [0x42a208]
push dword [ebp - 8]
mov byte [0x4594f2], 1
call fcn.00410c3b
pop ecx
mov al, 1
jmp 0x401e25
lea eax, [ebp - 0x158]
push eax
call fcn.00414ef4
pop ecx
cmp edi, ebx
je 0x401e1a
push edi
call fcn.00410c3b
pop ecx
push dword [ebp - 8]
call fcn.00410c3b
pop ecx
xor al, al
pop edi
pop esi
pop ebx
leave
ret
Function at 0x401e2a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push dword [ebp + 8]
xor ebx, ebx
mov byte [ebp - 1], bl
call fcn.0041382b
mov esi, eax
cmp esi, 0xc350
pop ecx
jae 0x401e4e
xor al, al
jmp 0x401eb9
push edi
push esi
call fcn.00410bf4
push esi
mov edi, eax
push ebx
push edi
call fcn.00421c60
add esp, 0x10
push ebx
push 0x80
push 3
push ebx
push 1
push 0x80000000
push dword [ebp + 8]
mov dword [ebp - 8], ebx
call dword [0x42a1d8]
cmp eax, 0xffffffff
mov dword [ebp - 0xc], eax
je 0x401eae
push ebx
lea ecx, [ebp - 8]
push ecx
push esi
push edi
push eax
call dword [0x42a1dc]
push dword [ebp - 0xc]
call dword [0x42a1e0]
push esi
push edi
call fcn.00401647
test al, al
pop ecx
pop ecx
je 0x401eae
mov byte [ebp - 1], 1
push edi
call fcn.00410c3b
mov al, byte [ebp - 1]
pop ecx
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401ebd
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14c
push ebx
xor ebx, ebx
cmp byte [0x4594f2], bl
jne 0x401ed8
xor al, al
jmp 0x401f9a
push edi
push 0x41
pop ecx
xor eax, eax
mov byte [ebp - 0x14c], bl
lea edi, [ebp - 0x14b]
rep stosd dword es:[edi], eax
push 0x458ff0
lea eax, [ebp - 0x14c]
push eax
call dword [0x42a1ec]
lea eax, [ebp - 0x14c]
push eax
call dword [0x42a214]
lea eax, [ebp + eax - 0x14c]
push 0x27
push eax
call fcn.00413732
lea eax, [ebp - 0x14c]
push eax
call fcn.00413a97
add esp, 0xc
test eax, eax
je 0x401f97
push 0x10
xor eax, eax
pop ecx
mov byte [ebp - 0x44], bl
lea edi, [ebp - 0x43]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x44]
push eax
lea eax, [ebp - 0x14c]
push eax
call fcn.0041a836
test eax, eax
pop ecx
pop ecx
je 0x401f97
push 0x40
lea eax, [ebp - 0x44]
push 0x4594f3
push eax
call fcn.004224e1
add esp, 0xc
test eax, eax
jne 0x401f91
lea eax, [ebp - 0x14c]
push eax
call fcn.00401e2a
test al, al
pop ecx
je 0x401f91
push ebx
push dword [ebp + 8]
lea eax, [ebp - 0x14c]
push eax
call dword [0x42a218]
test eax, eax
je 0x401f91
mov al, 1
jmp 0x401f99
mov byte [0x4594f2], bl
xor al, al
pop edi
pop ebx
leave
ret

Function at 0x40245c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push dword [0x4594ac]
xor ebx, ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414e03
mov esi, eax
add esp, 0xc
cmp esi, ebx
jne 0x402484
xor al, al
jmp 0x4024ed
push edi
push 7
pop ecx
xor eax, eax
mov byte [ebp - 0x20], bl
lea edi, [ebp - 0x1f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x20]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0041216e
add esp, 0xc
push ebx
push 0xa
lea eax, [ebp - 0x20]
push eax
push esi
call dword [0x42a344]
push 0x3e8
call dword [0x42a1e4]
push ebx
push esi
call fcn.004032d4
cmp eax, 1
pop ecx
pop ecx
pop edi
jne 0x4024e4
push ebx
push 0x44f798
push esi
call fcn.00402936
add esp, 0xc
test eax, eax
je 0x4024e4
mov bl, 1
push esi
call dword [0x42a348]
mov al, bl
pop esi
pop ebx
leave
ret
Function at 0x406655
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.00421df0
push esi
push dword [ebp + 8]
call fcn.0041382b
mov esi, eax
test esi, esi
pop ecx
jge 0x406677
mov esi, 0x186a0
cmp esi, 0x989680
jle 0x40668c
call fcn.00421d82
mov esi, eax
imul esi, esi, 0x3e8
push 0
push 0x80
push 4
push 0
push 2
push 0x40000000
push dword [ebp + 8]
call dword [0x42a1d8]
mov dword [ebp - 4], eax
call dword [0x42a20c]
push eax
call fcn.00421d78
cmp dword [ebp - 4], 0xffffffff
pop ecx
je 0x406715
test esi, esi
jle 0x406703
push ebx
push edi
mov edi, 0x1000
xor ebx, ebx
call fcn.00421d82
cdq
mov ecx, 0x100
idiv ecx
inc ebx
cmp ebx, edi
mov byte [ebp + ebx - 0x1009], dl
jl 0x4066ca
push 0
lea eax, [ebp - 8]
push eax
push edi
lea eax, [ebp - 0x1008]
push eax
push dword [ebp - 4]
call dword [0x42a1d4]
sub esi, dword [ebp - 8]
test esi, esi
jg 0x4066c8
pop edi
pop ebx
push dword [ebp - 4]
call dword [0x42a1e0]
push dword [ebp + 8]
call fcn.00414ef4
pop ecx
pop esi
leave
ret

Function at 0x406718
Capabilities:
Enumerate files on windows
Enumerate files recursively
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
push edi
push dword [ebp + 0x10]
call dword [0x42a1e4]
push dword [ebp + 8]
mov edi, dword [0x42a260]
lea eax, [ebp - 0x348]
push 0x42a3b4
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x348]
push eax
call dword [0x42a1e8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x40682f
push esi
mov esi, dword [0x42a1f0]
test byte [ebp - 0x244], 0x10
je 0x4067b1
cmp byte [ebp - 0x218], 0x2e
je 0x406818
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x42a3a8
push eax
call edi
push dword [ebp + 0x10]
lea eax, [ebp - 0x104]
push dword [ebp + 0xc]
push eax
call fcn.00406718
add esp, 0x1c
jmp 0x406818
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call dword [0x42a1ec]
push 0x42a3b0
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push eax
call fcn.00413f8e
pop ecx
push 0x80
lea eax, [ebp - 0x104]
push eax
call dword [0x42a10c]
cmp byte [ebp + 0xc], 0
lea eax, [ebp - 0x104]
push eax
je 0x406812
call fcn.00406655
jmp 0x406817
call fcn.00414ef4
pop ecx
lea eax, [ebp - 0x244]
push eax
push ebx
call dword [0x42a21c]
test eax, eax
jne 0x40676c
pop esi
push ebx
call dword [0x42a220]
pop edi
xor eax, eax
pop ebx
leave
ret
Function at 0x4069aa
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
push esi
lea eax, [ebp - 0x508]
push eax
push 0x3ff
call dword [0x42a05c]
cmp byte [ebp - 0x508], 0
lea esi, [ebp - 0x508]
je 0x406a42
push 0x3e8
call dword [0x42a1e4]
mov al, byte [esi]
cmp al, 0x41
je 0x406a32
cmp al, 0x61
je 0x406a32
mov byte [ebp - 0x108], al
push 0x42a548
lea eax, [ebp - 0x107]
push eax
call dword [0x42a1ec]
lea eax, [ebp - 0x108]
push eax
call fcn.00413a97
test eax, eax
pop ecx
je 0x406a32
lea eax, [ebp - 0x108]
push eax
call fcn.00413f8e
push 0x28
lea eax, [ebp - 0x108]
push 0
push eax
call fcn.00406718
add esp, 0x10
push esi
call dword [0x42a214]
lea esi, [esi + eax + 1]
cmp byte [esi], 0
jne 0x4069d5
pop esi
leave
ret

Function at 0x406d9c
Capabilities:
Delete file
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
and dword [ebp - 4], 0
push ebx
mov ebx, dword [0x42a214]
push esi
push edi
push dword [ebp + 8]
call ebx
push 0x41
pop ecx
mov esi, eax
add esi, dword [ebp + 8]
xor eax, eax
push 0x41
mov byte [ebp - 0x110], 0
lea edi, [ebp - 0x10f]
rep stosd dword es:[edi], eax
pop ecx
mov byte [ebp - 0x218], al
lea edi, [ebp - 0x217]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x418], al
push 0x7f
pop ecx
lea edi, [ebp - 0x417]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp byte [esi], 0x5c
je 0x406e12
cmp esi, dword [ebp + 8]
jbe 0x406e05
dec esi
cmp byte [esi], 0x5c
jne 0x406dfa
cmp byte [esi], 0x5c
je 0x406e12
or eax, 0xffffffff
jmp 0x406f71
push 0x458ff0
lea eax, [ebp - 0x110]
push eax
inc esi
call dword [0x42a1ec]
push esi
lea eax, [ebp - 0x110]
push eax
call dword [0x42a1f0]
call dword [0x42a20c]
push eax
call fcn.00421d78
pop ecx
call fcn.00421d82
push 0xa
cdq
pop ecx
idiv ecx
lea eax, [ebp - 0x110]
add edx, 4
push edx
push eax
call ebx
lea eax, [ebp + eax - 0x110]
push eax
call fcn.00413663
lea eax, [ebp - 0x110]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x418]
push 0x42a574
push eax
call dword [0x42a260]
add esp, 0x18
xor edi, edi
push edi
push edi
lea eax, [ebp - 0x418]
push eax
push 0x459550
push edi
push edi
call dword [0x458c8c]
push 0xbb8
call dword [0x42a1e4]
lea eax, [ebp - 0x110]
push eax
call fcn.00413a97
test eax, eax
pop ecx
je 0x406f61
push edi
push 0x80
push 3
push edi
push 1
push 0x80000000
lea eax, [ebp - 0x110]
push eax
call dword [0x42a1d8]
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
je 0x406f5d
lea eax, [ebp - 0x218]
push esi
push eax
mov dword [ebp - 8], edi
call fcn.004220a0
pop ecx
pop ecx
push esi
push esi
call ebx
push eax
lea eax, [ebp - 0x218]
push eax
call ebx
lea eax, [ebp + eax - 0x218]
push eax
call fcn.004135c8
add esp, 0xc
push edi
lea eax, [ebp - 8]
push eax
push 0x100
lea eax, [ebp - 0x418]
push eax
push dword [ebp + 8]
call dword [0x42a1dc]
push dword [ebp + 8]
mov byte [ebp - 0x2ec], 0
call dword [0x42a1e0]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x418]
push eax
call fcn.00413761
test eax, eax
pop ecx
pop ecx
je 0x406f61
mov dword [ebp - 4], 1
jmp 0x406f61
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x110]
push eax
call dword [0x42a204]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x406f76
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
push ebx
mov ebx, dword [0x42a214]
push esi
push edi
push dword [ebp + 8]
call ebx
push 0x41
pop ecx
mov esi, eax
add esi, dword [ebp + 8]
xor eax, eax
push 0x41
mov byte [ebp - 0x10c], 0
lea edi, [ebp - 0x10b]
rep stosd dword es:[edi], eax
pop ecx
mov byte [ebp - 0x214], al
lea edi, [ebp - 0x213]
rep stosd dword es:[edi], eax
mov byte [ebp - 0x414], al
push 0x7f
pop ecx
lea edi, [ebp - 0x413]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
cmp byte [esi], 0x5c
je 0x406fe8
cmp esi, dword [ebp + 8]
jbe 0x406fdb
dec esi
cmp byte [esi], 0x5c
jne 0x406fd0
cmp byte [esi], 0x5c
je 0x406fe8
or eax, 0xffffffff
jmp 0x407108
push 0x458ff0
lea eax, [ebp - 0x10c]
push eax
inc esi
call dword [0x42a1ec]
push esi
lea eax, [ebp - 0x10c]
push eax
call dword [0x42a1f0]
call dword [0x42a20c]
push eax
call fcn.00421d78
pop ecx
call fcn.00421d82
push 0xa
cdq
pop ecx
idiv ecx
lea eax, [ebp - 0x10c]
add edx, 4
push edx
push eax
call ebx
lea eax, [ebp + eax - 0x10c]
push eax
call fcn.00413663
lea eax, [ebp - 0x214]
push esi
push eax
call fcn.004220a0
add esp, 0x10
push esi
push esi
call ebx
push eax
lea eax, [ebp - 0x214]
push eax
call ebx
lea eax, [ebp + eax - 0x214]
push eax
call fcn.004135c8
add esp, 0xc
xor esi, esi
push esi
push 0x80
push 2
push esi
push 2
push 0x40000000
lea eax, [ebp - 0x10c]
push eax
call dword [0x42a1d8]
mov edi, eax
or eax, 0xffffffff
cmp edi, eax
je 0x407108
push esi
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x214]
push eax
mov dword [ebp - 4], esi
call ebx
push eax
lea eax, [ebp - 0x214]
push eax
push edi
call dword [0x42a1d4]
push edi
call dword [0x42a1e0]
push dword [ebp + 8]
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x414]
push 0x42a590
push eax
call dword [0x42a260]
add esp, 0x10
push esi
push esi
lea eax, [ebp - 0x414]
push eax
push 0x459550
push esi
push esi
call dword [0x458c8c]
push 0x3e8
call dword [0x42a1e4]
lea eax, [ebp - 0x10c]
push eax
call dword [0x42a204]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x407850
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0x348
push ebx
push esi
push edi
mov edi, dword [ebp + 0x7c]
push 5
inc edi
call dword [0x42a1e4]
push dword [ebp + 0x78]
mov esi, dword [0x42a260]
and dword [ebp + 0x7c], 0
lea eax, [ebp - 0x2d8]
push 0x42a3b4
push eax
call esi
add esp, 0xc
lea eax, [ebp - 0xd0]
push eax
lea eax, [ebp - 0x2d8]
push eax
call dword [0x42a1e8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4079b7
test byte [ebp - 0xd0], 0x10
je 0x4078ee
cmp byte [ebp - 0xa4], 0x2e
je 0x4078ee
cmp edi, 3
jg 0x4078ee
lea eax, [ebp - 0xa4]
push eax
push dword [ebp + 0x78]
lea eax, [ebp - 0x1d4]
push 0x42a3a8
push eax
call esi
lea eax, [ebp - 0x1d4]
push edi
push eax
call fcn.00407850
add esp, 0x18
test eax, eax
jne 0x4079ca
lea eax, [ebp - 0xa4]
push 0x42a570
push eax
call fcn.00421f60
test eax, eax
pop ecx
pop ecx
je 0x407908
mov byte [eax], 0
lea eax, [ebp - 0xa4]
push 0x42a40c
push eax
call fcn.00413761
test eax, eax
pop ecx
pop ecx
jne 0x407983
lea eax, [ebp - 0xa4]
push eax
call fcn.00414b64
test al, al
pop ecx
je 0x407983
lea eax, [ebp - 0xa4]
push eax
call fcn.0040777d
test al, al
pop ecx
je 0x407983
lea eax, [ebp - 0xa4]
push eax
call fcn.00407715
test al, al
pop ecx
jne 0x407983
mov eax, dword [0x457880]
mov cl, byte [ebp - 0xa4]
shl eax, 6
cmp cl, byte [eax + 0x454640]
jne 0x407976
mov cl, byte [ebp - 0xa3]
cmp cl, byte [eax + 0x454641]
je 0x407983
lea eax, [ebp - 0xa4]
push eax
call fcn.0040774b
pop ecx
inc dword [ebp + 0x7c]
lea eax, [ebp - 0xd0]
push eax
push ebx
call dword [0x42a21c]
test eax, eax
je 0x4079b7
cmp dword [0x457880], 0xc7
ja 0x4079b7
cmp dword [ebp + 0x7c], 0x1e
jl 0x4078a7
cmp edi, 1
je 0x4078a7
xor esi, esi
push ebx
call dword [0x42a220]
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x70
leave
ret
xor esi, esi
inc esi
jmp 0x4079b9

Function at 0x407b0a
Capabilities:
Set file attributes
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, dword [0x42a10c]
mov esi, 0x80
push esi
push dword [ebp + 0x10]
xor ebx, ebx
mov dword [ebp - 4], ebx
call edi
push ebx
push esi
push 2
push ebx
push 2
push 0x40000000
push dword [ebp + 0x10]
call dword [0x42a1d8]
mov esi, eax
cmp esi, 0xffffffff
je 0x407b55
push ebx
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push esi
call dword [0x42a1d4]
push esi
call dword [0x42a1e0]
push dword [ebp + 0x10]
call fcn.00413aac
cmp byte [ebp + 0x14], bl
pop ecx
je 0x407b81
cmp byte [ebp + 0x14], 1
jne 0x407b74
push 5
jmp 0x407b7c
cmp byte [ebp + 0x14], 2
jne 0x407b81
push 7
push dword [ebp + 0x10]
call edi
mov eax, dword [ebp + 0xc]
cmp dword [ebp - 4], eax
pop edi
pop esi
sete al
pop ebx
leave
ret
Function at 0x408d16
Capabilities:
Get system information on windows

Disassembly:
push ebp
lea ebp, [esp - 0x64]
sub esp, 0xc0
push ebx
push esi
push edi
push 0x24
lea eax, [ebp + 0x40]
push 0
push eax
call fcn.00421c60
mov esi, 0x9c
push esi
lea eax, [ebp - 0x5c]
push 0
push eax
call fcn.00421c60
add esp, 0x18
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], esi
mov esi, dword [0x42a084]
push eax
call esi
test eax, eax
jne 0x408d65
lea eax, [ebp - 0x5c]
push eax
mov dword [ebp - 0x5c], 0x94
call esi
mov esi, dword [0x42a07c]
push 0x42a670
mov ebx, 0x42a650
push ebx
call esi
mov edi, dword [0x42a078]
push eax
call edi
test eax, eax
je 0x408d8d
lea ecx, [ebp + 0x40]
push ecx
call eax
jmp 0x408d97
lea eax, [ebp + 0x40]
push eax
call dword [0x42a080]
push 0x42a660
push ebx
call esi
push eax
call edi
cmp dword [ebp - 0x4c], 2
pop edi
pop esi
pop ebx
je 0x408daf
xor al, al
jmp 0x408df1
mov eax, dword [ebp - 0x58]
mov ecx, dword [ebp - 0x54]
mov edx, dword [ebp + 0x70]
lea eax, [eax + eax*4]
lea eax, [ecx + eax*2]
mov ecx, dword [ebp + 0x6c]
mov dword [ecx], eax
mov al, 1
cmp byte [ebp + 0x3e], al
setne cl
mov byte [edx], cl
movzx ecx, word [ebp + 0x38]
mov edx, dword [ebp + 0x74]
mov dword [edx], ecx
mov ecx, dword [ebp - 0x50]
mov edx, dword [ebp + 0x7c]
and ecx, 0xffff
cmp word [ebp + 0x40], 0
mov dword [edx], ecx
mov edx, dword [ebp + 0x78]
sete cl
mov byte [edx], cl
add ebp, 0x64
leave
ret

Function at 0x408f75
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x204
push ebx
push esi
xor ebx, ebx
push 0x7d0
mov byte [0x457aa0], bl
call dword [0x42a1e4]
push dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [0x457aa8], eax
push 0x32
lea eax, [ebp - 0x204]
push eax
push 0x42fbd8
mov byte [0x457aa0], 1
call fcn.00413410
add esp, 0xc
push eax
push 0x4578a0
call dword [0x42a260]
push dword [ebp + 8]
mov word [0x457890], 2
call fcn.004138bc
add esp, 0x10
push 0x50
mov dword [0x457894], eax
call dword [0x458cdc]
mov word [0x457892], ax
call dword [0x42a20c]
mov esi, dword [ebp + 0x10]
cmp esi, 1
mov dword [0x457aa4], eax
jl 0x409017
lea eax, [ebp - 4]
push eax
push ebx
push ebx
push 0x408f07
push ebx
push ebx
call dword [0x42a058]
dec esi
jne 0x409001
pop esi
pop ebx
leave
ret

Function at 0x409201
Capabilities:
Set file attributes

Disassembly:
push 0x80
push dword [esp + 0xc]
call dword [0x42a10c]
push dword [esp + 4]
call fcn.00413a97
test eax, eax
pop ecx
je 0x409263
push edi
push dword [esp + 8]
call dword [0x42a074]
mov edi, eax
test edi, edi
je 0x409262
push esi
push 1
push dword [esp + 0x14]
call dword [0x42a0b0]
mov esi, eax
test esi, esi
je 0x40925a
push esi
push 0x4091e1
push 0xe
push edi
call dword [0x42a070]
push 0
push esi
call dword [0x42a0ac]
push edi
call dword [0x42a06c]
pop esi
pop edi
ret
Function at 0x4092d5
Capabilities:
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x348
push ebx
push esi
push edi
push 5
call dword [0x42a1e4]
mov ebx, dword [ebp + 0xc]
inc ebx
cmp ebx, 1
lea eax, [ebp - 0x348]
jne 0x40930f
push dword [ebp + 0x18]
push dword [ebp + 8]
push 0x42a684
push eax
call dword [0x42a260]
add esp, 0x10
jmp 0x409321
push dword [ebp + 8]
push 0x42a3b4
push eax
call dword [0x42a260]
add esp, 0xc
lea eax, [ebp - 0x244]
push eax
lea eax, [ebp - 0x348]
push eax
call dword [0x42a1e8]
cmp eax, 0xffffffff
mov dword [ebp + 0xc], eax
je 0x409422
mov esi, dword [0x42a1ec]
mov edi, dword [0x42a1f0]
test byte [ebp - 0x244], 0x10
je 0x4093a6
cmp byte [ebp - 0x218], 0x2e
je 0x40940a
lea eax, [ebp - 0x218]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push 0x42a3a8
push eax
call dword [0x42a260]
push dword [ebp + 0x18]
lea eax, [ebp - 0x104]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push ebx
push eax
call fcn.004092d5
add esp, 0x24
test eax, eax
je 0x40940a
cmp ebx, 3
jg 0x40940a
xor esi, esi
inc esi
jmp 0x409424
lea eax, [ebp - 0x218]
push 0x42a40c
push eax
call fcn.00413761
test eax, eax
pop ecx
pop ecx
je 0x40940a
push dword [ebp + 8]
lea eax, [ebp - 0x104]
push eax
call esi
push 0x42a3b0
lea eax, [ebp - 0x104]
push eax
call edi
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x104]
push eax
call edi
lea eax, [ebp - 0x104]
push eax
call fcn.00413a97
test eax, eax
pop ecx
je 0x40940a
lea eax, [ebp - 0x104]
push eax
call fcn.0040928f
cmp eax, dword [ebp + 0x10]
pop ecx
jge 0x409434
lea eax, [ebp - 0x244]
push eax
push dword [ebp + 0xc]
call dword [0x42a21c]
test eax, eax
jne 0x40934d
xor esi, esi
push dword [ebp + 0xc]
call dword [0x42a220]
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
lea eax, [ebp - 0x104]
push eax
push dword [ebp + 0x14]
call esi
jmp 0x4093a1

Function at 0x4094e3
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push edi
push 0x80
push dword [ebp + 8]
call dword [0x42a10c]
push 0x41
xor eax, eax
pop ecx
mov byte [ebp - 0x108], 0
lea edi, [ebp - 0x107]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0x108]
push eax
call fcn.00409445
push dword [ebp + 8]
lea eax, [ebp - 0x108]
push eax
call fcn.00409201
add esp, 0xc
pop edi
leave
ret

Function at 0x409530
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x88
push esi
push edi
mov esi, 0x457ab8
push esi
call dword [0x42a214]
xor edi, edi
cmp eax, edi
mov dword [ebp - 4], eax
jbe 0x4095b1
push ebx
push edi
push 0x80
push 4
push edi
push 2
push 0x40000000
lea eax, [ebp - 0x88]
push 0x26
push eax
call fcn.00413732
pop ecx
pop ecx
push eax
call dword [0x42a1d8]
mov ebx, eax
cmp ebx, 0xffffffff
je 0x4095b0
push 2
push edi
push edi
push ebx
call dword [0x42a1d0]
push edi
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push esi
push ebx
call dword [0x42a1d4]
push ebx
call dword [0x42a1e0]
push 0x1000
push edi
push esi
call fcn.00421c60
add esp, 0xc
pop ebx
pop edi
pop esi
leave
ret