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

Disassembly:
mov ecx, dword [0x89e864]
mov edx, dword [ecx + 0x80300]
sub esp, 0x64
push ebx
push ebp
mov ebp, dword [esp + 0x70]
push esi
lea eax, [esp + 0x74]
push eax
push edx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov al, byte [esp + 0x74]
test al, al
jne 0x4a0820
cmp byte [ebp + 0x14], bl
je 0x4a0820
mov ecx, dword [ebp + 0xc4]
push edi
lea eax, [esp + 0x14]
push eax
push ecx
mov dword [esp + 0x80], 0
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov ecx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
sub eax, ecx
mov dword [esp + 0x7c], eax
mov dword [esp + 0x10], eax
mov eax, dword [0x89e864]
mov ecx, dword [eax + 0x263d4]
lea edx, [esp + 0x14]
push edx
push ecx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov ecx, dword [esp + 0x14]
mov eax, dword [0x89e864]
imul ecx, ecx, 0xb
movzx edx, byte [eax + 0x263cc]
add edx, ecx
imul edx, edx, 0x3e8
lea eax, [edx + eax + 0x2ca44]
mov eax, dword [eax + 4]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x14]
sub eax, 0
je 0x4a00ca
dec eax
je 0x4a008c
dec eax
jne 0x4a0118
mov esi, dword [esp + 0x84]
lea ecx, [esi + 0x13c]
call fcn.00432f90
cdq
sub eax, edx
mov edi, eax
mov ecx, 0x5fc75c
sar edi, 1
call fcn.00432f90
add edi, eax
add esi, 0x154
jmp 0x4a00b7
mov esi, dword [esp + 0x84]
lea ecx, [esi + 0x134]
call fcn.00432f90
cdq
sub eax, edx
mov edi, eax
mov ecx, 0x5fc75c
sar edi, 1
call fcn.00432f90
add edi, eax
add esi, 0x14c
mov ecx, esi
call fcn.00432f90
cmp eax, 1
jge 0x4a00f7
mov esi, 1
jmp 0x4a0100
mov esi, dword [esp + 0x84]
lea ecx, [esi + 0x12c]
call fcn.00432f90
cdq
sub eax, edx
mov edi, eax
mov ecx, 0x5fc75c
sar edi, 1
call fcn.00432f90
add edi, eax
add esi, 0x144
jmp 0x4a00b7
mov ecx, esi
call fcn.00432f90
mov esi, eax
mov ecx, 0x5fc7ac
call fcn.00432f90
imul eax, dword [esp + 0x7c]
cdq
idiv esi
mov dword [esp + 0x7c], eax
jmp 0x4a011c
mov edi, dword [esp + 0x7c]
mov edx, dword [ebp + 0xcc]
lea ecx, [esp + 0x14]
push ecx
push edx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov ecx, dword [0x5fc760]
lea eax, [esp + 0x24]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x80]
sub eax, ecx
mov ecx, dword [esp + 0x7c]
sub eax, ebx
imul ecx, ecx
mov edx, eax
imul edx, eax
mov eax, edi
imul eax, edi
add ecx, edx
cmp ecx, eax
mov dword [esp + 0x7c], ecx
jge 0x4a03c0
mov ecx, dword [0x89e864]
add ecx, 0x263d0
call fcn.00432f90
mov ecx, eax
mov eax, dword [0x89e864]
imul ecx, ecx, 0xb
movzx edx, byte [eax + 0x263cc]
add ecx, edx
imul ecx, ecx, 0x3e8
lea ecx, [ecx + eax + 0x2ca44]
call fcn.00432f90
sub eax, 0
je 0x4a0313
dec eax
je 0x4a0282
dec eax
jne 0x4a03c0
mov edi, dword [esp + 0x84]
lea esi, [edi + 0x13c]
mov ecx, esi
call fcn.00432f90
cdq
sub eax, edx
mov ebx, eax
mov ecx, 0x5fc75c
sar ebx, 1
call fcn.00432f90
add ebx, eax
mov dword [esp + 0x80], ebx
fild dword [esp + 0x80]
mov ecx, 0x5fc7d4
fild dword [esp + 0x7c]
fsqrt
fsubp st(1)
fstp qword [esp + 0x14]
call fcn.00432f90
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
mov ecx, esi
fmul qword [esp + 0x14]
fstp qword [esp + 0x14]
call fcn.00432f90
cdq
sub eax, edx
mov esi, eax
mov ecx, 0x5fc75c
sar esi, 1
call fcn.00432f90
add esi, eax
mov dword [esp + 0x7c], esi
fild dword [esp + 0x7c]
fdivr qword [esp + 0x14]
call fcn.0056e2cc
lea ecx, [edi + 0x124]
mov esi, eax
call fcn.00432f90
mov ebx, eax
mov ecx, 0x5fc7d4
imul ebx, esi
call fcn.00432f90
mov ecx, eax
mov eax, ebx
cdq
idiv ecx
mov dword [esp + 0x78], eax
jmp 0x4a03c7
mov edi, dword [esp + 0x84]
lea esi, [edi + 0x134]
mov ecx, esi
call fcn.00432f90
cdq
sub eax, edx
mov ebx, eax
mov ecx, 0x5fc75c
sar ebx, 1
call fcn.00432f90
add ebx, eax
mov dword [esp + 0x80], ebx
fild dword [esp + 0x80]
mov ecx, 0x5fc7d4
fild dword [esp + 0x7c]
fsqrt
fsubp st(1)
fstp qword [esp + 0x14]
call fcn.00432f90
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
mov ecx, esi
fmul qword [esp + 0x14]
fstp qword [esp + 0x14]
call fcn.00432f90
cdq
sub eax, edx
mov esi, eax
mov ecx, 0x5fc75c
sar esi, 1
call fcn.00432f90
add esi, eax
mov dword [esp + 0x7c], esi
fild dword [esp + 0x7c]
fdivr qword [esp + 0x14]
call fcn.0056e2cc
lea ecx, [edi + 0x11c]
jmp 0x4a039f
mov edi, dword [esp + 0x84]
lea esi, [edi + 0x12c]
mov ecx, esi
call fcn.00432f90
cdq
sub eax, edx
mov ebx, eax
mov ecx, 0x5fc75c
sar ebx, 1
call fcn.00432f90
add ebx, eax
mov dword [esp + 0x80], ebx
fild dword [esp + 0x80]
mov ecx, 0x5fc7d4
fild dword [esp + 0x7c]
fsqrt
fsubp st(1)
fstp qword [esp + 0x14]
call fcn.00432f90
mov dword [esp + 0x7c], eax
fild dword [esp + 0x7c]
mov ecx, esi
fmul qword [esp + 0x14]
fstp qword [esp + 0x14]
call fcn.00432f90
cdq
sub eax, edx
mov esi, eax
mov ecx, 0x5fc75c
sar esi, 1
call fcn.00432f90
add esi, eax
mov dword [esp + 0x7c], esi
fild dword [esp + 0x7c]
fdivr qword [esp + 0x14]
call fcn.0056e2cc
lea ecx, [edi + 0x114]
mov esi, eax
call fcn.00432f90
mov edi, eax
mov ecx, 0x5fc7d4
imul edi, esi
call fcn.00432f90
mov ecx, eax
mov eax, edi
cdq
idiv ecx
mov dword [esp + 0x78], eax
mov edi, dword [esp + 0x84]
mov eax, dword [edi + 0xd4]
lea edx, [esp + 0x44]
push edx
push eax
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
mov edx, dword [0x5fc7b0]
lea ecx, [esp + 0x54]
push ecx
push edx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov ecx, dword [0x5fc7b0]
lea eax, [esp + 0x34]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov eax, dword [edi + 0xc4]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov edx, dword [edi + 0xcc]
lea ecx, [esp + 0x24]
push ecx
push edx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov ecx, dword [0x5fc7b0]
lea eax, [esp + 0x64]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov eax, dword [esp + 0x24]
mov esi, dword [esp + 0x14]
cdq
sub eax, edx
mov edx, dword [esp + 0x34]
mov ecx, eax
mov eax, dword [esp + 0x44]
imul eax, dword [esp + 0x78]
sar ecx, 1
add ecx, esi
add ecx, edx
cdq
idiv dword [esp + 0x54]
imul eax, ecx
cdq
idiv dword [esp + 0x64]
test eax, eax
jle 0x4a081f
push eax
lea edi, [ebp + 0x58]
call fcn.00418060
mov eax, dword [esp + 0x10]
test eax, eax
mov edi, 0x2d
mov dword [esp + 0x78], edi
jge 0x4a04b7
mov dword [esp + 0x78], 0x87
mov edi, dword [esp + 0x78]
lea ecx, [ebp + 0xc0]
call fcn.00432f90
mov ebx, eax
lea ecx, [ebp + 0xc8]
mov dword [esp + 0x7c], ebx
call fcn.00432f90
push 1
lea edx, [esp + 0x14]
mov dword [esp + 0x84], eax
mov eax, dword [ebp + 0xc4]
push edx
push eax
mov dword [esp + 0x1c], ebx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [ebp + 0xcc]
mov ecx, dword [esp + 0x80]
push 1
lea edx, [esp + 0x14]
push edx
push eax
mov dword [esp + 0x1c], ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [ebp + 0x4c]
push 1
lea ecx, [esp + 0x14]
push ecx
shl ebx, 8
push edx
mov dword [esp + 0x1c], ebx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [esp + 0x80]
mov edx, dword [ebp + 0x54]
push 1
lea ecx, [esp + 0x14]
push ecx
shl eax, 8
push edx
mov dword [esp + 0x1c], eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
lea eax, [esp + 0x64]
mov byte [ebp + 0xe4], 0
mov dword [ebp + 0xe0], 0
mov dword [ebp + 0xd0], edi
mov byte [ebp + 0x207], 0
mov byte [ebp + 0x208], 0
mov ecx, dword [0x5fc7b0]
push eax
push ecx
call fcn.004d3720
mov ebx, 1
mov esi, eax
call fcn.004031f0
push edi
call fcn.00548810
fmul dword [0x5a4670]
add esp, 4
call fcn.0056e2cc
cdq
idiv dword [esp + 0x64]
push ebx
lea edx, [esp + 0x14]
push edx
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xb4]
push eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [0x5fc7b0]
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
push edi
call fcn.005487f0
fmul dword [0x5a466c]
add esp, 4
call fcn.0056e2cc
cdq
idiv dword [esp + 0x64]
mov ecx, dword [ebp + 0xbc]
push ebx
mov dword [esp + 0x14], eax
lea eax, [esp + 0x14]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [0x89e864]
add ecx, 0x27054
call fcn.00432f90
push eax
call fcn.00548810
fstp dword [esp + 0x18]
mov ecx, dword [0x89e864]
add esp, 4
add ecx, 0x2704c
call fcn.00432f90
mov dword [esp + 0x10], eax
fild dword [esp + 0x10]
fmul dword [esp + 0x14]
call fcn.0056e2cc
push ebx
lea edx, [esp + 0x18]
mov dword [esp + 0x18], eax
mov eax, dword [ebp + 0xa4]
push edx
push eax
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov edx, dword [0x5fc7b0]
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
lea ecx, [ebp + 0xa0]
call fcn.00432f90
shl eax, 8
cdq
idiv dword [esp + 0x64]
mov ecx, dword [ebp + 0xa4]
push ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [ebp + 0xac]
push ebx
lea edx, [esp + 0x18]
push edx
push eax
mov dword [esp + 0x20], 0x62
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov ecx, dword [0x89e864]
add ecx, 0x27054
lea edi, [ebp + 0xa8]
call fcn.00432f90
push eax
call fcn.005487f0
fstp dword [esp + 0x14]
mov ecx, dword [0x89e864]
add esp, 4
add ecx, 0x2704c
call fcn.00432f90
mov dword [esp + 0x14], eax
fild dword [esp + 0x14]
fmul dword [esp + 0x10]
call fcn.0056e2cc
push eax
call fcn.004180b0
mov edx, dword [0x5fc7b0]
lea ecx, [esp + 0x64]
push ecx
push edx
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov ecx, edi
call fcn.00432f90
shl eax, 8
cdq
idiv dword [esp + 0x64]
mov ecx, dword [ebp + 0xac]
push ebx
mov dword [esp + 0x18], eax
lea eax, [esp + 0x18]
push eax
push ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
mov eax, dword [ebp + 0x44]
lea edx, [esp + 0x14]
push edx
push eax
call fcn.004d3720
mov esi, eax
call fcn.004031f0
mov al, byte [esp + 0x14]
test al, al
je 0x4a07f3
mov eax, dword [esp + 0x78]
xor ecx, ecx
cmp eax, 0x5a
setge cl
lea edi, [ebp + 0x40]
push 0x62
dec ecx
and ecx, 0x5a
add ecx, 0x2d
mov esi, ecx
mov ecx, edi
call fcn.00418340
mov ecx, dword [esp + 0x80]
movzx edx, al
mov eax, dword [esp + 0x84]
push edx
mov edx, dword [0x89e864]
push 0x1f4
push esi
push eax
push ecx
add edx, 0x802f8
push edx
call fcn.00448f20
xor al, al
call fcn.004182c0
mov byte [ebp + 0x206], bl
mov eax, dword [esp + 0x84]
movzx ecx, byte [eax + 0x3c]
mov eax, dword [ebp + 0x6c]
push 1
lea edx, [esp + 0x80]
push edx
push eax
mov dword [esp + 0x88], ecx
call fcn.004d3720
mov esi, eax
call fcn.0040ae40
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x64
ret 0x10