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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4ee1d7
sub esp, 0x60
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
je 0x4ee127
xor edx, edx
test dl, dl
je 0x4edc99
mov eax, dword [esp + 0x64]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
add esp, 0x60
ret
mov edx, dword [esp + 0x7c]
test edx, edx
je 0x4edc7f
mov ecx, dword [esp + 0x64]
mov dword [esp], ecx
mov edx, dword [esp + 0x68]
mov dword [esp + 4], edx
mov ebx, dword [esp + 0x6c]
mov dword [esp + 8], ebx
mov dword [esp + 0xc], eax
call fcn.004eb3a0
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4ee10d
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jge 0x4ee0fe
mov dword [esp + 0x50], 0
mov dword [esp + 0x54], 0
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
nop
lea ebx, [esp + 0x50]
mov dword [esp + 0x50], ebx
mov ebp, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
mov edi, ebp
sub ebp, esi
imul ebp, eax
mov ecx, dword [esp + 0x68]
add ebp, ecx
test ebp, ebp
jl 0x4ee1be
mov dword [esp + 0x7c], eax
mov edx, edi
mov edi, dword [esp + 0x58]
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0x30], ebx
sub ebx, edi
cmp ebp, ebx
jg 0x4ee07b
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x64]
xor edi, edi
xor edi, edi
mov dword [esp + 0x20], edi
jmp 0x4eddb4
mov dword [esp + 0x38], ebp
mov dword [esp + 0x4c], esi
add eax, esi
mov dword [esp], eax
mov eax, dword [esp + 0x74]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00466ae0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0x24]
lea edi, [eax + 1]
mov esi, dword [esp + 0x70]
mov eax, dword [esp + 0x30]
add eax, esi
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
mov ebp, dword [esp + 0x64]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x6c]
mov dword [esp + 0x20], eax
mov eax, dword [esp + 0x7c]
cmp edi, eax
jge 0x4edf9e
mov dword [esp + 0x24], edi
test esi, esi
jne 0x4edf62
test edi, edi
jle 0x4edf57
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
jb 0x4ee1b7
sub ecx, ebx
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, ebx
add ecx, ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
call fcn.0046e7c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov edx, dword [esp + 0x68]
cmp eax, edx
ja 0x4ee1a9
cmp eax, ecx
jb 0x4ee19e
mov ebx, eax
sub eax, ecx
mov ebp, eax
neg eax
sar eax, 0x1f
and ecx, eax
mov eax, dword [esp + 0x64]
add ecx, eax
nop
mov esi, dword [esp + 0x50]
test esi, esi
je 0x4edf4a
lea edi, [esp + 0x50]
cmp edi, esi
jne 0x4ee186
mov dword [esp + 0x30], ebx
mov esi, dword [esp + 0x58]
lea eax, [esi + ebp]
mov dword [esp + 0x3c], eax
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x54]
cmp edx, eax
jb 0x4edf07
mov dword [esp + 0x38], edx
mov dword [esp + 0x4c], ebx
lea eax, [ebx + esi]
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00466ae0
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x4c]
mov dword [esp + 0x54], eax
nop
nop
mov eax, dword [esp + 0x50]
test eax, eax
je 0x4edefd
lea ecx, [esp + 0x50]
cmp ecx, eax
jne 0x4ee16e
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x78]
lea ebx, [edx + eax]
mov dword [esp + 0x3c], ebx
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
cmp ebp, ebx
jae 0x4edd4d
mov dword [esp + 0x38], eax
lea ecx, [0x79faa0]
mov dword [esp], ecx
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044a600
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
jmp 0x4edd4d
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ecx
jmp 0x4edea7
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], esi
lea ecx, [0x79faa0]
mov dword [esp], ecx
mov dword [esp + 4], ebx
mov dword [esp + 8], esi
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], eax
call fcn.0044a600
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov ecx, dword [esp + 0x40]
mov ebp, dword [esp + 0x38]
mov esi, dword [esp + 0x34]
jmp 0x4ede5e
lea edi, [esp + 0x50]
mov dword [esp + 0x50], edi
jmp 0x4ede3f
mov ecx, dword [esp + 0x20]
mov eax, ecx
jmp 0x4eddff
mov edi, dword [esp + 0x20]
cmp ecx, edi
jb 0x4ee1b0
sub ecx, edi
mov edx, ecx
neg ecx
sar ecx, 0x1f
and ecx, edi
add ecx, ebp
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
mov dword [esp + 0xc], esi
call fcn.004ee3f0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, ecx
jmp 0x4eddff
mov eax, dword [esp + 0x20]
cmp ecx, eax
jb 0x4ee169
sub ecx, eax
mov edx, ecx
neg ecx
sar ecx, 0x1f
and eax, ecx
add eax, ebp
nop
mov ecx, dword [esp + 0x50]
test ecx, ecx
je 0x4ee06e
lea ebx, [esp + 0x50]
cmp ebx, ecx
jne 0x4ee151
mov ecx, dword [esp + 0x58]
lea ebx, [ecx + edx]
mov dword [esp + 0x30], ebx
mov ebp, dword [esp + 0x5c]
mov esi, dword [esp + 0x54]
cmp ebp, ebx
jb 0x4ee02b
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x4c], esi
add ecx, esi
mov dword [esp], ecx
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.00466ae0
mov eax, dword [esp + 0x30]
mov dword [esp + 0x58], eax
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x5c], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x54], ecx
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x60
ret
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x38], edx
mov dword [esp + 0x44], eax
lea eax, [0x79faa0]
mov dword [esp], eax
mov dword [esp + 4], esi
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x10], ebx
call fcn.0044a600
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x38]
jmp 0x4edfe7
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ecx
jmp 0x4edfd0
mov dword [esp + 0x28], edi
lea eax, [0x79faa0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x30]
lea ecx, [ebp + ecx*2]
mov dword [esp + 0x2c], ecx
mov dword [esp + 8], ecx
call fcn.0044a490
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jge 0x4ee0fa
mov dword [esp + 0x48], eax
cmp eax, ecx
je 0x4ee0cd
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.00466ae0
mov ebx, dword [esp + 0x28]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x2c]
mov dword [esp + 0x5c], ebx
mov ebx, dword [esp + 0x48]
mov dword [esp + 0x54], ebx
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x68]
mov edx, dword [esp + 0x78]
mov esi, dword [esp + 0x70]
jmp 0x4edd3b
mov edx, ebx
jmp 0x4ee0b5
cmp ebx, eax
jg 0x4edcd9
mov eax, ebx
jmp 0x4edcd9
mov eax, dword [esp + 0x64]
mov dword [esp + 0x80], eax
mov eax, dword [esp + 0x68]
mov dword [esp + 0x84], eax
add esp, 0x60
ret
mov ecx, dword [esp + 0x6c]
mov dword [esp], ecx
mov edx, dword [esp + 0x74]
mov dword [esp + 4], edx
mov dword [esp + 8], eax
call fcn.004028f0
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
jmp 0x4edc7b
lea eax, [0x79f7e0]
mov dword [esp], eax
lea eax, [0x8a7920]
mov dword [esp + 4], eax
call fcn.004353f0
call fcn.00466210
lea eax, [0x79f7e0]
mov dword [esp], eax
lea eax, [0x8a7920]
mov dword [esp + 4], eax
call fcn.004353f0
lea eax, [0x79f7e0]
mov dword [esp], eax
lea eax, [0x8a7920]
mov dword [esp + 4], eax
call fcn.004353f0
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.00466210
mov ecx, eax
call fcn.004661d0
mov eax, edi
call fcn.00466210
mov eax, ebx
call fcn.00466210
lea eax, [0x79f7e0]
mov dword [esp], eax
lea eax, [0x8a7c48]
mov dword [esp + 4], eax
call fcn.004353f0
nop
call fcn.00464bd0
jmp fcn.004edc50