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

Disassembly:
push 0xffffffffffffffff
push 0x4462a8
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c4c4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
push 0
push 0x2e
lea ecx, [esp + 0x20]
call fcn.00438090
mov eax, dword [esp + 0x1c]
mov edi, dword [esp + 0x34]
push 1
push 0x2e
push eax
mov ecx, edi
mov dword [esp + 0x38], 0
call fcn.0043a5d0
mov eax, dword [esp + 0x1c]
mov ecx, dword [eax]
mov dword [esi + 4], ecx
movzx edx, word [eax + 4]
mov word [esi + 8], dx
movzx ecx, word [eax + 6]
mov word [esi + 0xa], cx
movzx edx, word [eax + 8]
mov word [esi + 0xc], dx
movzx ecx, word [eax + 0xa]
mov word [esi + 0xe], cx
movzx edx, word [eax + 0xc]
mov word [esi + 0x10], dx
movzx ecx, word [eax + 0xe]
mov word [esi + 0x12], cx
mov edx, dword [eax + 0x10]
mov dword [esi + 0x14], edx
mov ecx, dword [eax + 0x14]
mov dword [esi + 0x18], ecx
mov edx, dword [eax + 0x18]
mov dword [esi + 0x1c], edx
movzx ecx, word [eax + 0x20]
movzx edx, word [eax + 0x22]
movzx ebx, word [eax + 0x1c]
movzx ebp, word [eax + 0x1e]
mov word [esi + 0x20], dx
mov dword [esp + 0x34], ecx
movzx ecx, word [eax + 0x24]
mov word [esi + 0x22], cx
mov edx, dword [eax + 0x26]
mov dword [esi + 0x24], edx
mov eax, dword [eax + 0x2a]
lea ecx, [esp + 0x18]
mov dword [esi + 0x28], eax
call fcn.00437f70
mov ecx, dword [esi + 4]
cmp ecx, dword [0x45da78]
jne 0x436ee9
mov edx, dword [edi + 0x50]
movzx ebx, bx
push 0
push ebx
lea ecx, [esi + 0x38]
mov dword [esp + 0x1c], edx
call fcn.00437fa0
mov eax, dword [esi + 0x3c]
push 1
push ebx
push eax
mov ecx, edi
call fcn.0043a5d0
test bp, bp
je 0x436ea5
movzx ebx, bp
push 0
push ebx
lea ecx, [esi + 0x2c]
call fcn.00437fa0
mov eax, dword [esi + 0x30]
push 1
push ebx
push eax
mov ecx, edi
call fcn.0043a5d0
mov eax, dword [esp + 0x34]
test ax, ax
je 0x436eca
movzx ebx, ax
push 0
push ebx
lea ecx, [esi + 0x44]
call fcn.00437fa0
mov esi, dword [esi + 0x48]
push 1
push ebx
push esi
mov ecx, edi
call fcn.0043a5d0
mov eax, dword [esp + 0x14]
cmp dword [edi + 0x50], eax
lea ecx, [esp + 0x18]
sete bl
mov dword [esp + 0x2c], 0xffffffff
call fcn.004380c0
mov al, bl
jmp 0x436efc
lea ecx, [esp + 0x18]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004380c0
xor al, al
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x1c
ret 4
Function at 0x43a690
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 8]
mov ecx, dword [esp + 4]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
neg eax
sbb eax, eax
neg eax
ret

Function at 0x43a830
Capabilities:
Access peb ldr_data
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x446888
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
mov eax, dword [0x45c4c4]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov eax, dword [esp + 0x34]
push eax
lea ecx, [esp + 0x10]
call fcn.00435330
lea ecx, [esp + 8]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x30], 0
call fcn.0043a800
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
cmp eax, 2
mov eax, dword [esp + 8]
sete bl
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43a8a7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], 0xffffffff
call fcn.0043abc0
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop ebx
add esp, 0x28
ret
Function at 0x43a8d0
Capabilities:
Get disk size

