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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ed541
sub esp, 0x5c
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x44]
mov ebx, dword [eax + 0x40]
mov ebp, dword [esp + 0x64]
mov dword [esp], ebp
mov esi, dword [esp + 0x68]
mov dword [esp + 4], esi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea ecx, [0x6031a0]
mov dword [esp + 0x10], ecx
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x14], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x70]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edi, [0x5c671f]
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], ebx
call fcn.004e4bd0
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov dword [esp + 0x48], eax
xor eax, eax
mov dword [esp + 0x40], eax
mov eax, dword [esp + 0x48]
jmp 0x4ed3a5
mov eax, dword [esp + 0x60]
mov ecx, dword [eax + 0x48]
mov edx, dword [eax + 0x44]
mov eax, dword [eax + 0x40]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], edx
mov dword [esp + 0xc], ecx
lea ecx, [0x6031a0]
mov dword [esp + 0x10], ecx
mov dword [esp + 0x14], esi
mov dword [esp + 0x18], ecx
mov dword [esp + 0x1c], ebp
mov dword [esp + 0x20], 1
mov dword [esp + 0x24], 0
lea edx, [0x5c671f]
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], 4
mov dword [esp + 0x30], eax
call fcn.004e4bd0
mov eax, dword [esp + 0x40]
inc eax
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x3c]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x70]
mov edi, dword [esp + 0x6c]
mov ebp, esi
mov esi, edi
mov edi, dword [esp + 0x68]
mov dword [esp + 0x40], eax
mov eax, ecx
mov ecx, edx
mov edx, ebx
mov ebx, dword [esp + 0x64]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x40]
cmp ecx, 2
jge 0x4ed53a
test esi, esi
je 0x4ed530
mov ecx, dword [esi + 0xc]
test ecx, ecx
sete cl
test cl, cl
jne 0x4ed474
xor ecx, ecx
test cl, cl
je 0x4ed3fd
test edx, edx
jne 0x4ed315
mov dword [esp], eax
call fcn.004df220
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
jmp 0x4ed315
test edx, edx
jne 0x4ed45c
nop
lea eax, [0x59f120]
mov dword [esp], eax
call fcn.00409bc0
mov eax, dword [0x738420]
mov edi, dword [esp + 4]
mov dword [esp + 0x58], edi
test eax, eax
jne 0x4ed451
mov eax, dword [esp + 0x50]
mov dword [edi], eax
mov dword [esp], eax
mov byte [esp + 4], 1
call fcn.004ed810
mov eax, dword [esp + 0x58]
mov dword [esp + 0x74], eax
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
add esp, 0x5c
ret
mov eax, dword [esp + 0x50]
call fcn.0044cea0
jmp 0x4ed428
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], edx
mov eax, dword [esp + 0x54]
mov dword [esp + 0x7c], eax
add esp, 0x5c
ret
mov dword [esp + 0x44], edx
mov dword [esp], eax
mov dword [esp + 4], edx
mov ecx, dword [esp + 0x54]
mov dword [esp + 8], ecx
call fcn.004ed550
movzx eax, byte [esp + 0xc]
test al, al
je 0x4ed4b9
mov eax, 1
mov edx, dword [esp + 0x44]
mov ebx, dword [esp + 0x64]
mov ebp, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x68]
mov ecx, eax
mov eax, dword [esp + 0x50]
jmp 0x4ed3d4
nop
lea eax, [0x600ee0]
mov ecx, dword [esp + 0x44]
cmp eax, ecx
jne 0x4ed529
mov edx, dword [esp + 0x54]
jne 0x4ed521
mov ebx, dword [edx + 0x24]
mov edx, dword [edx + 0x20]
lea ebp, [0x600fc0]
cmp ebp, edx
jne 0x4ed518
mov esi, ebx
jne 0x4ed512
mov edx, dword [ebx + 0xc]
mov ebx, dword [ebx + 8]
test ebx, ebx
je 0x4ed508
lea esi, [0x5a7700]
cmp dword [ebx + 4], esi
jne 0x4ed504
cmp dword [edx], 0x20000003
sete dl
mov eax, edx
jmp 0x4ed49a
xor edx, edx
jmp 0x4ed500
lea esi, [0x5a7700]
xor edx, edx
jmp 0x4ed500
mov ebx, edx
mov edx, esi
jmp 0x4ed4e8
mov esi, ebx
mov ebx, 0
jmp 0x4ed4e0
mov ebx, dword [esp + 0x54]
mov edx, ecx
jmp 0x4ed4d4
mov edx, 0
jmp 0x4ed4cc
mov ecx, 1
jmp 0x4ed3ca
xor ecx, ecx
jmp 0x4ed3d4
call fcn.0044b750
jmp fcn.004ed260