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

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
and esp, 0xfffffff8
sub esp, 0x350
mov esi, dword [ebp + 0x1c]
call 0x45f587
pop eax
mov dword [esp + 0x34], edx
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xac]
cmp dword [eax + 8], 0
je 0x45f5bd
mov edx, dword [eax + 0x30]
mov ecx, dword [edx + 0x30]
test ecx, ecx
je 0x45f5bd
mov edx, dword [edx + 0x2c]
shl ecx, 3
cmp dword [edx], 0
je 0x45f5f3
add edx, 8
add ecx, 0xfffffff8
jne 0x45f5b0
xor ebx, ebx
cmp dword [eax + 0xc], 0
je 0x45f608
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x45f608
mov ecx, dword [ecx + 0x2c]
shl eax, 3
nop word cs:[eax + eax]
nop
cmp dword [ecx], 0
jne 0x45f9e7
add ecx, 8
add eax, 0xfffffff8
jne 0x45f5e0
jmp 0x45f608
mov ecx, dword [ebp + 0x20]
mov ecx, dword [ecx]
cmp byte [ecx + 0x24d], 0
sete bl
cmp dword [eax + 0xc], 0
jne 0x45f5c5
xor eax, eax
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], 0
test bl, bl
je 0x45f659
cmp eax, dword [esp + 0x20]
jne 0x45f646
lea ecx, [esp + 0x20]
push eax
push ecx
call fcn.004666c0
add esp, 8
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x24]
mov word [ecx + eax*4], 4
mov eax, dword [esp + 0x28]
inc eax
mov dword [esp + 0x28], eax
test eax, eax
je 0x45fa38
push 4
push 0xa8
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x45fa3c
mov edi, eax
mov eax, dword [esp + 0x28]
movq xmm0, qword [esp + 0x20]
mov dword [esp + 0x188], eax
movq qword [esp + 0x180], xmm0
push 1
push 2
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x45fa76
mov dword [esp + 0x18], eax
mov word [eax], 0
mov eax, dword [esi + 0xac]
mov dword [esp + 0x10], edi
mov ecx, dword [eax + 0x30]
mov edi, dword [ecx + 0x3c]
test edi, edi
mov dword [esp + 0x2c], edi
je 0x45f72b
mov esi, dword [ecx + 0x38]
lea eax, [edi*4]
push 2
mov dword [esp + 4], eax
push eax
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x45fa4d
lea ecx, [esi + edi*8]
mov ebx, eax
xor edi, edi
mov dword [esp], ecx
nop word cs:[eax + eax]
nop
mov eax, dword [esi + edi*8 + 4]
push dword [esi + edi*8]
call dword [eax + 0x1c]
add esp, 4
lea ecx, [esi + edi*8 + 8]
mov word [ebx + edi*4], ax
mov word [ebx + edi*4 + 2], dx
inc edi
cmp ecx, dword [esp]
jne 0x45f700
mov esi, dword [ebp + 0x1c]
mov eax, dword [esi + 0xac]
jmp 0x45f735
mov esi, dword [ebp + 0x1c]
xor edi, edi
mov ebx, 2
mov ecx, dword [eax + 0x18]
mov eax, dword [eax + 0x1c]
mov edx, dword [eax + 8]
dec edx
and edx, 0xfffffff8
lea ecx, [edx + ecx + 8]
lea edx, [esp + 0x98]
push ecx
push edx
call dword [eax + 0x24]
add esp, 8
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x188]
movsd xmm0, qword [esp + 0x180]
mov edx, dword [esp + 0xa0]
cmp byte [esi + 0xbc], 0
mov dword [esp + 4], 6
mov dword [ecx], 6
mov dword [ecx + 0xc], eax
mov eax, dword [esp + 0x18]
movsd qword [ecx + 4], xmm0
mov dword [ecx + 0x1c], 0
mov dword [ecx + 0x20], 1
movq xmm0, qword [esp + 0x98]
mov dword [esp + 8], ecx
mov dword [esp + 0xc], 6
mov dword [ecx + 0x24], eax
mov eax, dword [esp + 0x2c]
mov dword [ecx + 0x28], 1
mov dword [ecx + 0x38], 1
mov dword [ecx + 0x3c], eax
mov dword [ecx + 0x40], ebx
mov dword [ecx + 0x44], edi
mov ebx, 6
mov edi, esi
mov dword [ecx + 0x54], 2
mov dword [ecx + 0x60], edx
movq qword [ecx + 0x58], xmm0
mov dword [ecx + 0x70], 0xb
mov dword [ecx + 0x8c], 0xc
mov dword [ecx + 0x90], 0
mov dword [ecx + 0x94], 4
mov dword [ecx + 0x98], 0
mov dword [ecx + 0x9c], 0
mov dword [ecx + 0xa0], 1
mov dword [ecx + 0xa4], 0
jne 0x45f8c2
mov eax, dword [edi + 0xac]
cmp byte [eax + 0x4c], 0
je 0x45f8c2
lea eax, [edi + 0xc0]
push eax
lea eax, [esp + 0x9c]
push eax
call fcn.0046ff60
add esp, 8
mov ebx, dword [esp + 0xc]
cmp ebx, dword [esp + 4]
jne 0x45f87a
lea eax, [esp + 4]
push ebx
push eax
call fcn.004668f0
add esp, 8
mov ebx, dword [esp + 0xc]
mov eax, dword [esp + 8]
mov edx, dword [esp + 0xb0]
lea ecx, [ebx + ebx*8]
lea ecx, [ecx + ecx*2]
add ecx, ebx
inc ebx
mov dword [eax + ecx + 0x18], edx
movsd xmm0, qword [esp + 0xa8]
movsd qword [eax + ecx + 0x10], xmm0
movq xmm0, qword [esp + 0x98]
movq xmm1, qword [esp + 0xa0]
movq qword [eax + ecx + 8], xmm1
movq qword [eax + ecx], xmm0
mov dword [esp + 0xc], ebx
cmp dword [ebp + 8], 0
je 0x45f9a1
mov esi, dword [ebp + 8]
push esi
mov edi, dword [ebp + 0xc]
call dword [edi + 0x18]
add esp, 4
mov word [esp], ax
mov word [esp + 0x10], dx
push esi
call dword [edi + 0x14]
add esp, 4
mov esi, eax
mov ebx, edx
test edx, edx
je 0x45f911
setns al
js 0x460775
movzx edi, al
push edi
push ebx
call fcn.0040dc80
add esp, 8
test eax, eax
jne 0x45f916
push edi
jmp 0x45fa6b
mov eax, 1
push ebx
push esi
mov edi, eax
push eax
call fcn.004f5b80
add esp, 0xc
push 4
push 0x10
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x45fa5d
mov dword [eax], ebx
mov dword [eax + 4], edi
mov esi, eax
mov dword [eax + 8], ebx
movzx eax, word [esp]
mov edi, dword [ebp + 0x1c]
mov word [esi + 0xc], ax
movzx eax, word [esp + 0x10]
mov word [esi + 0xe], ax
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 4]
jne 0x45f971
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004668f0
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [eax + eax*8]
lea edx, [edx + edx*2]
add edx, eax
mov dword [ecx + edx], 7
mov dword [ecx + edx + 4], 1
mov dword [ecx + edx + 8], esi
mov dword [ecx + edx + 0xc], 1
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0xc], ebx
mov eax, dword [esp + 0x34]
test eax, eax
je 0x45fb52
mov ecx, dword [eax + 0x2c]
test ecx, ecx
je 0x45fb52
mov eax, dword [eax + 0x28]
shl ecx, 4
mov edi, 3
add ecx, 0xfffffff0
add eax, 0xc
mov edx, dword [eax]
mov esi, edx
add esi, 0xffffffda
cmp dx, 0x26
cmovae edi, esi
movzx esi, di
mov esi, dword [esi*4 + 0x4608ac]
add esi, dword [esp + 0x14]
jmp esi
lea eax, [esp + 0x20]
mov dword [esp + 0x20], 0
mov dword [esp + 0x24], 2
mov dword [esp + 0x28], 0
push 0
push eax
call fcn.004666c0
add esp, 8
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x28]
mov word [eax + ecx*4], 5
mov cl, 1
mov eax, dword [esp + 0x28]
mov dword [esp + 0x30], ecx
inc eax
mov dword [esp + 0x28], eax
test bl, bl
jne 0x45f62e
jmp 0x45f659
ud2
push 4
push 0xa8
call fcn.005062c0
add esp, 8
ud2
push 2
push dword [esp + 4]
call fcn.005062c0
add esp, 8
ud2
push 4
push 0x10
call fcn.005062c0
add esp, 8
ud2
push ebx
call fcn.005062c0
add esp, 8
ud2
push 1
push 2
call fcn.005062c0
add esp, 8
ud2
cmp byte [esp + 0x30], 0
je 0x45fbbe
push 1
push 2
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x45fa76
mov esi, eax
mov byte [eax], 1
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 4]
jne 0x45fb8e
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004668f0
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [eax + eax*8]
lea edx, [edx + edx*2]
add edx, eax
mov dword [ecx + edx], 8
mov dword [ecx + edx + 4], 1
mov dword [ecx + edx + 8], esi
mov dword [ecx + edx + 0xc], 1
mov ebx, dword [esp + 0xc]
inc ebx
mov dword [esp + 0xc], ebx
mov eax, dword [edi + 0xac]
mov edx, dword [eax + 0x3c]
test edx, edx
je 0x45fd47
lea ecx, [edx*4]
xor ebx, ebx
lea esi, [ecx + ecx*2]
cmp esi, 0xc0000000
setb cl
jae 0x460775
shl edx, 3
test edx, edx
js 0x460775
mov eax, dword [eax + 0x38]
mov bl, cl
shl ebx, 2
mov dword [esp], eax
push ebx
mov dword [esp + 0x14], edx
push edx
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x46077c
lea ebx, [esi - 0xc]
mov edi, eax
mov dword [esp + 0x18], esi
mov esi, 0xaaaaaaab
xor ecx, ecx
mov eax, ebx
mul esi
cmp ebx, 0xbf
ja 0x45fc39
mov ebx, dword [esp]
mov eax, ebx
jmp 0x45fcb0
mov eax, ebx
mov dword [esp + 0x2c], edx
mov ebx, dword [esp]
mul esi
mov eax, edx
shr eax, 3
lea eax, [eax + eax*2]
lea eax, [ebx + eax*4 + 0xc]
cmp edi, eax
jae 0x45fc64
and edx, 0xfffffff8
lea esi, [ebx + 4]
lea eax, [edx + edi + 8]
cmp esi, eax
mov eax, ebx
jb 0x45fcb0
mov ecx, dword [esp + 0x2c]
mov edx, 2
mov esi, edi
shr ecx, 3
inc ecx
mov eax, ecx
and eax, 1
cmovne edx, eax
sub ecx, edx
lea edx, [ebx + 0x14]
lea eax, [ecx + ecx*2]
lea eax, [ebx + eax*4]
mov ebx, ecx
nop dword [eax + eax]
movq xmm0, qword [edx - 4]
movq xmm1, qword [edx - 0x10]
add edx, 0x18
punpcklqdq xmm1, xmm0
movdqu xmmword [esi], xmm1
add esi, 0x10
add ebx, 0xfffffffe
jne 0x45fc90
mov ebx, dword [esp]
add ebx, dword [esp + 0x18]
nop word cs:[eax + eax]
nop
mov edx, dword [eax + 4]
mov esi, dword [eax + 8]
add eax, 0xc
mov dword [edi + ecx*8], edx
mov dword [edi + ecx*8 + 4], esi
inc ecx
cmp eax, ebx
jne 0x45fcc0
push ecx
push edi
lea eax, [esp + 0xa0]
push eax
call fcn.0045a140
add esp, 0xc
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 4]
jne 0x45fd03
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004668f0
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [eax + eax*8]
lea edx, [edx + edx*2]
add edx, eax
mov dword [ecx + edx], 5
movq xmm0, qword [esp + 0x98]
movq qword [ecx + edx + 4], xmm0
mov eax, dword [esp + 0xa0]
mov dword [ecx + edx + 0xc], eax
inc dword [esp + 0xc]
push 4
push dword [esp + 0x14]
push edi
call fcn.0040dc90
add esp, 0xc
mov ebx, dword [esp + 0xc]
mov eax, dword [ebp + 0x10]
mov esi, dword [eax + 4]
mov eax, dword [eax + 8]
lea ecx, [eax + eax*8]
lea edi, [ecx + ecx*2]
add edi, esi
add edi, eax
mov ecx, dword [esp + 4]
sub ecx, ebx
cmp ecx, eax
lea ecx, [esp + 0xc]
jb 0x4605e6
mov eax, dword [esp + 8]
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], eax
lea eax, [esp + 0x98]
push eax
push esi
push edi
call fcn.0043d4c0
add esp, 0xc
mov edx, dword [ebp + 0x1c]
movzx ecx, byte [edx + 0x78]
mov eax, dword [edx + 0xac]
cmp cl, 3
je 0x45fe26
mov edi, dword [edx + 0x34]
test edi, edi
je 0x45fe26
xor ebx, ebx
cmp cl, 2
lea esi, [edx + 0x20]
cmove ebx, esi
lea esi, [eax + 8]
jne 0x4605a3
mov ecx, dword [edx + 0x80]
mov edx, dword [edx + 0x84]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x9c], edx
mov dword [esp + 0xa0], ebx
cmp dword [eax + 0xc], 0
je 0x4606d7
mov ecx, dword [eax + 0x30]
mov eax, dword [ecx + 0x30]
test eax, eax
je 0x4606d7
mov ecx, dword [ecx + 0x2c]
shl eax, 3
nop word cs:[eax + eax]
nop dword [eax]
cmp dword [ecx], 0
jne 0x460602
add ecx, 8
add eax, 0xfffffff8
jne 0x45fe10
jmp 0x4606d7
cmp dword [eax + 0xc], 0
je 0x45fe4d
mov edx, dword [eax + 0x30]
mov ecx, dword [edx + 0x30]
test ecx, ecx
je 0x45fe4d
mov edx, dword [edx + 0x2c]
shl ecx, 3
nop dword [eax]
cmp dword [edx], 0
jne 0x45fe59
add edx, 8
add ecx, 0xfffffff8
jne 0x45fe40
xor ebx, ebx
cmp byte [eax + 0x48], 2
jne 0x4606d9
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 4]
jne 0x45fe75
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004668f0
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [eax + eax*8]
xor ebx, ebx
lea edx, [edx + edx*2]
add edx, eax
mov dword [ecx + edx], 4
mov dword [ecx + edx + 8], 0
mov esi, dword [esp + 0xc]
inc esi
mov dword [esp + 0xc], esi
test esi, esi
mov dword [esp + 0x10], ebx
mov dword [esp], esi
jne 0x4606ec
xor ebx, ebx
mov esi, 2
mov edi, dword [ebp + 0x1c]
mov eax, dword [edi + 0xb0]
test eax, eax
je 0x45fed2
shl eax, 2
push 2
push eax
push dword [edi + 0xb4]
call fcn.0040dc90
add esp, 0xc
mov eax, dword [esp]
mov edx, 0x24d
mov dword [edi + 0xb0], eax
mov dword [edi + 0xb4], esi
mov dword [edi + 0xb8], ebx
mov esi, dword [ebp + 0x20]
mov eax, dword [edi + 0xac]
add edx, dword [esi]
lea esi, [esp + 0x5c]
mov eax, dword [eax + 0x30]
mov ecx, dword [eax + 0x2c]
mov eax, dword [eax + 0x30]
lea eax, [ecx + eax*8]
mov dword [esp + 0x98], eax
lea eax, [esp + 0x98]
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa0], edx
push eax
push esi
call fcn.00456770
add esp, 8
mov eax, dword [esp + 0x64]
cmp eax, dword [esp + 0x5c]
jne 0x45ff45
push eax
push esi
call fcn.004666c0
add esp, 8
mov eax, dword [esp + 0x64]
mov ecx, dword [esp + 0x60]
mov word [ecx + eax*4], 0xba
inc dword [esp + 0x64]
movsd xmm1, qword [edi + 0x10]
mov eax, dword [edi + 0xa8]
movsd xmm2, qword [edi + 0xa0]
movq xmm0, qword [edi + 0x18]
movsd xmm3, qword [edi]
movsd qword [esp + 0x78], xmm1
movsd xmm1, qword [edi + 8]
mov dword [esp + 0x58], eax
mov eax, dword [esp + 0x64]
movsd qword [esp + 0x50], xmm2
movsd xmm2, qword [edi + 0x88]
movq qword [esp + 0x80], xmm0
movsd qword [esp + 0x68], xmm3
movsd qword [esp + 0x70], xmm1
movsd xmm1, qword [edi + 0x98]
movsd qword [esp + 0x38], xmm2
mov dword [esp + 0x90], eax
movsd qword [esp + 0x48], xmm1
movsd xmm1, qword [edi + 0x90]
movsd qword [esp + 0x40], xmm1
movq xmm1, qword [esp + 0x5c]
movq qword [esp + 0x88], xmm1
push 1
push 2
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x45fa76
movsd xmm1, qword [esp + 0x70]
mov ecx, dword [esp + 0xc]
movsd xmm3, qword [esp + 0x68]
movsd xmm2, qword [esp + 0x78]
movsd xmm0, qword [esp + 4]
lea edx, [esp + 0x180]
lea ebx, [esp + 0x98]
mov byte [eax], 0
mov edi, edx
mov esi, ebx
movsd qword [esp + 0xa0], xmm1
movsd xmm1, qword [esp + 0x80]
mov dword [esp + 0x1e4], ecx
movsd qword [esp + 0xa8], xmm2
movsd qword [esp + 0x98], xmm3
movsd xmm2, qword [esp + 0x38]
mov ecx, dword [esp + 0x58]
movsd qword [esp + 0x1dc], xmm0
movsd qword [esp + 0xb0], xmm1
movsd xmm1, qword [esp + 0x40]
movsd qword [esp + 0xb8], xmm2
movsd xmm2, qword [esp + 0x50]
mov dword [esp + 0xd8], ecx
mov ecx, dword [esp + 0x90]
movsd qword [esp + 0xc0], xmm1
movsd xmm1, qword [esp + 0x48]
movsd qword [esp + 0xd0], xmm2
movsd qword [esp + 0xc8], xmm1
movsd xmm1, qword [esp + 0x88]
mov dword [esp + 0xe4], ecx
mov ecx, 0x14
movsd qword [esp + 0xdc], xmm1
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x1d0], 1
mov dword [esp + 0x1d4], eax
mov dword [esp + 0x1d8], 1
mov byte [esp + 0x1ec], 1
mov word [esp + 0x1e8], 4
mov esi, dword [esp + 0x10]
test esi, esi
je 0x46013c
push edx
push dword [esp + 0x20]
push esi
push ebx
call fcn.004682e0
add esp, 0x10
mov ecx, dword [esp + 0x98]
mov eax, dword [esi + 0x38]
mov edx, dword [esp + 0x9c]
mov dword [esp], ecx
mov ecx, dword [esp + 0xa0]
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
jmp 0x460144
mov dword [esp + 0x18], 0
lea esi, [esp + 0x180]
mov ecx, 0x1c
mov edi, ebx
lea eax, [esp + 0x38]
rep movsd dword es:[edi], dword [esi]
mov dword [esp + 0x38], 0
mov dword [esp + 0x3c], 1
mov dword [esp + 0x40], 0
push eax
push ebx
call fcn.00475880
add esp, 8
mov ecx, dword [esp + 0x40]
movsd xmm0, qword [esp + 0x38]
xor eax, eax
cmp dword [esp + 0x34], 0
lea edx, [esp + 0x1f0]
mov esi, ebx
mov edi, edx
mov dword [esp + 0x268], ecx
movsd qword [esp + 0x260], xmm0
mov ecx, 0x1c
setne al
rep movsd dword es:[edi], dword [esi]
mov edi, dword [ebp + 0x1c]
mov esi, dword [ebp + 0x20]
lea eax, [eax + eax + 2]
mov word [esp + 0x26c], ax
je 0x46020a
mov eax, dword [esi]
cmp byte [eax + 0x24d], 0
jne 0x46020a
cmp byte [edi + 0xd1], 0
mov byte [edi + 0xd1], 1
jne 0x46020a
mov word [esp + 0x114], 4
mov word [esp + 0x100], 0x21
push 0
lea ecx, [esp + 0x9c]
push ecx
push eax
mov ebx, edx
call fcn.0043f370
mov edx, ebx
add esp, 0xc
mov eax, dword [0x57407c]
mov eax, dword [eax]
cmp eax, 4
jbe 0x4602ba
lea eax, [esp + 0x98]
mov dword [esp + 0x40], 0x523590
mov dword [esp + 0x44], 1
mov dword [esp + 0x68], edx
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 2
mov dword [esp + 0xa4], 2
mov dword [esp + 0xac], 4
mov dword [esp + 0xb0], 0x20
mov dword [esp + 0x6c], 0x4465a0
mov byte [esp + 0xb4], 3
mov dword [esp + 0x38], eax
lea eax, [esp + 0x68]
mov dword [esp + 0x3c], 1
mov dword [esp + 0x48], eax
mov dword [esp + 0x4c], 1
sub esp, 4
push 0
push 0x149
push 0x523528
push 5
lea eax, [esp + 0x4c]
push eax
mov ebx, edx
call fcn.004bc640
mov edx, ebx
add esp, 0x18
movzx eax, word [esp + 0x258]
cmp ax, 0x1f
jb 0x4602ce
cmp ax, 0x20
jne 0x460315
mov ebx, dword [esp + 0x1c]
mov esi, dword [esp + 0x268]
mov ecx, dword [esp + 0x264]
mov eax, dword [ebx]
mov ebx, dword [ebx + 8]
sub eax, ebx
cmp eax, esi
jb 0x460736
mov edi, dword [esp + 0x1c]
mov eax, dword [edi + 4]
add eax, ebx
push esi
push ecx
push eax
call fcn.004f5b80
add esp, 0xc
add ebx, esi
mov esi, dword [ebp + 0x20]
lea edx, [esp + 0x1f0]
mov dword [edi + 8], ebx
mov edi, dword [ebp + 0x1c]
push 0
push edx
push dword [esi]
call fcn.0043f370
add esp, 0xc
cmp dword [esp + 0x18], 0
je 0x4603b8
mov eax, dword [esp]
mov dword [esp + 0x98], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x9c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0xa0], eax
mov eax, dword [esi + 4]
movzx eax, byte [eax + 4]
dec eax
cmp eax, 1
ja 0x4603bf
mov eax, dword [edi + 0xac]
mov ebx, esi
lea ecx, [edi + 0xd1]
mov edx, dword [eax + 0x20]
mov eax, dword [eax + 0x24]
mov esi, dword [eax + 8]
dec esi
and esi, 0xfffffff8
lea edx, [esi + edx + 8]
push edi
push dword [esp + 0x20]
push ecx
lea ecx, [esp + 0xa4]
push ecx
push dword [esp + 0x28]
push ebx
push eax
push edx
call fcn.00468600
add esp, 0x20
mov eax, dword [esp + 0x98]
mov edx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov dword [esp], eax
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], ecx
jmp 0x4603bf
mov dword [esp], 0
cmp dword [esp + 0x34], 0
lea edi, [esp + 0x270]
sete bl
push 0xd8
mov esi, dword [ebp + 0x1c]
push esi
push edi
call fcn.004f5b80
add esp, 0xc
mov ecx, dword [esp + 0x1c]
test byte [esp + 0x30], bl
movsd xmm0, qword [ecx]
movsd xmm1, qword [ecx + 8]
movsd qword [esp + 0x170], xmm0
movsd qword [esp + 0x178], xmm1
je 0x4604e7
mov edx, dword [ebp + 0x10]
movsd xmm2, qword [ecx]
movsd xmm1, qword [ecx + 8]
mov eax, dword [edx + 8]
movsd xmm0, qword [edx]
movsd qword [esp + 0x38], xmm2
movsd qword [esp + 0x40], xmm1
mov dword [esp + 0x70], eax
movsd qword [esp + 0x68], xmm0
push 0xd8
push esi
lea edi, [esp + 0xa0]
push edi
call fcn.004f5b80
add esp, 0xc
push 8
push 0x118
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x460792
movsd xmm0, qword [esp + 0x38]
movsd xmm1, qword [esp + 0x40]
mov esi, eax
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
mov eax, esi
add eax, 0x18
push 0xd8
push edi
push eax
call fcn.004f5b80
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp]
movsd xmm0, qword [esp + 0x68]
mov edi, 0x5235a4
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], ecx
mov ecx, dword [esp + 0x10]
mov dword [esi + 0xf8], edx
mov edx, dword [esp + 0x14]
mov dword [esi + 0x100], ecx
mov ecx, dword [esp + 0x70]
mov dword [esi + 0xfc], edx
movsd qword [esi + 0x108], xmm0
mov dword [esi + 0x110], ecx
jmp 0x460597
push 8
push 0x108
call fcn.0040dc80
add esp, 8
mov ebx, dword [ebp + 0x10]
test eax, eax
je 0x4607a3
movsd xmm0, qword [esp + 0x170]
movsd xmm1, qword [esp + 0x178]
mov esi, eax
movsd qword [eax + 8], xmm1
movsd qword [eax], xmm0
mov eax, dword [ebp + 8]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x14], eax
mov eax, esi
add eax, 0x18
push 0xd8
push edi
push eax
call fcn.004f5b80
add esp, 0xc
mov eax, dword [ebp + 0x14]
mov edx, dword [ebp + 0x18]
mov ecx, dword [esp]
mov dword [esi + 0xf0], eax
mov dword [esi + 0xf4], edx
mov dword [esi + 0xf8], ecx
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov dword [esi + 0x100], edx
mov dword [esi + 0xfc], ecx
push ebx
call fcn.004285d0
add esp, 4
mov eax, dword [ebx]
mov edi, 0x5235d0
test eax, eax
je 0x460597
lea ecx, [eax + eax*8]
lea ecx, [ecx + ecx*2]
add ecx, eax
push 4
push ecx
push dword [ebx + 4]
call fcn.0040dc90
add esp, 0xc
mov eax, esi
mov edx, edi
lea esp, [ebp - 0xc]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp dword [esi], 0
je 0x4606d7
mov edx, dword [eax + 0x30]
mov ecx, dword [edx + 0x30]
test ecx, ecx
je 0x4606d7
mov esi, dword [ebp + 0x1c]
mov edx, dword [edx + 0x2c]
shl ecx, 3
mov esi, dword [esi + 0x30]
nop word cs:[eax + eax]
cmp dword [edx], 0
je 0x460660
add edx, 8
add ecx, 0xfffffff8
jne 0x4605d0
jmp 0x4606d7
lea ecx, [esp + 4]
push eax
push ebx
push ecx
call fcn.00504da0
lea ecx, [esp + 0x18]
add esp, 0xc
mov ebx, dword [esp + 0xc]
jmp 0x45fd6c
mov eax, dword [ebp + 0x14]
cmp eax, 2
je 0x460751
cmp eax, 1
jne 0x4606d7
mov eax, dword [ebx + 0x38]
mov ecx, dword [eax + 0x14]
push dword [eax + 0x10]
call dword [ecx + 0x1c]
add esp, 4
mov ecx, dword [ebp + 0x18]
mov byte [esp + 0x10], al
mov byte [esp], dl
mov eax, dword [ecx + 0x14]
push dword [ecx + 0x10]
call dword [eax + 0x1c]
add esp, 4
mov ah, byte [esp + 0x10]
cmp ah, 7
setne cl
cmp byte [esp], dl
sete dl
cmp ah, al
jne 0x4606d7
or cl, dl
mov al, 1
jne 0x460753
jmp 0x4606d7
cmp byte [eax + 0x48], 2
jne 0x4606d7
xor ebx, ebx
test edi, edi
setns al
js 0x460775
mov bl, al
push ebx
push edi
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x4607b4
push edi
push esi
mov esi, eax
push eax
call fcn.004f5b80
add esp, 0xc
mov eax, dword [esp + 0xc]
cmp eax, dword [esp + 4]
jne 0x4606b0
lea ecx, [esp + 4]
push eax
push ecx
call fcn.004668f0
add esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
lea edx, [eax + eax*8]
xor ebx, ebx
lea edx, [edx + edx*2]
add edx, eax
mov dword [ecx + edx], 4
mov dword [ecx + edx + 4], edi
mov dword [ecx + edx + 8], esi
mov dword [ecx + edx + 0xc], edi
inc dword [esp + 0xc]
jmp 0x4606d9
xor ebx, ebx
mov esi, dword [esp + 0xc]
test esi, esi
mov dword [esp + 0x10], ebx
mov dword [esp], esi
je 0x45feaa
mov edi, dword [esp + 8]
lea ebx, [esi*4]
push 2
push ebx
call fcn.0040dc80
add esp, 8
test eax, eax
je 0x46078b
mov ecx, esi
mov esi, eax
add edi, 0x10
mov edx, dword [esp + 0x14]
xor ebx, ebx
lea eax, [ecx + ecx*8]
lea eax, [eax + eax*2]
add eax, ecx
mov ecx, 0xb
movd xmm0, ecx
mov ecx, dword [edi - 0x10]
mov ecx, dword [ecx*4 + 0x4608bc]
add ecx, edx
jmp ecx
push esi
push ebx
mov ebx, dword [esp + 0x24]
push ebx
mov edi, ecx
call fcn.00503700
mov ecx, edi
add esp, 0xc
mov ebx, dword [ebx + 8]
jmp 0x4602ef
xor eax, eax
movzx eax, al
lea ecx, [esp + 4]
push eax
push ecx
lea eax, [esp + 0xa0]
push eax
push dword [ebp + 0x20]
push esi
call fcn.00468410
add esp, 0x14
jmp 0x4606d9
call fcn.004ccfb0
ud2
push ebx
push dword [esp + 0x14]
call fcn.005062c0
add esp, 8
ud2
push 2
jmp 0x45fa6b
push 8
push 0x118
call fcn.005062c0
add esp, 8
ud2
push 8
push 0x108
call fcn.005062c0
add esp, 8
ud2
push ebx
push edi
call fcn.005062c0
add esp, 8
ud2