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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d98c4
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 0x4d98bd
cmp edx, 0
jne 0x4d98bd
mov ebx, dword [esp + 0x68]
cmp ebx, 0
jne 0x4d98bd
mov eax, 1
cmp al, 0
je 0x4d9653
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.004a8510
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
cmp ecx, 0
jg 0x4d96f7
jl 0x4d96a5
cmp edx, 0
ja 0x4d96f7
mov ebx, dword [0x61c1d0]
mov dword [esp + 0x98], ebx
mov ebx, dword [0x61c1d4]
mov dword [esp + 0x9c], ebx
mov ebx, dword [0x61c1d8]
mov dword [esp + 0xa0], ebx
mov ebx, dword [0x61c1dc]
mov dword [esp + 0xa4], ebx
mov ebx, dword [0x6ca510]
mov dword [esp + 0xa8], ebx
mov ebx, dword [0x6ca514]
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.0044c840
mov ebp, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
cmp ecx, 0
jg 0x4d9755
jl 0x4d973a
cmp edx, 0x77359400
jae 0x4d9755
cmp ebx, 0
jg 0x4d98b1
jl 0x4d9751
cmp ebp, 0x77359400
jae 0x4d98b1
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.0044c840
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.0044c840
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 0x4d989c
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 0x4d9881
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 0x4d9849
mov eax, dword [esp + 0x50]
sub eax, 1
sbb edi, 0
mov dword [esp + 0x50], eax
add ecx, 0x3b9aca00
jmp 0x4d9849
imul edx, esi
mov ebp, eax
imul ebp, ebx
add ebp, edx
mov edx, esi
mul edx
add edx, ebp
jmp 0x4d9815
mov edx, 0x77359400
xor ecx, ecx
jmp 0x4d9755
xor eax, eax
jmp 0x4d9617
call fcn.00452240
jmp fcn.004d9580