Function at 0x4fded0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x624cc0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28c
push ebx
push ebp
push esi
push edi
xor edi, edi
mov ebp, ecx
mov dword [esp + 0x38], edi
mov eax, dword [0x6e0ea0]
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x24]
push edi
push ecx
mov ecx, ebp
mov dword [esp + 0x2ac], 1
call fcn.004fddf0
mov eax, dword [0x7289e8]
mov byte [esp + 0x2a4], 2
cmp eax, edi
jne 0x4fe052
mov al, byte [0x7289ec]
test al, al
jne 0x4fe10b
push str.kernel32
lea ecx, [esp + 0x2c]
mov byte [0x7289ec], 1
call fcn.0041d7d0
lea edx, [esp + 0x28]
push 2
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x2ac], 3
mov dword [esp + 0x20], edi
call fcn.0050eca0
mov eax, dword [esp + 0x28]
mov bl, 5
add eax, 0xfffffff4
mov byte [esp + 0x2a4], bl
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4fdf93
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x4fdf93
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
push str.GetLongPathNameW
lea ecx, [esp + 0x20]
call fcn.0041d7d0
lea ecx, [esp + 0x23]
lea edx, [esp + 0x1c]
push ecx
push edx
lea ecx, [esp + 0x20]
mov byte [esp + 0x2ac], 6
call fcn.0050edf0
mov eax, dword [esp + 0x1c]
mov byte [esp + 0x2a4], bl
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4fdfe2
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x4fdfe2
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov al, byte [esp + 0x23]
test al, al
je 0x4fe034
push str.GetLongPathNameW
lea ecx, [esp + 0x20]
call fcn.0041d7d0
lea ecx, [esp + 0x1c]
push edi
push ecx
lea ecx, [esp + 0x20]
mov byte [esp + 0x2ac], 7
call fcn.0050ee20
mov edx, dword [esp + 0x1c]
mov dword [0x7289e8], eax
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe034
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x4fe034
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a4], 2
call fcn.004fe5e0
mov eax, dword [0x7289e8]
cmp eax, edi
je 0x4fe10b
mov ecx, dword [esp + 0x24]
push edi
push edi
push ecx
call eax
mov esi, eax
cmp esi, edi
jbe 0x4fe10b
lea edx, [esp + 0x10]
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x30], edx
call fcn.004ead20
mov dword [esp + 0x30], eax
push esi
push eax
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x2ac], 8
push eax
call dword [0x7289e8]
test eax, eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x2a4], 2
setne bl
call fcn.004ead50
test bl, bl
je 0x4fe10b
mov esi, dword [esp + 0x2ac]
lea ecx, [esp + 0x10]
push ecx
mov ecx, esi
call fcn.004698b0
mov edx, dword [esp + 0x24]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe0dd
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x4fe0dd
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, dword [esp + 0x10]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4fe52b
dec ecx
cmp ecx, edi
mov dword [eax], ecx
jne 0x4fe52b
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov eax, esi
jmp 0x4fe5bc
mov ecx, dword [ebp]
cmp dword [ecx - 8], edi
je 0x4fe23c
lea edx, [esp + 0x1c]
push 3
push edx
call fcn.004fd7c0
add esp, 8
mov esi, eax
mov ecx, esi
mov byte [esp + 0x2a4], 9
call fcn.004e9cc0
mov eax, dword [esi]
mov ecx, dword [esp + 0x1c]
mov ebx, dword [sym.imp.MSVCRT.dll_free]
mov byte [esp + 0x2a4], 2
mov di, word [eax]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe166
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe166
push eax
call ebx
add esp, 4
lea edx, [esp + 0x2c]
push 3
push edx
call fcn.004fd700
add esp, 8
mov esi, eax
lea eax, [esp + 0x34]
mov ecx, ebp
push eax
call fcn.004fb8c0
push esi
lea ecx, [esp + 0x1c]
push eax
push ecx
mov byte [esp + 0x2b0], 0xb
call fcn.004eada0
push edi
lea edx, [esp + 0x38]
push eax
push edx
mov byte [esp + 0x2bc], 0xc
call fcn.004eae60
add esp, 0x18
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x2a8], 0xd
call fcn.004ea610
mov eax, dword [esp + 0x28]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4fe1db
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe1db
push eax
call ebx
add esp, 4
mov ecx, dword [esp + 0x18]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe1f7
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe1f7
push eax
call ebx
add esp, 4
mov edx, dword [esp + 0x34]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe213
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe213
push eax
call ebx
add esp, 4
mov eax, dword [esp + 0x2c]
mov byte [esp + 0x2a4], 2
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4fe24c
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe24c
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
jmp 0x4fe24c
mov ecx, dword [0x6e0ea0]
push ecx
lea ecx, [esp + 0x14]
call fcn.004ea6a0
lea edx, [ebp + 4]
lea ecx, [esp + 0x3c]
push edx
call fcn.004ec5d0
lea eax, [esp + 0x2c]
mov ecx, ebp
push eax
mov byte [esp + 0x2a8], 0xe
call fcn.004fda40
push 1
push eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x2ac], 0xf
call fcn.004ec930
mov ecx, dword [esp + 0x2c]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe2a1
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe2a1
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [0x6e0ea0]
mov dword [esp + 0x14], edx
mov eax, dword [esp + 0x40]
xor ebp, ebp
test eax, eax
mov byte [esp + 0x2a4], 0x10
mov dword [esp + 0x18], eax
jbe 0x4fe40f
mov eax, dword [esp + 0x44]
lea edx, [esp + 0x10]
lea ecx, [eax + ebp*4]
lea eax, [esp + 0x2c]
push ecx
push edx
push eax
call fcn.004eada0
add esp, 0xc
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x2a8], 0x11
call fcn.004ea610
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x2a4], 0x10
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe319
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe319
push eax
call dword [sym.imp.MSVCRT.dll_free]
add esp, 4
mov edx, dword [esp + 0x14]
mov eax, dword [edx - 8]
test eax, eax
je 0x4fe402
lea eax, [esp + 0x34]
push 3
push eax
call fcn.004fd700
add esp, 8
mov esi, eax
mov ecx, dword [esp + 0x14]
mov byte [esp + 0x2a4], 0x12
mov edi, dword [ecx - 8]
lea ecx, [esp + 0x14]
call fcn.004e9cc0
mov edx, dword [esp + 0x14]
push 1
mov ecx, esi
mov di, word [edx + edi*2 - 2]
push edi
call fcn.0047d080
mov bl, al
mov eax, dword [esp + 0x34]
mov edi, dword [sym.imp.MSVCRT.dll_free]
add eax, 0xfffffff4
mov byte [esp + 0x2a4], 0x10
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4fe38f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe38f
push eax
call edi
add esp, 4
test bl, bl
je 0x4fe3b0
push 0x5c
push 1
lea ecx, [esp + 0x1c]
call fcn.004e9db0
lea ecx, [esp + 0x14]
push ecx
lea ecx, [esp + 0x14]
call fcn.004ea610
jmp 0x4fe402
mov eax, dword [esp + 0x14]
lea edx, [esp + 0x4c]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x4fe432
lea ecx, [esp + 0x78]
push ecx
call dword [sym.imp.MSVCRT.dll_wcslen]
add esp, 4
lea edx, [esp + 0x78]
lea ecx, [esp + 0x10]
push eax
push edx
push eax
call fcn.004ea760
mov eax, dword [esp + 0x18]
dec eax
cmp ebp, eax
jae 0x4fe3fb
push 0x5c
push 1
lea ecx, [esp + 0x18]
call fcn.004e9db0
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [esp + 0x18]
inc ebp
cmp ebp, eax
jb 0x4fe2c5
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x2ac]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4fe532
mov edx, dword [0x6e0ea0]
mov dword [edi], edx
jmp 0x4fe540
mov esi, dword [esp + 0x18]
inc ebp
cmp ebp, esi
jae 0x4fe495
mov bl, 0x13
mov ecx, dword [esp + 0x44]
lea eax, [esp + 0x2c]
lea edx, [ecx + ebp*4]
push edx
push 0x5c
push eax
call fcn.004eaf20
add esp, 0xc
mov eax, dword [eax]
mov byte [esp + 0x2a4], bl
mov ecx, dword [eax - 8]
push ecx
push eax
push ecx
lea ecx, [esp + 0x20]
call fcn.004ea760
mov ecx, dword [esp + 0x2c]
mov byte [esp + 0x2a4], 0x10
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe490
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe490
push eax
call edi
add esp, 4
inc ebp
cmp ebp, esi
jb 0x4fe43d
mov eax, dword [esp + 0x14]
mov esi, dword [esp + 0x2ac]
mov ecx, dword [eax - 8]
test ecx, ecx
jne 0x4fe4b1
mov edx, dword [0x6e0ea0]
mov dword [esi], edx
jmp 0x4fe4c3
mov dword [esi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4fe4c3
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x14]
mov ecx, dword [eax - 0xc]
add eax, 0xfffffff4
cmp ecx, 0xffffffff
mov dword [esp + 0x38], 1
je 0x4fe4e3
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe4e3
push eax
call edi
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2a4], 2
call fcn.004ec7b0
mov eax, dword [esp + 0x24]
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4fe50f
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe50f
push eax
call edi
add esp, 4
mov ecx, dword [esp + 0x10]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe52b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe52b
push eax
call edi
add esp, 4
mov eax, esi
jmp 0x4fe5bc
mov dword [edi], eax
mov ecx, dword [eax - 0xc]
cmp ecx, 0xffffffff
je 0x4fe540
inc ecx
mov dword [eax - 0xc], ecx
mov eax, dword [esp + 0x14]
mov dword [esp + 0x38], 1
add eax, 0xfffffff4
mov ecx, dword [eax]
cmp ecx, 0xffffffff
je 0x4fe56b
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe56b
mov esi, dword [sym.imp.MSVCRT.dll_free]
push eax
call esi
add esp, 4
jmp 0x4fe571
mov esi, dword [sym.imp.MSVCRT.dll_free]
lea ecx, [esp + 0x3c]
mov byte [esp + 0x2a4], 2
call fcn.004ec7b0
mov ecx, dword [esp + 0x24]
lea eax, [ecx - 0xc]
mov ecx, dword [ecx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe59e
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe59e
push eax
call esi
add esp, 4
mov edx, dword [esp + 0x10]
mov ecx, dword [edx - 0xc]
lea eax, [edx - 0xc]
cmp ecx, 0xffffffff
je 0x4fe5ba
dec ecx
test ecx, ecx
mov dword [eax], ecx
jne 0x4fe5ba
push eax
call esi
add esp, 4
mov eax, edi
mov ecx, dword [esp + 0x29c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x298
ret 4