Function at 0x432470
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bcc68
mov eax, dword fs:[0]
push eax
sub esp, 0x2ac
mov eax, dword [0x4f9008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x64]
push eax
call sym.XNewLook.exe_public:_class_LString___thiscall_LString::get_real_file_from_env_format_void_
push 0x250
lea eax, [ebp - 0x2b4]
mov dword [ebp - 4], 0
push 0
push eax
call fcn.004773d0
xor eax, eax
mov dword [ebp - 0x2c], vtable.LString.0
add esp, 0xc
mov dword [ebp - 0x18], 0
mov dword [ebp - 0x14], 7
mov word [ebp - 0x28], ax
mov byte [ebp - 4], 1
lea eax, [ebp - 0x60]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
lea ecx, [ebp - 0x28]
cmp dword [ebp - 0x4c], 8
push dword [ebp - 0x50]
cmovae eax, dword [ebp - 0x60]
push eax
call fcn.00409940
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x18]
test ecx, ecx
je 0x43257d
mov edx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
mov ebx, dword [ebp - 0x28]
cmp edx, 8
cmovae eax, ebx
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x43257d
cmp eax, 0x2f
je 0x43257d
mov eax, edx
sub eax, ecx
cmp eax, 1
jb 0x43255f
cmp edx, 8
lea esi, [ebp - 0x28]
push 2
cmovae esi, ebx
lea edi, [ecx + 1]
push 0x4d2b88
mov dword [ebp - 0x18], edi
lea eax, [esi + ecx*2]
push eax
call fcn.00478b30
add esp, 0xc
xor eax, eax
mov word [esi + edi*2], ax
jmp 0x43257d
push 1
push 0x4d2b88
mov byte [ebp - 0x2b8], 0
lea ecx, [ebp - 0x28]
push dword [ebp - 0x2b8]
push 1
call fcn.004090c0
xor eax, eax
mov dword [ebp - 0x48], vtable.LString.0
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x30], 7
mov word [ebp - 0x44], ax
push 1
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x44]
inc dword [sym.XNewLook.exe_unsigned_int_LString::_ui_instance_count]
push 0x4d4d88
call fcn.00409940
mov byte [ebp - 4], 4
lea eax, [ebp - 0x44]
cmp dword [ebp - 0x30], 8
lea ecx, [ebp - 0x28]
push dword [ebp - 0x34]
cmovae eax, dword [ebp - 0x44]
push eax
call fcn.00408f20
lea ecx, [ebp - 0x48]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
cmp dword [ebp - 0x14], 8
lea ecx, [ebp - 0x2b4]
lea eax, [ebp - 0x28]
cmovae eax, dword [ebp - 0x28]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x432698
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileW]
nop
mov ecx, 0x4d2b80
lea eax, [ebp - 0x288]
nop dword [eax + eax]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x432636
test dx, dx
je 0x432632
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x432636
add eax, 4
add ecx, 4
test dx, dx
jne 0x432610
xor eax, eax
jmp 0x43263b
sbb eax, eax
or eax, 1
test eax, eax
je 0x43267f
mov eax, 0x4d329c
lea ecx, [ebp - 0x288]
nop word [eax + eax]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x432676
test dx, dx
je 0x432672
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x432676
add ecx, 4
add eax, 4
test dx, dx
jne 0x432650
xor eax, eax
jmp 0x43267b
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4326c8
lea eax, [ebp - 0x2b4]
push eax
push esi
call edi
test eax, eax
jne 0x432600
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov bl, 1
lea ecx, [ebp - 0x2c]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
lea ecx, [ebp - 0x64]
call sym.XNewLook.exe_public_virtual:_void___thiscall_LString::destructor_void_
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00475880
mov esp, ebp
pop ebp
ret
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor bl, bl
jmp 0x43269a