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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d62e4
sub esp, 0x70
mov edi, dword [esp + 0x88]
mov esi, dword [esp + 0x8c]
mov ebp, dword [esp + 0x90]
xor ebx, ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
xor ebx, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
mov edx, dword [esp + 0x84]
mov dword [esp + 0x68], esi
mov dword [esp + 0x6c], ebp
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edi
cmp edi, 0
jne 0x4d62dd
cmp edx, 0
jne 0x4d62dd
mov ebx, dword [esp + 0x68]
cmp ebx, 0
jne 0x4d62dd
mov eax, 1
cmp al, 0
je 0x4d6073
mov ebx, dword [esp + 0x84]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], esi
mov dword [esp + 0xa4], ebp
xor ebx, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
add esp, 0x70
ret
mov ebx, dword [esp + 0x84]
mov dword [esp], ebx
mov dword [esp + 4], edi
mov dword [esp + 8], esi
mov dword [esp + 0xc], ebp
mov ebx, dword [esp + 0x74]
mov dword [esp + 0x10], ebx
mov ebx, dword [esp + 0x78]
mov dword [esp + 0x14], ebx
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x18], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x1c], ebx
call fcn.004a71a0
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ecx, 0
jg 0x4d6117
jl 0x4d60c5
cmp edx, 0
ja 0x4d6117
mov ebx, dword [0x619e30]
mov dword [esp + 0x98], ebx
mov ebx, dword [0x619e34]
mov dword [esp + 0x9c], ebx
mov ebx, dword [0x619e38]
mov dword [esp + 0xa0], ebx
mov ebx, dword [0x619e3c]
mov dword [esp + 0xa4], ebx
mov ebx, dword [0x6c8510]
mov dword [esp + 0xa8], ebx
mov ebx, dword [0x6c8514]
mov dword [esp + 0xac], ebx
add esp, 0x70
ret
mov dword [esp + 0x28], edx
mov dword [esp], edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 4], ecx
mov eax, dword [esp + 0x94]
cdq
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
call fcn.0044b4d0
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, 0
jg 0x4d6175
jl 0x4d615a
cmp edx, 0x77359400
jae 0x4d6175
cmp ebx, 0
jg 0x4d62d1
jl 0x4d6171
cmp ebp, 0x77359400
jae 0x4d62d1
mov edx, ebp
mov ecx, ebx
mov esi, dword [esp + 0x74]
mov ebp, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
mov dword [esp + 0x58], ebx
mov ebx, dword [esp + 0x80]
mov dword [esp + 0x5c], ebx
xor ebx, ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
mov dword [esp + 0x4c], ebx
mov dword [esp + 0x50], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x54], ebp
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x30], edx
mov dword [esp], edx
mov dword [esp + 0x34], ecx
mov dword [esp + 4], ecx
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call fcn.0044b4d0
mov ebx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x3c]
add eax, ebx
adc edx, ecx
mov dword [esp + 0x50], eax
mov dword [esp + 0x54], edx
mov eax, dword [esp + 0x30]
mov dword [esp], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 4], eax
mov dword [esp + 8], 0x3b9aca00
mov dword [esp + 0xc], 0
call fcn.0044b4d0
mov edi, dword [esp + 0x54]
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov esi, 0x3b9aca00
xor ebx, ebx
mov ebp, edx
or ebp, ebx
jne 0x4d62bc
mul esi
mov ebx, eax
mov ecx, edx
mov eax, dword [esp + 0x30]
mov edx, dword [esp + 0x34]
sub eax, ebx
sbb edx, ecx
mov ecx, eax
mov ebx, dword [esp + 0x58]
add ecx, ebx
cmp ecx, 0x3b9aca00
jl 0x4d62a1
mov eax, dword [esp + 0x50]
add eax, 1
adc edi, 0
mov dword [esp + 0x50], eax
sub ecx, 0x3b9aca00
mov ebp, dword [esp + 0x50]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x98], ebp
mov dword [esp + 0x9c], edi
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], eax
xor ebx, ebx
mov dword [esp + 0xa8], ebx
mov dword [esp + 0xac], ebx
add esp, 0x70
ret
cmp ecx, 0
jge 0x4d6269
mov eax, dword [esp + 0x50]
sub eax, 1
sbb edi, 0
mov dword [esp + 0x50], eax
add ecx, 0x3b9aca00
jmp 0x4d6269
imul edx, esi
mov ebp, eax
imul ebp, ebx
add ebp, edx
mov edx, esi
mul edx
add edx, ebp
jmp 0x4d6235
mov edx, 0x77359400
xor ecx, ecx
jmp 0x4d6175
xor eax, eax
jmp 0x4d6037
call fcn.00450ed0
jmp fcn.004d5fa0