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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0xb4
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 0xc]
push esi
xor esi, esi
push edi
mov eax, dword [ebx]
mov dword [esp + 0x94], esi
cmp eax, esi
mov dword [esp + 0x98], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0xa4], esi
mov dword [esp + 0xa0], esi
mov dword [esp + 0x84], esi
mov dword [esp + 0x1c], esi
mov dword [esp + 0x18], esi
mov dword [esp + 0x74], esi
mov dword [esp + 0x78], esi
mov dword [esp + 0x80], esi
mov dword [esp + 0x7c], esi
jne 0x4bff93
cmp dword [ecx], esi
je 0x4bffae
mov edi, dword [ebp + 8]
cmp eax, esi
jne 0x4bffa3
cmp edi, 1
je 0x4bffae
cmp edi, esi
je 0x4bffae
mov ecx, dword [ecx]
cmp ecx, esi
jne 0x4bffc0
cmp edi, 1
jne 0x4bffc5
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp edi, 1
je 0x4bffc9
cmp edi, esi
jne 0x4bffdf
cmp eax, esi
jle 0x4bffdf
cmp ecx, esi
jle 0x4bffdf
mov eax, dword [ebp + 0x10]
push edi
push eax
push ebx
call fcn.004c2420
add esp, 0xc
cmp dword [ebx], esi
jle 0x4c000e
push edi
push 1
lea ecx, [esp + 0x84]
push ebx
lea edx, [esp + 0xa0]
push ecx
lea eax, [esp + 0x94]
push edx
push eax
call fcn.004c16c0
add esp, 0x18
mov dword [esp + 0xa0], eax
mov ecx, dword [ebp + 0x10]
cmp dword [ecx], esi
jle 0x4c0041
push edi
mov edx, ecx
push esi
lea eax, [esp + 0x84]
push edx
lea ecx, [esp + 0xa0]
push eax
lea edx, [esp + 0x94]
push ecx
push edx
call fcn.004c16c0
add esp, 0x18
mov dword [esp + 0xa4], eax
cmp dword [esp + 0x84], esi
jne 0x4c0098
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
mov dword [eax + 4], esi
mov dword [eax + 8], esi
lea eax, [esp + 0x84]
push eax
call fcn.004c1410
mov eax, dword [esp + 0xa4]
mov edi, dword [0x6c74ac]
add esp, 4
cmp eax, esi
je 0x4c007c
push eax
call edi
add esp, 4
mov eax, dword [esp + 0xa4]
cmp eax, esi
je 0x4c132a
push eax
call edi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, dword [esp + 0x7c]
lea eax, [ecx*8]
cmp eax, esi
jbe 0x4c00c3
push eax
call dword [0x6c746c]
add esp, 4
cmp eax, esi
mov dword [esp + 0x9c], eax
jne 0x4c00cc
push esi
call dword [0x6c74b0]
xor eax, eax
mov dword [esp + 0x9c], eax
mov edx, dword [esp + 0x94]
push edx
push eax
lea eax, [esp + 0x88]
push eax
call fcn.004c15e0
lea ecx, [esp + 0xa0]
mov dword [esp + 0x8c], esi
push ecx
call fcn.004c1620
mov eax, dword [ebp + 0x14]
add esp, 0x10
cmp ebx, eax
jne 0x4c0109
push ebx
call fcn.004bfd70
add esp, 4
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
cmp eax, ecx
jne 0x4c011c
push eax
call fcn.004bfd70
add esp, 4
cmp edi, esi
jne 0x4c0128
mov dword [esp + 0x74], 1
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
mov edx, dword [esp + 0x84]
cmp eax, esi
mov dword [esp + 0x88], edx
jge 0x4c112e
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x9c]
inc eax
cmp eax, esi
fld qword [edx + eax*8 - 8]
mov dword [esp + 0x80], eax
fstp qword [esp + 0x20]
jge 0x4c017d
fld qword [edx + eax*8]
fst qword [esp + 0xa8]
fsub qword [esp + 0x20]
fstp qword [esp + 0xb0]
mov ebx, dword [esp + 0x88]
xor edi, edi
cmp ebx, edi
je 0x4c01c5
fld qword [ebx]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
je 0x4c01c5
mov esi, dword [ebx + 8]
cmp esi, edi
je 0x4c01bb
push edi
lea eax, [esp + 0x2c]
push esi
push eax
call fcn.004c1d10
mov esi, dword [esi + 0x84]
add esp, 0xc
cmp esi, edi
jne 0x4c019e
mov ecx, dword [esp + 0x28]
mov edx, dword [ebx + 0xc]
mov dword [esp + 0x88], edx
fld qword [ecx + 0x28]
fcomp qword [esp + 0x20]
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x34], 0xffefffff
mov edx, ecx
fnstsw ax
test ah, 0x40
jne 0x4c01ec
mov eax, 1
jmp 0x4c01ee
xor eax, eax
mov esi, dword [ecx + 0x48]
mov dword [ecx + esi*4 + 0x4c], eax
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp dword [eax + 0x48], edi
sete cl
mov dword [eax + ecx*4 + 0x4c], edi
mov eax, dword [esp + 0x28]
mov dword [eax + 0x64], edi
mov esi, dword [esp + 0x28]
mov ecx, dword [esi + 0x78]
cmp ecx, edi
je 0x4c02d8
mov esi, 2
fld qword [ecx + 0x28]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
jne 0x4c0235
mov eax, 1
jmp 0x4c0237
xor eax, eax
mov ebx, dword [ecx + 0x48]
mov dword [ecx + ebx*4 + 0x4c], eax
mov ebx, dword [ecx + 0x48]
xor eax, eax
cmp ebx, edi
sete al
mov dword [ecx + eax*4 + 0x4c], edi
mov eax, dword [ecx + 0x48]
mov dword [ecx + 0x64], edi
cmp dword [ecx + eax*4 + 0x4c], edi
je 0x4c02c9
fld qword [edx + 0x30]
fsub qword [ecx + 0x30]
fabs
fcomp qword [0x6d1b50]
fnstsw ax
test ah, 0x41
je 0x4c02c7
fld qword [edx + 0x40]
fsub qword [ecx + 0x40]
fabs
fcomp qword [0x6d1b50]
fnstsw ax
test ah, 0x41
je 0x4c02c7
fld qword [edx + 0x28]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
jne 0x4c02c7
mov eax, dword [ecx + 0x48]
lea eax, [eax*4 + 0x4c]
mov ebx, dword [eax + edx]
xor dword [eax + ecx], ebx
mov ebx, dword [ecx + 0x48]
xor eax, eax
cmp ebx, edi
sete al
lea eax, [eax*4 + 0x4c]
mov ebx, dword [eax + edx]
mov dword [eax + ecx], ebx
mov dword [ecx + 0x64], 1
mov dword [edx + 0x4c], edi
mov dword [edx + 0x50], edi
mov dword [edx + 0x64], esi
mov edx, ecx
mov ecx, dword [ecx + 0x78]
cmp ecx, edi
jne 0x4c0220
mov esi, dword [esp + 0x28]
cmp esi, edi
mov dword [esp + 0x68], edi
mov dword [esp + 0x6c], edi
je 0x4c09ea
mov ecx, dword [esp + 0x74]
mov edi, dword [esp + 0x64]
mov ebx, dword [esp + 0x38]
jmp 0x4c02fa
mov ecx, dword [esp + 0x74]
mov edx, dword [esi + 0x54]
mov eax, dword [esi + 0x4c]
lea edx, [eax + edx*2]
mov eax, dword [esi + 0x58]
mov dword [esp + 0x8c], edx
mov edx, dword [esi + 0x50]
lea eax, [edx + eax*2]
mov edx, dword [esp + 0x8c]
test edx, edx
mov dword [esp + 0x90], eax
jne 0x4c032d
test eax, eax
je case.0x4c0612.3
mov edx, dword [ebp + 8]
mov eax, dword [esp + 0x78]
cmp edx, 3
mov dword [esi + 0x5c], ecx
mov dword [esi + 0x60], eax
ja case.default.0x4c0343
jmp dword [edx*4 + 0x4c1334]
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x4c0361
test eax, eax
jne 0x4c0384
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x4c0384
mov edx, dword [esp + 0x90]
test edx, edx
je 0x4c0378
test ecx, ecx
jne 0x4c0384
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x4c0384
test edi, edi
je 0x4c038e
test edx, edx
je 0x4c038e
cmp ecx, eax
jne 0x4c038e
mov dword [esp + 0x70], 1
jmp 0x4c0396
mov dword [esp + 0x70], 0
xor ebx, ebx
cmp ecx, ebx
je 0x4c03a8
cmp eax, ebx
mov dword [esp + 0x54], 1
jne 0x4c03ac
mov dword [esp + 0x54], ebx
mov edx, dword [esi + 0x4c]
xor edx, ecx
je 0x4c03bf
mov edx, dword [esi + 0x50]
xor edx, eax
je 0x4c03bf
mov ebx, 1
mov edi, dword [esp + 0x68]
xor edx, edx
test edi, edi
setne dl
mov dword [esp + 0x3c], edx
xor edx, ecx
mov dword [esp + 0x38], ebx
je 0x4c03ec
mov edi, dword [esp + 0x6c]
xor edx, edx
test edi, edi
setne dl
xor edx, eax
je 0x4c03ec
mov edx, 1
jmp 0x4c03ee
xor edx, edx
mov eax, dword [esi + 0x54]
mov edi, dword [esp + 0x3c]
xor eax, edi
mov dword [esp + 0x44], edx
xor eax, ecx
je 0x4c057b
mov edi, dword [esp + 0x6c]
xor eax, eax
test edi, edi
mov edi, dword [esi + 0x58]
setne al
xor eax, edi
mov edi, dword [esp + 0x78]
xor eax, edi
je 0x4c057b
mov eax, dword [esp + 0x78]
mov edi, 1
jmp 0x4c0587
mov edx, dword [esp + 0x8c]
test edx, edx
jne 0x4c044b
mov edx, dword [esp + 0x90]
mov dword [esp + 0x70], 0
test edx, edx
je 0x4c0453
mov dword [esp + 0x70], 1
mov ebx, dword [esi + 0x50]
mov edi, dword [esi + 0x4c]
mov edx, eax
xor ebx, edi
mov edi, dword [esp + 0x68]
xor edx, ecx
mov dword [esp + 0x54], edx
mov edx, dword [esp + 0x6c]
xor ebx, eax
xor eax, eax
xor ebx, ecx
test edx, edx
setne al
xor edx, edx
mov dword [esp + 0x38], ebx
test edi, edi
mov edi, dword [esp + 0x78]
setne dl
xor eax, edx
mov edx, eax
xor edx, edi
mov edi, dword [esi + 0x58]
xor edi, dword [esi + 0x54]
xor edx, ecx
mov dword [esp + 0x44], edx
xor edi, eax
mov eax, dword [esp + 0x78]
xor edi, eax
xor edi, ecx
jmp 0x4c0587
mov edi, dword [esp + 0x8c]
test edi, edi
je 0x4c04bd
test eax, eax
je 0x4c04e0
mov edx, dword [esp + 0x6c]
test edx, edx
jne 0x4c04e0
mov edx, dword [esp + 0x90]
test edx, edx
je 0x4c04d4
test ecx, ecx
je 0x4c04e0
mov ebx, dword [esp + 0x68]
test ebx, ebx
jne 0x4c04e0
test edi, edi
je 0x4c04ea
test edx, edx
je 0x4c04ea
cmp ecx, eax
jne 0x4c04ea
mov dword [esp + 0x70], 1
jmp 0x4c04f2
mov dword [esp + 0x70], 0
xor ebx, ebx
cmp ecx, ebx
jne 0x4c0500
cmp eax, ebx
mov dword [esp + 0x54], ebx
je 0x4c0508
mov dword [esp + 0x54], 1
mov edx, dword [esi + 0x4c]
xor edx, ecx
jne 0x4c0516
mov edx, dword [esi + 0x50]
xor edx, eax
je 0x4c051b
mov ebx, 1
mov edi, dword [esp + 0x68]
xor edx, edx
test edi, edi
setne dl
mov dword [esp + 0x3c], edx
xor edx, ecx
mov dword [esp + 0x38], ebx
jne 0x4c0545
mov edi, dword [esp + 0x6c]
xor edx, edx
test edi, edi
setne dl
xor edx, eax
jne 0x4c0545
xor edx, edx
jmp 0x4c054a
mov edx, 1
mov eax, dword [esi + 0x54]
mov edi, dword [esp + 0x3c]
xor eax, edi
mov dword [esp + 0x44], edx
xor eax, ecx
jne 0x4c041f
mov edi, dword [esp + 0x6c]
xor eax, eax
test edi, edi
mov edi, dword [esi + 0x58]
setne al
xor eax, edi
mov edi, dword [esp + 0x78]
xor eax, edi
jne 0x4c041f
mov eax, dword [esp + 0x78]
xor edi, edi
jmp 0x4c0587
mov edx, dword [esp + 0x44]
xor eax, dword [esi + 0x50]
xor ecx, dword [esi + 0x4c]
mov dword [esp + 0x78], eax
mov eax, dword [esp + 0x8c]
test eax, eax
mov dword [esp + 0x74], ecx
je 0x4c05bb
mov edx, dword [esp + 0x68]
lea eax, [eax + edx*2]
add edx, eax
lea ecx, [ecx + edx*2]
mov edx, dword [ecx*4 + 0x6d1afc]
mov dword [esp + 0x68], edx
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x90]
test ecx, ecx
je 0x4c05e1
mov eax, dword [esp + 0x6c]
lea ecx, [ecx + eax*2]
add eax, ecx
mov ecx, dword [esp + 0x78]
lea eax, [ecx + eax*2]
mov ecx, dword [eax*4 + 0x6d1afc]
mov dword [esp + 0x6c], ecx
mov eax, dword [esp + 0x70]
test eax, eax
je case.0x4c0612.3
mov eax, dword [esi + 0x30]
mov ecx, dword [esi + 0x34]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x54]
mov dword [esp + 0x14], ecx
lea ecx, [eax + ebx*2]
lea eax, [edi + ecx*2]
lea eax, [edx + eax*2 - 1]
cmp eax, 0xd
ja case.0x4c0612.3
jmp dword [eax*4 + 0x4c1344]
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
push eax
push ecx
lea edx, [esp + 0x2c]
push esi
push edx
call fcn.004c2200
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esi + 0x6c]
add esp, 0x18
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
jmp case.0x4c0612.3
fld qword [esp + 0x10]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x40
jne 0x4c0697
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.004c2150
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esi + 0x6c], ecx
jmp case.0x4c0612.3
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x70]
push ecx
push edx
push eax
call fcn.004c20a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
mov eax, dword [esi + 0x70]
add esp, 0x14
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov dword [esp + 0x18], eax
jmp case.0x4c0612.3
fld qword [esp + 0x10]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x40
jne 0x4c0727
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x20]
push eax
push ecx
push edx
call fcn.004c20a0
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov edx, dword [esp + 0x1c]
mov eax, dword [esi + 0x70]
mov ecx, dword [esp + 0x18]
push edx
push eax
push ecx
call fcn.004c21a0
add esp, 0xc
mov dword [esp + 0x18], 0
jmp case.0x4c0612.3
fld qword [esp + 0x10]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x40
jne 0x4c078a
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x20]
push ecx
push edx
push eax
call fcn.004c20a0
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x18]
mov dword [esp + 0x18], 0
mov dword [esi + 0x6c], eax
jmp case.0x4c0612.3
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esi + 0x70]
push eax
push ecx
push edx
call fcn.004c2150
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov edx, dword [esi + 0x70]
add esp, 0x14
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x18], edx
mov dword [esi + 0x70], 0
jmp case.0x4c0612.3
fld qword [esp + 0x10]
fcomp qword [esp + 0x30]
fnstsw ax
test ah, 0x40
jne 0x4c0821
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x20]
push edx
push eax
push ecx
call fcn.004c2150
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x28]
add esp, 0x14
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x70]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.004c20f0
add esp, 0xc
xor eax, eax
mov dword [esp + 0x18], eax
mov dword [esi + 0x70], eax
jmp case.0x4c0612.3
fld qword [esp + 0x10]
fcomp qword [esp + 0x30]
mov ebx, dword [esp + 0x14]
fnstsw ax
test ah, 0x40
jne 0x4c0883
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
push edx
push ebx
push eax
push ecx
call fcn.004c2150
mov edx, dword [esp + 0x24]
mov eax, ebx
add esp, 0x14
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
mov ecx, dword [esp + 0x1c]
mov edx, dword [esi + 0x70]
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call fcn.004c20f0
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
push ecx
push edx
push ebx
push eax
lea ecx, [esp + 0x38]
push esi
push ecx
mov dword [esi + 0x70], 0
call fcn.004c2200
mov edx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x5c]
add esp, 0x24
mov dword [esp + 0x18], edx
jmp case.0x4c0612.3
fld qword [esp + 0x10]
fcomp qword [esp + 0x30]
mov ebx, dword [esp + 0x14]
fnstsw ax
test ah, 0x40
jne 0x4c0909
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
mov edx, dword [esp + 0x10]
push eax
mov eax, dword [esp + 0x1c]
push ecx
push ebx
push edx
push eax
call fcn.004c20a0
mov ecx, dword [esp + 0x24]
mov edx, ebx
add esp, 0x14
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov eax, dword [esp + 0x1c]
mov ecx, dword [esi + 0x70]
mov edx, dword [esp + 0x18]
push eax
push ecx
push edx
call fcn.004c21a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x2c]
mov edx, dword [esp + 0x1c]
push eax
push ecx
push ebx
push edx
lea eax, [esp + 0x38]
push esi
push eax
mov dword [esi + 0x70], 0
call fcn.004c2200
mov ecx, dword [esi + 0x6c]
mov ebx, dword [esp + 0x5c]
add esp, 0x24
mov dword [esp + 0x18], ecx
jmp case.0x4c0612.3
fld qword [esi + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
je 0x4c097f
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esi + 0x70]
push ecx
push edx
push eax
call fcn.004c20a0
add esp, 0x14
mov ecx, dword [esi + 0x70]
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov dword [esi + 0x6c], ecx
mov dword [esp + 0x30], edx
mov dword [esp + 0x34], eax
jmp case.0x4c0612.3
fld qword [esi + 0x18]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
je 0x4c09c5
mov ecx, dword [esp + 0x24]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x14]
push edx
mov edx, dword [esi + 0x70]
push eax
push ecx
push edx
call fcn.004c2150
add esp, 0x14
mov eax, dword [esi + 0x70]
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi + 0x6c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov esi, dword [esi + 0x78]
test esi, esi
jne 0x4c02f6
mov dword [esp + 0x64], edi
mov ecx, dword [esp + 0x28]
xor esi, esi
cmp ecx, esi
je 0x4c0a98
mov edi, 1
mov ebx, 2
fld qword [ecx + 0x28]
fcomp qword [esp + 0x20]
fnstsw ax
test ah, 0x40
je 0x4c0a57
mov eax, dword [ecx + 0x74]
mov edx, dword [ecx + 0x78]
cmp eax, esi
je 0x4c0a1f
mov dword [eax + 0x78], edx
jmp 0x4c0a28
mov dword [esp + 0x28], edx
mov ebx, 2
cmp edx, esi
je 0x4c0a2f
mov dword [edx + 0x74], eax
cmp dword [ecx + 0x68], edi
jne 0x4c0a89
cmp eax, esi
je 0x4c0a89
cmp dword [eax + 0x68], ebx
jne 0x4c0a89
mov edx, dword [ecx + 0x70]
mov dword [eax + 0x68], esi
mov dword [eax + 0x70], edx
mov edx, dword [eax + 0x74]
cmp edx, esi
je 0x4c0a89
cmp dword [edx + 0x68], ebx
jne 0x4c0a89
mov dword [eax + 0x68], edi
jmp 0x4c0a89
fld qword [ecx + 0x28]
fcomp qword [esp + 0xa8]
fnstsw ax
test ah, 0x40
je 0x4c0a76
mov eax, dword [ecx + 0x20]
mov edx, dword [ecx + 0x24]
mov dword [ecx + 0x38], eax
mov dword [ecx + 0x3c], edx
jmp 0x4c0a89
fld qword [esp + 0xa8]
fsub qword [ecx + 0x18]
fmul qword [ecx + 0x40]
fadd qword [ecx + 0x10]
fstp qword [ecx + 0x38]
mov ecx, dword [ecx + 0x78]
cmp ecx, esi
jne 0x4c0a02
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x7c]
cmp eax, edx
jge 0x4c112e
mov edx, dword [esp + 0xb4]
mov eax, dword [esp + 0xb0]
push edx
push eax
push ecx
lea ecx, [esp + 0xa4]
push ecx
call fcn.004c1fa0
mov eax, dword [esp + 0xa8]
add esp, 0x10
test eax, eax
mov dword [esp + 0x3c], eax
je 0x4c1083
jmp 0x4c0ae5
mov eax, dword [esp + 0x3c]
mov edi, dword [eax]
mov esi, dword [eax + 4]
mov ecx, dword [edi + 0x4c]
test ecx, ecx
jne 0x4c0b00
mov eax, dword [edi + 0x50]
test eax, eax
je case.0x4c0d17.3
mov eax, dword [esp + 0x3c]
mov edx, dword [esi + 0x4c]
test edx, edx
jne 0x4c0b16
mov eax, dword [esi + 0x50]
test eax, eax
je case.0x4c0d17.3
mov eax, dword [esp + 0x3c]
mov ecx, dword [edi + 0x6c]
mov ebx, dword [eax + 0xc]
fld qword [esp + 0x20]
fadd qword [eax + 0x10]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esi + 0x6c]
mov dword [esp + 0x40], ecx
mov ecx, dword [eax + 8]
mov eax, dword [edi + 0x4c]
mov dword [esp + 0x48], ecx
fstp qword [esp + 0x58]
test eax, eax
mov dword [esp + 0x4c], ebx
je 0x4c0b4b
mov ecx, dword [edi + 0x5c]
test ecx, ecx
je 0x4c0b6c
test edx, edx
je 0x4c0b56
mov ecx, dword [esi + 0x5c]
test ecx, ecx
jne 0x4c0b6c
test eax, eax
jne 0x4c0b73
test edx, edx
jne 0x4c0b73
mov eax, dword [edi + 0x5c]
test eax, eax
je 0x4c0b73
mov eax, dword [esi + 0x5c]
test eax, eax
je 0x4c0b73
mov ebx, 1
jmp 0x4c0b75
xor ebx, ebx
mov ecx, dword [edi + 0x50]
mov dword [esp + 0xb8], ebx
test ecx, ecx
je 0x4c0b8a
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4c0bad
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4c0b97
cmp dword [esi + 0x60], 0
jne 0x4c0bad
test ecx, ecx
jne 0x4c0bb4
test eax, eax
jne 0x4c0bb4
mov eax, dword [edi + 0x60]
test eax, eax
je 0x4c0bb4
mov eax, dword [esi + 0x60]
test eax, eax
je 0x4c0bb4
mov ecx, 1
jmp 0x4c0bb6
xor ecx, ecx
mov eax, dword [ebp + 8]
cmp eax, 3
ja case.default.0x4c0bc2
jmp dword [eax*4 + 0x4c137c]
test ebx, ebx
je 0x4c0bd9
test ecx, ecx
mov dword [esp + 0x44], 1
jne 0x4c0be1
mov dword [esp + 0x44], 0
mov eax, edx
xor eax, ebx
je 0x4c0bf6
mov eax, dword [esi + 0x50]
mov dword [esp + 0x64], 1
xor eax, ecx
jne 0x4c0bfe
mov dword [esp + 0x64], 0
mov eax, dword [edi + 0x4c]
xor eax, ebx
je 0x4c0c14
mov eax, dword [edi + 0x50]
mov dword [esp + 0x54], 1
xor eax, ecx
jne 0x4c0c1c
mov dword [esp + 0x54], 0
xor edx, dword [edi + 0x4c]
xor edx, ebx
je 0x4c0c33
mov edx, dword [esi + 0x50]
mov ebx, dword [edi + 0x50]
xor edx, ebx
xor edx, ecx
jne 0x4c0cec
mov dword [esp + 0x38], 0
jmp case.default.0x4c0bc2
mov eax, ecx
xor eax, ebx
mov dword [esp + 0x44], eax
mov eax, dword [esi + 0x50]
xor eax, edx
mov edx, eax
xor edx, ecx
xor edx, ebx
mov ebx, dword [edi + 0x50]
mov dword [esp + 0x64], edx
mov edx, dword [edi + 0x4c]
xor ebx, edx
mov edx, dword [esp + 0xb8]
xor ebx, ecx
xor ebx, edx
mov dword [esp + 0x54], ebx
mov ebx, dword [edi + 0x50]
xor eax, ebx
mov ebx, dword [edi + 0x4c]
xor eax, ebx
xor eax, ecx
xor eax, edx
mov dword [esp + 0x38], eax
jmp case.default.0x4c0bc2
test ebx, ebx
jne 0x4c0c8e
test ecx, ecx
mov dword [esp + 0x44], ebx
je 0x4c0c96
mov dword [esp + 0x44], 1
mov eax, edx
xor eax, ebx
jne 0x4c0cab
mov eax, dword [esi + 0x50]
mov dword [esp + 0x64], 0
xor eax, ecx
je 0x4c0cb3
mov dword [esp + 0x64], 1
mov eax, dword [edi + 0x4c]
xor eax, ebx
jne 0x4c0cc9
mov eax, dword [edi + 0x50]
mov dword [esp + 0x54], 0
xor eax, ecx
je 0x4c0cd1
mov dword [esp + 0x54], 1
xor edx, dword [edi + 0x4c]
xor edx, ebx
jne 0x4c0cec
mov edx, dword [esi + 0x50]
mov ebx, dword [edi + 0x50]
xor edx, ebx
mov dword [esp + 0x38], 0
xor edx, ecx
je case.default.0x4c0bc2
mov dword [esp + 0x38], 1
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x38]
lea edx, [eax + ecx*2]
mov eax, dword [esp + 0x64]
lea ecx, [eax + edx*2]
mov edx, dword [esp + 0x44]
lea eax, [edx + ecx*2 - 1]
cmp eax, 0xd
ja case.0x4c0d17.3
jmp dword [eax*4 + 0x4c138c]
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
lea ecx, [esp + 0x2c]
push edi
push ecx
call fcn.004c2200
mov edx, dword [edi + 0x6c]
add esp, 0x18
mov dword [esi + 0x6c], edx
jmp case.0x4c0d17.3
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x4c0d17.3
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
push ebx
call fcn.004c2150
mov dword [esi + 0x6c], ebx
add esp, 0x14
mov dword [edi + 0x6c], 0
jmp case.0x4c0d17.3
mov eax, dword [esp + 0x40]
test eax, eax
je case.0x4c0d17.3
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
push ebx
call fcn.004c20a0
mov dword [edi + 0x6c], ebx
add esp, 0x14
mov dword [esi + 0x6c], 0
jmp case.0x4c0d17.3
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x4c0d17.3
mov eax, dword [esp + 0x40]
test eax, eax
je case.0x4c0d17.3
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push ebx
call fcn.004c20a0
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x54]
push eax
push ecx
push ebx
call fcn.004c21a0
add esp, 0x20
xor eax, eax
mov dword [edi + 0x6c], eax
jmp 0x4c0fbd
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
lea eax, [esp + 0x2c]
push edi
push eax
call fcn.004c2200
mov ecx, dword [edi + 0x6c]
add esp, 0x18
mov dword [esi + 0x6c], ecx
jmp case.0x4c0d17.3
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x4c0d17.3
mov edx, dword [esp + 0x5c]
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
push edx
mov edx, dword [esp + 0x4c]
push eax
push ecx
push edx
push ebx
call fcn.004c20a0
mov dword [esi + 0x6c], ebx
add esp, 0x14
mov dword [edi + 0x6c], 0
jmp case.0x4c0d17.3
mov eax, dword [esp + 0x40]
test eax, eax
je case.0x4c0d17.3
mov eax, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov ebx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x4c]
push ecx
push edx
push eax
push ebx
call fcn.004c2150
mov dword [edi + 0x6c], ebx
add esp, 0x14
mov dword [esi + 0x6c], 0
jmp case.0x4c0d17.3
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x4c0d17.3
mov eax, dword [esp + 0x40]
test eax, eax
je case.0x4c0d17.3
mov ecx, dword [esp + 0x5c]
mov edx, dword [esp + 0x58]
mov eax, dword [esp + 0x4c]
mov ebx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
push eax
push ecx
push ebx
call fcn.004c2150
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
push edx
push eax
push ebx
call fcn.004c20f0
add esp, 0x20
xor eax, eax
mov dword [edi + 0x6c], eax
jmp 0x4c0fbd
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x4c0d17.3
mov eax, dword [esp + 0x40]
test eax, eax
je case.0x4c0d17.3
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ebx
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call fcn.004c2150
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
call fcn.004c20f0
jmp 0x4c0f9c
mov eax, dword [esp + 0x2c]
test eax, eax
je case.0x4c0d17.3
mov eax, dword [esp + 0x40]
test eax, eax
je case.0x4c0d17.3
mov ebx, dword [esp + 0x5c]
mov ecx, dword [esp + 0x58]
mov edx, dword [esp + 0x4c]
mov eax, dword [esp + 0x48]
push ebx
push ecx
mov ecx, dword [esp + 0x34]
push edx
push eax
push ecx
call fcn.004c20a0
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x54]
mov ecx, dword [esp + 0x40]
push edx
push eax
push ecx
call fcn.004c21a0
mov edx, dword [esp + 0x78]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x68]
push ebx
push edx
push eax
push ecx
lea edx, [esp + 0x4c]
push edi
push edx
call fcn.004c2200
mov eax, dword [edi + 0x6c]
add esp, 0x38
mov dword [esi + 0x6c], eax
mov eax, dword [edi + 0x4c]
test eax, eax
je 0x4c0fd4
mov eax, dword [esi + 0x5c]
xor ecx, ecx
test eax, eax
sete cl
mov dword [esi + 0x5c], ecx
mov eax, dword [esi + 0x4c]
test eax, eax
je 0x4c0fe8
mov eax, dword [edi + 0x5c]
xor edx, edx
test eax, eax
sete dl
mov dword [edi + 0x5c], edx
mov eax, dword [edi + 0x50]
test eax, eax
je 0x4c0ffc
mov ecx, dword [esi + 0x60]
xor eax, eax
test ecx, ecx
sete al
mov dword [esi + 0x60], eax
mov eax, dword [esi + 0x50]
test eax, eax
je 0x4c1010
mov eax, dword [edi + 0x60]
xor ecx, ecx
test eax, eax
sete cl
mov dword [edi + 0x60], ecx
mov ecx, dword [esi + 0x78]
mov eax, dword [edi + 0x74]
test ecx, ecx
je 0x4c101d
mov dword [ecx + 0x74], edi
cmp dword [edi + 0x64], 1
jne 0x4c1034
mov edx, 2
mov eax, dword [eax + 0x74]
test eax, eax
je 0x4c1038
cmp dword [eax + 0x64], edx
je 0x4c1028
test eax, eax
jne 0x4c104f
mov edx, dword [esp + 0x28]
mov dword [edx + 0x74], esi
mov edx, dword [esp + 0x28]
mov dword [esi + 0x78], edx
mov edx, dword [edi + 0x78]
mov dword [esp + 0x28], edx
jmp 0x4c1061
mov edx, dword [eax + 0x78]
mov dword [edx + 0x74], esi
mov edx, dword [eax + 0x78]
mov dword [esi + 0x78], edx
mov edx, dword [edi + 0x78]
mov dword [eax + 0x78], edx
mov edx, dword [edi + 0x78]
mov dword [edx + 0x74], eax
mov eax, dword [esi + 0x78]
mov dword [eax + 0x74], esi
mov dword [edi + 0x78], ecx
mov ecx, dword [esp + 0x3c]
mov eax, dword [ecx + 0x18]
test eax, eax
mov dword [esp + 0x3c], eax
jne 0x4c0ae1
mov ecx, dword [esp + 0x28]
xor edi, edi
cmp ecx, edi
je 0x4c111b
fld qword [ecx + 0x28]
fcomp qword [esp + 0xa8]
mov esi, dword [ecx + 0x78]
mov edx, dword [ecx + 0x80]
fnstsw ax
test ah, 0x40
je 0x4c10e6
cmp edx, edi
je 0x4c10e6
mov eax, dword [ecx + 0x6c]
mov dword [edx + 0x70], eax
mov eax, dword [ecx + 0x64]
mov dword [edx + 0x68], eax
mov eax, dword [ecx + 0x4c]
mov dword [edx + 0x54], eax
mov eax, dword [ecx + 0x50]
mov dword [edx + 0x58], eax
mov eax, dword [ecx + 0x74]
cmp eax, edi
je 0x4c10d3
mov dword [eax + 0x78], edx
jmp 0x4c10d7
mov dword [esp + 0x28], edx
cmp esi, edi
je 0x4c10de
mov dword [esi + 0x74], edx
mov dword [edx + 0x74], eax
mov dword [edx + 0x78], esi
jmp 0x4c110a
mov edx, dword [ecx + 0x6c]
mov eax, dword [ecx + 0x64]
mov dword [ecx + 0x70], edx
mov edx, dword [ecx + 0x4c]
mov dword [ecx + 0x68], eax
mov eax, dword [ecx + 0x50]
mov dword [ecx + 0x54], edx
mov edx, dword [ecx + 0x38]
mov dword [ecx + 0x58], eax
mov eax, dword [ecx + 0x3c]
mov dword [ecx + 0x30], edx
mov dword [ecx + 0x34], eax
mov dword [ecx + 0x6c], edi
cmp esi, edi
mov ecx, esi
jne 0x4c1091
mov ecx, dword [esp + 0x28]
mov eax, dword [esp + 0x80]
mov esi, dword [esp + 0x7c]
cmp eax, esi
jl 0x4c014d
mov edi, dword [ebp + 0x14]
mov ecx, dword [esp + 0x1c]
xor ebx, ebx
push ecx
mov dword [edi + 8], ebx
mov dword [edi + 4], ebx
call fcn.004c2030
add esp, 4
cmp eax, ebx
mov dword [edi], eax
jle 0x4c12ad
shl eax, 2
cmp eax, ebx
jbe 0x4c116f
push eax
call dword [0x6c746c]
add esp, 4
cmp eax, ebx
mov dword [edi + 4], eax
jne 0x4c1172
push ebx
call dword [0x6c74b0]
mov dword [edi + 4], ebx
mov eax, dword [edi]
shl eax, 3
je 0x4c1191
push eax
call dword [0x6c746c]
add esp, 4
cmp eax, ebx
mov dword [edi + 8], eax
jne 0x4c1194
push ebx
call dword [0x6c74b0]
mov dword [edi + 8], ebx
mov esi, dword [esp + 0x1c]
cmp esi, ebx
mov dword [esp + 0x88], esi
je 0x4c12cc
xor ebx, ebx
mov dword [esp + 0x3c], ebx
mov eax, dword [esi]
mov edx, dword [esi + 0x10]
test eax, eax
mov dword [esp + 0x64], edx
je 0x4c1280
mov eax, dword [esi + 0x14]
mov ecx, dword [edi + 4]
mov edx, dword [eax + 4]
mov eax, dword [esp + 0x3c]
mov dword [ecx + eax], edx
mov ecx, dword [edi + 8]
mov edx, dword [esi]
mov dword [ecx + ebx], edx
mov eax, dword [edi + 8]
lea ecx, [eax + ebx]
mov eax, dword [eax + ebx]
shl eax, 4
je 0x4c1206
push eax
call dword [0x6c746c]
mov ecx, dword [edi + 8]
add esp, 4
mov dword [ecx + ebx + 4], eax
mov edx, dword [edi + 8]
mov eax, dword [edx + ebx + 4]
test eax, eax
je 0x4c12a5
jmp 0x4c120d
mov dword [ecx + 4], 0
mov eax, dword [edi + 8]
mov edx, dword [esi + 0x14]
mov ecx, dword [eax + ebx]
mov eax, dword [edx + 8]
dec ecx
test eax, eax
je 0x4c126b
shl ecx, 4
mov esi, ecx
mov ecx, dword [eax + 0x10]
mov edx, dword [edi + 8]
mov dword [esp + 0x70], ecx
mov ecx, dword [edx + ebx + 4]
mov edx, dword [eax]
test eax, eax
mov dword [ecx + esi], edx
mov edx, dword [eax + 4]
mov dword [ecx + esi + 4], edx
mov ecx, dword [edi + 8]
mov edx, dword [ecx + ebx + 4]
mov ecx, dword [eax + 8]
mov dword [edx + esi + 8], ecx
mov ecx, dword [eax + 0xc]
mov dword [edx + esi + 0xc], ecx
je 0x4c1260
push eax
call dword [0x6c74ac]
add esp, 4
mov eax, dword [esp + 0x70]
sub esi, 0x10
test eax, eax
jne 0x4c1223
mov ecx, dword [esp + 0x3c]
mov esi, dword [esp + 0x88]
add ecx, 4
add ebx, 8
mov dword [esp + 0x3c], ecx
test esi, esi
je 0x4c128e
push esi
call dword [0x6c74ac]
add esp, 4
mov esi, dword [esp + 0x64]
test esi, esi
mov dword [esp + 0x88], esi
jne 0x4c11ad
xor ebx, ebx
jmp 0x4c12cc
push 0
call dword [0x6c74b0]
mov eax, dword [esp + 0x1c]
cmp eax, ebx
je 0x4c12cc
mov esi, dword [eax + 0x10]
cmp eax, ebx
je 0x4c12c6
push eax
call dword [0x6c74ac]
add esp, 4
cmp esi, ebx
mov eax, esi
jne 0x4c12b5
lea edx, [esp + 0x98]
push edx
call fcn.004c13d0
lea eax, [esp + 0x88]
push eax
call fcn.004c1410
mov eax, dword [esp + 0xac]
add esp, 8
cmp eax, ebx
je 0x4c1302
mov esi, dword [0x6c74ac]
push eax
call esi
add esp, 4
jmp 0x4c1308
mov esi, dword [0x6c74ac]
mov eax, dword [esp + 0xa0]
cmp eax, ebx
je 0x4c1319
push eax
call esi
add esp, 4
mov eax, dword [esp + 0x9c]
cmp eax, ebx
je 0x4c132a
push eax
call esi
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret