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

Disassembly:
push 0xffffffffffffffff
push 0x54f231
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.005269d9
push 0xffffffffffffffff
lea ecx, [esi + 0x140]
push ebx
call fcn.005269d9
push 0xffffffffffffffff
lea ecx, [esi + 0x12c]
push ebx
call fcn.005269d9
call fcn.005442db
mov ecx, dword [eax + 4]
call fcn.0052c860
mov eax, dword [0x5ada84]
mov dword [esp + 0x2dc], ebx
mov dword [esp + 0x5c], eax
mov dword [esp + 0x10], eax
mov ecx, dword [0x5b1594]
mov byte [esp + 0x2dc], 2
not ecx
test cl, 1
mov dword [esp + 0x2c], ebx
je 0x4412d9
mov dword [esp + 0x38], 0xe0000000
jmp 0x4412e7
mov ecx, 0x5b12d0
call fcn.00453d20
mov dword [esp + 0x38], eax
mov dword [esp + 0x30], ebx
test ebx, ebx
jne 0x4412f6
mov edi, str..fne
jmp 0x441311
cmp ebx, 1
jne 0x441302
mov edi, 0x59f204
jmp 0x441311
cmp ebx, 2
mov edi, str..opk
je 0x441311
mov edi, str..npk
push 0x589cd0
lea edx, [esp + 0x4c]
push 0x5b1aa8
push edx
call fcn.00528194
push edi
push eax
lea eax, [esp + 0x68]
mov byte [esp + 0x2e4], 3
push eax
call fcn.00528194
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.00527eff
lea ecx, [esp + 0x48]
mov byte [esp + 0x2dc], 2
call fcn.00527eff
cmp edi, 0xffffffff
je 0x441a1a
lea edx, [esp + 0x94]
lea ecx, [esp + 0x10]
push edx
call fcn.00528088
lea eax, [esp + 0x10]
push 0x59e180
push eax
call fcn.004e6390
lea ecx, [esp + 0x18]
mov edi, eax
push 0x59e174
push ecx
mov dword [esp + 0x34], edi
call fcn.004e6390
add esp, 0x10
mov ebp, eax
test edi, edi
mov dword [esp + 0x34], ebp
jne 0x4413da
test ebp, ebp
jne 0x4413da
lea edx, [esp + 0x10]
push edx
call fcn.004e5790
mov eax, dword [esp + 0x14]
push str.krnln
push eax
call fcn.0050ffa9
add esp, 0xc
test eax, eax
je 0x4419f7
mov ebx, dword [esi + 0x120]
mov edi, 0
dec ebx
js 0x441415
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.0050ffa9
add esp, 8
test eax, eax
je 0x44140d
inc edi
cmp edi, ebx
jle 0x4413e8
jmp 0x441415
cmp edi, ebx
jle 0x4419f7
mov ebx, dword [esp + 0x24]
test ebx, ebx
jne 0x44147e
test ebp, ebp
jne 0x441482
push str.lib_
lea eax, [esp + 0x54]
push 0x5b1aa8
push eax
call fcn.00528194
lea ecx, [esp + 0x94]
lea edx, [esp + 0x64]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 7
call fcn.00528194
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.00527eff
lea ecx, [esp + 0x50]
mov byte [esp + 0x2dc], 2
call fcn.00527eff
jmp 0x44156e
test ebp, ebp
je 0x441489
mov eax, str.libcom.run
jmp 0x44148e
mov eax, str.libocx.run
push eax
lea eax, [esp + 0x40]
push 0x5b1aa8
push eax
call fcn.00528194
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 0x441551
push str.InitCtl
push ebp
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x441542
push str.lib_
lea edx, [esp + 0x5c]
push 0x5b1aa8
push edx
call fcn.00528194
lea ecx, [esp + 0x94]
lea edx, [esp + 0x40]
push ecx
push eax
push edx
mov byte [esp + 0x2e8], 5
call fcn.00528194
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.00527eff
lea ecx, [esp + 0x58]
mov byte [esp + 0x2dc], 4
call fcn.00527eff
test bl, bl
je 0x441551
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.00527eff
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x34]
mov ebx, dword [esp + 0x24]
test edi, edi
je 0x4419f7
test ebx, ebx
jne 0x4415a2
test ebp, ebp
jne 0x4415a2
push str.GetNewInf
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x4419d4
call eax
test eax, eax
mov dword [esp + 0x14], eax
je 0x4419d8
jmp 0x4415a6
mov eax, dword [esp + 0x14]
cmp dword [eax], 0x1312d65
jne 0x4419d8
mov ecx, dword [eax + 0x78]
test ecx, ecx
je 0x4419d8
mov ecx, dword [eax + 8]
test ecx, ecx
jle 0x4419d8
mov eax, dword [eax + 4]
push eax
call fcn.00478b40
add esp, 4
cmp eax, 1
je 0x4419d4
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x24]
push edx
call fcn.00478b40
add esp, 4
cmp eax, 1
je 0x4419d4
mov eax, dword [esp + 0x14]
push 0
push eax
call fcn.004e6b40
add esp, 8
test eax, eax
je 0x4419d4
mov ecx, dword [esp + 0x38]
mov edx, dword [esp + 0x14]
push ecx
push edx
call fcn.004e5140
add esp, 8
test eax, eax
je 0x4419d4
test ebx, ebx
jne 0x441634
test ebp, ebp
mov ecx, 0x5b0a40
je 0x441639
mov ecx, 0x59f1b4
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.00540a25
mov ecx, dword [0x5b1c94]
xor esi, esi
lea ebp, [ecx - 1]
test ebp, ebp
jl 0x4416c9
mov edx, dword [0x5b1c90]
mov ecx, dword [esp + 0x10]
push ecx
mov eax, dword [edx + esi*4]
push eax
call fcn.0050ffa9
add esp, 8
test eax, eax
je 0x4416bf
inc esi
cmp esi, ebp
jle 0x44169d
jmp 0x4416c9
push 1
push edi
mov ecx, ebx
call fcn.00540a25
mov edx, dword [esp + 0x28]
lea eax, [esp + 0x10]
push eax
mov esi, dword [edx + 0x120]
lea ecx, [edx + 0x118]
push esi
call fcn.00526bd6
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.00526baa
lea ecx, [esp + 0x10]
call fcn.00527e8a
mov eax, dword [0x5ada84]
mov dword [esp + 0x18], eax
push 0x589cd0
lea ecx, [esp + 0x50]
push 0x5b1aa8
push ecx
mov byte [esp + 0x2e8], 8
call fcn.00528194
push 0x58948c
lea edx, [esp + 0x48]
push eax
push edx
mov byte [esp + 0x2e8], 9
call fcn.00528194
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2e0], 0xa
call fcn.00528038
lea ecx, [esp + 0x44]
mov byte [esp + 0x2dc], 9
call fcn.00527eff
lea ecx, [esp + 0x4c]
mov byte [esp + 0x2dc], 8
call fcn.00527eff
lea eax, [esp + 0x94]
lea ecx, [esp + 0x18]
push eax
call fcn.005282db
mov eax, dword [esp + 0x24]
test eax, eax
jne 0x44180b
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x44180b
push 0x59f194
lea ecx, [esp + 0x14]
call fcn.005282db
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00528317
lea edx, [esp + 0x18]
push 0x59f190
push edx
call fcn.004e5670
mov eax, dword [esp + 0x20]
push eax
call fcn.004e5570
add esp, 0xc
test eax, eax
je 0x44186a
push 0x59f18c
lea ecx, [esp + 0x14]
call fcn.005282db
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00528317
jmp 0x44186a
mov edx, dword [0x5ada84]
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.004e4c90
mov eax, dword [esp + 0x24]
add esp, 8
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x441859
push 0x59f170
lea ecx, [esp + 0x14]
call fcn.005282db
lea ecx, [esp + 0x1c]
push ecx
lea ecx, [esp + 0x14]
call fcn.00528317
lea ecx, [esp + 0x1c]
mov byte [esp + 0x2dc], 8
call fcn.00527eff
lea edx, [esp + 0x18]
push edx
call fcn.004e5790
mov eax, dword [esp + 0x1c]
add esp, 4
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x4418a7
test al, 0x10
je 0x4418a7
push 0x59f160
lea ecx, [esp + 0x14]
call fcn.005282db
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call fcn.00528317
push 0x59f150
lea ecx, [esp + 0x14]
call fcn.005282db
mov edx, dword [esp + 0x14]
lea ecx, [esp + 0x10]
mov eax, dword [edx + 4]
push eax
call fcn.005282db
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x441913
push 0x59f144
lea ecx, [esp + 0x14]
call fcn.005282db
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x2c]
lea ecx, [esp + 0x10]
push edx
call fcn.005282db
lea eax, [esp + 0x10]
push eax
call fcn.004e4f70
add esp, 4
test eax, eax
jne 0x44190f
push 0x58ab80
lea ecx, [esp + 0x14]
call fcn.005282db
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 0x59f114
push ecx
call ebp
add esp, 0x14
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.005282db
mov eax, dword [esp + 0x14]
xor ebx, ebx
mov esi, dword [eax + 0x74]
test esi, esi
je 0x44199e
cmp byte [esi], 0
je 0x44199e
push esi
call fcn.00478c70
add esi, eax
push esi
call fcn.00478c70
add esi, eax
add esp, 8
inc ebx
cmp byte [esi], 0
jne 0x44195d
test ebx, ebx
jle 0x44199e
push ebx
lea ecx, [esp + 0x1ac]
push 0x59f0e8
push ecx
call ebp
add esp, 0xc
lea edx, [esp + 0x1a8]
lea ecx, [esp + 0x10]
push edx
call fcn.005282db
mov eax, dword [edi + 0x134]
lea ecx, [edi + 0x12c]
lea edx, [esp + 0x10]
push edx
push eax
call fcn.00526bd6
lea ecx, [esp + 0x18]
mov byte [esp + 0x2dc], 2
call fcn.00527eff
mov eax, dword [esp + 0x14]
mov edi, dword [esp + 0x20]
mov esi, dword [esp + 0x28]
jmp 0x4419d8
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x2c]
test ecx, ecx
je 0x4419f0
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 0x441370
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 0x4412eb
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.00441b40
lea ecx, [esp + 0x10]
mov byte [esp + 0x2dc], 1
call fcn.00527eff
lea ecx, [esp + 0x5c]
mov byte [esp + 0x2dc], 0
call fcn.00527eff
mov dword [esp + 0x2dc], 0xffffffff
call fcn.005442db
mov ecx, dword [eax + 4]
call fcn.0052c875
mov ecx, dword [esp + 0x2d4]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2d0
ret