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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4d8887
sub esp, 0x60
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
cmp eax, ecx
je 0x4d87d7
xor edx, edx
test dl, dl
je 0x4d8349
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 0x4d832f
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.004d6180
mov eax, dword [esp + 0x10]
test eax, eax
je 0x4d87bd
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jge 0x4d87ae
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 0x4d886e
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 0x4d872b
mov ebx, dword [esp + 0x6c]
mov ebp, dword [esp + 0x64]
xor edi, edi
xor edi, edi
mov dword [esp + 0x20], edi
jmp 0x4d8464
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.0045fe20
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 0x4d864e
mov dword [esp + 0x24], edi
test esi, esi
jne 0x4d8612
test edi, edi
jle 0x4d8607
mov ebx, dword [esp + 0x20]
cmp ecx, ebx
jb 0x4d8867
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.004948c0
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x20]
add eax, ecx
mov edx, dword [esp + 0x68]
cmp eax, edx
ja 0x4d8859
cmp eax, ecx
jb 0x4d884e
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 0x4d85fa
lea edi, [esp + 0x50]
cmp edi, esi
jne 0x4d8836
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 0x4d85b7
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.0045fe20
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 0x4d85ad
lea ecx, [esp + 0x50]
cmp ecx, eax
jne 0x4d881e
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 0x4d83fd
mov dword [esp + 0x38], eax
lea ecx, [0x718d60]
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.00445ed0
mov esi, dword [esp + 0x14]
mov ebp, dword [esp + 0x1c]
mov eax, dword [esp + 0x38]
mov edx, dword [esp + 0x78]
jmp 0x4d83fd
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ecx
jmp 0x4d8557
mov dword [esp + 0x38], ebp
mov dword [esp + 0x40], ecx
mov dword [esp + 0x34], esi
lea ecx, [0x718d60]
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.00445ed0
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 0x4d850e
lea edi, [esp + 0x50]
mov dword [esp + 0x50], edi
jmp 0x4d84ef
mov ecx, dword [esp + 0x20]
mov eax, ecx
jmp 0x4d84af
mov edi, dword [esp + 0x20]
cmp ecx, edi
jb 0x4d8860
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.004d8aa0
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x20]
add eax, ecx
jmp 0x4d84af
mov eax, dword [esp + 0x20]
cmp ecx, eax
jb 0x4d8819
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 0x4d871e
lea ebx, [esp + 0x50]
cmp ebx, ecx
jne 0x4d8801
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 0x4d86db
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.0045fe20
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, [0x718d60]
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.00445ed0
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 0x4d8697
lea ecx, [esp + 0x50]
mov dword [esp + 0x50], ecx
jmp 0x4d8680
mov dword [esp + 0x28], edi
lea eax, [0x718d60]
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.00445e20
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x54]
mov edx, dword [esp + 0x58]
mov ebx, dword [esp + 0x28]
cmp edx, ebx
jge 0x4d87aa
mov dword [esp + 0x48], eax
cmp eax, ecx
je 0x4d877d
mov dword [esp], eax
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
call fcn.0045fe20
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 0x4d83eb
mov edx, ebx
jmp 0x4d8765
cmp ebx, eax
jg 0x4d8389
mov eax, ebx
jmp 0x4d8389
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.00402b30
movzx edx, byte [esp + 0xc]
mov eax, dword [esp + 0x70]
mov ecx, dword [esp + 0x78]
jmp 0x4d832b
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e84e8]
mov dword [esp + 4], eax
call fcn.00432820
call fcn.0045f550
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e84e8]
mov dword [esp + 4], eax
call fcn.00432820
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e84e8]
mov dword [esp + 4], eax
call fcn.00432820
mov edx, eax
mov eax, ecx
mov ecx, edx
call fcn.0045f550
mov ecx, eax
call fcn.0045f510
mov eax, edi
call fcn.0045f550
mov eax, ebx
call fcn.0045f550
lea eax, [0x718aa0]
mov dword [esp], eax
lea eax, [0x7e84f0]
mov dword [esp + 4], eax
call fcn.00432820
nop
call fcn.0045df10
jmp fcn.004d8300