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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ed9e8
sub esp, 0x60
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov eax, 0x6b5280
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, 0x6b5280
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov ebx, 0x5f755b
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004e7040
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x4c], edi
xor eax, eax
mov dword [esp + 0x3c], eax
cmp eax, 2
jge 0x4ed8b5
xor ebp, ebp
cmp edx, ebp
jne 0x4ed9d7
mov dword [esp + 0x44], esi
mov dword [esp], esi
mov dword [esp + 0x48], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], edi
call fcn.004eda00
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0xc]
cmp bl, 0
je 0x4ed8fc
cmp ecx, 0
jne 0x4ed820
mov dword [esp], esi
call fcn.004e1200
mov ecx, dword [esp + 0x74]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x64]
mov dword [esp], ebx
mov ebx, dword [esp + 0x68]
mov dword [esp + 4], ebx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov ebx, dword [esp + 0x70]
mov dword [esp + 0xc], ebx
mov eax, 0x6b5280
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], ecx
mov eax, 0x6b5280
mov dword [esp + 0x58], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x5c], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
mov ebx, 0x5f755b
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], 4
call fcn.004e7040
mov edx, dword [esp + 0x74]
mov esi, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [esp + 0x4c], edi
mov eax, dword [esp + 0x3c]
inc eax
mov dword [esp + 0x3c], eax
cmp eax, 2
jl 0x4ed7db
mov dword [esp + 0x48], ecx
cmp ecx, 0
je 0x4ed8d8
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], edi
add esp, 0x60
ret
mov dword [esp], esi
call fcn.004ed140
mov ebx, dword [esp + 4]
mov dword [esp + 0x7c], ebx
xor ebx, ebx
mov dword [esp + 0x80], ebx
mov dword [esp + 0x84], ebx
add esp, 0x60
ret
mov eax, dword [esp + 0x4c]
mov ebx, ecx
xor ebp, ebp
cmp ecx, ebp
je 0x4ed90b
mov ebx, dword [ebx + 4]
mov ebp, 0x5d76a0
cmp ebx, ebp
jne 0x4ed9ce
mov ebp, eax
mov edx, 1
cmp dl, 0
je 0x4ed933
cmp ebp, 0
je 0x4ed9c6
mov ecx, dword [ebp + 0x20]
mov eax, dword [ebp + 0x24]
mov ebx, ecx
xor ebp, ebp
cmp ecx, ebp
je 0x4ed93e
mov ebx, dword [ebx + 4]
mov ebp, 0x5ca820
cmp ebx, ebp
jne 0x4ed9c0
mov ebp, eax
mov edx, 1
cmp dl, 0
je 0x4ed95e
cmp ebp, 0
je 0x4ed9bb
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [esp], 0x5d6a40
mov dword [esp + 0x50], ecx
mov dword [esp + 4], ecx
mov dword [esp + 0x54], eax
mov dword [esp + 8], eax
lea ebx, [esp + 0x40]
mov dword [esp + 0xc], ebx
call fcn.0040d280
mov edi, dword [esp + 0x4c]
mov esi, dword [esp + 0x44]
mov ecx, dword [esp + 0x48]
movzx ebx, byte [esp + 0x10]
cmp bl, 0
je 0x4ed9b7
mov ebx, dword [esp + 0x40]
cmp ebx, 0x20000003
jne 0x4ed9b7
mov eax, 1
cmp al, 0
je 0x4ed8b5
jmp 0x4ed813
xor eax, eax
jmp 0x4ed9a9
mov dword [ebp], eax
jmp 0x4ed958
xor ebp, ebp
xor edx, edx
jmp 0x4ed94e
mov dword [ebp], eax
jmp 0x4ed92d
xor ebp, ebp
xor edx, edx
jmp 0x4ed91f
mov ebp, dword [edx + 0xc]
cmp ebp, 0
jne 0x4ed8b5
jmp 0x4ed7e5
call fcn.00452240
jmp fcn.004ed720