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

Disassembly:
push 0xffffffffffffffff
push 0x53e121
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.00518294
push 0xffffffffffffffff
lea ecx, [esi + 0x140]
push ebx
call fcn.00518294
push 0xffffffffffffffff
lea ecx, [esi + 0x12c]
push ebx
call fcn.00518294
call fcn.00535588
mov ecx, dword [eax + 4]
call fcn.0051e772
mov eax, dword [0x59697c]
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], eax
mov ecx, dword [0x599dcc]
mov byte [esp + 0x2dc], 2
not ecx
test cl, 1
mov dword [esp + 0x2c], ebx
je 0x43d719
mov dword [esp + 0x38], 0xe0000000
jmp 0x43d727
mov ecx, 0x599b08
call fcn.0044ffa0
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x43d736
mov edi, str..fne
jmp 0x43d751
cmp ebx, 1
jne 0x43d742
mov edi, 0x588788
jmp 0x43d751
cmp ebx, 2
mov edi, str..opk
je 0x43d751
mov edi, str..npk
push 0x573c74
lea edx, [esp + 0x4c]
push 0x59a2dc
push edx
call fcn.0051985f
push edi
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0x2e4], 3
push eax
call fcn.0051985f
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.00519616
lea ecx, [esp + 0x48]
mov byte [esp + 0x2dc], 2
call fcn.00519616
cmp edi, 0xffffffff
je 0x43de5a
lea edx, [esp + 0x94]
lea ecx, [esp + 0x10]
push edx
call fcn.00519753
lea eax, [esp + 0x10]
push 0x5877d8
push eax
call fcn.004df460
lea ecx, [esp + 0x18]
mov edi, eax
push 0x5877cc
push ecx
mov dword [esp + 0x34], edi
call fcn.004df460
add esp, 0x10
mov ebp, eax
test edi, edi
mov dword [esp + 0x34], ebp
jne 0x43d81a
test ebp, ebp
jne 0x43d81a
lea edx, [esp + 0x10]
push edx
call fcn.004de860
mov eax, dword [esp + 0x14]
push str.krnln
push eax
call fcn.00501a6d
add esp, 0xc
test eax, eax
je 0x43de37
mov ebx, dword [esi + 0x120]
mov edi, 0
dec ebx
js 0x43d855
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.00501a6d
add esp, 8
test eax, eax
je 0x43d84d
inc edi
cmp edi, ebx
jle 0x43d828
jmp 0x43d855
cmp edi, ebx
jle 0x43de37
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x43d8be
test ebp, ebp
jne 0x43d8c2
push str.lib_
lea eax, [esp + 0x54]
push 0x59a2dc
push eax
call fcn.0051985f
lea ecx, [esp + 0x94]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 7
call fcn.0051985f
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.00519616
lea ecx, [esp + 0x50]
mov byte [esp + 0x2dc], 2
call fcn.00519616
jmp 0x43d9ae
test ebp, ebp
je 0x43d8c9
mov eax, str.libcom.run
jmp 0x43d8ce
mov eax, str.libocx.run
push eax
lea eax, [esp + 0x40]
push 0x59a2dc
push eax
call fcn.0051985f
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 0x43d991
push str.InitCtl
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43d982
push str.lib_
lea edx, [esp + 0x5c]
push 0x59a2dc
push edx
call fcn.0051985f
lea ecx, [esp + 0x94]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 5
call fcn.0051985f
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.00519616
lea ecx, [esp + 0x58]
mov byte [esp + 0x2dc], 4
call fcn.00519616
test bl, bl
je 0x43d991
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.00519616
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x43de37
test ebx, ebx
jne 0x43d9e2
test ebp, ebp
jne 0x43d9e2
push str.GetNewInf
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43de14
call eax
test eax, eax
mov dword [esp + 0x14], eax
je 0x43de18
jmp 0x43d9e6
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x1312d65
jne 0x43de18
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x43de18
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x43de18
mov eax, dword [eax + 4]
push eax
call fcn.00473f60
add esp, 4
cmp eax, 1
je 0x43de14
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00473f60
add esp, 4
cmp eax, 1
je 0x43de14
mov eax, dword [esp + 0x14]
push 0
push eax
call fcn.004dfc10
add esp, 8
test eax, eax
je 0x43de14
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004de210
add esp, 8
test eax, eax
je 0x43de14
test ebx, ebx
jne 0x43da74
test ebp, ebp
mov ecx, 0x599280
je 0x43da79
mov ecx, 0x588738
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.00531e65
mov ecx, dword [0x59a4bc]
xor esi, esi
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x43db09
mov edx, dword [0x59a4b8]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [edx + esi*4]
push eax
call fcn.00501a6d
add esp, 8
test eax, eax
je 0x43daff
inc esi
cmp esi, ebp
jle 0x43dadd
jmp 0x43db09
push 1
push edi
mov ecx, ebx
call fcn.00531e65
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov esi, dword [edx + 0x120]
lea ecx, [edx + 0x118]
push esi
call fcn.00518491
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.00518465
lea ecx, [esp + 0x10]
call fcn.005195a1
mov eax, dword [0x59697c]
mov dword [esp + 0x18], eax
push 0x573c74
lea ecx, [esp + 0x50]
push 0x59a2dc
push ecx
mov byte [esp + 0x2e8], 8
call fcn.0051985f
push 0x57347c
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x2e8], 9
call fcn.0051985f
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0xa
call fcn.00519703
lea ecx, [esp + 0x44]
mov byte [esp + 0x2dc], 9
call fcn.00519616
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2dc], 8
call fcn.00519616
lea eax, [esp + 0x94]
lea ecx, [esp + 0x18]
push eax
call fcn.005199a6
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x43dc4b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x43dc4b
push 0x588718
lea ecx, [esp + 0x14]
call fcn.005199a6
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.005199e2
lea edx, [esp + 0x18]
push 0x588714
push edx
call fcn.004de740
mov eax, dword [esp + 0x20]
push eax
call fcn.004de640
add esp, 0xc
test eax, eax
je 0x43dcaa
push 0x588710
lea ecx, [esp + 0x14]
call fcn.005199a6
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.005199e2
jmp 0x43dcaa
mov edx, dword [0x59697c]
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.004ddd60
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43dc99
push 0x5886f4
lea ecx, [esp + 0x14]
call fcn.005199a6
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.005199e2
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 8
call fcn.00519616
lea edx, [esp + 0x18]
push edx
call fcn.004de860
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43dce7
test al, 0x10
je 0x43dce7
push 0x5886e4
lea ecx, [esp + 0x14]
call fcn.005199a6
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.005199e2
push 0x5886d4
lea ecx, [esp + 0x14]
call fcn.005199a6
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 4]
push eax
call fcn.005199a6
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x43dd53
push 0x5886c8
lea ecx, [esp + 0x14]
call fcn.005199a6
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.005199a6
lea eax, [esp + 0x10]
push eax
call fcn.004de040
add esp, 4
test eax, eax
jne 0x43dd4f
push 0x574b24
lea ecx, [esp + 0x14]
call fcn.005199a6
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 0x588698
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.005199a6
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov esi, dword [eax + 0x74]
test esi, esi
je 0x43ddde
cmp byte [esi], 0
je 0x43ddde
push esi
call fcn.00474090
add esi, eax
push esi
call fcn.00474090
add esi, eax
add esp, 8
inc ebx
cmp byte [esi], 0
jne 0x43dd9d
test ebx, ebx
jle 0x43ddde
push ebx
lea ecx, [esp + 0x1ac]
push 0x58866c
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.005199a6
mov eax, dword [edi + 0x134]
lea ecx, [edi + 0x12c]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00518491
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dc], 2
call fcn.00519616
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x43de18
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x43de30
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 0x43d7b0
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 0x43d72b
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.0043df80
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 1
call fcn.00519616
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2dc], 0
call fcn.00519616
mov dword [esp + 0x2dc], 0xffffffff
call fcn.00535588
mov ecx, dword [eax + 4]
call fcn.0051e787
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d0
ret