Function at 0x43b720
Capabilities:
Enumerate files on windows

Disassembly:
push 0xffffffffffffffff
push 0x5086dc
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x270
push ebx
push ebp
mov ebp, ecx
push esi
push edi
mov dword [esp + 0x34], ebp
lea ecx, [ebp + 4]
call fcn.00413410
mov al, byte [esp + 0x13]
mov dl, byte [esp + 0x13]
lea ecx, [ebp + 0x94]
mov dword [esp + 0x288], 0
mov byte [ecx], al
mov byte [ecx + 1], dl
mov byte [ecx + 8], 0
call fcn.0043e9f0
mov dword [ebp], 0x516078
mov eax, dword [0x550d80]
test eax, eax
mov byte [esp + 0x288], 1
jne 0x43b7ba
push 1
mov ecx, ebp
call fcn.0043d230
push 1
mov ecx, ebp
call fcn.0043ded0
push 1
mov ecx, ebp
call fcn.0043dde0
push 1
mov ecx, ebp
call fcn.0043d170
mov dword [0x550d80], 1
lea eax, [esp + 0x178]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jbe 0x43ba33
lea ecx, [esp + 0x178]
push ecx
lea ecx, [esp + 0x1c]
call fcn.004e55b7
push 0x5c
lea ecx, [esp + 0x1c]
mov byte [esp + 0x28c], 2
call fcn.004df555
mov edx, dword [0x54a6a4]
mov esi, eax
mov dword [esp + 0x20], edx
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x20]
mov byte [esp + 0x290], 3
call fcn.004df487
mov ecx, dword [eax]
push 0x53dc4c
push ecx
lea edx, [esp + 0x28]
push 0x53c5d4
push edx
mov byte [esp + 0x298], 4
call fcn.004df8fd
add esp, 0x10
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 3
call fcn.004e5549
lea eax, [esp + 0x1c]
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.004df487
push 0x53c738
lea ecx, [esp + 0x28]
push eax
push ecx
mov byte [esp + 0x294], 5
call fcn.004e57de
lea ecx, [esp + 0x1c]
mov byte [esp + 0x288], 7
call fcn.004e5549
mov ecx, 0x50
xor eax, eax
lea edi, [esp + 0x38]
lea edx, [esp + 0x38]
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x20]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ecx
mov esi, eax
mov ecx, esp
mov dword [esp + 0x2c], esp
push 0x550398
call fcn.004e55b7
push 0x53dc44
push 0x53d250
lea ecx, [esp + 0x20]
push reloc.OLEAUT32.dll_SysReAllocString
push ecx
call fcn.00437250
add esp, 0x14
xor eax, eax
cmp esi, 0xffffffff
setne al
test eax, eax
mov byte [esp + 0x288], 8
je 0x43b993
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
lea edx, [esp + 0x64]
lea ecx, [esp + 0x28]
push edx
call fcn.004e55b7
lea ecx, [esp + 0x30]
push 4
push ecx
mov ecx, eax
mov byte [esp + 0x290], 9
call fcn.004df40b
mov edx, dword [eax]
push 0x53dc3c
push edx
call fcn.004b4ed0
add esp, 8
lea ecx, [esp + 0x30]
test eax, eax
sete bl
call fcn.004e5549
lea ecx, [esp + 0x28]
mov byte [esp + 0x288], 8
call fcn.004e5549
test bl, bl
je 0x43b983
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.004b4ed0
add esp, 8
test eax, eax
je 0x43b983
push 0
push 1
push ecx
lea eax, [esp + 0x70]
mov edx, esp
mov dword [esp + 0x38], esp
lea ecx, [esp + 0x30]
push eax
push ecx
push edx
call fcn.004e57de
lea ecx, [ebp + 4]
call fcn.004149e0
lea edx, [esp + 0x38]
push edx
push esi
call edi
test eax, eax
jne 0x43b8f3
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x14]
xor edi, edi
cmp dword [eax - 8], edi
je 0x43b9cb
push edi
push 1
push ecx
lea edx, [esp + 0x20]
mov ecx, esp
mov dword [esp + 0x38], esp
lea eax, [esp + 0x30]
push edx
push eax
push ecx
call fcn.004e5778
lea ecx, [ebp + 4]
call fcn.004149e0
cmp eax, edi
jne 0x43b9ef
mov ecx, dword [ebp + 8]
cmp ecx, edi
je 0x43b9d7
call fcn.00450d80
lea esi, [ebp + 0xc]
push 0x550398
mov ecx, esi
call fcn.00411d80
mov dword [esi + 0x14], edi
mov dword [esi + 0x18], edi
mov dword [esi + 0x1c], edi
lea ecx, [esp + 0x14]
mov byte [esp + 0x288], 7
call fcn.004e5549
lea ecx, [esp + 0x24]
mov byte [esp + 0x288], 3
call fcn.004e5549
lea ecx, [esp + 0x20]
mov byte [esp + 0x288], 2
call fcn.004e5549
lea ecx, [esp + 0x18]
mov byte [esp + 0x288], 1
call fcn.004e5549
mov ecx, 0x10
xor eax, eax
lea edi, [ebp + 0x54]
push 1
rep stosd dword es:[edi], eax
mov ecx, ebp
call fcn.0043e1d0
mov ecx, dword [esp + 0x280]
pop edi
mov eax, ebp
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x27c
ret