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

Disassembly:
push 0xffffffffffffffff
push 0x53e4e1
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.005185f4
push 0xffffffffffffffff
lea ecx, [esi + 0x140]
push ebx
call fcn.005185f4
push 0xffffffffffffffff
lea ecx, [esi + 0x12c]
push ebx
call fcn.005185f4
call fcn.005358e8
mov ecx, dword [eax + 4]
call fcn.0051ead2
mov eax, dword [0x596a0c]
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], eax
mov ecx, dword [0x599e64]
mov byte [esp + 0x2dc], 2
not ecx
test cl, 1
mov dword [esp + 0x2c], ebx
je 0x43da69
mov dword [esp + 0x38], 0xe0000000
jmp 0x43da77
mov ecx, 0x599ba0
call fcn.00450310
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x43da86
mov edi, str..fne
jmp 0x43daa1
cmp ebx, 1
jne 0x43da92
mov edi, 0x588798
jmp 0x43daa1
cmp ebx, 2
mov edi, str..opk
je 0x43daa1
mov edi, str..npk
push 0x573c74
lea edx, [esp + 0x4c]
push 0x59a374
push edx
call fcn.00519bbf
push edi
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0x2e4], 3
push eax
call fcn.00519bbf
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.00519976
lea ecx, [esp + 0x48]
mov byte [esp + 0x2dc], 2
call fcn.00519976
cmp edi, 0xffffffff
je 0x43e1aa
lea edx, [esp + 0x94]
lea ecx, [esp + 0x10]
push edx
call fcn.00519ab3
lea eax, [esp + 0x10]
push 0x5877d8
push eax
call fcn.004df7f0
lea ecx, [esp + 0x18]
mov edi, eax
push 0x5877cc
push ecx
mov dword [esp + 0x34], edi
call fcn.004df7f0
add esp, 0x10
mov ebp, eax
test edi, edi
mov dword [esp + 0x34], ebp
jne 0x43db6a
test ebp, ebp
jne 0x43db6a
lea edx, [esp + 0x10]
push edx
call fcn.004debf0
mov eax, dword [esp + 0x14]
push str.krnln
push eax
call fcn.00501dcd
add esp, 0xc
test eax, eax
je 0x43e187
mov ebx, dword [esi + 0x120]
mov edi, 0
dec ebx
js 0x43dba5
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.00501dcd
add esp, 8
test eax, eax
je 0x43db9d
inc edi
cmp edi, ebx
jle 0x43db78
jmp 0x43dba5
cmp edi, ebx
jle 0x43e187
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x43dc0e
test ebp, ebp
jne 0x43dc12
push str.lib_
lea eax, [esp + 0x54]
push 0x59a374
push eax
call fcn.00519bbf
lea ecx, [esp + 0x94]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 7
call fcn.00519bbf
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.00519976
lea ecx, [esp + 0x50]
mov byte [esp + 0x2dc], 2
call fcn.00519976
jmp 0x43dcfe
test ebp, ebp
je 0x43dc19
mov eax, str.libcom.run
jmp 0x43dc1e
mov eax, str.libocx.run
push eax
lea eax, [esp + 0x40]
push 0x59a374
push eax
call fcn.00519bbf
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 0x43dce1
push str.InitCtl
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x43dcd2
push str.lib_
lea edx, [esp + 0x5c]
push 0x59a374
push edx
call fcn.00519bbf
lea ecx, [esp + 0x94]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 5
call fcn.00519bbf
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.00519976
lea ecx, [esp + 0x58]
mov byte [esp + 0x2dc], 4
call fcn.00519976
test bl, bl
je 0x43dce1
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.00519976
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x43e187
test ebx, ebx
jne 0x43dd32
test ebp, ebp
jne 0x43dd32
push str.GetNewInf
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x43e164
call eax
test eax, eax
mov dword [esp + 0x14], eax
je 0x43e168
jmp 0x43dd36
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x1312d65
jne 0x43e168
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x43e168
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x43e168
mov eax, dword [eax + 4]
push eax
call fcn.004742e0
add esp, 4
cmp eax, 1
je 0x43e164
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
push edx
call fcn.004742e0
add esp, 4
cmp eax, 1
je 0x43e164
mov eax, dword [esp + 0x14]
push 0
push eax
call fcn.004dffa0
add esp, 8
test eax, eax
je 0x43e164
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004de5a0
add esp, 8
test eax, eax
je 0x43e164
test ebx, ebx
jne 0x43ddc4
test ebp, ebp
mov ecx, 0x599310
je 0x43ddc9
mov ecx, 0x588748
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.005321c5
mov ecx, dword [0x59a554]
xor esi, esi
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x43de59
mov edx, dword [0x59a550]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [edx + esi*4]
push eax
call fcn.00501dcd
add esp, 8
test eax, eax
je 0x43de4f
inc esi
cmp esi, ebp
jle 0x43de2d
jmp 0x43de59
push 1
push edi
mov ecx, ebx
call fcn.005321c5
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov esi, dword [edx + 0x120]
lea ecx, [edx + 0x118]
push esi
call fcn.005187f1
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.005187c5
lea ecx, [esp + 0x10]
call fcn.00519901
mov eax, dword [0x596a0c]
mov dword [esp + 0x18], eax
push 0x573c74
lea ecx, [esp + 0x50]
push 0x59a374
push ecx
mov byte [esp + 0x2e8], 8
call fcn.00519bbf
push 0x57347c
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x2e8], 9
call fcn.00519bbf
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0xa
call fcn.00519a63
lea ecx, [esp + 0x44]
mov byte [esp + 0x2dc], 9
call fcn.00519976
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2dc], 8
call fcn.00519976
lea eax, [esp + 0x94]
lea ecx, [esp + 0x18]
push eax
call fcn.00519d06
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x43df9b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x43df9b
push 0x588728
lea ecx, [esp + 0x14]
call fcn.00519d06
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519d42
lea edx, [esp + 0x18]
push 0x588724
push edx
call fcn.004dead0
mov eax, dword [esp + 0x20]
push eax
call fcn.004de9d0
add esp, 0xc
test eax, eax
je 0x43dffa
push 0x588720
lea ecx, [esp + 0x14]
call fcn.00519d06
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519d42
jmp 0x43dffa
mov edx, dword [0x596a0c]
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.004de0f0
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x43dfe9
push 0x588704
lea ecx, [esp + 0x14]
call fcn.00519d06
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519d42
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 8
call fcn.00519976
lea edx, [esp + 0x18]
push edx
call fcn.004debf0
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x43e037
test al, 0x10
je 0x43e037
push 0x5886f4
lea ecx, [esp + 0x14]
call fcn.00519d06
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00519d42
push 0x5886e4
lea ecx, [esp + 0x14]
call fcn.00519d06
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 4]
push eax
call fcn.00519d06
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x43e0a3
push 0x5886d8
lea ecx, [esp + 0x14]
call fcn.00519d06
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.00519d06
lea eax, [esp + 0x10]
push eax
call fcn.004de3d0
add esp, 4
test eax, eax
jne 0x43e09f
push 0x574b24
lea ecx, [esp + 0x14]
call fcn.00519d06
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 0x5886a8
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.00519d06
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov esi, dword [eax + 0x74]
test esi, esi
je 0x43e12e
cmp byte [esi], 0
je 0x43e12e
push esi
call fcn.00474410
add esi, eax
push esi
call fcn.00474410
add esi, eax
add esp, 8
inc ebx
cmp byte [esi], 0
jne 0x43e0ed
test ebx, ebx
jle 0x43e12e
push ebx
lea ecx, [esp + 0x1ac]
push 0x58867c
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.00519d06
mov eax, dword [edi + 0x134]
lea ecx, [edi + 0x12c]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.005187f1
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dc], 2
call fcn.00519976
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x43e168
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x43e180
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 0x43db00
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 0x43da7b
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.0043e2d0
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 1
call fcn.00519976
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2dc], 0
call fcn.00519976
mov dword [esp + 0x2dc], 0xffffffff
call fcn.005358e8
mov ecx, dword [eax + 4]
call fcn.0051eae7
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d0
ret