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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ed2e9
sub esp, 0x7c
lea eax, [esp + 0x44]
mov dword [esp], eax
mov eax, dword [esp + 0x80]
mov dword [esp + 4], eax
mov eax, dword [esp + 0x84]
mov dword [esp + 8], eax
call fcn.004381f0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0xc]
cmp ecx, 0x20
jne 0x4ed1e6
cmp eax, 8
jb 0x4ed2d4
cmp eax, 0xc
jb 0x4ed2cd
cmp eax, 0x10
jb 0x4ed2c6
cmp eax, 0x14
jb 0x4ed2bf
cmp eax, 0x20
jb 0x4ed2b8
mov dword [esp + 0x38], eax
lea ecx, [eax - 8]
mov dword [esp + 0x34], ecx
lea ebx, [edx + 8]
lea ebp, [eax - 0xc]
lea esi, [edx + 0xc]
lea edi, [eax - 0x10]
lea ecx, [edx + 0x10]
add eax, 0xffffffec
mov dword [esp + 0x28], eax
lea eax, [edx + 0x14]
mov dword [esp + 0x64], eax
mov dword [esp + 0x30], ebp
mov dword [esp + 0x6c], esi
mov dword [esp + 0x70], ebx
mov dword [esp + 0x68], ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x74], edx
lea eax, [0x5dd480]
mov dword [esp], eax
call fcn.0040d050
mov eax, dword [esp + 4]
mov dword [esp + 0x78], eax
mov ecx, dword [esp + 0x74]
mov dword [esp], ecx
mov dword [esp + 4], 8
mov ecx, dword [esp + 0x38]
mov dword [esp + 8], ecx
call fcn.004ed300
mov eax, dword [esp + 0xc]
movzx ecx, byte [esp + 0x10]
mov byte [esp + 0x27], cl
mov edx, dword [esp + 0x78]
mov dword [edx], eax
mov eax, dword [esp + 0x70]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x34]
mov dword [esp + 8], eax
call fcn.004ed490
movzx eax, word [esp + 0xc]
movzx ecx, byte [esp + 0xe]
mov byte [esp + 0x26], cl
mov edx, dword [esp + 0x78]
mov word [edx + 4], ax
mov eax, dword [esp + 0x6c]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x30]
mov dword [esp + 8], eax
call fcn.004ed490
movzx eax, word [esp + 0xc]
movzx ecx, byte [esp + 0xe]
mov byte [esp + 0x25], cl
mov edx, dword [esp + 0x78]
mov word [edx + 6], ax
mov eax, dword [esp + 0x68]
mov dword [esp], eax
mov dword [esp + 4], 4
mov eax, dword [esp + 0x2c]
mov dword [esp + 8], eax
mov eax, dword [esp + 0x64]
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], 0xc
mov eax, dword [esp + 0x28]
mov dword [esp + 0x14], eax
call fcn.004ed550
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], ecx
mov eax, dword [esp + 0x3c]
movzx edx, byte [esp + 0x20]
mov ebx, dword [esp + 0x78]
mov dword [ebx + 8], eax
mov dword [ebx + 0xc], ecx
movzx eax, byte [esp + 0x27]
test al, al
je 0x4ed1cc
movzx eax, byte [esp + 0x26]
test al, al
je 0x4ed1cc
movzx eax, byte [esp + 0x25]
test al, al
je 0x4ed1cc
test dl, dl
jne 0x4ed1db
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
mov dword [esp + 0x88], ebx
add esp, 0x7c
ret
cmp ecx, 0x24
jne 0x4ed278
cmp ecx, 8
jbe 0x4ed2e2
movzx ebx, byte [edx + 8]
cmp bl, 0x2d
je 0x4ed210
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
cmp ecx, 0xd
jbe 0x4ed2e2
movzx ebx, byte [edx + 0xd]
cmp bl, 0x2d
jne 0x4ed201
cmp ecx, 0x12
jbe 0x4ed2e2
movzx ebx, byte [edx + 0x12]
cmp bl, 0x2d
jne 0x4ed201
cmp ecx, 0x17
jbe 0x4ed2e2
movzx ecx, byte [edx + 0x17]
cmp cl, 0x2d
jne 0x4ed201
cmp eax, 0x24
jb 0x4ed2db
mov dword [esp + 0x38], eax
lea ecx, [eax - 9]
mov dword [esp + 0x34], ecx
lea ebx, [edx + 9]
lea ebp, [eax - 0xe]
lea esi, [edx + 0xe]
lea edi, [eax - 0x13]
lea ecx, [edx + 0x13]
add eax, 0xffffffe8
mov dword [esp + 0x28], eax
lea eax, [edx + 0x18]
jmp 0x4ed091
cmp ecx, 0x26
jne 0x4ed2a9
movzx ecx, byte [edx]
cmp cl, 0x7b
je 0x4ed294
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
movzx ecx, byte [edx + 0x25]
cmp cl, 0x7d
jne 0x4ed285
dec eax
inc edx
mov ecx, 0x24
jmp 0x4ed1ef
mov dword [esp + 0x88], 0
add esp, 0x7c
ret
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.004243c0
ud2
call fcn.00424360
ud2
call fcn.00446b60
jmp fcn.004ecff0