Function at 0x43dbbd
Capabilities:
Check if file exists
Enumerate files on windows
Get file attributes
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x53e591
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c4
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov eax, dword [esi + 0xf0]
push ebx
push ebx
push 0x184
push eax
mov dword [esp + 0x38], esi
call dword [sym.imp.USER32.dll_SendMessageA]
push 0xffffffffffffffff
lea ecx, [esi + 0x118]
push ebx
call fcn.00518684
push 0xffffffffffffffff
lea ecx, [esi + 0x140]
push ebx
call fcn.00518684
push 0xffffffffffffffff
lea ecx, [esi + 0x12c]
push ebx
call fcn.00518684
call fcn.0053597d
mov ecx, dword [eax + 4]
call fcn.0051eb65
mov eax, dword [0x596a5c]
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], eax
mov ecx, dword [0x599eb4]
mov byte [esp + 0x2dc], 2
not ecx
test cl, 1
mov dword [esp + 0x2c], ebx
je 0x43dc49
mov dword [esp + 0x38], 0xe0000000
jmp 0x43dc57
mov ecx, 0x599bf0
call fcn.004504f0
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x43dc66
mov edi, 0x5887f0
jmp 0x43dc81
cmp ebx, 1
jne 0x43dc72
mov edi, 0x5887e8
jmp 0x43dc81
cmp ebx, 2
mov edi, 0x5887e0
je 0x43dc81
mov edi, 0x5887d8
push 0x573cc0
lea edx, [esp + 0x4c]
push 0x59a3c4
push edx
call fcn.00519c4f
push edi
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0x2e4], 3
push eax
call fcn.00519c4f
mov eax, dword [eax]
lea ecx, [esp + 0x68]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov edi, eax
lea ecx, [esp + 0x60]
mov dword [esp + 0x54], edi
call fcn.00519a06
lea ecx, [esp + 0x48]
mov byte [esp + 0x2dc], 2
call fcn.00519a06
cmp edi, 0xffffffff
je 0x43e38a
lea edx, [esp + 0x94]
lea ecx, [esp + 0x10]
push edx
call fcn.00519b43
lea eax, [esp + 0x10]
push 0x587828
push eax
call fcn.004df880
lea ecx, [esp + 0x18]
mov edi, eax
push 0x58781c
push ecx
mov dword [esp + 0x34], edi
call fcn.004df880
add esp, 0x10
mov ebp, eax
test edi, edi
mov dword [esp + 0x34], ebp
jne 0x43dd4a
test ebp, ebp
jne 0x43dd4a
lea edx, [esp + 0x10]
push edx
call fcn.004dec80
mov eax, dword [esp + 0x14]
push 0x5887d0
push eax
call fcn.00501e6d
add esp, 0xc
test eax, eax
je 0x43e367
mov ebx, dword [esi + 0x120]
mov edi, 0
dec ebx
js 0x43dd85
mov ecx, dword [esi + 0x11c]
mov edx, dword [esp + 0x10]
push edx
lea eax, [ecx + edi*4]
mov eax, dword [ecx + edi*4]
push eax
call fcn.00501e6d
add esp, 8
test eax, eax
je 0x43dd7d
inc edi
cmp edi, ebx
jle 0x43dd58
jmp 0x43dd85
cmp edi, ebx
jle 0x43e367
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x43ddee
test ebp, ebp
jne 0x43ddf2
push 0x5887c8
lea eax, [esp + 0x54]
push 0x59a3c4
push eax
call fcn.00519c4f
lea ecx, [esp + 0x94]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 7
call fcn.00519c4f
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
lea ecx, [esp + 0x64]
mov dword [esp + 0x20], edi
call fcn.00519a06
lea ecx, [esp + 0x50]
mov byte [esp + 0x2dc], 2
call fcn.00519a06
jmp 0x43dede
test ebp, ebp
je 0x43ddf9
mov eax, 0x5887bc
jmp 0x43ddfe
mov eax, 0x5887b0
push eax
lea eax, [esp + 0x40]
push 0x59a3c4
push eax
call fcn.00519c4f
mov ecx, dword [esp + 0x3c]
mov byte [esp + 0x2dc], 4
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, eax
test ebp, ebp
mov dword [esp + 0x20], ebp
je 0x43dec1
push 0x5887a8
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43deb2
push 0x5887c8
lea edx, [esp + 0x5c]
push 0x59a3c4
push edx
call fcn.00519c4f
lea ecx, [esp + 0x94]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 5
call fcn.00519c4f
mov eax, dword [eax]
lea ecx, [esp + 0x2c]
lea edx, [esp + 0x14]
push ecx
push edx
push eax
mov byte [esp + 0x2e8], 6
call edi
test eax, eax
lea ecx, [esp + 0x40]
mov byte [esp + 0x2dc], 5
setne bl
call fcn.00519a06
lea ecx, [esp + 0x58]
mov byte [esp + 0x2dc], 4
call fcn.00519a06
test bl, bl
je 0x43dec1
push ebp
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [esp + 0x20], 0
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2dc], 2
call fcn.00519a06
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x43e367
test ebx, ebx
jne 0x43df12
test ebp, ebp
jne 0x43df12
push 0x58879c
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43e344
call eax
test eax, eax
mov dword [esp + 0x14], eax
je 0x43e348
jmp 0x43df16
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x1312d65
jne 0x43e348
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x43e348
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x43e348
mov eax, dword [eax + 4]
push eax
call fcn.004741f0
add esp, 4
cmp eax, 1
je 0x43e344
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
push edx
call fcn.004741f0
add esp, 4
cmp eax, 1
je 0x43e344
mov eax, dword [esp + 0x14]
push 0
push eax
call fcn.004e0030
add esp, 8
test eax, eax
je 0x43e344
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004de630
add esp, 8
test eax, eax
je 0x43e344
test ebx, ebx
jne 0x43dfa4
test ebp, ebp
mov ecx, 0x599360
je 0x43dfa9
mov ecx, 0x588798
mov eax, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
push edx
mov edx, dword [eax + 8]
mov eax, dword [eax + 0x24]
push edx
push eax
push ecx
lea ecx, [esp + 0x1b8]
push 0x588788
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
mov eax, dword [esi + 0xf0]
add esp, 0x18
lea edx, [esp + 0x1a8]
push edx
push 0
push 0x180
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov edi, eax
lea ebx, [esi + 0xd4]
push 0
push edi
mov ecx, ebx
call fcn.00532252
mov ecx, dword [0x59a5a4]
xor esi, esi
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x43e039
mov edx, dword [0x59a5a0]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [edx + esi*4]
push eax
call fcn.00501e6d
add esp, 8
test eax, eax
je 0x43e02f
inc esi
cmp esi, ebp
jle 0x43e00d
jmp 0x43e039
push 1
push edi
mov ecx, ebx
call fcn.00532252
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov esi, dword [edx + 0x120]
lea ecx, [edx + 0x118]
push esi
call fcn.00518881
push esi
push edi
mov edi, dword [esp + 0x30]
push 0x19a
mov ecx, dword [edi + 0xf0]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov eax, dword [edi + 0x148]
lea ecx, [edi + 0x140]
lea edx, [esp + 0x94]
push edx
push eax
call fcn.00518855
lea ecx, [esp + 0x10]
call fcn.00519991
mov eax, dword [0x596a5c]
mov dword [esp + 0x18], eax
push 0x573cc0
lea ecx, [esp + 0x50]
push 0x59a3c4
push ecx
mov byte [esp + 0x2e8], 8
call fcn.00519c4f
push 0x57347c
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x2e8], 9
call fcn.00519c4f
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0xa
call fcn.00519af3
lea ecx, [esp + 0x44]
mov byte [esp + 0x2dc], 9
call fcn.00519a06
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2dc], 8
call fcn.00519a06
lea eax, [esp + 0x94]
lea ecx, [esp + 0x18]
push eax
call fcn.00519d96
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x43e17b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x43e17b
push 0x588778
lea ecx, [esp + 0x14]
call fcn.00519d96
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519dd2
lea edx, [esp + 0x18]
push 0x588774
push edx
call fcn.004deb60
mov eax, dword [esp + 0x20]
push eax
call fcn.004dea60
add esp, 0xc
test eax, eax
je 0x43e1da
push 0x588770
lea ecx, [esp + 0x14]
call fcn.00519d96
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519dd2
jmp 0x43e1da
mov edx, dword [0x596a5c]
mov dword [esp + 0x1c], edx
mov ecx, dword [esp + 0x14]
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x2e0], 0xb
mov edx, dword [ecx + 4]
push edx
call fcn.004de180
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43e1c9
push 0x588754
lea ecx, [esp + 0x14]
call fcn.00519d96
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519dd2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 8
call fcn.00519a06
lea edx, [esp + 0x18]
push edx
call fcn.004dec80
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43e217
test al, 0x10
je 0x43e217
push 0x588744
lea ecx, [esp + 0x14]
call fcn.00519d96
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519dd2
push 0x588734
lea ecx, [esp + 0x14]
call fcn.00519d96
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 4]
push eax
call fcn.00519d96
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x43e283
push 0x588728
lea ecx, [esp + 0x14]
call fcn.00519d96
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.00519d96
lea eax, [esp + 0x10]
push eax
call fcn.004de460
add esp, 4
test eax, eax
jne 0x43e27f
push 0x574b70
lea ecx, [esp + 0x14]
call fcn.00519d96
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x84]
mov edx, dword [eax + 0x64]
mov eax, dword [eax + 0x54]
mov ebp, dword [sym.imp.USER32.dll_wsprintfA]
push ecx
push edx
push eax
lea ecx, [esp + 0x1b4]
push 0x5886f8
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.00519d96
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov esi, dword [eax + 0x74]
test esi, esi
je 0x43e30e
cmp byte [esi], 0
je 0x43e30e
push esi
call fcn.00474320
add esi, eax
push esi
call fcn.00474320
add esi, eax
add esp, 8
inc ebx
cmp byte [esi], 0
jne 0x43e2cd
test ebx, ebx
jle 0x43e30e
push ebx
lea ecx, [esp + 0x1ac]
push 0x5886cc
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.00519d96
mov eax, dword [edi + 0x134]
lea ecx, [edi + 0x12c]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00518881
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dc], 2
call fcn.00519a06
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x43e348
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x43e360
push 0
push ecx
push 6
call dword [eax + 0x78]
mov dword [esp + 0x2c], 0
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov edi, dword [esp + 0x54]
lea eax, [esp + 0x68]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
jne 0x43dce0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ebx, dword [esp + 0x30]
inc ebx
cmp ebx, 4
mov dword [esp + 0x30], ebx
jl 0x43dc5b
mov ecx, dword [esi + 0xf0]
push 0
push 0
push 0x186
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, esi
call fcn.0043e4b0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 1
call fcn.00519a06
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2dc], 0
call fcn.00519a06
mov dword [esp + 0x2dc], 0xffffffff
call fcn.0053597d
mov ecx, dword [eax + 4]
call fcn.0051eb7a
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d0
ret