Function at 0x100564f0
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x93c
movss xmm2, dword [0x101114f4]
movss xmm3, dword [0x100d1f0c]
movaps xmm0, xmm2
mulss xmm0, dword [0x100d1f20]
push ebx
mov ebx, ecx
mov dword [ebp - 0x68], 0
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
cmp byte [ebx + 0x6efe8f], 0
addss xmm0, dword [ebx + 0x6efddc]
mov dword [ebp - 0x6c], 0
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x7c], 0
movss dword [ebx + 0x6efddc], xmm0
movaps xmm0, xmm2
mulss xmm0, dword [0x100d1ff8]
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x88], 0
addss xmm0, dword [ebx + 0x6efde0]
mov dword [ebp - 0x90], 0
mov dword [ebp - 0x94], 0
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x9c], 0
mov dword [ebp - 0x64], 0x3f800000
mov dword [ebp - 0x78], 0x3f800000
mov dword [ebp - 0x8c], 0x3f800000
mov dword [ebp - 0xa0], 0x3f800000
movss dword [ebx + 0x6efde0], xmm0
je 0x10056601
call edi
sub eax, dword [ebx + 0x6efe94]
movss xmm2, dword [0x101114f4]
movss xmm3, dword [0x100d1f0c]
cmp eax, 0x2710
jb 0x10056601
mov byte [ebx + 0x6efe8f], 0
cmp byte [0x101195f9], 0
mov al, byte [ebx + 0x6efe8d]
je 0x10056712
test al, al
jne 0x10056704
cmp byte [ebx + 0x6efe8e], al
jne 0x100566fa
push 0x10119600
lea esi, [ebx + 0x6efe7c]
push 0x11
push esi
call fcn.100a2697
mov ecx, esi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056643
sub ecx, edx
cmp ecx, 3
jb 0x100566fa
mov ecx, esi
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056660
sub ecx, edx
push ecx
push esi
call fcn.10042b00
test al, al
je 0x100566fa
mov dword [ebx + 0x6efea4], 0
mov byte [ebx + 0x6efe8e], 1
call edi
mov dword [ebx + 0x6efea0], eax
call edi
push 0x1f4
mov dword [ebx + 0x6efe98], eax
lea eax, [ebp - 0x550]
push 0
push eax
mov dword [ebx + 0x6efe68], 1
mov dword [ebx + 0x6efeb0], 0
call fcn.100994f0
add esp, 0xc
lea eax, [ebp - 0x550]
lea ecx, [ebp - 0x10]
push 2
push eax
call fcn.1003c660
push 0
lea ecx, [ebp - 0x10]
call fcn.1003c7e0
push esi
lea ecx, [ebp - 0x10]
call fcn.1003c860
lea ecx, [ebp - 0x10]
call fcn.1003c930
push dword [ebp - 8]
push dword [ebp - 0x10]
call fcn.10041f90
mov dword [ebx + 0x6efe68], 0
mov byte [0x101195f9], 0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
test al, al
jne 0x10056bfb
push dword [ebx + 0x28]
mov edx, dword [ebx + 0x1c]
lea ecx, [ebp - 0x20]
push dword [ebx + 0x24]
push dword [ebx + 0x20]
call fcn.10036d60
mov edx, dword [ebx + 4]
lea esi, [ebx + 4]
add esp, 0xc
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebx + 0x18]
push dword [eax]
push edx
call ecx
cmp byte [ebx + 0x6efe8e], 0
je 0x10056a62
call edi
sub eax, dword [ebx + 0x6efe98]
cmp eax, 0x2bc
jb 0x100567a8
mov eax, dword [ebx + 0x6efea4]
inc eax
mov dword [ebx + 0x6efea4], eax
cmp eax, 2
jle 0x1005679d
mov dword [ebx + 0x6efea4], 0
call edi
mov dword [ebx + 0x6efe98], eax
lea esi, [ebx + 4]
mov eax, dword [ebx + 0x6efea4]
test eax, eax
jne 0x100567c8
mov dword [ebx + 0x6efea8], 0x44064000
mov dword [ebx + 0x6efeac], 0x43cd0000
jmp 0x100567f5
cmp eax, 1
jne 0x100567d9
mov dword [ebx + 0x6efea8], 0x4408c000
jmp 0x100567eb
cmp eax, 2
jne 0x100567f5
mov dword [ebx + 0x6efea8], 0x4403c000
lea esi, [ebx + 4]
mov dword [ebx + 0x6efeac], 0x43d20000
push dword [ebx + 0xb8]
mov edx, dword [ebx + 0xac]
lea ecx, [ebp - 0x20]
push dword [ebx + 0xb4]
push dword [ebx + 0xb0]
call fcn.10036d60
mov edx, dword [esi]
add esp, 0xc
movss xmm0, dword [ebx + 0x6efea8]
mov eax, dword [edx]
push 0xffffffffffffffff
movss dword [ebp - 0xc], xmm0
movss xmm0, dword [ebx + 0x6efeac]
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x20]
movss dword [ebp - 8], xmm0
push eax
mov eax, dword [ebx + 0xa8]
mov dword [ebp - 4], 0
push dword [eax]
push edx
call ecx
push 0x190
lea eax, [ebp - 0x4f0]
push 0
push eax
call fcn.100994f0
lea edx, [ebx + 0x6efe7c]
add esp, 0xc
mov ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x24], eax
nop dword [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056880
sub ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x4f0]
push 0x64
push eax
push ecx
push edx
push 0
push 0x36a
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
call edi
sub eax, dword [ebx + 0x6efea0]
movss xmm1, dword [0x100d1f60]
movd xmm0, eax
cvtdq2pd xmm0, xmm0
shr eax, 0x1f
addsd xmm0, qword [eax*8 + 0x100d2260]
mov eax, dword [ebx + 0x6efeb0]
cvtpd2ps xmm0, xmm0
divss xmm0, dword [0x100d200c]
subss xmm1, xmm0
xorps xmm0, xmm0
maxss xmm0, xmm1
test eax, eax
jne 0x10056947
cvtps2pd xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x4f0]
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x938]
push str.Looking_up_player__s_nPlease_wait_a_moment...___.2f_
push eax
call fcn.10049e50
add esp, 0x14
mov edx, dword [esi]
lea eax, [ebp - 0x938]
push 1
push 0xffffffffffffffff
push 0x11
push 0x19
push 0xe6
push 0x1b2
push 0x1a6
push 0xffffffffffffffff
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
call fcn.10036b80
add esp, 0x24
jmp 0x10056ac3
cmp eax, 1
jne 0x100569ac
cvtps2pd xmm0, xmm0
sub esp, 8
lea eax, [ebp - 0x4f0]
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x938]
push str.Request_sent_to__s_nWaiting...___.2f_
push eax
call fcn.10049e50
add esp, 0x14
mov edx, dword [esi]
lea eax, [ebp - 0x938]
push 1
push 0xffffffffffffffff
push 0x11
push 0x19
push 0xe6
push 0x1b2
push 0x1a6
push 0xffffffffffffffff
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
call fcn.10036b80
add esp, 0x24
jmp 0x10056ac3
cmp eax, 2
jne 0x10056a11
cvtps2pd xmm0, xmm0
sub esp, 8
lea eax, [ebx + 0x6efeb4]
movsd qword [esp], xmm0
push eax
lea eax, [ebp - 0x938]
push str.Player_found_at_server__s_nWaiting_for_agreement...___.2f_
push eax
call fcn.10049e50
add esp, 0x14
mov edx, dword [esi]
lea eax, [ebp - 0x938]
push 1
push 0xffffffffffffffff
push 0x11
push 0x19
push 0xe6
push 0x1b2
push 0x1a6
push 0xffffffffffffffff
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
call fcn.10036b80
add esp, 0x24
jmp 0x10056ac3
cmp eax, 3
jne 0x10056ac3
lea eax, [ebp - 0x938]
push str.Player_has_accepted_the_request_nTrade_is_initializing...
push eax
call fcn.10049e50
push 1
mov edx, dword [esi]
lea eax, [ebp - 0x938]
push 0xffffffffffffffff
push 0x11
push 0x19
push 0xe6
push 0x1b2
push 0x1a6
push 0xffffffffffffffff
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
call fcn.10036b80
add esp, 0x2c
jmp 0x10056ac3
mov eax, dword [ebx + 0x6efe68]
lea ecx, [ebp - 0x20]
lea edx, [eax + eax*8]
push dword [ebx + edx*4 + 0x4c]
lea eax, [eax + eax*8]
push dword [ebx + eax*4 + 0x48]
push dword [ebx + edx*4 + 0x44]
mov edx, dword [ebx + edx*4 + 0x40]
call fcn.10036d60
mov edx, dword [esi]
add esp, 0xc
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 0xc], 0x43f58000
mov dword [ebp - 8], 0x43cf8000
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x20]
mov dword [ebp - 4], 0
push eax
mov eax, dword [ebx + 0x6efe68]
lea eax, [eax + eax*8]
mov eax, dword [ebx + eax*4 + 0x3c]
push dword [eax]
push edx
call ecx
push 0x190
lea eax, [ebp - 0x358]
push 0
push eax
lea edi, [ebx + 0x6efe7c]
call fcn.100994f0
mov ecx, edi
add esp, 0xc
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10056ae4
push 0x64
lea eax, [ebp - 0x358]
sub ecx, edx
push eax
push ecx
push edi
push 0
push 0x36a
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp byte [ebx + 0x6efe8e], 0
jne 0x10056baa
push 0
mov edx, dword [esi]
lea eax, [ebp - 0x358]
push 0xff66c2f2
push 0x100
push 0
push 0
push 0x188
push 0x1e5
push 0xffffffffffffffff
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
call fcn.10036b80
mov eax, dword [0x101195ec]
lea edx, [ebp - 0x358]
add esp, 0x24
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
call fcn.10036d10
mov ecx, dword [0x101195ec]
add eax, 0x1e6
movss xmm0, dword [ebx + 0x6efddc]
mov dword [ebp - 0x24], 0x100cf4d4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ecx + 4]
mov edi, dword [ecx + 0xc]
call fcn.100050e0
call fcn.10005100
mulss xmm0, dword [0x100d1fe8]
mov byte [ebp - 0x2c], 0
cvttss2si eax, xmm0
movzx eax, al
shl eax, 0x18
or eax, 0x66c2f2
jmp 0x10056bce
mov eax, dword [0x101195ec]
mov dword [ebp - 0x3c], 0x1e5
mov byte [ebp - 0x2c], 1
mov eax, dword [eax + 4]
mov edi, dword [eax + 0xc]
lea eax, [ebp - 0x358]
mov dword [ebp - 0x24], eax
mov eax, 0xff808080
push dword [ebp - 0x2c]
mov edx, dword [esi]
mov ecx, edi
push eax
push 0x100
push 0
push 0
push 0x188
push dword [ebp - 0x3c]
push 0xffffffffffffffff
push dword [ebp - 0x24]
call fcn.10036b80
add esp, 0x24
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
cmp dword [ebx + 0x6effb0], 0
je 0x10057e43
mulss xmm2, dword [0x100d1f64]
lea eax, [ebx + 0x570]
xor ecx, ecx
movss xmm6, dword [0x100d1efc]
movss xmm7, dword [0x100d1ee4]
movss xmm5, dword [0x100d1f14]
cmp byte [eax + 0xc], 0
movss xmm0, dword [eax]
je 0x10056c58
movaps xmm1, xmm6
call fcn.10036d80
movss dword [eax], xmm0
movaps xmm1, xmm6
movss xmm0, dword [eax + 4]
call fcn.10036d80
movaps xmm1, xmm7
jmp 0x10056c8c
movss xmm4, dword [eax + 4]
cmp ecx, dword [ebx + 0x93c]
jne 0x10056c72
movaps xmm1, xmm5
call fcn.10036d80
movaps xmm1, xmm5
jmp 0x10056c7d
movaps xmm1, xmm3
call fcn.10036d80
movaps xmm1, xmm3
movss dword [eax], xmm0
movaps xmm0, xmm4
call fcn.10036d80
movaps xmm1, xmm3
movss dword [eax + 4], xmm0
movss xmm0, dword [eax + 8]
call fcn.10036d80
movss dword [eax + 8], xmm0
inc ecx
add eax, 0x38
cmp ecx, 0x12
jl 0x10056c30
push dword [ebx + 0x124]
mov edx, dword [ebx + 0x118]
lea ecx, [ebp - 0x20]
push dword [ebx + 0x120]
push dword [ebx + 0x11c]
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
movd xmm0, dword [ebx + 8]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0xc]
push eax
movss dword [ebp - 0xc], xmm0
lea eax, [ebp - 0x20]
movd xmm0, dword [ebx + 0xc]
push 0
cvtdq2ps xmm0, xmm0
push eax
mov eax, dword [ebx + 0x114]
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
mov eax, dword [ebx + 0x6efe4c]
test eax, eax
je 0x10056d93
lea edx, [eax + eax*8]
push dword [ebx + edx*4 + 0x190]
lea eax, [eax + eax*8]
push dword [ebx + eax*4 + 0x18c]
lea ecx, [ebp - 0x20]
push dword [ebx + edx*4 + 0x188]
mov edx, dword [ebx + edx*4 + 0x184]
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
movd xmm0, dword [ebx + 0x6efe50]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0xc]
push eax
movss dword [ebp - 0xc], xmm0
lea eax, [ebp - 0x20]
movd xmm0, dword [ebx + 0x6efe54]
push 0
push eax
mov eax, dword [ebx + 0x6efe4c]
cvtdq2ps xmm0, xmm0
lea eax, [eax + eax*8]
movss dword [ebp - 8], xmm0
mov eax, dword [ebx + eax*4 + 0x180]
push dword [eax]
push edx
call ecx
mov ecx, ebx
call fcn.100595b0
mov esi, dword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
test al, al
jne 0x100572f3
mov eax, dword [ebx + 0x6effb0]
cmp eax, 1
jne 0x10057007
mov eax, dword [ebx + 0x6f0354]
cmp byte [eax + 4], 0
jne 0x10056f57
cmp byte [eax + 5], 0
jne 0x10056f57
cmp dword [ebx + 0x6efe60], 2
lea ecx, [ebp - 0x20]
jne 0x10056e50
push dword [ebx + 0x244]
mov edx, dword [ebx + 0x238]
push dword [ebx + 0x240]
push dword [ebx + 0x23c]
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 8]
add eax, 0x2b3
movd xmm0, eax
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0x112
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
lea eax, [ebp - 0xc]
push eax
push 0
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x234]
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
jmp 0x10056f57
push dword [ebx + 0x1fc]
mov edx, dword [ebx + 0x1f0]
push dword [ebx + 0x1f8]
push dword [ebx + 0x1f4]
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 8]
add eax, 0x2b3
movd xmm0, eax
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0x112
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
lea eax, [ebp - 0xc]
push eax
push 0
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x1ec]
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
push dword [ebx + 0x220]
mov edx, dword [ebx + 0x214]
lea ecx, [ebp - 0x20]
push dword [ebx + 0x21c]
push dword [ebx + 0x218]
call fcn.10036d60
mov edi, dword [ebx + 4]
add esp, 0xc
mov eax, dword [edi]
mov dword [ebp - 4], 0
mov esi, dword [eax + 0x24]
mov eax, dword [ebx + 8]
add eax, 0x2b3
movd xmm0, eax
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0x112
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebx + 0x6efddc]
call fcn.100050e0
call fcn.10005100
mulss xmm0, dword [0x100d1fe8]
cvttss2si eax, xmm0
movzx eax, al
shl eax, 0x18
or eax, 0xffffff
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x210]
push dword [eax]
push edi
call esi
mov edx, dword [ebx + 0x6efe64]
xor ecx, ecx
mov eax, dword [ebx + 0x6f0354]
test edx, edx
setne cl
add ecx, 2
cmp byte [eax + 4], 0
je 0x10056f7a
xor ecx, ecx
test edx, edx
sete cl
lea esi, [ecx + ecx*8]
push dword [ebx + esi*4 + 0x268]
mov edx, dword [ebx + esi*4 + 0x25c]
lea eax, [ecx + ecx*8]
push dword [ebx + eax*4 + 0x264]
lea ecx, [ebp - 0x20]
push dword [ebx + esi*4 + 0x260]
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 8]
add eax, 0x2ba
movd xmm0, eax
xor eax, eax
cmp dword [ebx + 0x6efe64], 2
cvtdq2ps xmm0, xmm0
sete al
add eax, 0x136
add eax, dword [ebx + 0xc]
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
lea eax, [ebp - 0xc]
push eax
push 0
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + esi*4 + 0x258]
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
jmp 0x100574b1
cmp eax, 2
jne 0x100574b1
mov eax, dword [ebx + 0x6f0354]
cmp byte [eax + 5], 0
jne 0x10057187
cmp dword [ebx + 0x6efe24], 2
mov eax, dword [ebx + 0x2f8]
mov ecx, dword [ebx + 0x2f4]
mov esi, dword [ebx + 0x2f0]
mov edx, dword [ebx + 0x2ec]
push eax
push ecx
push esi
lea ecx, [ebp - 0x20]
jne 0x100570a8
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
movd xmm0, dword [ebx + 0x6efe2c]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
xor eax, eax
cmp dword [ebx + 0x6efe24], 2
movss dword [ebp - 0xc], xmm0
sete al
add eax, dword [ebx + 0x6efe30]
movd xmm0, eax
lea eax, [ebp - 0xc]
push eax
push 0
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x2e8]
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
jmp 0x10057187
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
movd xmm0, dword [ebx + 0x6efe2c]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0xc]
push eax
movss dword [ebp - 0xc], xmm0
lea eax, [ebp - 0x20]
movd xmm0, dword [ebx + 0x6efe30]
push 0
cvtdq2ps xmm0, xmm0
push eax
mov eax, dword [ebx + 0x2e8]
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
push dword [ebx + 0x31c]
mov edx, dword [ebx + 0x310]
lea ecx, [ebp - 0x20]
push dword [ebx + 0x318]
push dword [ebx + 0x314]
call fcn.10036d60
movd xmm0, dword [ebx + 0x6efe2c]
add esp, 0xc
mov edi, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
mov eax, dword [edi]
mov dword [ebp - 4], 0
movss dword [ebp - 0xc], xmm0
movd xmm0, dword [ebx + 0x6efe30]
mov esi, dword [eax + 0x24]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebx + 0x6efddc]
call fcn.100050e0
call fcn.10005100
mulss xmm0, dword [0x100d1fe8]
cvttss2si eax, xmm0
movzx eax, al
shl eax, 0x18
or eax, 0xffffff
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x30c]
push dword [eax]
push edi
call esi
cmp dword [ebx + 0x6efe28], 2
mov eax, dword [ebx + 0x364]
mov ecx, dword [ebx + 0x360]
mov esi, dword [ebx + 0x35c]
mov edx, dword [ebx + 0x358]
push eax
push ecx
push esi
lea ecx, [ebp - 0x20]
jne 0x1005720f
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
movd xmm0, dword [ebx + 0x6efe3c]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
xor eax, eax
cmp dword [ebx + 0x6efe28], 2
movss dword [ebp - 0xc], xmm0
sete al
add eax, dword [ebx + 0x6efe40]
movd xmm0, eax
lea eax, [ebp - 0xc]
push eax
push 0
cvtdq2ps xmm0, xmm0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x354]
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
jmp 0x100574b1
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
movd xmm0, dword [ebx + 0x6efe3c]
cvtdq2ps xmm0, xmm0
mov eax, dword [edx]
push 0xffffffffffffffff
mov dword [ebp - 4], 0
mov ecx, dword [eax + 0x24]
lea eax, [ebp - 0xc]
push eax
movss dword [ebp - 0xc], xmm0
lea eax, [ebp - 0x20]
movd xmm0, dword [ebx + 0x6efe40]
push 0
cvtdq2ps xmm0, xmm0
push eax
mov eax, dword [ebx + 0x354]
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
push dword [ebx + 0x388]
mov edx, dword [ebx + 0x37c]
lea ecx, [ebp - 0x20]
push dword [ebx + 0x384]
push dword [ebx + 0x380]
call fcn.10036d60
movd xmm0, dword [ebx + 0x6efe3c]
add esp, 0xc
mov edi, dword [ebx + 4]
cvtdq2ps xmm0, xmm0
mov eax, dword [edi]
mov dword [ebp - 4], 0
movss dword [ebp - 0xc], xmm0
movd xmm0, dword [ebx + 0x6efe40]
mov esi, dword [eax + 0x24]
cvtdq2ps xmm0, xmm0
movss dword [ebp - 8], xmm0
movss xmm0, dword [ebx + 0x6efddc]
call fcn.100050e0
call fcn.10005100
mulss xmm0, dword [0x100d1fe8]
cvttss2si eax, xmm0
movzx eax, al
shl eax, 0x18
or eax, 0xffffff
push eax
lea eax, [ebp - 0xc]
push eax
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebx + 0x378]
push dword [eax]
push edi
call esi
jmp 0x100574b1
mov eax, dword [ebx + 0xd8]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [ebx + 0xdc]
cdq
cvtdq2ps xmm0, xmm0
sub eax, edx
sar eax, 1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
mov eax, dword [ebx + 8]
cvtdq2ps xmm0, xmm0
add eax, 0x2d7
movss dword [ebp - 0x24], xmm0
movd xmm0, eax
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0x128
movss dword [ebp - 0x38], xmm0
movd xmm0, eax
lea eax, [ebp - 0x38]
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x28]
push eax
push 0
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
push eax
lea eax, [ebp - 0x148]
push eax
movss dword [ebp - 0x34], xmm0
call esi
push dword [ebx + 0xdc]
mov edx, dword [ebx + 0xd0]
lea ecx, [ebp - 0x20]
push dword [ebx + 0xd8]
push dword [ebx + 0xd4]
call fcn.10036d60
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x148]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x20]
push 0xffffffffffffffff
push 0
push 0
mov edx, dword [ecx]
push eax
mov eax, dword [ebx + 0xcc]
push dword [eax]
push ecx
call dword [edx + 0x24]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0xa0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebx + 0xfc]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [ebx + 0x100]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x24], xmm0
mov eax, dword [ebx + 8]
add eax, 0x2e0
movd xmm0, eax
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0x131
movss dword [ebp - 0x38], xmm0
movd xmm0, eax
lea eax, [ebp - 0x38]
cvtdq2ps xmm0, xmm0
push eax
push ecx
lea eax, [ebp - 0x28]
movss dword [ebp - 0x34], xmm0
movss xmm0, dword [ebx + 0x6efde0]
mulss xmm0, dword [0x100d1ecc]
movss dword [esp], xmm0
push eax
push 0
push ecx
mov dword [esp], 0
push eax
lea eax, [ebp - 0x148]
push eax
call esi
push dword [ebx + 0x100]
mov edx, dword [ebx + 0xf4]
lea ecx, [ebp - 0x20]
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
call fcn.10036d60
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x148]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x20]
push 0xffffffffffffffff
push 0
push 0
mov edx, dword [ecx]
push eax
mov eax, dword [ebx + 0xf0]
push dword [eax]
push ecx
call dword [edx + 0x24]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0xa0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebx + 0x6effb0]
cmp eax, 1
jne 0x1005752e
mov eax, dword [ebx + 0x6f0358]
lea ecx, [ebp - 0x20]
cmp byte [eax + 4], 0
jne 0x100575a2
push dword [ebx + 0x418]
mov edx, dword [ebx + 0x40c]
push dword [ebx + 0x414]
push dword [ebx + 0x410]
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
mov eax, dword [edx]
push 0xffffffffffffffff
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 8]
add eax, 0x2ac
movd xmm0, eax
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0x27b
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push 0
push eax
mov eax, dword [ebx + 0x408]
jmp 0x100575fc
cmp eax, 2
jne 0x10057610
mov eax, dword [ebx + 0x6f0358]
lea ecx, [ebp - 0x20]
cmp byte [eax + 5], 0
je 0x100575a2
push dword [ebx + 0x3d0]
mov edx, dword [ebx + 0x3c4]
push dword [ebx + 0x3cc]
push dword [ebx + 0x3c8]
call fcn.10036d60
mov edx, dword [ebx + 4]
add esp, 0xc
mov eax, dword [edx]
push 0xffffffffffffffff
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 8]
add eax, 0x291
movd xmm0, eax
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0x27b
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push 0
push eax
mov eax, dword [ebx + 0x3c0]
jmp 0x100575fc
push dword [ebx + 0x3f4]
mov edx, dword [ebx + 0x3e8]
push dword [ebx + 0x3f0]
push dword [ebx + 0x3ec]
call fcn.10036d60
mov edx, dword [ebx + 4]
mov eax, dword [edx]
mov ecx, dword [eax + 0x24]
mov eax, dword [ebx + 8]
add eax, 0x2b5
movd xmm0, eax
mov eax, dword [ebx + 0xc]
cvtdq2ps xmm0, xmm0
add eax, 0x27b
add esp, 0xc
push 0xffffffffffffffff
movss dword [ebp - 0xc], xmm0
movd xmm0, eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x20]
push 0
push eax
mov eax, dword [ebx + 0x3e4]
cvtdq2ps xmm0, xmm0
mov dword [ebp - 4], 0
movss dword [ebp - 8], xmm0
push dword [eax]
push edx
call ecx
push 0x190
lea eax, [ebp - 0x358]
push 0
push eax
call fcn.100994f0
lea edx, [ebx + 0x6eff80]
add esp, 0xc
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10057631
push 0xc
lea eax, [ebp - 0x358]
sub ecx, esi
mov esi, dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
push eax
push ecx
push edx
push 0
push 0x36a
call esi
mov eax, dword [ebx + 0xc]
push 1
push dword [ebx + 0x6eff7c]
mov edx, dword [ebx + 4]
add eax, 8
push 5
push 0x1a
push 0x6c
push eax
mov eax, dword [ebx + 8]
add eax, 0x2b6
push eax
lea eax, [ebp - 0x358]
push 0xffffffffffffffff
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
call fcn.10036b80
add esp, 0x24
lea eax, [ebp - 0x358]
push 0x190
push 0
push eax
call fcn.100994f0
lea edx, [ebx + 0x6eff94]
add esp, 0xc
mov ecx, edx
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x100576b2
push 0xc
lea eax, [ebp - 0x358]
sub ecx, edi
push eax
push ecx
push edx
push 0
push 0x36a
call esi
mov eax, dword [ebx + 0xc]
push 1
push dword [ebx + 0x6eff90]
mov edx, dword [ebx + 4]
add eax, 0x15e
push 5
push 0x1a
push 0x6c
push eax
mov eax, dword [ebx + 8]
add eax, 0x2b6
push eax
lea eax, [ebp - 0x358]
push 0xffffffffffffffff
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0xc]
call fcn.10036b80
mov eax, dword [ebx + 0x6f0354]
add esp, 0x24
push dword [eax + 8]
lea eax, [ebp - 0x108]
push 0x100d05c4
push eax
call fcn.1001f530
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov edx, dword [ebx + 4]
add eax, 0x124
push 1
push 0xffeeee11
push 0x100
push 0
push 0
push eax
mov eax, dword [ebx + 8]
add eax, 0x247
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
call fcn.10036a40
mov eax, dword [ebx + 0x6f0358]
add esp, 0x24
push dword [eax + 8]
lea eax, [ebp - 0x108]
push 0x100d05c4
push eax
call fcn.1001f530
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov edx, dword [ebx + 4]
add eax, 0x27c
push 1
push 0xffeeee11
push 0x100
push 0
push 0
push eax
mov eax, dword [ebx + 8]
add eax, 0x247
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
call fcn.10036a40
mov eax, dword [ebx + 0x6f0354]
add esp, 0x24
push dword [eax + 0x10]
lea eax, [ebp - 0x108]
push 0x100d05c4
push eax
call fcn.1001f530
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov edx, dword [ebx + 4]
add eax, 0x123
push 1
push 0xffeeee11
push 2
push 0x64
push 0x5b
push eax
mov eax, dword [ebx + 8]
add eax, 0x337
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
call fcn.10036a40
mov eax, dword [ebx + 0x6f0354]
add esp, 0x24
push dword [eax + 0xc]
lea eax, [ebp - 0x108]
push 0x100d05c4
push eax
call fcn.1001f530
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov edx, dword [ebx + 4]
add eax, 0x132
push 1
push 0xffe5cc2a
push 2
push 0x64
push 0x5b
push eax
mov eax, dword [ebx + 8]
add eax, 0x337
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
call fcn.10036a40
mov eax, dword [ebx + 0x6f0358]
add esp, 0x24
push dword [eax + 0x10]
lea eax, [ebp - 0x108]
push 0x100d05c4
push eax
call fcn.1001f530
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov edx, dword [ebx + 4]
add eax, 0x27c
push 1
push 0xffeeee11
push 2
push 0x64
push 0x5b
push eax
mov eax, dword [ebx + 8]
add eax, 0x337
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
call fcn.10036a40
mov eax, dword [ebx + 0x6f0358]
add esp, 0x24
push dword [eax + 0xc]
lea eax, [ebp - 0x108]
push 0x100d05c4
push eax
call fcn.1001f530
mov eax, dword [ebx + 0xc]
add esp, 0xc
mov edx, dword [ebx + 4]
add eax, 0x28b
push 1
push 0xffe5cc2a
push 2
push 0x64
push 0x5b
push eax
mov eax, dword [ebx + 8]
add eax, 0x337
push eax
push ecx
lea eax, [ebp - 0x108]
push eax
mov eax, dword [0x101195ec]
mov ecx, dword [eax + 4]
mov ecx, dword [ecx + 0x18]
call fcn.10036a40
lea ecx, [ebx + 0x430]
add esp, 0x24
xor edi, edi
mov dword [ebp - 0x2c], ecx
lea esi, [ebx + 0x55c]
mov eax, dword [ebx + 0x6f0354]
cmp dword [eax + edi + 0x1c], 0
je 0x10057c15
cmp dword [esi - 0x10], 0
je 0x10057c15
mov eax, dword [esi - 4]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [esi]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [ebp - 0x40], xmm0
movd xmm0, eax
lea eax, [ebp - 0x50]
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
movss dword [ebp - 0x3c], xmm0
movd xmm0, dword [ecx - 4]
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x148]
movss dword [ebp - 0x50], xmm0
movd xmm0, dword [ecx]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebp - 0x4c], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [ebp - 0x58], xmm0
movss xmm0, dword [esi + 0x18]
movss dword [ebp - 0x54], xmm0
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
push dword [esi]
mov edx, dword [esi - 0xc]
lea ecx, [ebp - 0x20]
push dword [esi - 4]
push dword [esi - 8]
call fcn.10036d60
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x148]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
movss xmm0, dword [esi + 0x1c]
mulss xmm0, dword [0x100d1fe8]
mov ecx, dword [ebx + 4]
cvttss2si eax, xmm0
mov edx, dword [ecx]
movzx eax, al
shl eax, 0x18
or eax, 0xffffff
push eax
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi - 0x10]
push dword [eax]
push ecx
call dword [edx + 0x24]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0xa0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
cmp byte [esi + 0x20], 0
mov ecx, dword [ebp - 0x2c]
je 0x10057c15
mov eax, dword [ebx + 0xd8]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [ebx + 0xdc]
cdq
cvtdq2ps xmm0, xmm0
sub eax, edx
sar eax, 1
movss dword [ebp - 0x28], xmm0
movd xmm0, eax
mov eax, dword [ecx - 4]
cvtdq2ps xmm0, xmm0
add eax, 0x29
movss dword [ebp - 0x24], xmm0
movd xmm0, eax
mov eax, dword [ecx]
cvtdq2ps xmm0, xmm0
add eax, 0xd
movss dword [ebp - 0x48], xmm0
movd xmm0, eax
lea eax, [ebp - 0x48]
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x28]
push eax
push 0
push ecx
cvtdq2ps xmm0, xmm0
mov dword [esp], 0
push eax
lea eax, [ebp - 0x188]
push eax
movss dword [ebp - 0x44], xmm0
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
push dword [ebx + 0xdc]
mov edx, dword [ebx + 0xd0]
lea ecx, [ebp - 0x20]
push dword [ebx + 0xd8]
push dword [ebx + 0xd4]
call fcn.10036d60
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x188]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x20]
push 0xffffffffffffffff
push 0
push 0
mov edx, dword [ecx]
push eax
mov eax, dword [ebx + 0xcc]
push dword [eax]
push ecx
call dword [edx + 0x24]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0xa0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov eax, dword [ebx + 0xfc]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [ebx + 0x100]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [ebp - 0x38], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x34], xmm0
mov ecx, dword [ebp - 0x2c]
mov eax, dword [ecx - 4]
add eax, 0x32
movd xmm0, eax
mov eax, dword [ecx]
cvtdq2ps xmm0, xmm0
add eax, 0x16
movss dword [ebp - 0x60], xmm0
movd xmm0, eax
lea eax, [ebp - 0x60]
cvtdq2ps xmm0, xmm0
push eax
push ecx
lea eax, [ebp - 0x38]
movss dword [ebp - 0x5c], xmm0
movss xmm0, dword [ebx + 0x6efde0]
mulss xmm0, dword [0x100d1ecc]
movss dword [esp], xmm0
push eax
push 0
push ecx
mov dword [esp], 0
push eax
lea eax, [ebp - 0x188]
push eax
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
push dword [ebx + 0x100]
mov edx, dword [ebx + 0xf4]
lea ecx, [ebp - 0x20]
push dword [ebx + 0xfc]
push dword [ebx + 0xf8]
call fcn.10036d60
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x188]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebx + 4]
lea eax, [ebp - 0x20]
push 0xffffffffffffffff
push 0
push 0
mov edx, dword [ecx]
push eax
mov eax, dword [ebx + 0xf0]
push dword [eax]
push ecx
call dword [edx + 0x24]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0xa0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x2c]
add edi, 0x30
add ecx, 0x10
add esi, 0x38
mov dword [ebp - 0x2c], ecx
cmp edi, 0x1b0
jl 0x10057941
lea ecx, [ebx + 0x4c0]
xor edi, edi
lea esi, [ebx + 0x754]
mov dword [ebp - 0x24], ecx
nop
mov eax, dword [ebx + 0x6f0358]
cmp dword [eax + edi + 0x1c], 0
je 0x10057d48
cmp dword [esi - 0x10], 0
je 0x10057d48
mov eax, dword [esi - 4]
cdq
sub eax, edx
sar eax, 1
movd xmm0, eax
mov eax, dword [esi]
cvtdq2ps xmm0, xmm0
cdq
sub eax, edx
sar eax, 1
movss dword [ebp - 0x30], xmm0
movd xmm0, eax
lea eax, [ebp - 0x48]
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 8]
movss dword [ebp - 0x2c], xmm0
movd xmm0, dword [ecx - 4]
cvtdq2ps xmm0, xmm0
push eax
push ecx
mov dword [esp], 0
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x1c8]
movss dword [ebp - 0x48], xmm0
movd xmm0, dword [ecx]
cvtdq2ps xmm0, xmm0
push eax
movss dword [ebp - 0x44], xmm0
movss xmm0, dword [esi + 0x14]
movss dword [ebp - 8], xmm0
movss xmm0, dword [esi + 0x18]
movss dword [ebp - 4], xmm0
call dword [sym.imp.d3dx9_43.dll_D3DXMatrixTransformation2D]
push dword [esi]
mov edx, dword [esi - 0xc]
lea ecx, [ebp - 0x20]
push dword [esi - 4]
push dword [esi - 8]
call fcn.10036d60
mov eax, dword [ebx + 4]
lea edx, [ebp - 0x1c8]
add esp, 0xc
mov ecx, dword [eax]
push edx
push eax
call dword [ecx + 0x14]
movss xmm0, dword [esi + 0x1c]
mulss xmm0, dword [0x100d1fe8]
mov ecx, dword [ebx + 4]
cvttss2si eax, xmm0
mov edx, dword [ecx]
movzx eax, al
shl eax, 0x18
or eax, 0xffffff
push eax
push 0
push 0
lea eax, [ebp - 0x20]
push eax
mov eax, dword [esi - 0x10]
push dword [eax]
push ecx
call dword [edx + 0x24]
mov eax, dword [ebx + 4]
lea edx, [ebp - 0xa0]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x24]
add edi, 0x30
add ecx, 0x10
add esi, 0x38
mov dword [ebp - 0x24], ecx
cmp edi, 0x1b0
jl 0x10057c40
mov eax, dword [ebx + 0x93c]
cmp eax, 8
ja 0x10057dbd
cmp eax, 0xffffffff
je 0x10057dbd
mov esi, dword [ebx + 0x6f0354]
lea ecx, [eax + eax*2]
shl ecx, 4
cmp dword [ecx + esi + 0x1c], 0
je 0x10057dbd
lea edx, [eax*8]
sub edx, eax
lea edi, [ebx + 0x54c]
cmp dword [edi + edx*8], 0
lea edi, [edi + edx*8]
je 0x10057dbd
push dword [ebx + 0x14]
lea eax, [esi + 0x18]
push dword [ebx + 0x10]
add eax, ecx
mov ecx, dword [0x101195ec]
push eax
push dword [ebx + edx*8 + 0x580]
mov ecx, dword [ecx + 0x24]
push edi
call fcn.10057e70
mov ecx, dword [ebx + 0x93c]
lea eax, [ecx - 9]
cmp eax, 8
ja 0x10057e22
cmp ecx, 0xffffffff
je 0x10057e22
mov esi, dword [ebx + 0x6f0358]
lea eax, [ecx + ecx*2]
shl eax, 4
cmp dword [eax + esi - 0x194], 0
je 0x10057e22
lea edx, [ecx*8]
sub edx, ecx
lea ecx, [ebx + 0x54c]
cmp dword [ecx + edx*8], 0
lea ecx, [ecx + edx*8]
je 0x10057e22
push dword [ebx + 0x14]
add eax, 0xfffffe68
push dword [ebx + 0x10]
add eax, esi
push eax
push dword [ebx + edx*8 + 0x580]
push ecx
mov ecx, dword [0x101195ec]
mov ecx, dword [ecx + 0x24]
call fcn.10057e70
lea ecx, [ebx + 0x3c4cc0]
call fcn.10048d80
lea ecx, [ebx + 0x940]
call fcn.1004a7c0
lea ecx, [ebx + 0x6ef884]
call fcn.1004d290
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret