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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x88
push esi
push edi
mov edi, ecx
mov dword [esp + 0x28], edi
mov esi, dword [edi + 0x274]
test esi, esi
je 0x589771
mov eax, dword [edi + 0x298]
test eax, eax
je 0x589771
cmp dword [edi + 0x260], 0
je 0x589771
mov cl, byte [edi + 0x29c]
and cl, 0x3f
mov byte [edi + 0x29c], cl
mov edx, dword [eax + 0x74]
mov dword [esp + 0x1c], edx
test edx, edx
je 0x5887e5
mov eax, dword [edx + 0x10]
shr eax, 2
test al, 1
je 0x5887e5
mov al, 1
jmp 0x5887e7
xor al, al
mov byte [esp + 0x12], al
test cl, 2
jne 0x588801
cmp dword [edi + 0x2a8], 0
mov dword [esp + 0x20], 1
je 0x588809
mov dword [esp + 0x20], 0
test al, al
je 0x588816
or cl, 0x40
mov byte [edi + 0x29c], cl
mov ecx, dword [edi + 0x298]
mov ecx, dword [ecx + 0x15c]
test ecx, ecx
je 0x58883c
mov eax, dword [ecx]
mov eax, dword [eax + 0xc]
call eax
mov edx, dword [esp + 0x1c]
test al, 1
je 0x58883c
or byte [edi + 0x29c], 0x20
mov dword [esp + 0x1c], 0
mov byte [esp + 0x13], 0
test edx, edx
je 0x588877
mov eax, dword [edx + 0x1c]
cmp eax, dword [edx + 0x14]
mov ecx, dword [edx + 0xc]
setb byte [esp + 0x13]
mov dword [esp + 0x1c], ecx
cmp ecx, 8
je 0x588873
cmp ecx, 9
je 0x588873
cmp ecx, 0xa
je 0x588873
cmp ecx, 0xb
jne 0x588877
mov dl, 1
jmp 0x588879
xor dl, dl
mov al, byte [esi]
xor ecx, ecx
mov byte [esp + 0x11], dl
mov dword [esp + 0x14], ecx
test al, al
je 0x5888ce
mov dh, byte [esp + 0x12]
nop dword [eax]
movzx eax, al
dec eax
cmp eax, 3
ja case.default.0x588899
jmp dword [eax*4 + 0x58977c]
test dh, dh
je 0x5888ac
or ecx, 2
add esi, 0x40
jmp case.default.0x588899
or ecx, 1
add esi, 0x40
jmp case.default.0x588899
or ecx, 2
jmp 0x5888c1
or ecx, 8
jmp 0x5888c1
or ecx, 4
add esi, 0x50
mov al, byte [esi]
test al, al
jne 0x588890
mov dword [esp + 0x14], ecx
mov esi, dword [edi + 0x274]
mov dword [esp + 0x18], esi
mov al, byte [esi]
test al, al
je 0x58946e
movzx eax, al
dec eax
mov dword [esp + 0x2c], esi
cmp eax, 3
ja case.default.0x5888f3
jmp dword [eax*4 + 0x58978c]
test cl, 2
je 0x588bd3
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea ecx, [esp + 0x58]
call fcn.00428e90
mov ax, word [0x738e7c]
lea ecx, [esp + 0x50]
movq xmm0, qword [str.THICKFORMAT]
mov word [esp + 0x38], ax
mov al, byte [0x738e7e]
mov byte [esp + 0x3a], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xb
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3f], 0
call fcn.004be2e0
mov dword [eax], 1
mov eax, dword [esp + 0x44]
cmp eax, 0xf
jbe 0x588988
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
call fcn.00414390
add esp, 0xc
mov ax, word [0x7383e4]
lea ecx, [esp + 0x50]
movq xmm0, qword [str.SPRITESHEET]
mov word [esp + 0x38], ax
mov al, byte [0x7383e6]
mov byte [esp + 0x3a], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xb
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3f], 0
call fcn.004be2e0
mov dword [eax], 1
mov eax, dword [esp + 0x44]
cmp eax, 0xf
jbe 0x5889f6
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
call fcn.00414390
add esp, 0xc
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0x1f
push eax
movaps xmmword [esp + 0x38], xmm0
call fcn.00414510
movups xmm0, xmmword [str.SPRITESHEETBLEND]
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0x10
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
lea eax, [esp + 0x30]
push eax
call fcn.004be2e0
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
cmp eax, 0xf
jbe 0x588a79
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
call fcn.00414390
add esp, 0xc
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0x1f
push eax
movaps xmmword [esp + 0x38], xmm0
call fcn.00414510
movups xmm0, xmmword [str.SPRITESHEETBLENDNPOT]
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], 0x14
movups xmmword [eax], xmm0
mov ecx, dword [0x738e9c]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x50]
mov byte [eax + 0x14], 0
lea eax, [esp + 0x30]
push eax
call fcn.004be2e0
movzx ecx, byte [esp + 0x13]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x588b21
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x588b17
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
cmp byte [esp + 0x11], 0
je 0x588b7b
mov ax, word [0x738ed0]
lea ecx, [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0xa
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [str.TEX0FORMAT]
mov word [esp + 0x38], ax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3e], 0
call fcn.004be2e0
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea ecx, [esp + 0x30]
call fcn.004143d0
mov eax, dword [edi + 0x298]
mov ecx, dword [edi + 0x70]
add eax, 0x174
add ecx, 0x2968
cmp dword [eax + 0x14], 0xf
jbe 0x588b97
mov eax, dword [eax]
push 0
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004f59e0
lea ecx, [esp + 0x5c]
mov dword [esi + 0x10], eax
call fcn.0040aea0
mov edx, dword [esp + 0x54]
call fcn.0042b120
push 0x24
push dword [esp + 0x58]
call fcn.005ab85c
add esp, 8
add esi, 0x40
mov dword [esp + 0x18], esi
jmp case.default.0x5888f3
test dl, dl
jne 0x588bf2
cmp dword [esi + 0x14], 0
jne 0x588bf2
mov eax, dword [edi + 0x298]
mov dword [esi + 0x10], eax
add esi, 0x40
mov dword [esp + 0x18], esi
jmp case.default.0x5888f3
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea ecx, [esp + 0x78]
call fcn.00428e90
mov ax, word [0x738ed0]
lea ecx, [esp + 0x70]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0xa
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [str.TEX0FORMAT]
mov word [esp + 0x38], ax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3e], 0
call fcn.004be2e0
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
lea ecx, [esp + 0x30]
call fcn.004143d0
mov byte [esp + 0x58], 7
and dword [esp + 0x58], 0xfffffeff
push 8
mov dword [esp + 0x60], 0
mov dword [esp + 0x64], 0
mov dword [esp + 0x68], 0
call fcn.005ab82c
mov esi, eax
add esp, 4
push 0x30
mov dword [esi], 0
mov dword [esi + 4], 0
call fcn.005ab82c
add esp, 4
mov dword [esp + 0x50], esi
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [eax + 8], eax
mov word [eax + 0xc], 0x101
mov dword [esi], eax
mov eax, dword [edi + 0x298]
mov ecx, dword [edi + 0x70]
add eax, 0x174
add ecx, 0x2968
cmp dword [eax + 0x14], 0xf
jbe 0x588cd4
mov eax, dword [eax]
push 0
lea edx, [esp + 0x74]
push edx
push eax
call fcn.004f59e0
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x50]
mov dword [esi + 0x10], eax
call fcn.00465f40
lea ecx, [esp + 0x7c]
call fcn.0040aea0
mov edx, dword [esp + 0x74]
call fcn.0042b120
push 0x24
push dword [esp + 0x78]
call fcn.005ab85c
add esp, 8
add esi, 0x40
mov dword [esp + 0x18], esi
jmp case.default.0x5888f3
or byte [edi + 0x29c], 0x80
lea eax, [esp + 0x24]
push ecx
push eax
lea ecx, [esp + 0x58]
mov dword [esp + 0x2c], 0
call fcn.00428e90
mov ax, word [0x738e7c]
lea ecx, [esp + 0x50]
movq xmm0, qword [str.THICKFORMAT]
mov word [esp + 0x38], ax
mov al, byte [0x738e7e]
mov byte [esp + 0x3a], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xb
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3f], 0
call fcn.004be2e0
mov dword [eax], 1
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x588dc4
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x588dba
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
movq xmm0, qword [str.TRAILRENDERER]
lea ecx, [esp + 0x50]
xor eax, eax
mov dword [esp + 0x40], 0xd
mov word [esp + 0x3e], ax
mov eax, dword [0x738ec0]
mov dword [esp + 0x38], eax
mov al, byte [0x738ec4]
mov byte [esp + 0x3c], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x41], 0
call fcn.004be2e0
mov dword [eax], 1
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x588e4a
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x588e40
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
cmp byte [esp + 0x12], 0
je 0x589024
mov ax, word [0x7383e4]
lea ecx, [esp + 0x50]
movq xmm0, qword [str.SPRITESHEET]
mov word [esp + 0x38], ax
mov al, byte [0x7383e6]
mov byte [esp + 0x3a], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xb
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3f], 0
call fcn.004be2e0
mov dword [eax], 1
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x588ede
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x588ed4
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0x1f
push eax
movaps xmmword [esp + 0x38], xmm0
call fcn.00414510
movups xmm0, xmmword [str.SPRITESHEETBLEND]
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0x10
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
lea eax, [esp + 0x30]
push eax
call fcn.004be2e0
mov ecx, dword [esp + 0x20]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x588f7c
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x588f72
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
lea eax, [esp + 0x18]
mov dword [esp + 0x40], 0
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x48], 0
xorps xmm0, xmm0
mov dword [esp + 0x1c], 0x1f
push eax
movaps xmmword [esp + 0x38], xmm0
call fcn.00414510
movups xmm0, xmmword [str.SPRITESHEETBLENDNPOT]
mov ecx, dword [esp + 0x20]
add esp, 8
mov dword [esp + 0x44], ecx
mov dword [esp + 0x30], eax
mov dword [esp + 0x40], 0x14
movups xmmword [eax], xmm0
mov ecx, dword [0x738e9c]
mov dword [eax + 0x10], ecx
lea ecx, [esp + 0x50]
mov byte [eax + 0x14], 0
lea eax, [esp + 0x30]
push eax
call fcn.004be2e0
movzx ecx, byte [esp + 0x13]
mov dword [eax], ecx
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x589024
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58901a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
cmp byte [esp + 0x11], 0
je 0x589090
mov ax, word [0x738ed0]
lea ecx, [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0xa
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [str.TEX0FORMAT]
mov word [esp + 0x38], ax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3e], 0
call fcn.004be2e0
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
cmp eax, 0xf
jbe 0x589090
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
call fcn.00414390
add esp, 0xc
mov eax, dword [edi + 0x298]
mov ecx, dword [edi + 0x70]
add eax, 0x174
add ecx, 0x2968
cmp dword [eax + 0x14], 0xf
jbe 0x5890ac
mov eax, dword [eax]
push 0
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004f59e0
mov dword [esi + 0x10], eax
add esi, 0x50
mov dword [esp + 0x18], esi
jmp 0x58943b
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea ecx, [esp + 0x58]
call fcn.00428e90
mov ax, word [0x738e7c]
lea ecx, [esp + 0x50]
movq xmm0, qword [str.THICKFORMAT]
mov word [esp + 0x38], ax
mov al, byte [0x738e7e]
mov byte [esp + 0x3a], al
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], 0xb
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3f], 0
call fcn.004be2e0
mov dword [eax], 1
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x589168
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58915e
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
mov esi, dword [esi + 0x40]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
push eax
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x2c], 0x1f
call fcn.00414510
movups xmm0, xmmword [str.TRAILSUBDIVISION]
mov ecx, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0x10
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
lea eax, [esp + 0x30]
push eax
call fcn.004be2e0
mov dword [eax], esi
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x589205
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x5891fb
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
cmp byte [esp + 0x11], 0
je 0x589271
mov ax, word [0x738ed0]
lea ecx, [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0xa
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [str.TEX0FORMAT]
mov word [esp + 0x38], ax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3e], 0
call fcn.004be2e0
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
cmp eax, 0xf
jbe 0x589271
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
call fcn.00414390
add esp, 0xc
mov eax, dword [edi + 0x298]
mov ecx, dword [edi + 0x70]
add eax, 0x174
add ecx, 0x2968
cmp dword [eax + 0x14], 0xf
jbe 0x58928d
mov eax, dword [eax]
push str.genericropeparticle
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004f59e0
mov esi, dword [esp + 0x18]
mov dword [esi + 0x10], eax
add esi, 0x50
mov dword [esp + 0x18], esi
jmp 0x58943b
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x28], 0
push eax
lea ecx, [esp + 0x58]
call fcn.00428e90
mov esi, dword [esi + 0x48]
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x34]
mov dword [esp + 0x44], 0
xorps xmm0, xmm0
mov dword [esp + 0x48], 0
push eax
movaps xmmword [esp + 0x38], xmm0
mov dword [esp + 0x2c], 0x1f
call fcn.00414510
movups xmm0, xmmword [str.TRAILSUBDIVISION]
mov ecx, dword [esp + 0x2c]
add esp, 8
mov dword [esp + 0x30], eax
mov dword [esp + 0x44], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x40], 0x10
movups xmmword [eax], xmm0
mov byte [eax + 0x10], 0
lea eax, [esp + 0x30]
push eax
call fcn.004be2e0
mov dword [eax], esi
mov ecx, dword [esp + 0x44]
cmp ecx, 0xf
jbe 0x589364
mov edx, dword [esp + 0x30]
inc ecx
mov eax, edx
cmp ecx, 0x1000
jb 0x58935a
mov edx, dword [eax - 4]
add ecx, 0x23
sub eax, edx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x589777
push ecx
push edx
call fcn.005ab85c
add esp, 8
cmp byte [esp + 0x11], 0
je 0x5893d0
mov ax, word [0x738ed0]
lea ecx, [esp + 0x50]
xorps xmm0, xmm0
mov dword [esp + 0x40], 0xa
movaps xmmword [esp + 0x30], xmm0
movq xmm0, qword [str.TEX0FORMAT]
mov word [esp + 0x38], ax
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x48], 0xf
movq qword [esp + 0x34], xmm0
mov byte [esp + 0x3e], 0
call fcn.004be2e0
mov ecx, dword [esp + 0x1c]
mov dword [eax], ecx
mov eax, dword [esp + 0x44]
cmp eax, 0xf
jbe 0x5893d0
push eax
push dword [esp + 0x34]
lea eax, [esp + 0x38]
push eax
call fcn.00414390
add esp, 0xc
mov eax, dword [edi + 0x298]
mov ecx, dword [edi + 0x70]
add eax, 0x174
add ecx, 0x2968
cmp dword [eax + 0x14], 0xf
jbe 0x5893ec
mov eax, dword [eax]
push str.genericropeparticle
lea edx, [esp + 0x54]
push edx
push eax
call fcn.004f59e0
mov esi, dword [esp + 0x18]
mov dword [esi + 0x10], eax
add esi, 0x50
cmp dword [edi + 0x2b4], 0
mov dword [esp + 0x18], esi
jne 0x58943b
mov ecx, dword [esp + 0x2c]
mov ax, word [ecx + 0x44]
mov word [edi + 0x2bc], ax
movd xmm0, dword [ecx + 0x44]
movss xmm1, dword [ecx + 0x40]
cvtdq2ps xmm0, xmm0
divss xmm1, xmm0
movss dword [edi + 0x2c4], xmm1
lea ecx, [esp + 0x5c]
call fcn.0040aea0
mov edx, dword [esp + 0x54]
call fcn.0042b120
push 0x24
push dword [esp + 0x58]
call fcn.005ab85c
add esp, 8
mov al, byte [esi]
test al, al
je 0x58946e
mov ecx, dword [esp + 0x14]
mov dl, byte [esp + 0x11]
jmp 0x5888e2
movzx eax, word [edi + 0x2bc]
lea ecx, [edi + 0x2bc]
mov dword [esp + 0x1c], ecx
mov esi, eax
mov edx, ecx
test ax, ax
je 0x5894ea
mov ecx, dword [edi + 0x260]
mov eax, 4
mov edi, ecx
and edi, 3
sub eax, edi
neg edi
push 0x10
sbb edi, edi
and edi, eax
add edi, ecx
imul esi, edi
add edi, edi
lea esi, [esi + esi*2]
shl esi, 2
push esi
call fcn.005d7dea
mov ecx, dword [esp + 0x30]
push esi
push 0
push eax
mov dword [ecx + 0x2b4], eax
call fcn.005c3040
add esp, 0x14
push 0x10
push edi
call fcn.005d7dea
mov edi, dword [esp + 0x30]
add esp, 8
lea edx, [edi + 0x2bc]
mov dword [edi + 0x2b8], eax
mov dword [esp + 0x1c], edx
mov eax, dword [esp + 0x14]
mov ecx, eax
and ecx, 2
test byte [edi + 0x29c], 0x20
je 0x589610
test ecx, ecx
je 0x58951a
movaps xmm0, xmmword [0x739cf0]
lea ecx, [esp + 0x30]
movups xmmword [esp + 0x30], xmm0
lea eax, [esp + 0x40]
jmp 0x58953e
test al, 1
je 0x58956e
mov dword [esp + 0x30], 0
lea ecx, [esp + 0x30]
mov dword [esp + 0x34], 9
lea eax, [esp + 0x3c]
mov dword [esp + 0x38], 0x19
push eax
push ecx
call fcn.00473d50
push 0x20
mov esi, eax
call fcn.005ab82c
add esp, 0xc
mov ecx, eax
push dword [edi + 0x70]
push 2
push dword [edi + 0x260]
push esi
call fcn.005a5bc0
mov dword [edi + 0x28c], eax
mov eax, dword [esp + 0x14]
test al, 4
je 0x5895c7
movaps xmm0, xmmword [0x739cd0]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0x19
push eax
push ecx
movups xmmword [esp + 0x38], xmm0
call fcn.00473d50
push 0x20
mov esi, eax
call fcn.005ab82c
movzx ecx, word [edi + 0x2bc]
add esp, 0xc
imul ecx, dword [edi + 0x260]
push dword [edi + 0x70]
push 2
push ecx
push esi
mov ecx, eax
call fcn.005a5bc0
mov dword [edi + 0x290], eax
mov eax, dword [esp + 0x14]
test al, 8
je 0x589771
movaps xmm0, xmmword [0x739ce0]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0x12
push eax
push ecx
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x6c], 0x19
call fcn.00473d50
push 0x20
mov esi, eax
call fcn.005ab82c
add esp, 0xc
push dword [edi + 0x70]
push 2
jmp 0x58975d
test ecx, ecx
je 0x58965e
movaps xmm0, xmmword [0x739cc0]
lea eax, [esp + 0x44]
lea ecx, [esp + 0x30]
mov dword [esp + 0x40], 0x19
push eax
push ecx
movups xmmword [esp + 0x38], xmm0
call fcn.00473d50
push 0x20
mov esi, eax
call fcn.005ab82c
add esp, 0xc
mov ecx, eax
push dword [edi + 0x70]
push 0
push dword [edi + 0x260]
push esi
call fcn.005a5bc0
mov dword [edi + 0x28c], eax
jmp 0x5896b0
mov dword [esp + 0x1c], edx
test al, 1
je 0x5896b4
movaps xmm0, xmmword [0x739d00]
lea eax, [esp + 0x40]
lea ecx, [esp + 0x30]
push eax
push ecx
movups xmmword [esp + 0x38], xmm0
call fcn.00473d50
push 0x20
mov esi, eax
call fcn.005ab82c
add esp, 0xc
mov ecx, eax
push dword [edi + 0x70]
push 0
push dword [edi + 0x260]
push esi
call fcn.005a5bc0
mov dword [edi + 0x28c], eax
lea eax, [edi + 0x2bc]
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x14]
test al, 4
je 0x589715
movaps xmm0, xmmword [0x739cd0]
lea eax, [esp + 0x68]
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0x10
push eax
push ecx
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x6c], 0x19
call fcn.00473d50
push 0x20
mov esi, eax
call fcn.005ab82c
mov ecx, dword [esp + 0x28]
add esp, 0xc
movzx ecx, word [ecx]
push dword [edi + 0x70]
imul ecx, dword [edi + 0x260]
push 0
push ecx
push esi
mov ecx, eax
call fcn.005a5bc0
mov dword [edi + 0x290], eax
mov eax, dword [esp + 0x14]
test al, 8
je 0x589771
movaps xmm0, xmmword [0x739ce0]
lea eax, [esp + 0x6c]
lea ecx, [esp + 0x50]
mov dword [esp + 0x60], 0x12
push eax
push ecx
movups xmmword [esp + 0x58], xmm0
mov dword [esp + 0x6c], 0x13
mov dword [esp + 0x70], 0x19
call fcn.00473d50
push 0x20
mov esi, eax
call fcn.005ab82c
add esp, 0xc
push dword [edi + 0x70]
push 0
push dword [edi + 0x260]
mov ecx, eax
push esi
call fcn.005a5bc0
mov dword [edi + 0x294], eax
pop edi
pop esi
mov esp, ebp
pop ebp
ret
call fcn.005c695f
mov al, byte [0xb4005888]
mov byte [eax], bl
mov ecx, 0xbe005888
mov byte [eax], bl
cli
mov byte [eax], bl
sbb eax, 0xc800588d
nop
pop eax
add byte [eax - 0x33ffa76e], dh
int3