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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e0804
add esp, 0xffffff80
mov eax, dword [esp + 0x8c]
movzx ecx, byte [eax]
test cl, cl
je 0x4e0522
mov byte [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
nop
lea ecx, [esp + 0x50]
cmp eax, ecx
je 0x4e0506
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
test ecx, ecx
jg 0x4e077c
mov ebx, ecx
xor ebp, ebp
xor esi, esi
cmp ebx, ecx
jge 0x4e0775
mov dword [esp + 0x24], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x34], ebp
cmp edx, ebp
je 0x4e04e0
mov dword [esp], ebp
mov dword [esp + 4], edx
shl ebx, 2
mov dword [esp + 8], ebx
call fcn.0045d2c0
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x8c]
movzx eax, byte [eax]
mov byte [esp + 0x50], al
mov eax, dword [esp + 0x58]
test eax, eax
jle 0x4e076e
movzx eax, byte [esp + 0x50]
xor eax, 1
mov byte [esp + 0x50], al
lea eax, [esp + 0x50]
mov dword [esp + 0x8c], eax
mov ecx, dword [esp + 0x88]
movzx edx, byte [ecx]
test dl, dl
jne 0x4e072d
mov byte [esp + 0x70], 0
mov dword [esp + 0x74], 0
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0
mov byte [esp + 0x40], 0
mov dword [esp + 0x44], 0
mov dword [esp + 0x48], 0
mov dword [esp + 0x4c], 0
lea edx, [esp + 0x70]
mov dword [esp], edx
lea ebx, [esp + 0x40]
mov dword [esp + 4], ebx
mov dword [esp + 8], 0
mov dword [esp + 0xc], ecx
mov dword [esp + 0x10], eax
call fcn.004dea30
lea eax, [esp + 0x70]
mov dword [esp], eax
mov eax, dword [0x61be6c]
mov dword [esp + 4], eax
call fcn.004de4d0
mov eax, dword [esp + 8]
test eax, eax
jne 0x4e071e
movzx ecx, byte [esp + 0x40]
test cl, cl
jne 0x4e06f0
nop
mov ecx, dword [esp + 0x84]
lea edx, [esp + 0x40]
cmp ecx, edx
je 0x4e06e9
mov edx, dword [ecx + 0xc]
mov ebx, dword [ecx + 4]
mov ebp, dword [esp + 0x48]
mov esi, dword [esp + 0x44]
cmp edx, ebp
jl 0x4e0661
mov eax, ebp
cmp eax, ebp
jge 0x4e065d
mov dword [esp + 0x20], edx
mov dword [esp + 0x18], ebp
mov dword [esp + 0x30], ebx
cmp ebx, esi
je 0x4e0617
mov dword [esp], ebx
mov dword [esp + 4], esi
shl eax, 2
mov dword [esp + 8], eax
call fcn.0045d2c0
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x84]
mov dword [edx + 8], ecx
mov ecx, dword [esp + 0x20]
mov dword [edx + 0xc], ecx
mov ecx, dword [0x7e34e0]
test ecx, ecx
jne 0x4e064f
mov eax, dword [esp + 0x30]
mov dword [edx + 4], eax
movzx eax, byte [esp + 0x40]
mov byte [edx], al
mov dword [esp + 0x90], edx
sub esp, 0xffffff80
ret
lea edi, [edx + 4]
mov eax, dword [esp + 0x30]
call fcn.0045c920
jmp 0x4e063d
mov eax, ebp
jmp 0x4e05f4
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x3c], esi
cmp ebp, 1
jne 0x4e06ae
lea eax, [0x643140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00444130
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x3c]
mov ebp, 1
mov edx, 1
jmp 0x4e05f0
lea eax, [0x643140]
mov dword [esp], eax
mov dword [esp + 4], ebp
lea eax, [ebp + 4]
mov dword [esp + 0x20], eax
mov dword [esp + 8], eax
call fcn.00444130
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x84]
mov esi, dword [esp + 0x3c]
mov ebp, eax
mov edx, dword [esp + 0x20]
jmp 0x4e05f0
mov edx, ecx
jmp 0x4e0644
mov eax, dword [esp + 0x84]
mov dword [esp], eax
lea ecx, [esp + 0x40]
mov dword [esp + 4], ecx
mov ecx, dword [esp + 0x8c]
mov dword [esp + 8], ecx
call fcn.004ddac0
mov edx, dword [esp + 0x84]
jmp 0x4e0644
mov dword [esp + 0x90], 0
sub esp, 0xffffff80
ret
mov byte [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
mov dword [esp + 0x6c], 0
lea edx, [esp + 0x60]
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.004de2c0
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x8c]
jmp 0x4e053b
xor eax, eax
jmp 0x4e051a
mov ebx, ecx
jmp 0x4e04bd
mov dword [esp + 0x38], edx
mov dword [esp + 0x28], ecx
cmp ecx, 1
jne 0x4e07c9
lea eax, [0x643140]
mov dword [esp], eax
mov dword [esp + 4], 1
mov dword [esp + 8], 1
call fcn.00444130
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov ecx, 1
mov esi, 1
jmp 0x4e04b5
lea eax, [0x643140]
mov dword [esp], eax
mov dword [esp + 4], ecx
lea edx, [ecx + 4]
mov dword [esp + 0x24], edx
mov dword [esp + 8], edx
call fcn.00444130
mov ebp, dword [esp + 0xc]
mov eax, dword [esp + 0x8c]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x28]
mov ecx, ebx
mov esi, dword [esp + 0x24]
jmp 0x4e04b5
call fcn.0045b380
jmp fcn.004e0450