Function at 0x4071f0
Capabilities:
Access peb ldr_data
Enumerate files on windows
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x46c218
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x4860f0]
xor eax, esp
mov dword [esp + 0x278], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x4860f0]
xor eax, esp
push eax
lea eax, [esp + 0x294]
mov dword fs:[0], eax
mov eax, dword [esp + 0x2a4]
lea edx, [esp + 0x20]
push edx
mov dword [esp + 0x38], eax
call fcn.00401990
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x30]
push ecx
mov ebx, 0x472cd8
mov dword [esp + 0x2a4], 0
call fcn.00405cd0
add esp, 8
mov byte [esp + 0x29c], 1
mov edx, dword [0x488da4]
mov eax, dword [edx + 0xc]
mov ecx, 0x488da4
mov byte [esp + 0x17], 0
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x18], edi
mov byte [esp + 0x29c], 2
mov edx, dword [0x488da4]
mov eax, dword [edx + 0xc]
mov ecx, 0x488da4
call eax
lea ebx, [eax + 0x10]
mov dword [esp + 0x28], ebx
mov byte [esp + 0x29c], 3
mov edx, dword [0x488da4]
mov eax, dword [edx + 0xc]
mov ecx, 0x488da4
call eax
add eax, 0x10
mov dword [esp + 0x24], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x29c], 4
mov edx, dword [esp + 0x2c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov ebp, eax
cmp ebp, 0xffffffff
je 0x4074a6
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x3c]
push ecx
mov ebx, 0x4729c8
call fcn.00405cd0
push eax
lea edx, [esp + 0x3c]
push edx
lea ebx, [esp + 0x78]
mov byte [esp + 0x2ac], 5
call fcn.00405cd0
add esp, 0x10
mov byte [esp + 0x29c], 6
mov ecx, dword [eax]
lea eax, [ecx - 0x10]
lea esi, [edi - 0x10]
cmp eax, esi
je 0x40736b
cmp dword [esi + 0xc], 0
lea edi, [esi + 0xc]
jl 0x40735e
mov edx, dword [eax]
cmp edx, dword [esi]
jne 0x40735e
call fcn.00403a70
mov ebx, eax
or eax, 0xffffffff
lock xadd dword [edi], eax
dec eax
test eax, eax
jg 0x407355
mov ecx, dword [esi]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push esi
call eax
add ebx, 0x10
mov dword [esp + 0x18], ebx
jmp 0x40736b
mov ebx, dword [ecx - 0xc]
push ecx
lea eax, [esp + 0x1c]
call fcn.004018b0
mov byte [esp + 0x29c], 5
mov eax, dword [esp + 0x30]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407393
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 4
mov eax, dword [esp + 0x38]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4073bb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x24]
push ecx
lea edx, [esp + 0x2c]
lea ecx, [esp + 0x1c]
call fcn.0040d670
mov edi, dword [esp + 0x1c]
mov ebx, dword [esp + 0x2c]
add esp, 4
test al, al
je 0x40748b
mov edx, dword [esp + 0x34]
push ebx
push edx
call fcn.0040d160
add esp, 8
test al, al
je 0x40748b
cmp byte [esp + 0x17], 0
je 0x40740b
push edi
call fcn.0040d890
add esp, 4
jmp 0x40748b
mov eax, dword [0x488da4]
mov edx, dword [eax + 0xc]
mov ecx, 0x488da4
mov byte [esp + 0x17], 1
call edx
add eax, 0x10
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x2a0], 7
call fcn.00406220
add esp, 4
push str.4399GameHall.exe
lea ecx, [esp + 0x20]
push ecx
mov eax, 0x10
call fcn.00405e40
lea edx, [esp + 0x1c]
push edx
mov eax, edx
push eax
lea esi, [esp + 0x20]
call fcn.0040d7a0
mov byte [esp + 0x2a4], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
add esp, 8
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40748b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x3c]
push ecx
push ebp
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
test eax, eax
jne 0x4072e7
push ebp
call dword [sym.imp.KERNEL32.dll_FindClose]
mov byte [esp + 0x29c], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4074ce
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [ebx - 0x10]
mov byte [esp + 0x29c], 2
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4074f2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov byte [esp + 0x29c], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407516
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x29c], 0
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40753e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x29c], 0xffffffff
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x407569
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x294]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x278]
xor ecx, esp
call fcn.004567fb
add esp, 0x28c
ret 4