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

Disassembly:
push 0xffffffffffffffff
push 0x538c61
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.00512fb4
push 0xffffffffffffffff
lea ecx, [esi + 0x140]
push ebx
call fcn.00512fb4
push 0xffffffffffffffff
lea ecx, [esi + 0x12c]
push ebx
call fcn.00512fb4
call fcn.00530346
mov ecx, dword [eax + 4]
call fcn.00519495
mov eax, dword [0x58f614]
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], eax
mov ecx, dword [0x592294]
mov byte [esp + 0x2dc], 2
not ecx
test cl, 1
mov dword [esp + 0x2c], ebx
je 0x43b589
mov dword [esp + 0x38], 0xe0000000
jmp 0x43b597
mov ecx, 0x591fd0
call fcn.0044e070
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x43b5a6
mov edi, str..fne
jmp 0x43b5c1
cmp ebx, 1
jne 0x43b5b2
mov edi, 0x58140c
jmp 0x43b5c1
cmp ebx, 2
mov edi, str..opk
je 0x43b5c1
mov edi, str..npk
push 0x56cc74
lea edx, [esp + 0x4c]
push 0x5927a4
push edx
call fcn.0051457f
push edi
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0x2e4], 3
push eax
call fcn.0051457f
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.00514336
lea ecx, [esp + 0x48]
mov byte [esp + 0x2dc], 2
call fcn.00514336
cmp edi, 0xffffffff
je 0x43bcca
lea edx, [esp + 0x94]
lea ecx, [esp + 0x10]
push edx
call fcn.00514473
lea eax, [esp + 0x10]
push 0x5803c0
push eax
call fcn.004dce50
lea ecx, [esp + 0x18]
mov edi, eax
push 0x5803b4
push ecx
mov dword [esp + 0x34], edi
call fcn.004dce50
add esp, 0x10
mov ebp, eax
test edi, edi
mov dword [esp + 0x34], ebp
jne 0x43b68a
test ebp, ebp
jne 0x43b68a
lea edx, [esp + 0x10]
push edx
call fcn.004dc250
mov eax, dword [esp + 0x14]
push str.krnln
push eax
call fcn.004ff41d
add esp, 0xc
test eax, eax
je 0x43bca7
mov ebx, dword [esi + 0x120]
mov edi, 0
dec ebx
js 0x43b6c5
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.004ff41d
add esp, 8
test eax, eax
je 0x43b6bd
inc edi
cmp edi, ebx
jle 0x43b698
jmp 0x43b6c5
cmp edi, ebx
jle 0x43bca7
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x43b72e
test ebp, ebp
jne 0x43b732
push str.lib_
lea eax, [esp + 0x54]
push 0x5927a4
push eax
call fcn.0051457f
lea ecx, [esp + 0x94]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 7
call fcn.0051457f
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.00514336
lea ecx, [esp + 0x50]
mov byte [esp + 0x2dc], 2
call fcn.00514336
jmp 0x43b81e
test ebp, ebp
je 0x43b739
mov eax, str.libcom.run
jmp 0x43b73e
mov eax, str.libocx.run
push eax
lea eax, [esp + 0x40]
push 0x5927a4
push eax
call fcn.0051457f
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 0x43b801
push str.InitCtl
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43b7f2
push str.lib_
lea edx, [esp + 0x5c]
push 0x5927a4
push edx
call fcn.0051457f
lea ecx, [esp + 0x94]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 5
call fcn.0051457f
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.00514336
lea ecx, [esp + 0x58]
mov byte [esp + 0x2dc], 4
call fcn.00514336
test bl, bl
je 0x43b801
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.00514336
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x43bca7
test ebx, ebx
jne 0x43b852
test ebp, ebp
jne 0x43b852
push str.GetNewInf
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43bc84
call eax
test eax, eax
mov dword [esp + 0x14], eax
je 0x43bc88
jmp 0x43b856
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x1312d65
jne 0x43bc88
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x43bc88
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x43bc88
mov eax, dword [eax + 4]
push eax
call fcn.00471980
add esp, 4
cmp eax, 1
je 0x43bc84
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00471980
add esp, 4
cmp eax, 1
je 0x43bc84
mov eax, dword [esp + 0x14]
push 0
push eax
call fcn.004dd600
add esp, 8
test eax, eax
je 0x43bc84
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004dbc10
add esp, 8
test eax, eax
je 0x43bc84
test ebx, ebx
jne 0x43b8e4
test ebp, ebp
mov ecx, 0x591750
je 0x43b8e9
mov ecx, 0x5813bc
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 str._s_s__d._d
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.0052cb85
mov ecx, dword [0x59297c]
xor esi, esi
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x43b979
mov edx, dword [0x592978]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [edx + esi*4]
push eax
call fcn.004ff41d
add esp, 8
test eax, eax
je 0x43b96f
inc esi
cmp esi, ebp
jle 0x43b94d
jmp 0x43b979
push 1
push edi
mov ecx, ebx
call fcn.0052cb85
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov esi, dword [edx + 0x120]
lea ecx, [edx + 0x118]
push esi
call fcn.005131b1
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.00513185
lea ecx, [esp + 0x10]
call fcn.005142c1
mov eax, dword [0x58f614]
mov dword [esp + 0x18], eax
push 0x56cc74
lea ecx, [esp + 0x50]
push 0x5927a4
push ecx
mov byte [esp + 0x2e8], 8
call fcn.0051457f
push 0x56c47c
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x2e8], 9
call fcn.0051457f
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0xa
call fcn.00514423
lea ecx, [esp + 0x44]
mov byte [esp + 0x2dc], 9
call fcn.00514336
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2dc], 8
call fcn.00514336
lea eax, [esp + 0x94]
lea ecx, [esp + 0x18]
push eax
call fcn.005146c6
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x43babb
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x43babb
push 0x58139c
lea ecx, [esp + 0x14]
call fcn.005146c6
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00514702
lea edx, [esp + 0x18]
push 0x581398
push edx
call fcn.004dc130
mov eax, dword [esp + 0x20]
push eax
call fcn.004dc040
add esp, 0xc
test eax, eax
je 0x43bb1a
push 0x581394
lea ecx, [esp + 0x14]
call fcn.005146c6
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00514702
jmp 0x43bb1a
mov edx, dword [0x58f614]
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.004db760
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43bb09
push 0x581378
lea ecx, [esp + 0x14]
call fcn.005146c6
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00514702
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 8
call fcn.00514336
lea edx, [esp + 0x18]
push edx
call fcn.004dc250
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43bb57
test al, 0x10
je 0x43bb57
push 0x581368
lea ecx, [esp + 0x14]
call fcn.005146c6
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00514702
push 0x581358
lea ecx, [esp + 0x14]
call fcn.005146c6
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 4]
push eax
call fcn.005146c6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x43bbc3
push 0x58134c
lea ecx, [esp + 0x14]
call fcn.005146c6
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.005146c6
lea eax, [esp + 0x10]
push eax
call fcn.004dba40
add esp, 4
test eax, eax
jne 0x43bbbf
push 0x56db24
lea ecx, [esp + 0x14]
call fcn.005146c6
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 0x58131c
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.005146c6
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov esi, dword [eax + 0x74]
test esi, esi
je 0x43bc4e
cmp byte [esi], 0
je 0x43bc4e
push esi
call fcn.00471ab0
add esi, eax
push esi
call fcn.00471ab0
add esi, eax
add esp, 8
inc ebx
cmp byte [esi], 0
jne 0x43bc0d
test ebx, ebx
jle 0x43bc4e
push ebx
lea ecx, [esp + 0x1ac]
push 0x5812f0
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.005146c6
mov eax, dword [edi + 0x134]
lea ecx, [edi + 0x12c]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.005131b1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dc], 2
call fcn.00514336
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x43bc88
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x43bca0
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 0x43b620
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 0x43b59b
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.0043bdf0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 1
call fcn.00514336
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2dc], 0
call fcn.00514336
mov dword [esp + 0x2dc], 0xffffffff
call fcn.00530346
mov ecx, dword [eax + 4]
call fcn.005194aa
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d0
ret