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

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x49f4c1
sub esp, 0x68
mov ecx, dword [esp + 0x70]
test ecx, ecx
je 0x49f441
cmp ecx, 1
je 0x49f426
lea edx, [ecx - 1]
mov ebx, dword [esp + 0x7c]
mov ebp, ebx
imul ebx, edx
mov esi, dword [esp + 0x6c]
xor eax, eax
jmp 0x49f0b7
lea edi, [eax + 1]
mov dword [esp + 0x28], edi
lea edi, [esi + eax*8]
mov edi, dword [edi + 4]
add ebx, edi
mov edi, dword [esp + 0x28]
mov eax, edi
cmp eax, ecx
jge 0x49f0c2
jb 0x49f0a2
jmp 0x49f4bb
mov dword [esp + 0x58], 0
mov dword [esp + 0x5c], 0
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
nop
nop
lea eax, [esp + 0x58]
mov dword [esp + 0x58], eax
test ebx, ebx
jl 0x49f4a3
mov dword [esp + 0x40], edx
mov ecx, dword [esp + 0x64]
mov dword [esp + 0x3c], ecx
mov edi, dword [esp + 0x60]
sub ecx, edi
cmp ecx, ebx
jl 0x49f3a3
mov ecx, dword [esi + 4]
mov ebx, dword [esi]
nop
mov edi, dword [esp + 0x58]
test edi, edi
je 0x49f39a
cmp eax, edi
jne 0x49f48b
mov edi, dword [esp + 0x60]
lea ebp, [ecx + edi]
mov dword [esp + 0x3c], ebp
mov eax, dword [esp + 0x64]
mov edx, dword [esp + 0x5c]
cmp ebp, eax
ja 0x49f357
mov dword [esp + 0x54], edx
mov dword [esp + 0x38], eax
lea ebp, [edx + edi]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], ecx
call fcn.0044b390
mov eax, dword [esp + 0x3c]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x74]
dec eax
neg eax
sar eax, 0x1f
and eax, 8
mov ecx, dword [esp + 0x6c]
add eax, ecx
mov dword [esp + 0x50], eax
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
xor ebp, ebp
jmp 0x49f1f8
mov dword [esp + 0x54], esi
mov dword [esp + 0x34], ebp
add eax, esi
mov dword [esp], eax
mov eax, dword [esp + 0x44]
mov dword [esp + 4], eax
mov dword [esp + 8], edx
call fcn.0044b390
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
mov eax, dword [esp + 0x3c]
lea ebp, [eax + 1]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x78]
mov edx, dword [esp + 0x7c]
mov ebx, dword [esp + 0x50]
mov eax, ebx
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
cmp ebp, ecx
jge 0x49f33d
lea esi, [eax + ebp*8]
mov edi, dword [esi + 4]
mov esi, dword [esi]
nop
nop
mov eax, dword [esp + 0x58]
test eax, eax
je 0x49f32c
lea ecx, [esp + 0x58]
cmp ecx, eax
jne 0x49f473
mov dword [esp + 0x3c], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x44], esi
mov eax, dword [esp + 0x60]
lea ebp, [ebx + eax]
mov dword [esp + 0x38], ebp
mov esi, dword [esp + 0x64]
mov edi, dword [esp + 0x5c]
cmp ebp, esi
ja 0x49f2f1
mov dword [esp + 0x34], esi
mov dword [esp + 0x54], edi
add eax, edi
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ebx
call fcn.0044b390
mov eax, dword [esp + 0x38]
mov dword [esp + 0x60], eax
mov eax, dword [esp + 0x34]
mov dword [esp + 0x64], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x5c], eax
nop
nop
mov eax, dword [esp + 0x58]
test eax, eax
je 0x49f2e7
lea ecx, [esp + 0x58]
cmp ecx, eax
jne 0x49f45b
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x24]
lea ebx, [edx + eax]
mov dword [esp + 0x38], ebx
mov ebp, dword [esp + 0x64]
mov esi, dword [esp + 0x5c]
cmp ebx, ebp
jbe 0x49f19d
mov dword [esp + 0x34], eax
lea ecx, [0x4c86a0]
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.00436c10
mov ebp, dword [esp + 0x1c]
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x24]
jmp 0x49f19d
lea ecx, [esp + 0x58]
mov dword [esp + 0x58], ecx
jmp 0x49f291
mov dword [esp + 0x34], eax
lea ecx, [0x4c86a0]
mov dword [esp], ecx
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], ebp
call fcn.00436c10
mov esi, dword [esp + 0x1c]
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x34]
mov edx, dword [esp + 0x78]
mov ebx, dword [esp + 0x7c]
jmp 0x49f249
lea eax, [esp + 0x58]
mov dword [esp + 0x58], eax
lea ecx, [esp + 0x58]
jmp 0x49f222
mov eax, dword [esp + 0x60]
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp + 0x38], edi
mov dword [esp + 0x20], ecx
mov dword [esp + 0x48], ebx
lea ecx, [0x4c86a0]
mov dword [esp], ecx
mov dword [esp + 4], edx
mov dword [esp + 8], edi
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], ebp
call fcn.00436c10
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0x48]
mov edi, dword [esp + 0x38]
jmp 0x49f143
mov dword [esp + 0x58], eax
jmp 0x49f128
mov dword [esp + 0x2c], edi
nop
lea eax, [0x4c86a0]
mov dword [esp], eax
mov dword [esp + 4], edi
mov ecx, dword [esp + 0x3c]
lea ecx, [ebx + ecx*2]
mov dword [esp + 0x30], ecx
mov dword [esp + 8], ecx
call fcn.00436b50
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x5c]
mov ebx, dword [esp + 0x2c]
cmp ebx, ecx
jle 0x49f422
mov dword [esp + 0x4c], eax
cmp eax, edx
je 0x49f3f5
mov dword [esp], eax
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.0044b390
mov ecx, dword [esp + 0x2c]
mov dword [esp + 0x60], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x64], ecx
mov ecx, dword [esp + 0x4c]
mov dword [esp + 0x5c], ecx
lea eax, [esp + 0x58]
mov edx, dword [esp + 0x40]
mov ebp, dword [esp + 0x7c]
mov esi, dword [esp + 0x6c]
jmp 0x49f10e
mov ecx, ebx
jmp 0x49f3dd
mov eax, dword [esp + 0x6c]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x80], ecx
mov dword [esp + 0x84], eax
add esp, 0x68
ret
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
add esp, 0x68
ret
lea eax, [0x4c84e0]
mov dword [esp], eax
lea eax, [0x500770]
mov dword [esp + 4], eax
call fcn.00427400
lea eax, [0x4c84e0]
mov dword [esp], eax
lea eax, [0x500768]
mov dword [esp + 4], eax
call fcn.00427400
lea eax, [0x4c84e0]
mov dword [esp], eax
lea eax, [0x500760]
mov dword [esp + 4], eax
call fcn.00427400
lea eax, [0x4c84e0]
mov dword [esp], eax
lea eax, [0x500758]
mov dword [esp + 4], eax
call fcn.00427400
call fcn.0044ab10
nop
call fcn.00449350
jmp fcn.0049f060