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

Disassembly:
mov ecx, dword [0x8c8600]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d6e86
sub esp, 0x4c
mov eax, dword [esp + 0x74]
test eax, eax
jne 0x4d6b13
xor ecx, ecx
jmp 0x4d6b51
mov eax, dword [esp + 0x50]
mov dword [esp], eax
mov ecx, dword [esp + 0x54]
mov dword [esp + 4], ecx
mov edx, dword [esp + 0x58]
mov dword [esp + 8], edx
mov ebx, dword [esp + 0x5c]
mov dword [esp + 0xc], ebx
mov ebp, dword [esp + 0x60]
mov dword [esp + 0x10], ebp
mov esi, dword [esp + 0x64]
mov dword [esp + 0x14], esi
call fcn.004d6390
mov eax, dword [esp + 0x18]
mov ecx, eax
mov eax, dword [esp + 0x74]
test ecx, ecx
je 0x4d6bc1
test eax, eax
jl 0x4d6b5f
cmp eax, ecx
jg 0x4d6b5f
mov ecx, eax
mov dword [esp + 0x40], ecx
lea eax, [0x6c0100]
mov dword [esp], eax
mov eax, dword [esp + 0x6c]
mov edx, dword [esp + 0x60]
sub eax, edx
imul eax, ecx
mov ebp, dword [esp + 0x54]
add eax, ebp
mov dword [esp + 0x24], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
call fcn.004726e0
mov eax, dword [esp + 0xc]
mov dword [esp + 0x48], eax
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
xor edi, edi
xor edi, edi
mov dword [esp + 0x20], edi
xor edi, edi
mov dword [esp + 0x28], edi
xor edi, edi
jmp 0x4d6c71
mov eax, dword [esp + 0x54]
test eax, eax
jne 0x4d6bd1
xor ecx, ecx
xor edx, edx
xor ebx, ebx
jmp 0x4d6c0b
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 8], 0
mov dword [esp + 0xc], eax
lea ecx, [0x6c0100]
mov dword [esp + 0x10], ecx
call fcn.00472770
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x1c]
mov ebx, ecx
mov ecx, eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x3c], ebx
mov dword [esp], ecx
mov ebp, dword [esp + 0x50]
mov dword [esp + 4], ebp
mov dword [esp + 8], eax
call fcn.00477ad0
mov eax, dword [esp + 0x44]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x7c], eax
mov eax, dword [esp + 0x40]
mov dword [esp + 0x80], eax
add esp, 0x4c
ret
mov edx, dword [esp + 0x30]
inc edx
add ecx, edi
mov edi, dword [esp + 0x2c]
mov ebp, dword [esp + 0x60]
add edi, ebp
mov ebp, dword [esp + 0x40]
mov dword [esp + 0x20], ecx
mov dword [esp + 0x28], edi
mov ecx, dword [esp + 0x60]
mov edi, edx
mov edx, dword [esp + 0x58]
cmp edi, ebp
jge 0x4d6e1c
mov dword [esp + 0x30], edi
test ecx, ecx
jne 0x4d6ced
test edi, edi
jg 0x4d6c9a
mov dword [esp + 0x34], eax
mov eax, dword [esp + 0x28]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x34]
jmp 0x4d6d58
mov eax, dword [esp + 0x28]
sub edx, eax
mov ebx, dword [esp + 0x54]
sub ebx, eax
mov edi, edx
neg edx
sar edx, 0x1f
and edx, eax
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], edi
call fcn.00483160
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
jmp 0x4d6d58
mov eax, dword [esp + 0x28]
sub edx, eax
mov dword [esp + 0x3c], edx
mov ebp, dword [esp + 0x54]
sub ebp, eax
neg edx
sar edx, 0x1f
and edx, eax
add edx, esi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov edx, dword [esp + 0x3c]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
mov ebp, dword [esp + 0x64]
mov dword [esp + 0x14], ebp
call fcn.004d6e90
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x28]
add eax, ecx
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x30]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x20]
sub ebx, ebp
mov dword [esp + 0x3c], ebx
neg ebx
sar ebx, 0x1f
and ebx, ebp
mov ecx, dword [esp + 0x2c]
mov edi, dword [esp + 0x28]
sub ecx, edi
sub edx, edi
neg edx
sar edx, 0x1f
and edi, edx
lea edx, [eax + ebx]
lea ebx, [esi + edi]
mov edi, dword [esp + 0x3c]
cmp ecx, edi
jl 0x4d6d8c
mov ecx, edi
cmp ebx, edx
je 0x4d6db4
mov dword [esp + 0x3c], ecx
mov dword [esp], edx
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.00477ad0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x20]
mov esi, dword [esp + 0x50]
add ecx, ebp
mov edx, dword [esp + 0x24]
mov ebx, edx
sub edx, ecx
mov ebp, edx
neg edx
sar edx, 0x1f
and edx, ecx
add edx, eax
mov edi, dword [esp + 0x6c]
cmp edi, ebp
jge 0x4d6dd5
mov ebp, edi
jmp 0x4d6ddb
mov edi, ebp
mov ebp, dword [esp + 0x6c]
mov ebp, dword [esp + 0x68]
cmp ebp, edx
je 0x4d6c4a
mov dword [esp + 0x20], ecx
mov dword [esp + 0x3c], edi
mov dword [esp], edx
mov dword [esp + 4], ebp
mov dword [esp + 8], edi
call fcn.00477ad0
mov eax, dword [esp + 0x48]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x24]
mov ebp, dword [esp + 0x68]
mov esi, dword [esp + 0x50]
mov edi, dword [esp + 0x3c]
jmp 0x4d6c4a
mov ecx, dword [esp + 0x20]
sub ebx, ecx
mov edi, ebx
neg ebx
sar ebx, 0x1f
and ebx, ecx
mov ebp, dword [esp + 0x54]
mov ecx, dword [esp + 0x28]
sub ebp, ecx
sub edx, ecx
neg edx
sar edx, 0x1f
and ecx, edx
lea edx, [eax + ebx]
add ecx, esi
cmp ebp, edi
jl 0x4d6e49
mov ebp, edi
cmp ecx, edx
je 0x4d6e69
mov dword [esp + 0x40], ebp
mov dword [esp], edx
mov dword [esp + 4], ecx
mov dword [esp + 8], ebp
call fcn.00477ad0
mov eax, dword [esp + 0x48]
mov ebp, dword [esp + 0x40]
mov ecx, dword [esp + 0x20]
add ecx, ebp
mov dword [esp + 0x78], eax
mov dword [esp + 0x7c], ecx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x80], eax
add esp, 0x4c
ret
call fcn.00475ee0
jmp fcn.004d6af0