Function at 0x46d600
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x527135
mov eax, dword fs:[0]
push eax
sub esp, 0x44c
mov eax, dword [0x5754c0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x414], edi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x43c], esi
mov byte [ebp - 0x458], 0x13
mov byte [ebp - 0x448], 0x2c
movsx eax, byte [esi]
add eax, 0xfffffffb
cmp eax, 0x51
ja case.0x46d662.8
movzx eax, byte [eax + 0x47198c]
jmp dword [eax*4 + 0x4718f4]
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x418], eax
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x414], ecx
test ecx, ecx
je 0x46d9b4
nop dword [eax]
mov edx, dword [ecx + 0x178]
cmp edx, 0xffffffff
jle 0x46d990
mov eax, dword [edi + 8]
cmp edx, dword [eax + 0x178]
jne 0x46d6e2
cmp dword [eax + 0x338], 0
je 0x46d6c6
cmp byte [eax + 0x340], 0
jne 0x46d6c6
mov dword [edi + 0x290], 1
cmp dword [eax + 0x408], 0
je 0x46d6e2
cmp byte [eax + 0x410], 0
jne 0x46d6e2
mov dword [edi + 0x290], 1
mov eax, dword [ecx + 0x178]
cmp eax, dword [esi + 1]
jne 0x46d990
cmp dword [ecx + 0x16c], 0xffffffff
push ecx
je 0x46d73e
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00482ce0
mov dword [ebp - 0x41c], eax
mov dword [eax + 0x120], 0x3e851eb8
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048a0d0
jmp 0x46d76c
mov ecx, dword [edi + 4]
call fcn.00482d00
mov ecx, dword [ebp - 0x414]
push ecx
push eax
mov dword [ecx + 0x170], eax
mov ecx, dword [edi + 4]
call fcn.00482ce0
mov dword [ebp - 0x41c], eax
mov dword [eax + 0x120], 0x3e851eb8
mov edx, dword [ebp - 0x414]
movzx ecx, byte [esi + 5]
push 0
mov dword [edx + 0x164], ecx
movzx eax, byte [esi + 6]
push eax
mov dword [edx + 0x168], eax
push ecx
mov ecx, dword [edi + 0x154]
call fcn.00488ef0
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x418], eax
cmp eax, 0xffffffff
jne 0x46d81b
mov eax, dword [ebp - 0x414]
push dword [eax + 0x164]
call fcn.004896d0
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x41c]
movss xmm0, dword [edx + 0x114]
fstp dword [edx + 0x11c]
movss dword [eax + 0x110], xmm0
movss dword [eax + 0x108], xmm0
movss xmm0, dword [edx + 0x11c]
movss dword [eax + 0x114], xmm0
movss dword [eax + 0x10c], xmm0
jmp 0x46d8d9
push 1
push eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004863e0
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x418]
call fcn.00488ff0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x418]
push dword [eax + 0x164]
mov dword [eax + 0x16c], ecx
mov ecx, dword [edi + 0x154]
call fcn.004896d0
fadd dword [ebp - 0x430]
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x110]
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x168]
call fcn.004897e0
fadd dword [ebp - 0x434]
mov eax, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x414]
fstp dword [eax + 0x114]
movss xmm0, dword [ebp - 0x438]
movss dword [eax + 0x118], xmm0
mov dword [eax + 0x138], 0
mov eax, dword [edx + 0x178]
mov dword [ebp - 0x418], 1
cmp eax, dword [edi + 0x204]
jne 0x46d97e
cmp dword [0x57802c], 0
jne 0x46d907
cmp dword [edi + 0x20c], 0xffffffff
jne 0x46d97e
mov ecx, dword [edi + 0x154]
movq xmm0, qword [edx + 0x114]
movq qword [ecx + 0x184], xmm0
mov eax, dword [edx + 0x11c]
mov dword [ecx + 0x18c], eax
mov eax, dword [edi + 0x154]
mov dword [eax + 0x190], 0
push dword [edx + 0x168]
mov ecx, dword [edi + 0x154]
push dword [edx + 0x164]
call fcn.00486cf0
mov eax, dword [ebp - 0x414]
mov ecx, edi
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.00471a10
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x18]
push eax
call fcn.00449d50
mov edx, dword [ebp - 0x414]
cmp byte [esi], 0x34
jne 0x46d990
movzx eax, word [esi + 7]
mov ecx, edi
push eax
push edx
call fcn.00471ba0
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x414], eax
test ecx, ecx
jne 0x46d690
cmp dword [ebp - 0x418], eax
jne case.0x46d662.8
push 0x4d8
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x46d9e2
push str.AVATAR
push 0
mov ecx, eax
call fcn.00475400
jmp 0x46d9e4
xor eax, eax
mov ecx, dword [edi + 0x18]
push eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00449be0
push 0x10c
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x46da23
mov ecx, eax
call fcn.00464520
mov ecx, eax
jmp 0x46da25
xor ecx, ecx
mov eax, dword [ebp - 0x414]
push eax
mov dword [ebp - 4], 0xffffffff
mov dword [eax + 0x194], ecx
mov ecx, dword [edi + 4]
call fcn.00482d00
mov ecx, dword [ebp - 0x414]
push ecx
push eax
mov dword [ecx + 0x170], eax
mov ecx, dword [edi + 4]
call fcn.00482ce0
movzx edx, byte [esi + 5]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x414]
push 0
mov dword [eax + 0x164], edx
movzx ecx, byte [esi + 6]
push ecx
mov dword [eax + 0x168], ecx
mov ecx, dword [edi + 0x154]
push edx
call fcn.00488ef0
mov dword [ebp - 0x418], eax
cmp eax, 0xffffffff
jne 0x46daca
mov ecx, dword [ebp - 0x414]
push dword [ecx + 0x164]
mov ecx, dword [edi + 0x154]
call fcn.004896d0
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
jmp 0x46db5c
mov ecx, dword [edi + 0x154]
push 1
push eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004863e0
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x418]
call fcn.00488ff0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x418]
push dword [eax + 0x164]
mov dword [eax + 0x16c], ecx
mov ecx, dword [edi + 0x154]
call fcn.004896d0
fadd dword [ebp - 0x430]
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
fadd dword [ebp - 0x434]
mov ecx, dword [ebp - 0x414]
fstp dword [ecx + 0x11c]
call fcn.004ff464
xorps xmm1, xmm1
sub esp, 8
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x414]
mov dword [eax + 0x10c], 0
mulss xmm0, dword [0x52eb70]
divss xmm0, dword [0x530ff8]
addss xmm0, xmm1
movss dword [eax + 0x108], xmm0
movss xmm0, dword [eax + 0x11c]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x114]
movss dword [esp], xmm0
call fcn.00471d40
mov eax, dword [ebp - 0x41c]
mov ecx, dword [ebp - 0x414]
movss xmm0, dword [ecx + 0x108]
fstp dword [ecx + 0x118]
movss dword [eax + 0x118], xmm0
movss dword [eax + 0x11c], xmm0
mov dword [eax + 0x120], 0x3e851eb8
mov dword [eax + 0x124], 0x3e567750
movss xmm0, dword [ebp - 0x438]
movss dword [eax + 0x118], xmm0
movss xmm0, dword [ecx + 0x114]
movss dword [eax + 0x110], xmm0
movss dword [eax + 0x108], xmm0
movss xmm0, dword [ecx + 0x11c]
movss dword [eax + 0x114], xmm0
movss dword [eax + 0x10c], xmm0
mov dword [eax + 0x128], 0x3e99999a
mov eax, dword [esi + 1]
mov dword [ecx + 0x178], eax
cmp eax, dword [edi + 0x204]
jne 0x46de33
cmp dword [0x57802c], 0
jne 0x46dc7b
cmp dword [edi + 0x20c], 0xffffffff
jne 0x46de33
mov dword [edi + 8], ecx
lea edx, [ebp - 0x458]
mov ecx, dword [0x5779c4]
push 0
push 0
mov byte [ebp - 0x453], 1
mov dword [ebp - 0x457], 0
mov eax, dword [ecx]
push edx
push 0xa
call dword [eax + 4]
mov ecx, edi
call fcn.00468800
mov edx, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
movq xmm0, qword [edx + 0x114]
movq qword [ecx + 0x184], xmm0
mov eax, dword [edx + 0x11c]
mov dword [ecx + 0x18c], eax
mov eax, dword [edi + 0x154]
mov dword [eax + 0x190], 0
push dword [edx + 0x168]
mov ecx, dword [edi + 0x154]
push dword [edx + 0x164]
call fcn.00486cf0
mov eax, dword [ebp - 0x414]
mov ecx, edi
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.00471a10
mov ecx, dword [ebp - 0x414]
push ecx
mov ecx, dword [edi + 0x18]
call fcn.00449d50
cmp dword [0x578020], 0
jne 0x46de2d
cmp dword [0x560204], 0
mov dword [ebp - 0x420], 0xc3fa0000
mov dword [ebp - 0x424], 0xc3fa0000
mov dword [ebp - 0x428], 0xc3fa0000
je 0x46de2d
movq xmm0, qword [ebp - 0x428]
sub esp, 0xc
mov esi, dword [ebp - 0x420]
mov eax, esp
mov ecx, dword [0x57800c]
sub esp, 0xc
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, esp
push dword [edi + 0x154]
movq qword [eax], xmm0
mov dword [eax + 8], esi
call fcn.004ae0a0
movq xmm0, qword [ebp - 0x428]
sub esp, 0xc
mov ecx, dword [0x578010]
mov eax, esp
sub esp, 0xc
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, esp
push dword [edi + 0x154]
movq qword [eax], xmm0
mov dword [eax + 8], esi
call fcn.004ae0a0
movq xmm0, qword [ebp - 0x428]
sub esp, 0xc
mov ecx, dword [0x578014]
mov eax, esp
sub esp, 0xc
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, esp
push dword [edi + 0x154]
movq qword [eax], xmm0
mov dword [eax + 8], esi
call fcn.004ae0a0
movq xmm0, qword [ebp - 0x428]
sub esp, 0xc
mov ecx, dword [0x578018]
mov eax, esp
sub esp, 0xc
movq qword [eax], xmm0
mov dword [eax + 8], esi
mov eax, esp
push dword [edi + 0x154]
movq qword [eax], xmm0
mov dword [eax + 8], esi
call fcn.004ae0a0
mov esi, dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x414]
cmp byte [esi], 0x34
jne case.0x46d662.8
movzx eax, word [esi + 7]
push eax
push ecx
mov ecx, edi
call fcn.00471ba0
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x414], ecx
test ecx, ecx
je case.0x46d662.8
nop word [eax + eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x46df10
cmp eax, dword [esi + 1]
jne 0x46defe
push ecx
mov ecx, dword [edi + 0x18]
call fcn.00449f90
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048a0d0
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00482cc0
mov ecx, dword [ebp - 0x414]
push 1
mov dword [ecx + 0x16c], 0xffffffff
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
mov eax, dword [esi + 1]
mov dword [ebp - 0x414], ecx
cmp eax, dword [edi + 0x204]
jne 0x46df20
mov eax, dword [edi + 0xc]
mov dword [edi + 8], eax
jmp 0x46df20
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x414], ecx
jmp 0x46df20
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x414], eax
test ecx, ecx
jne 0x46de70
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov dword [ebp - 0x414], eax
test eax, eax
je case.0x46d662.8
nop dword [eax]
nop word [eax + eax]
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
jle 0x46e0e7
cmp ecx, dword [esi + 1]
jne 0x46e0e7
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00482ce0
mov dword [ebp - 0x41c], eax
mov dword [eax + 0x120], 0x3e851eb8
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048a0d0
mov edx, dword [ebp - 0x414]
movzx ecx, byte [esi + 7]
push 0
mov dword [edx + 0x164], ecx
movzx eax, byte [esi + 8]
push eax
mov dword [edx + 0x168], eax
push ecx
mov ecx, dword [edi + 0x154]
call fcn.00488ef0
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x418], eax
cmp eax, 0xffffffff
jne 0x46e01b
movzx eax, byte [esi + 7]
push eax
call fcn.004896d0
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x110]
movzx eax, byte [esi + 8]
mov ecx, dword [edi + 0x154]
push eax
call fcn.004897e0
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x114]
jmp 0x46e0c1
push 1
push eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004863e0
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x418]
call fcn.00488ff0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x418]
mov dword [eax + 0x16c], ecx
movzx eax, byte [esi + 7]
mov ecx, dword [edi + 0x154]
push eax
call fcn.004896d0
fadd dword [ebp - 0x430]
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x110]
movzx eax, byte [esi + 8]
mov ecx, dword [edi + 0x154]
push eax
call fcn.004897e0
fadd dword [ebp - 0x434]
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x114]
movss xmm0, dword [ebp - 0x438]
movss dword [eax + 0x118], xmm0
mov eax, dword [ebp - 0x414]
mov ecx, dword [0x5791f0]
mov eax, dword [eax + 0x178]
cmp eax, dword [edi + 0x204]
mov eax, 0x5a
cmove ecx, eax
mov dword [0x5791f0], ecx
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov dword [ebp - 0x414], eax
test eax, eax
jne 0x46df50
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x418], ecx
test ecx, ecx
je case.0x46d662.8
nop word [eax + eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x46e1cf
cmp eax, dword [esi + 1]
jne 0x46e1cf
movzx eax, word [esi + 0x1a]
push eax
mov word [ecx + 0x21c], ax
movzx eax, byte [esi + 0x19]
push eax
movzx eax, byte [esi + 0x18]
push eax
movzx eax, byte [esi + 0x17]
push eax
push dword [esi + 0xd]
movzx eax, byte [esi + 0x16]
push eax
movzx eax, byte [esi + 0x15]
push eax
movzx eax, byte [esi + 0x14]
mov ecx, dword [ecx + 0x194]
push eax
push dword [esi + 9]
movzx eax, byte [esi + 0x13]
push eax
movzx eax, byte [esi + 0x12]
push eax
movzx eax, byte [esi + 0x11]
push eax
mov eax, dword [0x5778a8]
push dword [esi + 5]
push dword [eax + 0x2a3d8]
call fcn.004647e0
lea eax, [esi + 0x1c]
push eax
mov eax, dword [ebp - 0x418]
add eax, 0x1b0
push eax
call fcn.00466190
mov ecx, dword [edi + 8]
add esp, 8
mov eax, dword [ecx + 0x178]
cmp eax, dword [esi + 1]
jne 0x46e1cf
lea eax, [ecx + 0x1b0]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [0x5791fc], eax
mov al, byte [esi + 0x4c]
mov byte [0x56c735], al
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x418], eax
test ecx, ecx
jne 0x46e120
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x418], eax
call fcn.00449da0
mov edx, eax
mov dword [ebp - 0x414], edx
test edx, edx
je 0x46e4f5
nop dword [eax]
cmp dword [edx + 0x178], 0xffffffff
jne 0x46e4d1
mov eax, dword [edx + 0x17c]
cmp eax, dword [esi + 1]
jne 0x46e4d1
mov al, byte [esi + 5]
cmp al, 6
je 0x46e400
cmp al, 0xd
je 0x46e400
cmp al, 7
je 0x46e400
cmp al, 0xe
je 0x46e400
cmp al, 0x11
je 0x46e400
cmp al, 0xa
je 0x46e400
mov ecx, dword [edi + 4]
push edx
push dword [edx + 0x170]
call fcn.00482ce0
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048a0d0
mov edx, dword [ebp - 0x414]
movzx ecx, byte [esi + 0xb]
push 0
mov dword [edx + 0x164], ecx
movzx eax, byte [esi + 0xc]
push eax
mov dword [edx + 0x168], eax
push ecx
mov ecx, dword [edi + 0x154]
call fcn.00488ef0
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x418], eax
cmp eax, 0xffffffff
jne 0x46e346
mov eax, dword [ebp - 0x414]
push dword [eax + 0x164]
call fcn.004896d0
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x41c]
movss xmm0, dword [edx + 0x114]
fstp dword [edx + 0x11c]
movss dword [eax + 0x110], xmm0
movss dword [eax + 0x108], xmm0
movss xmm0, dword [edx + 0x11c]
movss dword [eax + 0x114], xmm0
movss dword [eax + 0x10c], xmm0
jmp 0x46e400
push 1
push eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004863e0
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x418]
call fcn.00488ff0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x418]
mov dword [eax + 0x16c], ecx
mov ecx, dword [ebp - 0x41c]
movss xmm0, dword [ebp - 0x438]
movss dword [ecx + 0x118], xmm0
push dword [eax + 0x164]
mov ecx, dword [edi + 0x154]
call fcn.004896d0
fadd dword [ebp - 0x430]
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x110]
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x168]
call fcn.004897e0
fadd dword [ebp - 0x434]
mov eax, dword [ebp - 0x41c]
mov edx, dword [ebp - 0x414]
fstp dword [eax + 0x114]
mov eax, dword [edi + 0x20c]
cmp eax, dword [edx + 0x17c]
jne 0x46e492
cmp dword [0x57802c], 0
jne 0x46e492
mov ecx, dword [edi + 0x154]
movq xmm0, qword [edx + 0x114]
movq qword [ecx + 0x184], xmm0
mov eax, dword [edx + 0x11c]
mov dword [ecx + 0x18c], eax
mov eax, dword [edi + 0x154]
mov dword [eax + 0x190], 0
push dword [edx + 0x168]
mov ecx, dword [edi + 0x154]
push dword [edx + 0x164]
call fcn.00486cf0
mov eax, dword [ebp - 0x414]
mov ecx, edi
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.00471a10
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x18]
push eax
call fcn.00449d50
mov edx, dword [ebp - 0x414]
cmp byte [esi + 5], 1
jne 0x46e4c7
cmp byte [esi], 0x19
jne 0x46e4c7
movss xmm0, dword [esi + 0x11]
movzx eax, byte [esi + 0xf]
push ecx
movss dword [esp], xmm0
mov ecx, edx
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0x10]
push eax
lea eax, [esi + 0x15]
push eax
call fcn.00475780
mov dword [ebp - 0x418], 1
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, eax
mov dword [ebp - 0x414], eax
test edx, edx
jne 0x46e210
cmp dword [ebp - 0x418], eax
jne case.0x46d662.8
push 0x4d8
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x46e523
push 0x530994
push 0
mov ecx, eax
call fcn.00475400
jmp 0x46e525
xor eax, eax
mov ecx, dword [edi + 0x18]
push eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00449be0
mov edx, dword [ebp - 0x414]
movzx eax, byte [esi + 5]
mov dword [edx + 0x160], eax
cmp eax, 0x17
jb 0x46e55a
movzx eax, byte [esi + 5]
mov dword [edx + 0x160], eax
mov al, byte [esi + 5]
cmp al, 1
jne 0x46e5d1
movzx eax, word [esi + 8]
mov ecx, edx
push eax
movzx eax, word [esi + 6]
push eax
call fcn.00475a60
mov eax, dword [0x578020]
cmp eax, 1
je 0x46e581
cmp eax, 3
jne 0x46e593
mov edx, dword [ebp - 0x414]
movzx eax, byte [esi + 0xa]
mov dword [edx + 0x188], eax
jmp 0x46e599
mov edx, dword [ebp - 0x414]
cmp byte [esi], 0x19
jne 0x46e72f
movss xmm0, dword [esi + 0x11]
movzx eax, byte [esi + 0xf]
push ecx
movss dword [esp], xmm0
mov ecx, edx
push eax
movzx eax, byte [esi + 0xe]
push eax
movzx eax, byte [esi + 0xd]
push eax
movzx eax, byte [esi + 0x10]
push eax
lea eax, [esi + 0x15]
push eax
call fcn.00475780
jmp 0x46e729
cmp al, 5
jne 0x46e603
movzx eax, word [esi + 6]
mov dword [edx + 0x180], eax
lea eax, [eax + eax*2]
lea eax, [eax*4 + str.BEAR]
push eax
lea eax, [edx + 0x1b0]
push str.GREAT_TREE_OF_THE__s
push eax
call fcn.00466190
add esp, 0xc
jmp 0x46e729
cmp al, 0xd
jne 0x46e611
push 0x52e8bc
jmp 0x46e71a
cmp al, 6
jne 0x46e61f
push str.Items
jmp 0x46e71a
cmp al, 7
jne 0x46e69a
lea eax, [edx + 0x1b0]
push 0x52e8bc
push eax
call fcn.00466190
mov ecx, dword [edi + 0x1c]
add esp, 8
call fcn.00449da0
mov edx, eax
test edx, edx
je 0x46e680
nop word [eax + eax]
movzx ecx, byte [esi + 0xb]
cmp dword [edx + 0x164], ecx
jne 0x46e672
movzx eax, byte [esi + 0xc]
cmp dword [edx + 0x168], eax
jne 0x46e672
mov dword [edx + 0x160], 1
mov ecx, dword [edi + 0x1c]
call fcn.00449e40
mov edx, eax
test edx, edx
jne 0x46e650
movzx eax, byte [esi + 0xc]
mov ecx, dword [edi + 0x154]
push eax
movzx eax, byte [esi + 0xb]
push eax
call fcn.00486410
jmp 0x46e729
cmp al, 8
jne 0x46e6a5
push 0x52e8bc
jmp 0x46e71a
cmp al, 0xc
jne 0x46e6b0
push 0x52e8bc
jmp 0x46e71a
cmp al, 0xe
jne 0x46e6da
lea eax, [edx + 0x1b0]
push 0x52e8bc
push eax
call fcn.00466190
mov edx, dword [ebp - 0x414]
add esp, 8
movzx eax, word [esi + 8]
mov dword [edx + 0x184], eax
jmp 0x46e72f
cmp al, 3
jne 0x46e6e5
push str.Trainer
jmp 0x46e71a
cmp al, 4
jne 0x46e6f0
push str.Town_Mage
jmp 0x46e71a
cmp al, 0x10
jne 0x46e6fb
push str.Witch
jmp 0x46e71a
cmp al, 0x16
jne 0x46e706
push str.Mall_Director
jmp 0x46e71a
cmp al, 0x15
jne 0x46e715
cmp byte [esi], 0x19
jne 0x46e72f
lea eax, [esi + 0x15]
push eax
jmp 0x46e71a
push str.Merchant
lea eax, [edx + 0x1b0]
push eax
call fcn.00466190
add esp, 8
mov edx, dword [ebp - 0x414]
mov al, byte [esi + 5]
cmp al, 6
je 0x46e998
cmp al, 0xd
je 0x46e998
cmp al, 0xe
je 0x46e998
cmp al, 7
je 0x46e998
mov ecx, dword [edi + 4]
push edx
call fcn.00482d00
mov ecx, dword [ebp - 0x414]
push ecx
push eax
mov dword [ecx + 0x170], eax
mov ecx, dword [edi + 4]
call fcn.00482ce0
movzx ecx, byte [esi + 0xb]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x414]
mov dword [eax + 0x164], ecx
movzx edx, byte [esi + 0xc]
mov dword [eax + 0x168], edx
cmp byte [esi + 5], 5
jne 0x46e79b
push 1
jmp 0x46e79d
push 0
push edx
push ecx
mov ecx, dword [edi + 0x154]
call fcn.00488ef0
mov dword [ebp - 0x41c], eax
cmp eax, 0xffffffff
jne 0x46e7ee
mov ecx, dword [ebp - 0x414]
push dword [ecx + 0x164]
mov ecx, dword [edi + 0x154]
call fcn.004896d0
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
jmp 0x46e880
mov ecx, dword [edi + 0x154]
push 1
push eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004863e0
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x41c]
call fcn.00488ff0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x41c]
push dword [eax + 0x164]
mov dword [eax + 0x16c], ecx
mov ecx, dword [edi + 0x154]
call fcn.004896d0
fadd dword [ebp - 0x430]
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
fadd dword [ebp - 0x434]
mov ecx, dword [ebp - 0x414]
fstp dword [ecx + 0x11c]
call fcn.004ff464
xorps xmm1, xmm1
sub esp, 8
mov ecx, edi
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mov eax, dword [ebp - 0x414]
mov dword [eax + 0x10c], 0
mulss xmm0, dword [0x52eb70]
divss xmm0, dword [0x530ff8]
addss xmm0, xmm1
movss dword [eax + 0x108], xmm0
movss xmm0, dword [eax + 0x11c]
movss dword [esp + 4], xmm0
movss xmm0, dword [eax + 0x114]
movss dword [esp], xmm0
call fcn.00471d40
mov ecx, dword [ebp - 0x418]
mov eax, dword [ebp - 0x414]
movss xmm0, dword [eax + 0x108]
fstp dword [eax + 0x118]
movss dword [ecx + 0x118], xmm0
movss dword [ecx + 0x11c], xmm0
mov dword [ecx + 0x120], 0x3e851eb8
mov dword [ecx + 0x124], 0x3e567750
movss xmm0, dword [ebp - 0x438]
movss dword [ecx + 0x118], xmm0
movss xmm0, dword [eax + 0x114]
movss dword [ecx + 0x110], xmm0
movss dword [ecx + 0x108], xmm0
movss xmm0, dword [eax + 0x11c]
movss dword [ecx + 0x114], xmm0
movss dword [ecx + 0x10c], xmm0
mov dword [ecx + 0x128], 0x3e99999a
cmp byte [esi + 5], 5
jne 0x46e984
mov dword [ecx + 0x128], 0x3f800000
mov ecx, dword [ebp - 0x414]
mov eax, dword [esi + 1]
mov dword [ecx + 0x17c], eax
jmp case.0x46d662.8
movzx ecx, byte [esi + 0xb]
mov dword [edx + 0x164], ecx
movzx eax, byte [esi + 0xc]
mov dword [edx + 0x168], eax
push ecx
mov ecx, dword [edi + 0x154]
call fcn.004896d0
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x418]
call fcn.004863d0
fmul dword [0x52f66c]
mov eax, dword [ebp - 0x414]
fadd dword [ebp - 0x418]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x418]
call fcn.004863d0
fmul dword [0x52f66c]
sub esp, 8
mov eax, dword [ebp - 0x414]
mov ecx, edi
fadd dword [ebp - 0x418]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
fstp dword [ebp - 0x418]
movss xmm0, dword [ebp - 0x418]
movss dword [esp + 4], xmm0
movss dword [eax + 0x11c], xmm0
movss xmm0, dword [eax + 0x114]
movss dword [esp], xmm0
call fcn.00471d40
mov ecx, dword [ebp - 0x414]
fstp dword [ecx + 0x118]
mov eax, dword [esi + 1]
mov dword [ecx + 0x17c], eax
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov dword [ebp - 0x414], eax
test eax, eax
je case.0x46d662.8
nop dword [eax]
cmp dword [eax + 0x178], 0xffffffff
jne 0x46eb23
mov ecx, dword [eax + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x46eb23
mov ecx, dword [edi + 0x18]
push eax
call fcn.00449f90
mov ecx, dword [ebp - 0x414]
mov eax, dword [ecx + 0x160]
cmp eax, 6
je 0x46eb13
cmp eax, 0xa
je 0x46eb13
cmp eax, 0x11
je 0x46eb13
cmp eax, 0xd
je 0x46eb13
cmp eax, 0xe
je 0x46eb13
cmp eax, 7
je 0x46eb13
push dword [ecx + 0x16c]
push dword [ecx + 0x168]
push dword [ecx + 0x164]
mov ecx, dword [edi + 0x154]
call fcn.0048a0d0
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00482cc0
mov ecx, dword [ebp - 0x414]
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.00449da0
jmp 0x46eb2b
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov dword [ebp - 0x414], eax
test eax, eax
jne 0x46ea90
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x41c], eax
call fcn.00449da0
test eax, eax
je 0x46eb96
mov edx, 1
cmp dword [eax + 0x178], 0xffffffff
jne 0x46eb78
mov eax, dword [eax + 0x17c]
mov ecx, dword [ebp - 0x41c]
cmp eax, dword [esi + 1]
cmove ecx, edx
mov dword [ebp - 0x41c], ecx
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, 1
test eax, eax
jne 0x46eb57
cmp dword [ebp - 0x41c], 0
jne case.0x46d662.8
push 0x4d8
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x46ebc4
push 0x530994
push 0
mov ecx, eax
call fcn.00475400
jmp 0x46ebc6
xor eax, eax
mov ecx, dword [edi + 0x18]
push eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00449be0
mov eax, dword [ebp - 0x414]
push 0x52e8bc
mov dword [eax + 0x160], 0x11
add eax, 0x1b0
push eax
call fcn.00466190
mov edx, dword [ebp - 0x414]
add esp, 8
movzx ecx, byte [esi + 9]
mov dword [edx + 0x164], ecx
movzx eax, byte [esi + 0xa]
mov dword [edx + 0x168], eax
push ecx
mov ecx, dword [edi + 0x154]
call fcn.004896d0
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x418]
call fcn.004863d0
fmul dword [0x52f66c]
mov eax, dword [ebp - 0x414]
fadd dword [ebp - 0x418]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x418]
call fcn.004863d0
fmul dword [0x52f66c]
sub esp, 8
mov eax, dword [ebp - 0x414]
mov ecx, edi
fadd dword [ebp - 0x418]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
movss xmm0, dword [eax + 0x114]
fstp dword [ebp - 0x418]
movss xmm1, dword [ebp - 0x418]
movss dword [esp + 4], xmm1
movss dword [eax + 0x11c], xmm1
movss dword [esp], xmm0
call fcn.00471d40
mov edx, dword [ebp - 0x414]
movss xmm1, dword [0x530f3c]
fstp dword [edx + 0x118]
mov eax, dword [esi + 1]
mov dword [edx + 0x17c], eax
movzx ecx, byte [esi + 6]
movzx eax, byte [esi + 7]
or ecx, 0x3700
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 8]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x42c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
shr ecx, 0x18
mulss xmm0, xmm1
movss dword [ebp - 0x428], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x424], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x420], xmm0
movups xmm0, xmmword [ebp - 0x42c]
movups xmmword [edx + 0x224], xmm0
movzx eax, byte [esi + 5]
mov dword [edx + 0x234], eax
mov eax, dword [esi + 0xb]
mov dword [edx + 0x238], eax
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov edx, eax
mov dword [ebp - 0x41c], edx
test edx, edx
je case.0x46d662.8
nop dword [eax]
nop word [eax + eax]
movzx ecx, byte [esi + 5]
cmp ecx, dword [edx + 0x160]
jne 0x46ee65
mov eax, dword [edx + 0x17c]
cmp eax, dword [esi + 1]
jne 0x46ee65
mov ecx, dword [edi + 0x18]
push edx
call fcn.00449f90
mov eax, dword [ebp - 0x41c]
sub esp, 0xc
movq xmm0, qword [eax + 0x114]
mov ecx, dword [eax + 0x11c]
mov eax, esp
movq qword [ebp - 0x428], xmm0
movss xmm0, dword [ebp - 0x424]
addss xmm0, dword [0x530f8c]
movss dword [ebp - 0x424], xmm0
movq xmm0, qword [ebp - 0x428]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x577fe8]
call fcn.004a2f80
movaps xmm0, xmmword [0x531060]
sub esp, 0x10
mov ecx, dword [0x577fe8]
mov eax, esp
push 0x3c
movups xmmword [eax], xmm0
call fcn.004a2ba0
mov ecx, dword [ebp - 0x41c]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov edx, eax
mov dword [ebp - 0x41c], edx
jmp 0x46ee75
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, eax
mov dword [ebp - 0x41c], eax
test edx, edx
jne 0x46edb0
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x414], ecx
test ecx, ecx
je case.0x46d662.8
nop word [eax + eax]
cmp dword [ecx + 0x178], 0xffffffff
jne 0x46f028
mov eax, dword [ecx + 0x17c]
cmp eax, dword [esi + 1]
jne 0x46f028
push ecx
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00482ce0
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x41c], eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048a0d0
mov edx, dword [ebp - 0x414]
movzx ecx, byte [esi + 7]
push 0
mov dword [edx + 0x164], ecx
movzx eax, byte [esi + 8]
push eax
mov dword [edx + 0x168], eax
push ecx
mov ecx, dword [edi + 0x154]
call fcn.00488ef0
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x418], eax
cmp eax, 0xffffffff
jne 0x46ef65
movzx eax, byte [esi + 7]
push eax
call fcn.004896d0
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x110]
movzx eax, byte [esi + 8]
mov ecx, dword [edi + 0x154]
push eax
call fcn.004897e0
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x114]
jmp 0x46f00b
push 1
push eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004863e0
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x434]
push eax
lea eax, [ebp - 0x430]
push eax
push dword [ebp - 0x418]
call fcn.00488ff0
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x418]
mov dword [eax + 0x16c], ecx
movzx eax, byte [esi + 7]
mov ecx, dword [edi + 0x154]
push eax
call fcn.004896d0
fadd dword [ebp - 0x430]
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x110]
movzx eax, byte [esi + 8]
mov ecx, dword [edi + 0x154]
push eax
call fcn.004897e0
fadd dword [ebp - 0x434]
mov eax, dword [ebp - 0x41c]
fstp dword [eax + 0x114]
movss xmm0, dword [ebp - 0x438]
movss dword [eax + 0x118], xmm0
cmp byte [esi], 0x1c
jne 0x46f028
cmp dword [esi + 9], 1
jne 0x46f028
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x17c]
mov dword [edi + 0x20c], eax
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x414], eax
test ecx, ecx
jne 0x46eea0
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
test eax, eax
je case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449e40
test eax, eax
jne 0x46f055
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x414], ecx
test ecx, ecx
je case.0x46d662.8
nop
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x46f536
mov edx, dword [esi + 9]
cmp eax, edx
jne 0x46f536
mov eax, dword [edi + 8]
cmp dword [eax + 0x178], edx
jne 0x46f0ae
mov eax, dword [esi + 5]
mov dword [edi + 0x27c], eax
mov ecx, dword [ecx + 0x26c]
test ecx, ecx
je 0x46f0be
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x174
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x46f0e5
mov ecx, eax
call fcn.00459b00
jmp 0x46f0e7
xor eax, eax
mov ecx, dword [ebp - 0x414]
mov edx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [ecx + 0x26c], eax
mov dword [ecx + 0x2f4], 0
mov dword [ecx + 0x2f8], 0
mov dword [ecx + 0x2fc], 0
mov dword [ecx + 0x300], 0
mov dword [ecx + 0x304], 0
mov dword [ecx + 0x308], 0
mov dword [ecx + 0x30c], 0
mov dword [ecx + 0x310], 0
mov dword [ecx + 0x314], 0
mov dword [ecx + 0x318], 0
mov dword [ecx + 0x31c], 0
mov dword [ecx + 0x320], 0
movzx eax, byte [esi + 0x19]
mov dword [ecx + 0x270], eax
mov ecx, edx
mov al, byte [esi + 0x19]
cmp al, 0x80
jb 0x46f262
mov eax, dword [0x5778a8]
push str.dat_staff.ase
push dword [eax + 0x2a3d8]
call fcn.0045b360
mov eax, dword [0x5778a8]
mov ecx, dword [ebp - 0x414]
push 0
push str.dat_staff.png
push dword [eax + 0x2a3d8]
mov ecx, dword [ecx + 0x26c]
call fcn.0045be00
movzx ecx, byte [esi + 0x1a]
movzx eax, byte [esi + 0x1b]
or ecx, 0x3700
movss xmm1, dword [0x530f3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0x1c]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x42c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
shr ecx, 0x18
mulss xmm0, xmm1
movss dword [ebp - 0x428], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x414]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x424], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x420], xmm0
movups xmm0, xmmword [ebp - 0x42c]
movups xmmword [eax + 0x28c], xmm0
jmp 0x46f36a
cmp al, 1
jne 0x46f287
mov eax, dword [0x5778a8]
push str.datkatana.ase
push dword [eax + 0x2a3d8]
call fcn.0045b360
push 0
push str.datkatana.png
jmp 0x46f34e
cmp al, 4
jne 0x46f2ac
mov eax, dword [0x5778a8]
push str.datclaws.ASE
push dword [eax + 0x2a3d8]
call fcn.0045b360
push 0
push str.datclaws.png
jmp 0x46f34e
cmp al, 3
jne 0x46f2d1
mov eax, dword [0x5778a8]
push str.datchaosBlade.ASE
push dword [eax + 0x2a3d8]
call fcn.0045b360
push 0
push str.datchaosBlade.png
jmp 0x46f34e
cmp al, 5
jne 0x46f2f3
mov eax, dword [0x5778a8]
push str.dat_bladeStaff.ASE
push dword [eax + 0x2a3d8]
call fcn.0045b360
push 0
push str.dat_bladeStaff.png
jmp 0x46f34e
cmp al, 2
jne 0x46f315
mov eax, dword [0x5778a8]
push str.datmace.ASE
push dword [eax + 0x2a3d8]
call fcn.0045b360
push 0
push str.datmace.png
jmp 0x46f34e
cmp al, 5
mov eax, dword [0x5778a8]
jbe 0x46f337
push str.dat_scythe.ASE
push dword [eax + 0x2a3d8]
call fcn.0045b360
push 0
push str.dat_scythe.png
jmp 0x46f34e
push str.dat_blade.ase
push dword [eax + 0x2a3d8]
call fcn.0045b360
push 0
push str.dat_bladeMetal.png
mov eax, dword [0x5778a8]
push dword [eax + 0x2a3d8]
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x26c]
call fcn.0045be00
movss xmm0, dword [esi + 1]
sub esp, 0xc
mulss xmm0, dword [0x530f34]
mov eax, dword [0x5778a8]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push dword [eax + 0x2a3d8]
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x26c]
call fcn.0045cc70
mov eax, dword [0x5778a8]
push dword [eax + 0x2a3d8]
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x26c]
call fcn.0045c2e0
movzx eax, byte [esi + 0x1c]
push 0xff
push eax
movzx eax, byte [esi + 0x1b]
push eax
movzx eax, byte [esi + 0x1a]
push eax
mov eax, dword [ebp - 0x414]
mov ecx, dword [eax + 0x26c]
call fcn.0045ccf0
mov edx, dword [ebp - 0x414]
mov eax, dword [esi + 1]
movaps xmm0, xmmword [0x5310d0]
mov dword [edx + 0x2f0], eax
movzx eax, word [esi + 0x11]
mov dword [edx + 0x274], eax
movzx eax, word [esi + 0x15]
mov dword [edx + 0x280], eax
movzx eax, word [esi + 0x13]
mov dword [edx + 0x27c], eax
movzx eax, word [esi + 0xf]
mov dword [edx + 0x278], eax
movzx eax, word [esi + 0xd]
mov dword [edx + 0x284], eax
mov dword [edx + 0x288], 0
mov ecx, dword [edx + 0x274]
mov dword [edx + 0x288], ecx
add ecx, dword [edx + 0x278]
mov dword [edx + 0x288], ecx
add ecx, dword [edx + 0x27c]
mov dword [edx + 0x288], ecx
add ecx, dword [edx + 0x280]
mov dword [edx + 0x288], ecx
mov eax, dword [edx + 0x284]
add eax, ecx
mov dword [edx + 0x288], eax
movups xmmword [edx + 0x2ac], xmm0
movaps xmm0, xmmword [0x531100]
movups xmmword [edx + 0x2bc], xmm0
movaps xmm0, xmmword [0x531030]
movups xmmword [edx + 0x28c], xmm0
movaps xmm0, xmmword [0x531070]
movups xmmword [edx + 0x29c], xmm0
movaps xmm0, xmmword [0x5310b0]
movups xmmword [edx + 0x2cc], xmm0
movzx eax, word [esi + 0x17]
add eax, 0xffffffe7
cmp eax, 8
ja case.default.0x46f4c3
jmp dword [eax*4 + 0x4719e0]
movaps xmm0, xmmword [0x531100]
movups xmmword [edx + 0x2dc], xmm0
mov dword [edx + 0x2ec], 1
jmp 0x46f536
movaps xmm0, xmmword [0x531030]
jmp 0x46f4d1
movaps xmm0, xmmword [0x5310d0]
jmp 0x46f4d1
movaps xmm0, xmmword [0x531070]
jmp 0x46f4d1
movaps xmm0, xmmword [0x5310f0]
jmp 0x46f4d1
movaps xmm0, xmmword [0x5310e0]
jmp 0x46f4d1
movaps xmm0, xmmword [0x531080]
jmp 0x46f4d1
movaps xmm0, xmmword [0x531050]
jmp 0x46f4d1
movaps xmm0, xmmword [0x5310c0]
jmp 0x46f4d1
mov dword [edx + 0x2ec], 0
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x414], eax
test ecx, ecx
jne 0x46f080
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x418], ecx
test ecx, ecx
je case.0x46d662.8
nop dword [eax + eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x46f5b9
mov edx, dword [esi + 1]
cmp eax, edx
jne 0x46f5b9
mov eax, dword [edi + 8]
cmp dword [eax + 0x178], edx
jne 0x46f597
mov dword [edi + 0x27c], 0
mov edx, dword [ecx + 0x26c]
test edx, edx
je 0x46f5af
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x418]
mov dword [ecx + 0x26c], 0
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x418], eax
test ecx, ecx
jne 0x46f570
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x414], eax
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x418], ecx
test ecx, ecx
je case.0x46d662.8
nop dword [eax + eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x46f659
cmp eax, dword [esi + 1]
jne 0x46f671
call fcn.004ff464
and eax, reloc.WS2_32.dll_accept
jns 0x46f621
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x418]
inc eax
mov dword [ebp - 0x414], ecx
mov dword [ecx + 0x19c], eax
mov dword [ecx + 0x190], 0
mov eax, dword [esi + 0xd]
cmp eax, 0xfffffc18
je 0x46f671
mov dword [ecx + 0x210], eax
mov eax, dword [esi + 0x11]
mov dword [ecx + 0x214], eax
jmp 0x46f671
mov eax, dword [ecx + 0x17c]
mov edx, dword [ebp - 0x41c]
cmp eax, dword [esi + 5]
cmove edx, ecx
mov dword [ebp - 0x41c], edx
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x418], eax
test ecx, ecx
jne 0x46f600
mov ecx, dword [ebp - 0x414]
test ecx, ecx
je case.0x46d662.8
mov eax, dword [ebp - 0x41c]
test eax, eax
je case.0x46d662.8
mov edx, dword [esi + 9]
cmp edx, 0xffffffff
jne 0x46f6e9
test byte [0x579240], 2
je 0x46f744
add eax, 0x1b0
push eax
lea eax, [ecx + 0x1b0]
push eax
push str._s_misses_the__s.
lea eax, [ebp - 0x410]
push eax
call fcn.00448770
lea eax, [ebp - 0x410]
push eax
call fcn.0048ee70
add esp, 0x14
jmp 0x46f73e
cmp dword [esi + 0x15], 0
jne 0x46f707
test byte [0x579240], 1
je 0x46f744
push edx
lea eax, [ecx + 0x1b0]
push eax
push str._s_uses_her_staff_for__d_damage.
jmp 0x46f6cc
test byte [0x579240], 1
je 0x46f744
push edx
add eax, 0x1b0
push eax
lea eax, [ecx + 0x1b0]
push eax
lea eax, [ebp - 0x410]
push str._s_hits_the__s_for__d_damage.
push eax
call fcn.00448770
lea eax, [ebp - 0x410]
push eax
call fcn.0048ee70
add esp, 0x18
mov ecx, dword [ebp - 0x414]
push ecx
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00482ce0
mov esi, eax
mov eax, dword [ebp - 0x41c]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00482ce0
sub esp, 0x18
movss xmm0, dword [eax + 0x10c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 0x108]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x10c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x108]
movss dword [esp], xmm0
call fcn.004496e0
fstp dword [esi + 0x118]
add esp, 0x18
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
test eax, eax
je case.0x46d662.8
cmp dword [eax + 0x178], 0xffffffff
jg 0x46f7ff
mov ecx, dword [eax + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x46f7ff
mov dword [eax + 0x1a4], 1
mov dword [eax + 0x190], 0
mov ecx, dword [edi + 0x18]
call fcn.00449e40
test eax, eax
jne 0x46f7d7
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
mov dword [ebp - 0x414], 0
mov dword [ebp - 0x41c], 0
call fcn.00449da0
test eax, eax
je case.0x46d662.8
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
jle 0x46f851
cmp ecx, dword [esi + 5]
cmovne eax, dword [ebp - 0x414]
mov dword [ebp - 0x414], eax
jmp 0x46f88a
mov edx, dword [eax + 0x17c]
cmp edx, dword [esi + 1]
jne 0x46f878
mov dword [eax + 0x19c], 1
mov dword [eax + 0x190], 0
mov dword [ebp - 0x41c], eax
jmp 0x46f88a
mov ecx, dword [ebp - 0x414]
cmp edx, dword [esi + 5]
cmove ecx, eax
mov dword [ebp - 0x414], ecx
mov ecx, dword [edi + 0x18]
call fcn.00449e40
test eax, eax
jne 0x46f834
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je case.0x46d662.8
mov edx, dword [ebp - 0x414]
test edx, edx
je case.0x46d662.8
mov eax, dword [esi + 9]
cmp eax, 0xffffffff
jne 0x46f8fa
test byte [0x579240], 2
je 0x46f9a2
lea eax, [edx + 0x1b0]
push eax
lea eax, [ecx + 0x1b0]
push eax
lea eax, [ebp - 0x410]
push str.The__s_misses__s.
push eax
call fcn.00448770
lea eax, [ebp - 0x410]
push eax
call fcn.0048ee70
add esp, 0x14
jmp 0x46f99c
test byte [0x579240], 1
je 0x46f938
push eax
lea eax, [edx + 0x1b0]
push eax
lea eax, [ecx + 0x1b0]
push eax
lea eax, [ebp - 0x410]
push str.The__s_hits__s_for__d_damage.
push eax
call fcn.00448770
lea eax, [ebp - 0x410]
push eax
call fcn.0048ee70
mov edx, dword [ebp - 0x414]
add esp, 0x18
mov ecx, dword [edi + 8]
cmp edx, ecx
jne 0x46f964
mov eax, dword [esi + 9]
sub dword [ecx + 0x210], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x210]
mov dword [0x579200], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x214]
mov dword [0x579204], eax
movq xmm0, qword [edx + 0x114]
sub esp, 0x10
mov eax, dword [edx + 0x11c]
mov ecx, esp
mov dword [esp + 0xc], 0x42480000
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [edi + 0x574]
call fcn.0045e080
mov ecx, dword [edi + 0x574]
call fcn.0045df50
mov ecx, dword [ebp - 0x41c]
push ecx
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00482ce0
mov esi, eax
mov eax, dword [ebp - 0x414]
jmp 0x46f75b
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x418], eax
call fcn.00449da0
test eax, eax
je case.0x46d662.8
nop word [eax + eax]
mov ecx, dword [eax + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x46fa05
mov dword [eax + 0x1a0], 1
mov dword [eax + 0x190], 0
mov dword [ebp - 0x418], eax
mov ecx, dword [edi + 0x18]
call fcn.00449e40
test eax, eax
jne 0x46f9e0
mov eax, dword [ebp - 0x418]
test eax, eax
je case.0x46d662.8
test byte [0x579240], 2
je case.0x46d662.8
add eax, 0x1b0
push eax
lea eax, [ebp - 0x410]
push str.The__s_attacks_everyone_
push eax
call fcn.00448770
lea eax, [ebp - 0x410]
push eax
call fcn.0048ee70
add esp, 0x10
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov edx, eax
test edx, edx
je case.0x46d662.8
nop dword [eax]
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x46fa8e
mov eax, dword [esi + 5]
mov dword [edx + 0x1ac], eax
mov dword [edx + 0x190], 0
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, eax
test edx, edx
jne 0x46fa70
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov dword [ebp - 0x414], eax
test eax, eax
je case.0x46d662.8
nop word [eax + eax]
mov ecx, dword [eax + 0x178]
cmp ecx, dword [esi + 1]
jne 0x46fb53
mov ecx, dword [edi + 0x18]
push eax
call fcn.00449f90
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048a0d0
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00482cc0
mov eax, dword [ebp - 0x414]
add eax, 0x1b0
push eax
lea eax, [ebp - 0x410]
push str._s_is_defeated_
push eax
call fcn.00448770
lea eax, [ebp - 0x410]
push eax
call fcn.0048ee70
mov ecx, dword [ebp - 0x414]
add esp, 0x10
cmp dword [edi + 8], ecx
jne 0x46fb4d
mov eax, dword [edi + 0xc]
mov dword [edi + 8], eax
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov dword [ebp - 0x414], eax
test eax, eax
jne 0x46fac0
jmp case.0x46d662.8
and dword [0x5776d4], 0xfffffffe
call fcn.00480970
mov eax, dword [esi + 3]
mov ecx, dword [edi + 0x18]
mov dword [edi + 0x754], eax
mov eax, dword [esi + 7]
mov dword [edi + 0x758], eax
mov dword [edi + 0x284], 0
mov dword [edi + 0x280], 0
mov dword [edi + 0x28c], 0
call fcn.00449da0
test eax, eax
je 0x46fc1b
mov esi, eax
mov ecx, dword [edi + 0x18]
cmp esi, dword [edi + 8]
je 0x46fc0a
push esi
call fcn.00449f90
mov eax, dword [esi + 0x16c]
cmp eax, 0xffffffff
jle 0x46fbf8
mov ecx, dword [edi + 0x154]
push eax
push dword [esi + 0x168]
push dword [esi + 0x164]
call fcn.0048a0d0
mov ecx, dword [edi + 4]
push esi
push dword [esi + 0x170]
call fcn.00482cc0
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.00449da0
jmp 0x46fc0f
call fcn.00449e40
mov esi, eax
test esi, esi
jne 0x46fbb8
mov esi, dword [ebp - 0x43c]
call fcn.00480970
mov ecx, edi
call fcn.00468800
call fcn.00480970
mov cl, byte [esi + 2]
movsx eax, cl
mov dword [0x578020], eax
cmp eax, 1
je 0x470565
cmp cl, 3
je 0x470565
cmp cl, 4
jne 0x46ffea
push 0xfffffffffffffffe
lea ecx, [edi + 0x430]
call fcn.00465b40
call fcn.00480970
mov eax, dword [edi + 0x164]
test eax, eax
je 0x46fc81
movsx ecx, byte [eax + 0x1c0]
movzx eax, byte [esi + 0xf]
cmp eax, ecx
je 0x46ffe1
push str.delete_realm_ptr
mov ecx, 0x5776ac
call fcn.00443f40
push dword [edi + 0x164]
mov ecx, 0x5776ac
call fcn.00443eb0
push 0x52f738
mov ecx, 0x5776ac
call fcn.00443f40
mov ecx, dword [edi + 0x164]
test ecx, ecx
je 0x46fcc9
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x164], 0
call fcn.00480970
movzx eax, byte [esi + 0xf]
mov ecx, 0x5776ac
sub eax, 1
je 0x46ff3c
sub eax, 1
je 0x46fe8e
sub eax, 4
je 0x46fde0
push str.new_realm_object_for_spirits_n
call fcn.00443f40
push 0x1d0
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x46fd28
movzx ecx, byte [esi + 0xf]
push ecx
mov ecx, eax
call fcn.004abc40
jmp 0x46fd2a
xor eax, eax
push str.init___n
mov ecx, 0x5776ac
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x164], eax
call fcn.00443f40
mov ecx, dword [edi + 0x164]
push 0x530bec
push str.dat_realm_spirits_color.png
call fcn.004ad4d0
push str.generate___n
mov ecx, 0x5776ac
call fcn.00443f40
call fcn.00480970
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x164]
push 0x19
push dword [eax + 0x2a3d8]
push str.dat_realm_spirits_height.png
call fcn.004ac540
push str.loadTexture___n
mov ecx, 0x5776ac
call fcn.00443f40
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x164]
push 0x530bec
push dword [eax + 0x2a3d8]
call fcn.004adbc0
push str.CreateSpiritStaticPositions___n
mov ecx, 0x5776ac
call fcn.00443f40
call fcn.00480970
mov ecx, dword [edi + 0x164]
push 0
call fcn.004abdf0
movzx eax, byte [esi + 0xf]
jmp 0x4702cb
push str.test_realm_object_n
call fcn.00443f40
push 0x1d0
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x46fe16
movzx ecx, byte [esi + 0xf]
push ecx
mov ecx, eax
call fcn.004abc40
jmp 0x46fe18
xor eax, eax
push str.dat_realm_dead_sky.png
push str.dat_test_texture.png
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x164], eax
call fcn.004ad4d0
call fcn.00480970
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x164]
push 0x19
push dword [eax + 0x2a3d8]
push str.dat_test_height.png
call fcn.004ac540
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x164]
push str.dat_test_texture.png
push dword [eax + 0x2a3d8]
call fcn.004adbc0
call fcn.00480970
mov ecx, dword [edi + 0x164]
push 6
call fcn.004abdf0
movzx eax, byte [esi + 0xf]
jmp 0x4702cb
push str.new_realm_object_for_dragons_n
call fcn.00443f40
push 0x1d0
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x46fec4
movzx ecx, byte [esi + 0xf]
push ecx
mov ecx, eax
call fcn.004abc40
jmp 0x46fec6
xor eax, eax
push str.dat_realm_dragon_sky.png
push str.dat_realm_dragon_color.png
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x164], eax
call fcn.004ad4d0
call fcn.00480970
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x164]
push 0x19
push dword [eax + 0x2a3d8]
push str.dat_realm_dragons_height.png
call fcn.004ac540
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x164]
push str.dat_realm_dragon_color.png
push dword [eax + 0x2a3d8]
call fcn.004adbc0
call fcn.00480970
mov ecx, dword [edi + 0x164]
push 2
call fcn.004abdf0
movzx eax, byte [esi + 0xf]
jmp 0x4702cb
push str.new_realm_object_for_the_dead_n
call fcn.00443f40
push 0x1d0
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x46ff72
movzx ecx, byte [esi + 0xf]
push ecx
mov ecx, eax
call fcn.004abc40
jmp 0x46ff74
xor eax, eax
push str.dat_realm_dead_sky.png
push str.dat_realm_dead_color.png
mov ecx, eax
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x164], eax
call fcn.004ad4d0
call fcn.00480970
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x164]
push 0x19
push dword [eax + 0x2a3d8]
push str.dat_realm_dead_height.png
call fcn.004ac540
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x164]
push str.dat_realm_dead_color.png
push dword [eax + 0x2a3d8]
call fcn.004adbc0
call fcn.00480970
mov ecx, dword [edi + 0x164]
push 1
call fcn.004abdf0
movzx eax, byte [esi + 0xf]
jmp 0x4702cb
cmp cl, 2
jne 0x4702ef
push 0xfffffffffffffffd
lea ecx, [edi + 0x430]
call fcn.00465b40
call fcn.00480970
mov eax, dword [edi + 0x168]
add esi, 0xf
test eax, eax
je 0x470026
mov dl, byte [esi]
movsx ecx, byte [eax + 0x1c0]
movzx eax, dl
cmp eax, ecx
je 0x4702c8
push str.delete_labyrinth_ptr
mov ecx, 0x5776ac
call fcn.00443f40
push dword [edi + 0x168]
mov ecx, 0x5776ac
call fcn.00443eb0
push 0x52f738
mov ecx, 0x5776ac
call fcn.00443f40
mov ecx, dword [edi + 0x168]
test ecx, ecx
je 0x47006e
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x168], 0
call fcn.00480970
movzx eax, byte [esi]
mov ecx, 0x5776ac
push str.new_labyrinth_object_n
sub eax, 4
je 0x4701e9
sub eax, 1
je 0x47013c
call fcn.00443f40
push 0x41d4
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x4700c2
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.0049b860
jmp 0x4700c4
xor eax, eax
push str.init___n
mov ecx, 0x5776ac
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x168], eax
call fcn.00443f40
mov ecx, dword [edi + 0x168]
push 0
push str.datlabyrinth_color.png
call fcn.0049d530
push str.generate___n
mov ecx, 0x5776ac
call fcn.00443f40
call fcn.00480970
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x168]
push 0x19
push dword [eax + 0x2a3d8]
push str.datlabyrinth_height.png
call fcn.0049bec0
push str.loadTexture___n
mov ecx, 0x5776ac
call fcn.00443f40
push 0x530e0c
jmp 0x470291
call fcn.00443f40
push 0x41d4
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x47016c
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.0049b860
jmp 0x47016e
xor eax, eax
push str.init___n
mov ecx, 0x5776ac
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x168], eax
call fcn.00443f40
mov ecx, dword [edi + 0x168]
push str.datlabyrinth3_ceiling.png
push str.datlabyrinth_color.png
call fcn.0049d530
push str.generate___n
mov ecx, 0x5776ac
call fcn.00443f40
call fcn.00480970
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x168]
push 0x19
push dword [eax + 0x2a3d8]
push str.datlabyrinth3_height.png
call fcn.0049bec0
push str.loadTexture___n
mov ecx, 0x5776ac
call fcn.00443f40
push str.datlabyrinth3_floor.png
jmp 0x470291
call fcn.00443f40
push 0x41d4
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x470219
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.0049b860
jmp 0x47021b
xor eax, eax
push str.init___n
mov ecx, 0x5776ac
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x168], eax
call fcn.00443f40
mov ecx, dword [edi + 0x168]
push str.datlabyrinth2_texture.png
push str.datlabyrinth_color.png
call fcn.0049d530
push str.generate___n
mov ecx, 0x5776ac
call fcn.00443f40
call fcn.00480970
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x168]
push 0x19
push dword [eax + 0x2a3d8]
push str.datlabyrinth2_height.png
call fcn.0049bec0
push str.loadTexture___n
mov ecx, 0x5776ac
call fcn.00443f40
push str.datlabyrinth2_texture.png
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x168]
push dword [eax + 0x2a3d8]
call fcn.0049d990
push str.CreateStaticPositions___n
mov ecx, 0x5776ac
call fcn.00443f40
call fcn.00480970
mov ecx, dword [edi + 0x168]
call fcn.0049ba00
mov dl, byte [esi]
movzx eax, dl
mov ecx, dword [edi + 0x164]
mov dword [edi + 0x2a0], eax
mov eax, dword [edi + 0x15c]
mov dword [eax + 0x10], ecx
mov dword [edi + 0x28c], 0
jmp case.0x46d662.8
test cl, cl
jne case.0x46d662.8
mov ecx, dword [edi + 0x154]
mov al, byte [esi + 0xf]
movzx edx, al
cmp edx, dword [ecx + 0x110]
je 0x470551
push edx
call fcn.00489b60
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x154]
push 0
push 0x100
push 0x100
push dword [eax + 0x2a3d8]
call fcn.00487770
mov eax, dword [0x5778a8]
mov ecx, dword [edi + 0x154]
push str.datgrassfull.png
push dword [eax + 0x2a3d8]
call fcn.00489fd0
mov ecx, dword [edi + 0x154]
call fcn.004864c0
mov eax, dword [0x57800c]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x470383
mov ecx, eax
call fcn.004ae040
push 0x24
push dword [ebp - 0x418]
call fcn.004b2360
add esp, 8
mov eax, dword [0x578010]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x4703a9
mov ecx, eax
call fcn.004ae040
push 0x24
push dword [ebp - 0x418]
call fcn.004b2360
add esp, 8
mov eax, dword [0x578014]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x4703cf
mov ecx, eax
call fcn.004ae040
push 0x24
push dword [ebp - 0x418]
call fcn.004b2360
add esp, 8
mov eax, dword [0x578018]
mov dword [ebp - 0x418], eax
test eax, eax
je 0x4703f5
mov ecx, eax
call fcn.004ae040
push 0x24
push dword [ebp - 0x418]
call fcn.004b2360
add esp, 8
push 0x24
call fcn.004b2330
mov edx, eax
add esp, 4
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 0xe
test edx, edx
je 0x47043f
push ecx
mov ecx, dword [0x560204]
shl ecx, 5
add ecx, dword [0x560204]
mov dword [esp], 0x3e4ccccd
push str.datgrass_bill_1.png
lea eax, [ecx*2 + 5]
mov ecx, edx
push eax
call fcn.004adf20
jmp 0x470441
xor eax, eax
push 0x24
mov dword [ebp - 4], 0xffffffff
mov dword [0x57800c], eax
call fcn.004b2330
mov edx, eax
add esp, 4
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 0xf
test edx, edx
je 0x470497
push ecx
mov ecx, dword [0x560204]
shl ecx, 5
add ecx, dword [0x560204]
mov dword [esp], 0x3e800000
push str.datgrass_bill_2.png
lea eax, [ecx*2 + 5]
mov ecx, edx
push eax
call fcn.004adf20
jmp 0x470499
xor eax, eax
push 0x24
mov dword [ebp - 4], 0xffffffff
mov dword [0x578010], eax
call fcn.004b2330
mov edx, eax
add esp, 4
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 0x10
test edx, edx
je 0x4704ef
push ecx
mov ecx, dword [0x560204]
shl ecx, 5
add ecx, dword [0x560204]
mov dword [esp], 0x3e99999a
push str.datgrass_bill_3.png
lea eax, [ecx*2 + 5]
mov ecx, edx
push eax
call fcn.004adf20
jmp 0x4704f1
xor eax, eax
push 0x24
mov dword [ebp - 4], 0xffffffff
mov dword [0x578014], eax
call fcn.004b2330
mov edx, eax
add esp, 4
mov dword [ebp - 0x418], edx
mov dword [ebp - 4], 0x11
test edx, edx
je 0x470547
push ecx
mov ecx, dword [0x560204]
shl ecx, 5
add ecx, dword [0x560204]
mov dword [esp], 0x3e99999a
push str.datgrass_bill_4.png
lea eax, [ecx*2 + 5]
mov ecx, edx
push eax
call fcn.004adf20
jmp 0x470549
xor eax, eax
mov dword [0x578018], eax
mov al, byte [esi + 0xf]
movzx eax, al
mov dword [edi + 0x2a0], eax
mov dword [edi + 0x298], eax
jmp case.0x46d662.8
cmp cl, 3
mov dword [ebp - 0x41c], 0
lea ecx, [edi + 0x430]
jne 0x47058d
push 0xfffffffffffffffc
call fcn.00465b40
mov dword [ebp - 0x41c], 1
jmp 0x470594
push 0xfffffffffffffffe
call fcn.00465b40
call fcn.00480970
mov ecx, dword [edi + 0x160]
test ecx, ecx
jne 0x4705bf
push 0x1c0
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 5
jmp 0x4705ea
mov eax, dword [esi + 0xb]
cmp eax, dword [0x578030]
je 0x470611
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x1c0
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x470602
push str.dungeon
push dword [ebp - 0x41c]
mov ecx, eax
call fcn.0047d540
jmp 0x470604
xor eax, eax
mov dword [edi + 0x160], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00480970
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x448]
and eax, 1
mov dword [edi + 0x280], eax
mov eax, dword [esi + 0x10]
and eax, 4
mov dword [edi + 0x28c], 0
mov dword [edi + 0x284], eax
xor eax, eax
mov ecx, dword [0x5779c4]
push 0
push 0
mov dword [ebp - 0x447], eax
mov eax, dword [ecx]
push edx
push 5
call dword [eax + 4]
jmp case.0x46d662.8
mov ecx, dword [edi + 0x160]
test ecx, ecx
je case.0x46d662.8
push esi
call fcn.0047ec50
jmp case.0x46d662.8
mov ecx, dword [edi + 0x160]
test ecx, ecx
je case.0x46d662.8
push esi
call fcn.0047ea70
jmp case.0x46d662.8
mov eax, dword [esi + 1]
mov dword [edi + 0x420], eax
jmp case.0x46d662.8
mov eax, dword [esi + 1]
mov dword [edi + 0x74c], eax
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov edx, eax
mov dword [ebp - 0x418], edx
test edx, edx
je 0x47073a
nop
mov ecx, dword [edx + 0x178]
cmp ecx, dword [esi + 1]
jne 0x470726
mov eax, dword [esi + 5]
cmp dword [edx + 0x210], eax
jle 0x470717
movq xmm0, qword [edx + 0x114]
sub esp, 0x10
mov eax, dword [edx + 0x11c]
mov ecx, esp
mov dword [esp + 0xc], 0x42480000
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [edi + 0x574]
call fcn.0045e080
mov ecx, dword [edi + 0x574]
call fcn.0045df50
mov eax, dword [esi + 5]
mov edx, dword [ebp - 0x418]
mov dword [edx + 0x210], eax
mov eax, dword [esi + 9]
mov dword [edx + 0x214], eax
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, eax
mov dword [ebp - 0x418], eax
test edx, edx
jne 0x4706c0
mov eax, dword [edi + 8]
test eax, eax
je case.0x46d662.8
mov eax, dword [eax + 0x210]
mov dword [0x579200], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x214]
mov dword [0x579204], eax
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov edx, eax
mov dword [ebp - 0x41c], edx
test edx, edx
je case.0x46d662.8
nop dword [eax + eax]
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x470810
mov eax, dword [esi + 5]
cmp dword [edx + 0x210], eax
jle 0x4707ef
movq xmm0, qword [edx + 0x114]
sub esp, 0x10
mov eax, dword [edx + 0x11c]
mov ecx, esp
mov dword [esp + 0xc], 0x42480000
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [edx + 0x180]
mov ecx, dword [edi + ecx*4 + 0x4ec]
call fcn.0045e080
mov eax, dword [ebp - 0x41c]
mov ecx, dword [eax + 0x180]
mov ecx, dword [edi + ecx*4 + 0x4ec]
call fcn.0045df50
mov eax, dword [esi + 5]
mov edx, dword [ebp - 0x41c]
mov dword [edx + 0x210], eax
mov eax, dword [esi + 9]
mov dword [edx + 0x214], eax
mov dword [edx + 0x218], 0x258
mov ecx, dword [edi + 0x18]
call fcn.00449e00
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, eax
mov dword [ebp - 0x41c], eax
test edx, edx
jne 0x470780
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x418], ecx
test ecx, ecx
je case.0x46d662.8
movss xmm1, dword [0x530f3c]
nop dword [eax]
mov eax, dword [esi + 1]
cmp eax, 0xffffffff
je 0x47088b
cmp dword [ecx + 0x178], eax
jne 0x47094f
movsx eax, byte [esi + 9]
movaps xmm0, xmmword [0x531010]
mov dword [ecx + 0x254], eax
mov dword [ecx + 0x258], 0
movups xmmword [ecx + 0x25c], xmm0
jmp 0x470947
mov eax, dword [ecx + 0x17c]
cmp eax, dword [esi + 5]
jne 0x47094f
movsx eax, byte [esi + 9]
mov dword [ecx + 0x254], eax
mov dword [ecx + 0x258], 0
movsx ecx, byte [esi + 9]
movzx edx, byte [ecx + ecx*2 + 0x55efb8]
movzx eax, byte [ecx + ecx*2 + 0x55efb9]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + ecx*2 + 0x55efba]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x10
movd xmm0, eax
mov eax, edx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x42c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
shr edx, 0x18
mulss xmm0, xmm1
movss dword [ebp - 0x428], xmm0
movd xmm0, eax
mov eax, dword [ebp - 0x418]
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x424], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x420], xmm0
movups xmm0, xmmword [ebp - 0x42c]
movups xmmword [eax + 0x25c], xmm0
mov ecx, dword [edi + 0x18]
call fcn.00449e00
mov ecx, dword [edi + 0x18]
call fcn.00449e40
movss xmm1, dword [0x530f3c]
mov ecx, eax
mov dword [ebp - 0x418], eax
test ecx, ecx
jne 0x470850
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov edx, eax
test edx, edx
je case.0x46d662.8
nop word [eax + eax]
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x4709b7
movzx eax, byte [esi + 5]
mov byte [edx + 0x18c], al
movzx eax, byte [esi + 6]
mov byte [edx + 0x18d], al
mov ecx, dword [edi + 0x18]
call fcn.00449e00
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, eax
test edx, edx
jne 0x470990
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov edx, eax
test edx, edx
je case.0x46d662.8
nop dword [eax]
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x4709fc
mov al, byte [esi + 5]
mov byte [edx + 0x18e], al
mov ecx, dword [edi + 0x18]
call fcn.00449e00
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, eax
test edx, edx
jne 0x4709e0
jmp case.0x46d662.8
mov dword [edi + 0x2a0], 0
mov dword [0x579248], 1
jmp case.0x46d662.8
cmp byte [esi + 0xe], 1
mov dword [ebp - 0x41c], 0
jne 0x470ad0
movzx eax, byte [esi + 9]
mov ecx, dword [edi + 0x154]
push eax
call fcn.004896d0
movzx eax, byte [esi + 0xa]
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x428]
push eax
call fcn.004897e0
sub esp, 8
mov ecx, edi
fstp dword [ebp - 0x420]
movss xmm0, dword [ebp - 0x420]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x428]
movss dword [esp], xmm0
call fcn.00471d40
mov eax, dword [ebp - 0x420]
sub esp, 0x10
mov ecx, esp
fstp dword [ebp - 0x424]
movq xmm0, qword [ebp - 0x428]
mov dword [esp + 0xc], 0x42480000
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [edi + 0x580]
call fcn.0045e080
mov ecx, dword [edi + 0x580]
call fcn.0045df50
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov dword [ebp - 0x43c], eax
test eax, eax
je 0x470b10
xor ecx, ecx
test ecx, ecx
jne 0x470b10
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
je 0x470b3e
cmp ecx, dword [esi + 1]
je 0x470b4f
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x43c], eax
test eax, eax
jne 0x470ae4
push 0x4d8
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x470b5c
push 0x530994
push 0
mov ecx, eax
call fcn.00475400
jmp 0x470b5e
mov eax, dword [eax + 0x17c]
cmp eax, dword [esi + 5]
jne 0x470af8
mov eax, dword [ebp - 0x43c]
mov ecx, 1
mov dword [ebp - 0x41c], ecx
jmp 0x470b0c
xor eax, eax
mov ecx, dword [edi + 0x18]
push eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00449be0
mov eax, dword [ebp - 0x414]
push 0x52e8bc
mov dword [eax + 0x160], 0xa
add eax, 0x1b0
push eax
call fcn.00466190
add esp, 8
call dword [sym.imp.WINMM.dll_timeGetTime]
movsx ecx, word [esi + 0xf]
mov edx, dword [ebp - 0x414]
imul ecx, ecx, 0x3e8
add eax, ecx
mov dword [edx + 0x238], eax
xor eax, eax
cmp ax, word [esi + 0xf]
jne 0x470bc3
mov dword [edx + 0x238], eax
movzx eax, byte [esi + 0xe]
mov dword [edx + 0x234], eax
movzx ecx, byte [esi + 0xb]
movzx eax, byte [esi + 0xc]
or ecx, 0x3700
movss xmm1, dword [0x530f3c]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 0xd]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x42c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
shr ecx, 0x18
cmp dword [ebp - 0x41c], 0
mulss xmm0, xmm1
movss dword [ebp - 0x428], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x424], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x420], xmm0
movups xmm0, xmmword [ebp - 0x42c]
movups xmmword [edx + 0x224], xmm0
movzx ecx, byte [esi + 9]
mov dword [edx + 0x164], ecx
movzx eax, byte [esi + 0xa]
mov esi, dword [ebp - 0x414]
mov dword [esi + 0x168], eax
je 0x470ce5
mov eax, dword [ebp - 0x43c]
movups xmm0, xmmword [eax + 0x108]
movups xmmword [esi + 0x108], xmm0
movups xmm0, xmmword [eax + 0x118]
movups xmmword [esi + 0x118], xmm0
movups xmm0, xmmword [eax + 0x128]
movups xmmword [esi + 0x128], xmm0
movups xmm0, xmmword [eax + 0x138]
movups xmmword [esi + 0x138], xmm0
movups xmm0, xmmword [eax + 0x148]
movups xmmword [esi + 0x148], xmm0
movq xmm0, qword [eax + 0x158]
movq qword [esi + 0x158], xmm0
jmp case.0x46d662.8
cmp dword [0x578020], 4
push ecx
jne 0x470d63
mov esi, dword [edi + 0x164]
mov ecx, esi
call fcn.004ad0d0
fstp dword [ebp - 0x418]
mov ecx, esi
call fcn.004abda0
fmul dword [0x52f66c]
mov eax, dword [ebp - 0x414]
fadd dword [ebp - 0x418]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov esi, dword [edi + 0x164]
mov ecx, esi
call fcn.004ad190
fstp dword [ebp - 0x418]
mov ecx, esi
call fcn.004abda0
fmul dword [0x52f66c]
mov esi, dword [ebp - 0x414]
fadd dword [ebp - 0x418]
fstp dword [ebp - 0x418]
movss xmm1, dword [ebp - 0x418]
jmp 0x470dcd
mov ecx, dword [edi + 0x154]
call fcn.004896d0
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x418]
call fcn.004863d0
fmul dword [0x52f66c]
push dword [esi + 0x168]
fadd dword [ebp - 0x418]
fstp dword [esi + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.004897e0
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x418]
call fcn.004863d0
fmul dword [0x52f66c]
fadd dword [ebp - 0x418]
fstp dword [ebp - 0x418]
movss xmm1, dword [ebp - 0x418]
movss xmm0, dword [esi + 0x114]
sub esp, 8
mov ecx, edi
movss dword [esi + 0x11c], xmm1
mov dword [esi + 0x108], 0
mov dword [esi + 0x10c], 0
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
call fcn.00471d40
fadd dword [0x52eb48]
fstp dword [esi + 0x118]
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov dword [ebp - 0x418], eax
test eax, eax
je case.0x46d662.8
nop dword [eax]
mov eax, dword [eax + 0x178]
cmp eax, dword [esi + 1]
jne 0x470f13
call dword [sym.imp.WINMM.dll_timeGetTime]
mov edx, dword [ebp - 0x418]
movss xmm1, dword [0x530f3c]
mov dword [edx + 0x250], eax
mov dword [edx + 0x23c], 0
movzx ecx, byte [esi + 5]
movzx eax, byte [esi + 6]
or ecx, 0x3700
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
shl ecx, 8
or ecx, eax
mov eax, ecx
shr eax, 0x10
movzx eax, al
movd xmm0, eax
mov eax, ecx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
mulss xmm0, xmm1
movss dword [ebp - 0x42c], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, cl
shr ecx, 0x18
mulss xmm0, xmm1
movss dword [ebp - 0x428], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x424], xmm0
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ebp - 0x420], xmm0
movups xmm0, xmmword [ebp - 0x42c]
movups xmmword [edx + 0x240], xmm0
cmp byte [esi + 5], 0
jne 0x470f0b
cmp byte [esi + 6], 0
jne 0x470f0b
cmp byte [esi + 7], 0
jne 0x470f0b
mov dword [edx + 0x23c], 0xffffffff
mov ecx, dword [edi + 0x18]
call fcn.00449e00
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov dword [ebp - 0x418], eax
test eax, eax
jne 0x470e30
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov edx, eax
mov dword [ebp - 0x418], edx
test edx, edx
je case.0x46d662.8
nop word [eax + eax]
mov ecx, dword [edx + 0x178]
cmp ecx, dword [esi + 1]
jne 0x470fa2
movzx eax, byte [esi + 8]
imul ecx, eax, 0xd0
push esi
add ecx, 0x338
add ecx, edx
call fcn.004768e0
cmp byte [esi + 0xd], 0
jne 0x470f9a
mov eax, dword [ebp - 0x418]
mov ecx, dword [edi + 8]
mov eax, dword [eax + 0x178]
cmp eax, dword [ecx + 0x178]
jne 0x470f9a
mov dword [edi + 0x290], 1
mov ecx, dword [edi + 0x18]
call fcn.00449e00
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov edx, eax
mov dword [ebp - 0x418], eax
test edx, edx
jne 0x470f50
jmp case.0x46d662.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x41c], eax
call fcn.00449da0
mov ecx, eax
test ecx, ecx
je case.0x46d662.8
nop dword [eax + eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x471017
cmp eax, dword [esi + 1]
jne 0x47102f
movzx eax, byte [esi + 9]
imul eax, eax, 0xd0
cmp dword [eax + ecx + 0x338], 0
je 0x47102f
mov dword [eax + ecx + 0x378], 1
mov dword [ebp - 0x41c], ecx
jmp 0x47102f
mov eax, dword [ecx + 0x17c]
mov edx, dword [ebp - 0x414]
cmp eax, dword [esi + 5]
cmove edx, ecx
mov dword [ebp - 0x414], edx
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
test ecx, ecx
jne 0x470fe0
mov ecx, dword [ebp - 0x41c]
test ecx, ecx
je case.0x46d662.8
mov eax, dword [ebp - 0x414]
test eax, eax
je case.0x46d662.8
test byte [0x579240], 1
je 0x4710a1
push dword [esi + 0xb]
add eax, 0x1b0
push eax
movzx eax, byte [esi + 9]
add eax, 4
imul eax, eax, 0xd0
add eax, ecx
push eax
lea eax, [ebp - 0x410]
push str._s_breathes_on_the__s_for__d_damage.
push eax
call fcn.00448770
lea eax, [ebp - 0x410]
push eax
call fcn.0048ee70
mov ecx, dword [ebp - 0x41c]
add esp, 0x18
push ecx
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00482ce0
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [ebp - 0x414]
push eax
push dword [eax + 0x170]
call fcn.00482ce0
sub esp, 0x18
movss xmm0, dword [eax + 0x10c]
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
movss dword [esp + 0xc], xmm0
movss xmm0, dword [eax + 0x108]
movss dword [esp + 8], xmm0
movss xmm0, dword [esi + 0x10c]
movss dword [esp + 4], xmm0
movss xmm0, dword [esi + 0x108]
movss dword [esp], xmm0
call fcn.004496e0
mov edx, dword [ebp - 0x43c]
add esp, 0x18
fstp dword [esi + 0x118]
mov esi, dword [ebp - 0x41c]
movzx eax, byte [edx + 9]
imul ecx, eax, 0xd0
mov eax, dword [ebp - 0x414]
movq xmm0, qword [eax + 0x114]
movq qword [ecx + esi + 0x35c], xmm0
mov eax, dword [eax + 0x11c]
mov dword [ecx + esi + 0x364], eax
movzx eax, byte [edx + 9]
imul eax, eax, 0xd0
movss xmm0, dword [eax + esi + 0x360]
addss xmm0, dword [0x530f78]
movss dword [eax + esi + 0x360], xmm0
movzx eax, byte [edx + 9]
movzx ecx, byte [edx + 0xa]
imul eax, eax, 0xd0
mov dword [eax + esi + 0x368], ecx
jmp case.0x46d662.8
mov eax, dword [esi + 1]
mov dword [0x579240], eax
jmp case.0x46d662.8
push 0x14
call fcn.004b2330
add esp, 4
mov dword [ebp - 0x418], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x4711d0
push 0x46
mov ecx, eax
call fcn.00444100
mov dword [ebp - 0x41c], eax
jmp 0x4711da
mov dword [ebp - 0x41c], 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
push esi
mov esi, dword [ebp - 0x41c]
mov ecx, esi
call fcn.00444680
lea eax, [ebp - 0x43d]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00444160
lea eax, [ebp - 0x44c]
mov ecx, esi
push eax
call fcn.004441c0
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov dword [ebp - 0x418], eax
test eax, eax
je 0x471289
nop word [eax + eax]
mov ecx, dword [eax + 0x178]
cmp ecx, dword [ebp - 0x44c]
jne 0x471271
xor edi, edi
mov ecx, dword [ebp - 0x41c]
lea esi, [eax + 0x1d0]
add esi, edi
push esi
call fcn.00444140
cmp byte [esi], 0
mov eax, 0x3e8
cmove edi, eax
mov eax, dword [ebp - 0x418]
inc edi
cmp edi, 0x41
jl 0x471240
mov edi, dword [ebp - 0x414]
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov dword [ebp - 0x418], eax
test eax, eax
jne 0x471230
mov esi, dword [ebp - 0x41c]
mov ecx, esi
call fcn.00444130
push 0x14
push esi
call fcn.004b2360
add esp, 8
jmp case.0x46d662.8
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x178]
cmp eax, dword [esi + 1]
jne case.0x46d662.8
mov dword [edi + 0x280], 1
jmp case.0x46d662.8
movzx eax, byte [esi + 5]
sub esp, 8
movd xmm2, eax
movzx eax, byte [esi + 6]
cvtdq2ps xmm2, xmm2
movd xmm0, eax
mulss xmm2, dword [0x52f670]
cvtdq2ps xmm0, xmm0
addss xmm2, dword [0x52f680]
mulss xmm0, dword [0x52f670]
addss xmm0, dword [0x52f680]
movss dword [ebp - 0x428], xmm2
movss dword [esp + 4], xmm0
movss dword [ebp - 0x420], xmm0
movss dword [esp], xmm2
call fcn.00471d40
cmp dword [esi + 1], 0
fadd dword [0x530f6c]
fstp dword [ebp - 0x424]
je 0x471426
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
test ecx, ecx
je 0x471426
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x414], eax
nop
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x47139e
cmp eax, dword [esi + 1]
jne 0x47139e
movq xmm0, qword [ecx + 0x114]
mov eax, dword [ecx + 0x11c]
mov ecx, dword [edi + 0x18]
movq qword [ebp - 0x428], xmm0
movss xmm0, dword [ebp - 0x424]
addss xmm0, dword [0x530f70]
mov dword [ebp - 0x414], eax
movss dword [ebp - 0x424], xmm0
call fcn.00449e00
mov ecx, eax
cmp dword [ecx + 0x160], 0xc
jne 0x471412
movzx eax, byte [esi + 5]
cmp dword [ecx + 0x164], eax
jne 0x471412
movzx eax, byte [esi + 6]
cmp dword [ecx + 0x168], eax
jne 0x471412
movq xmm0, qword [ecx + 0x114]
sub esp, 8
mov eax, dword [ecx + 0x11c]
mov ecx, edi
movq qword [ebp - 0x428], xmm0
mov dword [ebp - 0x420], eax
movss xmm0, dword [ebp - 0x420]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x428]
mov dword [ebp - 0x414], eax
movss dword [esp], xmm0
call fcn.00471d40
fadd dword [0x530f6c]
fstp dword [ebp - 0x424]
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
test ecx, ecx
jne 0x471350
jmp 0x471432
mov eax, dword [ebp - 0x420]
mov dword [ebp - 0x414], eax
movzx eax, byte [esi + 6]
sub esp, 0x10
mov ecx, dword [edi + 8]
movd xmm0, eax
movzx eax, byte [esi + 5]
cvtdq2ps xmm0, xmm0
movss dword [esp + 0xc], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp + 8], xmm0
movd xmm0, dword [ecx + 0x168]
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, dword [ecx + 0x164]
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
call fcn.00448b40
add esp, 0x10
mov dword [ebp - 0x43c], 0
cmp byte [esi + 7], 0
fstp dword [ebp - 0x41c]
jne 0x4714a9
cmp byte [esi + 8], 0
jne 0x4714a9
cmp byte [esi + 9], 0
je 0x471532
movss xmm0, dword [ebp - 0x41c]
mov eax, 1
movss xmm1, dword [0x530fbc]
comiss xmm1, xmm0
mov dword [ebp - 0x43c], eax
jbe 0x47163d
movq xmm0, qword [ebp - 0x428]
sub esp, 0xc
mov ecx, dword [ebp - 0x414]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x577ff8]
call fcn.004a6390
movss xmm0, dword [esi + 0xf]
sub esp, 0x14
divss xmm0, dword [0x530fdc]
mov eax, esp
mov dword [eax], 0x3f800000
mov dword [eax + 4], 0x3f800000
mov dword [eax + 8], 0
mov dword [eax + 0xc], 0x3f1b9b9c
mov ecx, dword [0x577ff8]
movss dword [esp + 0x10], xmm0
push 0x32
call fcn.004a5f90
movss xmm0, dword [ebp - 0x41c]
movss xmm1, dword [0x530fbc]
comiss xmm1, xmm0
jbe 0x471637
movq xmm0, qword [ebp - 0x428]
sub esp, 0xc
mov ecx, dword [ebp - 0x414]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x577ffc]
call fcn.004a7440
movss xmm0, dword [esi + 0xf]
sub esp, 0x14
divss xmm0, dword [0x530fc8]
movzx edx, byte [esi + 7]
mov ecx, esp
movzx eax, byte [esi + 8]
or edx, 0xffff9b00
shl edx, 8
or edx, eax
movzx eax, byte [esi + 9]
shl edx, 8
or edx, eax
mov eax, edx
shr eax, 0x10
movzx eax, al
movss xmm1, dword [0x530f3c]
movss dword [esp + 0x10], xmm0
movd xmm0, eax
mov eax, edx
cvtdq2ps xmm0, xmm0
shr eax, 8
movzx eax, al
push 0x32
mulss xmm0, xmm1
movss dword [ecx], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movzx eax, dl
shr edx, 0x18
mulss xmm0, xmm1
movss dword [ecx + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ecx + 8], xmm0
movd xmm0, edx
cvtdq2ps xmm0, xmm0
mulss xmm0, xmm1
movss dword [ecx + 0xc], xmm0
mov ecx, dword [0x577ffc]
call fcn.004a7040
movss xmm1, dword [ebp - 0x41c]
addss xmm1, dword [0x52eb48]
movss xmm0, dword [esi + 0xf]
divss xmm0, xmm1
movss dword [0x57801c], xmm0
movss xmm0, dword [ebp - 0x41c]
mov eax, dword [ebp - 0x43c]
movss xmm1, dword [esi + 0xf]
comiss xmm1, dword [0x52ff70]
jbe 0x4716d6
test eax, eax
je 0x4716d6
cmp dword [edi + 8], 0
je 0x47169e
comiss xmm0, dword [0x52f670]
jbe 0x47169e
movq xmm0, qword [ebp - 0x428]
sub esp, 0x10
mov ecx, dword [ebp - 0x414]
mov eax, esp
mov dword [esp + 0xc], 0x42480000
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x59c]
call fcn.0045e080
mov ecx, dword [edi + 0x59c]
jmp 0x47182b
movq xmm0, qword [ebp - 0x428]
sub esp, 0x10
mov ecx, dword [ebp - 0x414]
mov eax, esp
mov dword [esp + 0xc], 0x42480000
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x598]
call fcn.0045e080
mov ecx, dword [edi + 0x598]
jmp 0x47182b
comiss xmm1, dword [0x530fdc]
jbe 0x47176a
test eax, eax
je 0x47176a
cmp dword [edi + 8], 0
je 0x471732
comiss xmm0, dword [0x530fb0]
jbe 0x471732
movq xmm0, qword [ebp - 0x428]
sub esp, 0x10
mov ecx, dword [ebp - 0x414]
mov eax, esp
mov dword [esp + 0xc], 0x42480000
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x594]
call fcn.0045e080
mov ecx, dword [edi + 0x594]
jmp 0x47182b
movq xmm0, qword [ebp - 0x428]
sub esp, 0x10
mov ecx, dword [ebp - 0x414]
mov eax, esp
mov dword [esp + 0xc], 0x42480000
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x590]
call fcn.0045e080
mov ecx, dword [edi + 0x590]
jmp 0x47182b
comiss xmm1, dword [0x52f670]
jbe 0x4717f8
test eax, eax
je 0x4717f8
cmp dword [edi + 8], 0
je 0x4717c3
comiss xmm0, dword [0x52eb74]
jbe 0x4717c3
movq xmm0, qword [ebp - 0x428]
sub esp, 0x10
mov ecx, dword [ebp - 0x414]
mov eax, esp
mov dword [esp + 0xc], 0x42480000
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x58c]
call fcn.0045e080
mov ecx, dword [edi + 0x58c]
jmp 0x47182b
movq xmm0, qword [ebp - 0x428]
sub esp, 0x10
mov ecx, dword [ebp - 0x414]
mov eax, esp
mov dword [esp + 0xc], 0x42480000
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x588]
call fcn.0045e080
mov ecx, dword [edi + 0x588]
jmp 0x47182b
movq xmm0, qword [ebp - 0x428]
sub esp, 0x10
mov ecx, dword [ebp - 0x414]
mov eax, esp
mov dword [esp + 0xc], 0x42480000
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [edi + 0x584]
call fcn.0045e080
mov ecx, dword [edi + 0x584]
call fcn.0045df50
mov ecx, dword [edi + 0x18]
call fcn.00449da0
mov ecx, eax
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je case.0x46d662.8
nop dword [eax + eax]
cmp dword [ecx + 0x160], 0xc
jne 0x4718be
movzx eax, byte [esi + 5]
cmp dword [ecx + 0x164], eax
jne 0x4718be
movzx eax, byte [esi + 6]
cmp dword [ecx + 0x168], eax
jne 0x4718be
push ecx
mov ecx, dword [edi + 0x18]
call fcn.00449f90
mov eax, dword [ebp - 0x41c]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048a0d0
mov eax, dword [ebp - 0x41c]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00482cc0
mov ecx, dword [ebp - 0x41c]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.00449e40
mov ecx, eax
mov dword [ebp - 0x41c], eax
test ecx, ecx
jne 0x471850
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b2010
mov esp, ebp
pop ebp
ret 8