Disassembly:
push 0xffffffffffffffff
push 0x4468c0
mov eax, dword fs:[0]
push eax
sub esp, 0x30
push ebx
push ebp
push esi
push edi
mov eax, dword [0x45c4c4]
xor eax, esp
push eax
lea eax, [esp + 0x44]
mov dword fs:[0], eax
mov eax, dword [esp + 0x54]
push eax
lea ecx, [esp + 0x30]
call fcn.00435330
lea ecx, [esp + 0x14]
push ecx
xor ebx, ebx
lea ecx, [esp + 0x30]
mov dword [esp + 0x50], ebx
call fcn.0043a800
mov esi, dword [esp + 0x14]
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
push esi
mov byte [esp + 0x60], 1
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x43a9ff
push 0x44d9a4
lea ecx, [esp + 0x18]
call fcn.004033f0
mov esi, dword [esp + 0x14]
mov ebp, dword [esi - 0xc]
mov eax, dword [esi - 8]
mov ecx, 1
sub ecx, dword [esi - 4]
lea edi, [ebp + 1]
sub eax, edi
or eax, ecx
jge 0x43a97c
push edi
lea ecx, [esp + 0x18]
call fcn.00402040
mov esi, dword [esp + 0x14]
cmp edi, ebx
mov byte [esi + ebp], 0x5c
jl 0x43a9f5
cmp edi, dword [esi - 8]
jg 0x43a9f5
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x28]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x28]
push eax
mov dword [esi - 0xc], edi
push esi
mov byte [edi + esi], bl
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x43a9ff
lea eax, [esi - 0x10]
mov byte [esp + 0x4c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43a9ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0043abc0
xor eax, eax
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret
push 0x80070057
call fcn.004021b0
mov edi, dword [esp + 0x1c]
imul edi, dword [esp + 0x20]
imul edi, dword [esp + 0x24]
lea eax, [esi - 0x10]
mov dword [esp + 0x18], ebx
mov byte [esp + 0x4c], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x43aa31
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x2c]
mov dword [esp + 0x4c], 0xffffffff
call fcn.0043abc0
mov eax, edi
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x3c
ret

Function at 0x43ab60
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryA]
push esi
push 0
push 0
call ebp
mov esi, eax
test esi, esi
jne 0x43ab79
pop esi
xor al, al
pop ebp
ret
push ebx
push edi
push esi
call fcn.0040496a
add esp, 4
mov edi, eax
push edi
push esi
mov bl, 1
call ebp
test eax, eax
jne 0x43aba2
push edi
xor bl, bl
call fcn.00404975
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
ret
mov ecx, dword [esp + 0x14]
push edi
call fcn.00402380
push edi
call fcn.00404975
add esp, 4
pop edi
mov al, bl
pop ebx
pop esi
pop ebp
ret
Function at 0x43d360
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4469e1
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x45c4c4]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
push eax
lea ecx, [esp + 0x10]
mov dword [esp + 0x14], 0
call fcn.004023a0
movzx ecx, byte [0x44ffa9]
push ecx
lea ecx, [esp + 0x10]
mov dword [esp + 0x3c], 0
call fcn.0043ac70
mov edx, dword [esp + 0xc]
push edx
lea ecx, [esp + 0x1c]
call fcn.00435330
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 1
call fcn.00435f60
mov ecx, dword [esp + 0xc]
xor edx, edx
test ecx, ecx
setne dl
mov byte [esp + 0x38], 2
mov dword [esp + 0x10], 1
test edx, edx
jne 0x43d3fb
push 0x80004005
call fcn.004021b0
mov eax, dword [eax]
push ecx
push eax
call fcn.004236c1
add esp, 8
or edi, 0xffffffff
test eax, eax
je 0x43d423
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0043a730
add esp, 4
cmp eax, edi
je 0x43d423
xor bl, bl
jmp 0x43d425
mov bl, 1
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov dword [esp + 0x38], 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43d44c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
jne 0x43d535
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x1c]
call fcn.00435f60
mov eax, dword [eax]
push eax
mov byte [esp + 0x3c], 3
call fcn.0043d360
add esp, 4
test al, al
mov eax, dword [esp + 0x14]
sete bl
add eax, 0xfffffff0
mov byte [esp + 0x38], 1
lea edx, [eax + 0xc]
mov ecx, edi
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x43d49b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test bl, bl
je 0x43d4e2
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.0043abc0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea ecx, [eax + 0xc]
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x43d4ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0043a7a0
add esp, 4
test al, al
jne 0x43d535
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], al
call fcn.0043abc0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
mov dword [esp + 0x38], edi
lea edx, [eax + 0xc]
lock xadd dword [edx], edi
dec edi
test edi, edi
jg 0x43d4ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor al, al
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
lea ecx, [esp + 0x18]
mov byte [esp + 0x38], 0
call fcn.0043abc0
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
mov dword [esp + 0x38], edi
lock xadd dword [ecx], edi
dec edi
test edi, edi
jg 0x43d564
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov al, 1
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
Function at 0x43def0
Capabilities:
Compute adler32 checksum

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0xc]
movzx ecx, di
shr edi, 0x10
test esi, esi
jne 0x43df0a
pop edi
lea eax, [esi + 1]
pop esi
ret
push ebx
mov ebx, dword [esp + 0x18]
test ebx, ebx
jbe 0x43e01a
push ebp
jmp 0x43df20
mov eax, ebx
cmp ebx, 0x15b0
jb 0x43df2f
mov eax, 0x15b0
sub ebx, eax
cmp eax, 0x10
jl 0x43dfdb
mov edx, eax
shr edx, 4
mov ebp, edx
neg ebp
shl ebp, 4
add eax, ebp
jmp 0x43df50
movzx ebp, byte [esi]
add ecx, ebp
movzx ebp, byte [esi + 1]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 2]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 3]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 4]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 5]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 6]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 7]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 8]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 9]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xa]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xb]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xc]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xd]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xe]
add edi, ecx
add ecx, ebp
movzx ebp, byte [esi + 0xf]
add edi, ecx
add ecx, ebp
add edi, ecx
add esi, 0x10
sub edx, 1
jne 0x43df50
test eax, eax
je 0x43dfed
nop
movzx edx, byte [esi]
add ecx, edx
inc esi
add edi, ecx
sub eax, 1
jne 0x43dfe0
mov eax, 0x80078071
mul ecx
shr edx, 0xf
imul edx, edx, 0xffff000f
add ecx, edx
mov eax, 0x80078071
mul edi
shr edx, 0xf
imul edx, edx, 0xffff000f
add edi, edx
test ebx, ebx
ja 0x43df20
pop ebp
mov eax, edi
pop ebx
shl eax, 0x10
pop edi
or eax, ecx
pop esi
ret

Function at 0x441780
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 4], eax
mov ecx, 1
test ecx, ecx
je 0x4417fa
push 0x451748
mov edx, dword [ebp - 4]
push edx
call fcn.004045a0
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x4417d0
cmp dword [ebp + 0xc], 0
je 0x4417ce
mov eax, dword [ebp - 4]
movzx ecx, word [eax]
test ecx, ecx
je 0x4417ce
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
jmp 0x4417fa
xor eax, eax
mov ecx, dword [ebp - 8]
mov word [ecx], ax
push 0
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov eax, 0x5c
mov ecx, dword [ebp - 8]
mov word [ecx], ax
mov edx, dword [ebp - 8]
add edx, 2
mov dword [ebp - 4], edx
jmp 0x44178f
mov esp, ebp
pop ebp
ret 8
Function at 0x442aa0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446d1f
mov eax, dword fs:[0]
push eax
sub esp, 0x14
mov eax, dword [0x45c4c4]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x20], ecx
mov ecx, dword [ebp - 0x20]
call fcn.004076cf
push 0
mov ecx, dword [ebp - 0x20]
call fcn.00404820
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x442b40
lea ecx, [ebp - 0x14]
call fcn.004031f0
mov dword [ebp - 4], 0
push 0x65
lea ecx, [ebp - 0x14]
call fcn.00401d10
lea ecx, [ebp - 0x14]
call fcn.004036e0
movzx eax, al
test eax, eax
jne 0x442b31
push 0
push 0
push 0x800
mov ecx, dword [ebp - 0x10]
call fcn.004047f0
lea ecx, [ebp - 0x14]
call fcn.00401e50
push eax
push 0x10
push 0
mov ecx, dword [ebp - 0x10]
call fcn.004047f0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.00401a60
push 1
mov ecx, dword [ebp - 0x20]
mov edx, dword [ecx + 0x88]
push edx
mov ecx, dword [ebp - 0x20]
call fcn.004047c0
push 0
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x88]
push ecx
mov ecx, dword [ebp - 0x20]
call fcn.004047c0
mov edx, dword [ebp - 0x20]
cmp dword [edx + 0x74], 0
je 0x442bb2
mov dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push 0
mov ecx, dword [ebp - 0x20]
push ecx
push 0x442a50
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x442ba6
mov edx, dword [ebp - 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x442bb0
mov eax, dword [ebp - 0x20]
mov dword [eax + 0x78], 0
jmp 0x442bbc
mov ecx, dword [ebp - 0x20]
mov dword [ecx + 0x78], 0
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret

Function at 0x442bd0
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x442c08
push 0
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret
Function at 0x4438e0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
push 0x44
push 0
lea eax, [ebp - 0x58]
push eax
call fcn.00423520
add esp, 0xc
mov dword [ebp - 0x58], 0x44
mov dword [ebp - 0x2c], 1
mov cx, word [ebp + 0xc]
mov word [ebp - 0x28], cx
mov dword [ebp - 0x5c], 0
push 0x10
push 0
lea edx, [ebp - 0x10]
push edx
call fcn.00423520
add esp, 0xc
lea eax, [ebp - 0x10]
push eax
lea ecx, [ebp - 0x58]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
mov edx, dword [ebp + 8]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
je 0x44398d
cmp dword [ebp + 0x10], 0
je 0x44396d
cmp dword [ebp - 0x10], 0
je 0x44396d
push 0xffffffffffffffff
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea ecx, [ebp - 0x5c]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
cmp dword [ebp - 0x10], 0
je 0x44397d
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0xc], 0
je 0x44398d
mov ecx, dword [ebp - 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x5c]
mov esp, ebp
pop ebp
ret
Function at 0x4439a0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446bfe
mov eax, dword fs:[0]
push eax
sub esp, 0xa4
mov eax, dword [0x45c4c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x88]
call fcn.00401a00
mov dword [ebp - 4], 0
push 0x3c
push 0
lea ecx, [ebp - 0x68]
push ecx
call fcn.00423520
add esp, 0xc
mov dword [ebp - 0x68], 0x3c
mov dword [ebp - 0x5c], str.open
lea ecx, [ebp - 0x88]
call fcn.00401a40
mov dword [ebp - 0x58], eax
lea ecx, [ebp - 0x2c]
call fcn.00402c90
mov byte [ebp - 4], 1
push 0xffffffffffffffff
push 0x4518cc
lea ecx, [ebp - 0x88]
call fcn.00402d00
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0xffffffff
je 0x443a83
mov edx, dword [ebp - 0x6c]
add edx, 1
push edx
push 0
lea eax, [ebp - 0xa8]
push eax
lea ecx, [ebp - 0x88]
call fcn.004012e0
mov dword [ebp - 0xac], eax
mov ecx, dword [ebp - 0xac]
mov dword [ebp - 0xb0], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0xb0]
push edx
lea ecx, [ebp - 0x2c]
call fcn.00401160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0xa8]
call fcn.00402ae0
mov dword [ebp - 0x54], 0
lea ecx, [ebp - 0x2c]
call fcn.00401a40
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x64], 0x440
mov dword [ebp - 0x4c], 0
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [ebp - 0x8c], 0
lea edx, [ebp - 0x8c]
push edx
mov eax, dword [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov ecx, dword [ebp - 0x30]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00402ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x88]
call fcn.00402ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421147
mov esp, ebp
pop ebp
ret
Function at 0x443b20
Capabilities:
Delete file
Enumerate files on windows
Enumerate files recursively

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446d45
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x45c4c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x443b5b
mov eax, dword [ebp + 8]
movsx ecx, byte [eax]
test ecx, ecx
jne 0x443b62
xor eax, eax
jmp 0x443cf8
mov edx, dword [ebp + 8]
push edx
lea ecx, [ebp - 0x170]
call fcn.00401a00
mov dword [ebp - 4], 0
push str..
lea ecx, [ebp - 0x170]
call fcn.004011a0
lea eax, [ebp - 0x154]
push eax
lea ecx, [ebp - 0x170]
call fcn.00401a40
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov dword [ebp - 0x174], eax
cmp dword [ebp - 0x174], 0xffffffff
jne 0x443bd7
mov dword [ebp - 0x17c], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00402ae0
mov eax, dword [ebp - 0x17c]
jmp 0x443cf8
push 0x4518b8
lea ecx, [ebp - 0x128]
push ecx
call fcn.00402cc0
add esp, 8
test eax, eax
je 0x443c07
push 0x4518bc
lea edx, [ebp - 0x128]
push edx
call fcn.00402cc0
add esp, 8
test eax, eax
jne 0x443c09
jmp 0x443c6d
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x170]
call fcn.00402ac0
push 0x4518c0
lea ecx, [ebp - 0x170]
call fcn.004011a0
lea ecx, [ebp - 0x128]
push ecx
lea ecx, [ebp - 0x170]
call fcn.004011a0
mov edx, dword [ebp - 0x154]
and edx, 0x10
je 0x443c5b
lea ecx, [ebp - 0x170]
call fcn.00401a40
push eax
call fcn.00443b20
add esp, 4
jmp 0x443c6d
lea ecx, [ebp - 0x170]
call fcn.00401a40
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea eax, [ebp - 0x154]
push eax
mov ecx, dword [ebp - 0x174]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x443bd7
mov edx, dword [ebp - 0x174]
push edx
call dword [sym.imp.KERNEL32.dll_FindClose]
mov dword [ebp - 0x178], 0
jmp 0x443cb1
mov eax, dword [ebp - 0x178]
add eax, 1
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 5
jge 0x443cd6
mov ecx, dword [ebp + 8]
push ecx
call fcn.00440991
add esp, 4
test eax, eax
jne 0x443ccc
jmp 0x443cd6
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x443ca2
mov dword [ebp - 0x180], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x170]
call fcn.00402ae0
mov eax, dword [ebp - 0x180]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421147
mov esp, ebp
pop ebp
ret
Function at 0x443f00
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446aeb
mov eax, dword fs:[0]
push eax
sub esp, 0x180
mov eax, dword [0x45c4c4]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x17c], ecx
mov byte [ebp - 0x13c], 0
push 0x103
push 0
lea eax, [ebp - 0x13b]
push eax
call fcn.00423520
add esp, 0xc
push str.FlSetup.ini
mov ecx, dword [ebp - 0x17c]
add ecx, 0x40
push ecx
lea edx, [ebp - 0x30]
push edx
call fcn.004016b0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x30]
call fcn.00401a40
push eax
push 0x104
lea eax, [ebp - 0x13c]
push eax
push 0x451725
push 0x451954
push str.SETUP
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x451960
lea ecx, [ebp - 0x13c]
push ecx
call fcn.004019e0
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x443fbd
mov edx, dword [ebp - 0x10]
mov byte [edx], 0
push 0x451964
mov eax, dword [ebp - 0x17c]
add eax, 0x40
push eax
lea ecx, [ebp - 0x158]
push ecx
call fcn.004016b0
add esp, 0xc
mov dword [ebp - 0x180], eax
mov edx, dword [ebp - 0x180]
mov dword [ebp - 0x184], edx
mov byte [ebp - 4], 1
lea eax, [ebp - 0x13c]
push eax
mov ecx, dword [ebp - 0x184]
push ecx
lea edx, [ebp - 0x174]
push edx
call fcn.004016b0
add esp, 0xc
mov dword [ebp - 0x188], eax
mov eax, dword [ebp - 0x188]
mov dword [ebp - 0x18c], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18c]
push ecx
mov ecx, dword [ebp - 0x17c]
add ecx, 0xb0
call fcn.00401160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x174]
call fcn.00402ae0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x158]
call fcn.00402ae0
mov ecx, dword [ebp - 0x17c]
add ecx, 0xb0
call fcn.00401a40
mov dword [ebp - 0x178], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.00402ae0
mov eax, dword [ebp - 0x178]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.00421147
mov esp, ebp
pop ebp
ret
Function at 0x4440a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x446b31
mov eax, dword fs:[0]
push eax
sub esp, 0x174
mov eax, dword [0x45c4c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x170], ecx
mov byte [ebp - 0x134], 0
push 0x103
push 0
lea eax, [ebp - 0x133]
push eax
call fcn.00423520
add esp, 0xc
push 0x451924
mov ecx, dword [ebp - 0x170]
add ecx, 0x40
push ecx
lea edx, [ebp - 0x2c]
push edx
call fcn.004016b0
add esp, 0xc
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00401a40
push eax
push 0x104
lea eax, [ebp - 0x134]
push eax
push 0x45171f
push 0x451934
push 0x451938
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push 0x451940
mov ecx, dword [ebp - 0x170]
add ecx, 0x40
push ecx
lea edx, [ebp - 0x150]
push edx
call fcn.004016b0
add esp, 0xc
mov dword [ebp - 0x174], eax
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x178], eax
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x134]
push ecx
mov edx, dword [ebp - 0x178]
push edx
lea eax, [ebp - 0x16c]
push eax
call fcn.004016b0
add esp, 0xc
mov dword [ebp - 0x17c], eax
mov ecx, dword [ebp - 0x17c]
mov dword [ebp - 0x180], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x180]
push edx
mov ecx, dword [ebp - 0x170]
add ecx, 0x78
call fcn.00401160
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x16c]
call fcn.00402ae0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x150]
call fcn.00402ae0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00402ae0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00421147
mov esp, ebp
pop ebp
ret