Function at 0x4702c0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x542a1a
mov eax, dword fs:[0]
push eax
sub esp, 0x450
mov eax, dword [0x5904c0]
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 - 0x424], esi
mov byte [ebp - 0x45c], 0x13
mov byte [ebp - 0x44c], 0x2c
movsx eax, byte [esi]
add eax, 0xfffffffb
cmp eax, 0x51
ja case.0x470322.8
movzx eax, byte [eax + 0x474814]
jmp dword [eax*4 + 0x47477c]
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x41c], eax
call fcn.0044c440
mov ecx, eax
xorps xmm0, xmm0
mov dword [ebp - 0x414], ecx
movss dword [ebp - 0x420], xmm0
test ecx, ecx
je 0x470682
nop dword [eax]
nop dword [eax + eax]
mov edx, dword [ecx + 0x178]
cmp edx, 0xffffffff
jle 0x47065e
mov eax, dword [edi + 8]
cmp edx, dword [eax + 0x178]
jne 0x4703b2
cmp dword [eax + 0x338], 0
je 0x470396
cmp byte [eax + 0x340], 0
jne 0x470396
mov dword [edi + 0x290], 1
cmp dword [eax + 0x408], 0
je 0x4703b2
cmp byte [eax + 0x410], 0
jne 0x4703b2
mov dword [edi + 0x290], 1
mov eax, dword [ecx + 0x178]
cmp eax, dword [esi + 1]
jne 0x47065e
cmp dword [ecx + 0x16c], 0xffffffff
push ecx
je 0x47040e
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00486220
mov dword [ebp - 0x418], 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.0048d660
jmp 0x47043c
mov ecx, dword [edi + 4]
call fcn.00486240
mov ecx, dword [ebp - 0x414]
push ecx
push eax
mov dword [ecx + 0x170], eax
mov ecx, dword [edi + 4]
call fcn.00486220
mov dword [ebp - 0x418], 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.0048c440
mov ecx, eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x41c], ecx
mov edx, dword [eax + 0x164]
cmp ecx, 0xffffffff
jne 0x4704ee
mov ecx, dword [edi + 0x154]
push edx
call fcn.0048cc40
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x418]
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 0x4705a7
push 1
push ecx
push dword [eax + 0x168]
mov ecx, dword [edi + 0x154]
push edx
call fcn.00489990
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x41c]
call fcn.0048c540
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.0048cc40
fadd dword [ebp - 0x438]
mov eax, dword [ebp - 0x418]
mov edx, dword [ebp - 0x414]
fstp dword [eax + 0x110]
push dword [edx + 0x168]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
fadd dword [ebp - 0x43c]
mov eax, dword [ebp - 0x418]
mov edx, dword [ebp - 0x414]
fstp dword [eax + 0x114]
movss xmm0, dword [ebp - 0x440]
movss dword [eax + 0x118], xmm0
mov dword [eax + 0x138], 0
mov eax, dword [edx + 0x178]
mov dword [ebp - 0x41c], 1
cmp eax, dword [edi + 0x204]
jne 0x47064c
cmp dword [0x59317c], 0
jne 0x4705d5
cmp dword [edi + 0x20c], 0xffffffff
jne 0x47064c
mov ecx, dword [edi + 0x154]
movq xmm0, qword [edx + 0x114]
movq qword [ecx + 0x188], xmm0
mov eax, dword [edx + 0x11c]
mov dword [ecx + 0x190], eax
mov eax, dword [edi + 0x154]
mov dword [eax + 0x194], 0
push dword [edx + 0x168]
mov ecx, dword [edi + 0x154]
push dword [edx + 0x164]
call fcn.0048a250
mov eax, dword [ebp - 0x414]
mov ecx, edi
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004748b0
mov edx, dword [ebp - 0x414]
mov ecx, dword [edi + 0x18]
push edx
call fcn.0044c3f0
mov edx, dword [ebp - 0x414]
cmp byte [esi], 0x34
jne 0x47065e
movzx eax, word [esi + 7]
mov ecx, edi
push eax
push edx
call fcn.00474a40
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x414], eax
test ecx, ecx
jne 0x470360
cmp dword [ebp - 0x41c], eax
jne case.0x470322.8
push 0x4d8
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x41c], eax
mov dword [ebp - 4], 0
test eax, eax
je 0x4706b0
push str.AVATAR
push 0
mov ecx, eax
call fcn.004782d0
jmp 0x4706b2
xor eax, eax
mov ecx, dword [edi + 0x18]
push eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0044c290
push 0x10c
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x41c], eax
mov dword [ebp - 4], 1
test eax, eax
je 0x4706f1
mov ecx, eax
call fcn.00467120
mov ecx, eax
jmp 0x4706f3
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.00486240
mov ecx, dword [ebp - 0x414]
push ecx
push eax
mov dword [ecx + 0x170], eax
mov ecx, dword [edi + 4]
call fcn.00486220
movzx edx, byte [esi + 5]
mov dword [ebp - 0x418], 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.0048c440
mov ecx, eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x41c], ecx
mov edx, dword [eax + 0x164]
cmp ecx, 0xffffffff
jne 0x47079b
mov ecx, dword [edi + 0x154]
push edx
call fcn.0048cc40
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
jmp 0x470822
push 1
push ecx
push dword [eax + 0x168]
mov ecx, dword [edi + 0x154]
push edx
call fcn.00489990
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x41c]
call fcn.0048c540
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.0048cc40
fadd dword [ebp - 0x438]
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
fadd dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x414]
fstp dword [ebp - 0x41c]
movss xmm0, dword [ebp - 0x41c]
movss dword [ecx + 0x11c], xmm0
call fcn.00516264
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 [0x54adb0]
divss xmm0, dword [0x54d284]
addss xmm0, dword [ebp - 0x420]
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.00474bf0
mov eax, dword [ebp - 0x418]
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 - 0x440]
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 0x470b0a
cmp dword [0x59317c], 0
jne 0x470952
cmp dword [edi + 0x20c], 0xffffffff
jne 0x470b0a
mov dword [edi + 8], ecx
lea edx, [ebp - 0x45c]
mov ecx, dword [0x592b14]
push 0
push 0
mov byte [ebp - 0x457], 1
mov dword [ebp - 0x45b], 0
mov eax, dword [ecx]
push edx
push 0xa
call dword [eax + 4]
mov ecx, edi
call fcn.0046b460
mov edx, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
movq xmm0, qword [edx + 0x114]
movq qword [ecx + 0x188], xmm0
mov eax, dword [edx + 0x11c]
mov dword [ecx + 0x190], eax
mov eax, dword [edi + 0x154]
mov dword [eax + 0x194], 0
push dword [edx + 0x168]
mov ecx, dword [edi + 0x154]
push dword [edx + 0x164]
call fcn.0048a250
mov eax, dword [ebp - 0x414]
mov ecx, edi
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004748b0
mov ecx, dword [ebp - 0x414]
push ecx
mov ecx, dword [edi + 0x18]
call fcn.0044c3f0
cmp dword [0x593170], 0
jne 0x470b04
cmp dword [0x57c1dc], 0
mov dword [ebp - 0x42c], 0xc3fa0000
mov dword [ebp - 0x430], 0xc3fa0000
mov dword [ebp - 0x434], 0xc3fa0000
je 0x470b04
movq xmm0, qword [ebp - 0x434]
sub esp, 0xc
mov esi, dword [ebp - 0x42c]
mov eax, esp
mov ecx, dword [0x59315c]
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.004b2070
movq xmm0, qword [ebp - 0x434]
sub esp, 0xc
mov ecx, dword [0x593160]
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.004b2070
movq xmm0, qword [ebp - 0x434]
sub esp, 0xc
mov ecx, dword [0x593164]
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.004b2070
movq xmm0, qword [ebp - 0x434]
sub esp, 0xc
mov ecx, dword [0x593168]
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.004b2070
mov esi, dword [ebp - 0x424]
mov ecx, dword [ebp - 0x414]
cmp byte [esi], 0x34
jne case.0x470322.8
movzx eax, word [esi + 7]
push eax
push ecx
mov ecx, edi
call fcn.00474a40
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
mov dword [ebp - 0x414], ecx
test ecx, ecx
je case.0x470322.8
nop dword [eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x470be5
mov edx, dword [edi + 0x18]
cmp eax, dword [esi + 1]
jne 0x470bd4
push ecx
mov ecx, edx
call fcn.0044c630
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048d660
mov eax, dword [ebp - 0x414]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00486200
mov ecx, dword [ebp - 0x414]
push 1
mov eax, dword [ecx]
mov dword [ecx + 0x16c], 0xffffffff
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
mov eax, dword [esi + 1]
mov dword [ebp - 0x414], ecx
cmp eax, dword [edi + 0x204]
jne 0x470bf5
mov eax, dword [edi + 0xc]
mov dword [edi + 8], eax
jmp 0x470bf5
mov ecx, edx
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x414], ecx
jmp 0x470bf5
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x414], eax
test ecx, ecx
jne 0x470b40
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov dword [ebp - 0x414], eax
test eax, eax
je case.0x470322.8
nop dword [eax + eax]
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
jle 0x470daf
cmp ecx, dword [esi + 1]
jne 0x470daf
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00486220
mov dword [ebp - 0x418], 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.0048d660
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.0048c440
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x41c], eax
cmp eax, 0xffffffff
jne 0x470ceb
movzx eax, byte [esi + 7]
push eax
call fcn.0048cc40
mov eax, dword [ebp - 0x418]
fstp dword [eax + 0x110]
movzx eax, byte [esi + 8]
mov ecx, dword [edi + 0x154]
push eax
call fcn.0048cd50
mov eax, dword [ebp - 0x418]
fstp dword [eax + 0x114]
jmp 0x470d91
push 1
push eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.00489990
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x41c]
call fcn.0048c540
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x41c]
mov dword [eax + 0x16c], ecx
movzx eax, byte [esi + 7]
mov ecx, dword [edi + 0x154]
push eax
call fcn.0048cc40
fadd dword [ebp - 0x438]
mov eax, dword [ebp - 0x418]
fstp dword [eax + 0x110]
movzx eax, byte [esi + 8]
mov ecx, dword [edi + 0x154]
push eax
call fcn.0048cd50
fadd dword [ebp - 0x43c]
mov eax, dword [ebp - 0x418]
fstp dword [eax + 0x114]
movss xmm0, dword [ebp - 0x440]
movss dword [eax + 0x118], xmm0
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x178]
cmp eax, dword [edi + 0x204]
jne 0x470daf
mov dword [0x594340], 0x5a
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov dword [ebp - 0x414], eax
test eax, eax
jne 0x470c20
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je case.0x470322.8
nop dword [eax]
nop word [eax + eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x470e9f
cmp eax, dword [esi + 1]
jne 0x470e9f
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 [0x5929f8]
push dword [esi + 5]
push dword [eax + 0x2a3d8]
call fcn.004673f0
lea eax, [esi + 0x1c]
push eax
mov eax, dword [ebp - 0x41c]
add eax, 0x1b0
push eax
call fcn.00468db0
mov ecx, dword [edi + 8]
add esp, 8
mov eax, dword [ecx + 0x178]
cmp eax, dword [esi + 1]
jne 0x470e9f
lea eax, [ecx + 0x1b0]
mov dword [edi + 0x14], eax
mov eax, dword [esi + 0x40]
mov dword [0x59434c], eax
mov al, byte [esi + 0x4c]
mov byte [0x58774d], al
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x41c], eax
test ecx, ecx
jne 0x470df0
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x41c], eax
call fcn.0044c440
mov edx, eax
mov dword [ebp - 0x414], edx
test edx, edx
je 0x4711c7
nop dword [eax]
cmp dword [edx + 0x178], 0xffffffff
jne 0x4711a3
mov eax, dword [edx + 0x17c]
cmp eax, dword [esi + 1]
jne 0x4711a3
mov al, byte [esi + 5]
cmp al, 6
je 0x4710ce
cmp al, 0xd
je 0x4710ce
cmp al, 7
je 0x4710ce
cmp al, 0xe
je 0x4710ce
cmp al, 0x11
je 0x4710ce
cmp al, 0xa
je 0x4710ce
mov ecx, dword [edi + 4]
push edx
push dword [edx + 0x170]
call fcn.00486220
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048d660
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.0048c440
mov ecx, eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x41c], ecx
mov edx, dword [eax + 0x164]
cmp ecx, 0xffffffff
jne 0x471019
mov ecx, dword [edi + 0x154]
push edx
call fcn.0048cc40
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
mov edx, dword [ebp - 0x414]
mov eax, dword [ebp - 0x418]
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 0x4710ce
push 1
push ecx
push dword [eax + 0x168]
mov ecx, dword [edi + 0x154]
push edx
call fcn.00489990
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x41c]
call fcn.0048c540
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x41c]
mov dword [eax + 0x16c], ecx
mov ecx, dword [ebp - 0x418]
movss xmm0, dword [ebp - 0x440]
movss dword [ecx + 0x118], xmm0
push dword [eax + 0x164]
mov ecx, dword [edi + 0x154]
call fcn.0048cc40
fadd dword [ebp - 0x438]
mov eax, dword [ebp - 0x418]
mov edx, dword [ebp - 0x414]
fstp dword [eax + 0x110]
push dword [edx + 0x168]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
fadd dword [ebp - 0x43c]
mov eax, dword [ebp - 0x418]
mov edx, dword [ebp - 0x414]
fstp dword [eax + 0x114]
mov eax, dword [edi + 0x20c]
cmp eax, dword [edx + 0x17c]
jne 0x471164
cmp dword [0x59317c], 0
jne 0x471164
mov ecx, dword [edi + 0x154]
movq xmm0, qword [edx + 0x114]
movq qword [ecx + 0x188], xmm0
mov eax, dword [edx + 0x11c]
mov dword [ecx + 0x190], eax
mov eax, dword [edi + 0x154]
mov dword [eax + 0x194], 0
push dword [edx + 0x168]
mov ecx, dword [edi + 0x154]
push dword [edx + 0x164]
call fcn.0048a250
mov eax, dword [ebp - 0x414]
mov ecx, edi
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.004748b0
mov edx, dword [ebp - 0x414]
mov ecx, dword [edi + 0x18]
push edx
call fcn.0044c3f0
mov edx, dword [ebp - 0x414]
cmp byte [esi + 5], 1
jne 0x471199
cmp byte [esi], 0x19
jne 0x471199
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.00478650
mov dword [ebp - 0x41c], 1
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov edx, eax
mov dword [ebp - 0x414], eax
test edx, edx
jne 0x470ee0
cmp dword [ebp - 0x41c], eax
jne case.0x470322.8
push 0x4d8
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x420], eax
mov dword [ebp - 4], 2
test eax, eax
je 0x4711f5
push 0x54cc08
push 0
mov ecx, eax
call fcn.004782d0
jmp 0x4711f7
xor eax, eax
mov ecx, dword [edi + 0x18]
push eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0044c290
mov edx, dword [ebp - 0x414]
movzx eax, byte [esi + 5]
mov dword [edx + 0x160], eax
cmp eax, 0x17
jb 0x47122c
movzx eax, byte [esi + 5]
mov dword [edx + 0x160], eax
mov al, byte [esi + 5]
cmp al, 1
jne 0x4712a3
movzx eax, word [esi + 8]
mov ecx, edx
push eax
movzx eax, word [esi + 6]
push eax
call fcn.00478940
mov eax, dword [0x593170]
cmp eax, 1
je 0x471253
cmp eax, 3
jne 0x471265
mov edx, dword [ebp - 0x414]
movzx eax, byte [esi + 0xa]
mov dword [edx + 0x188], eax
jmp 0x47126b
mov edx, dword [ebp - 0x414]
cmp byte [esi], 0x19
jne 0x4713e9
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.00478650
jmp 0x4713e3
cmp al, 5
jne 0x4712d5
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.00468db0
add esp, 0xc
jmp 0x4713e3
cmp al, 0xd
je 0x4713cf
cmp al, 6
jne 0x4712eb
push str.Items
jmp 0x4713d4
cmp al, 7
jne 0x47135b
lea eax, [edx + 0x1b0]
push 0x54ab80
push eax
call fcn.00468db0
mov ecx, dword [edi + 0x1c]
add esp, 8
call fcn.0044c440
mov edx, eax
test edx, edx
je 0x471341
movzx ecx, byte [esi + 0xb]
cmp dword [edx + 0x164], ecx
jne 0x471333
movzx eax, byte [esi + 0xc]
cmp dword [edx + 0x168], eax
jne 0x471333
mov dword [edx + 0x160], 1
mov ecx, dword [edi + 0x1c]
call fcn.0044c4f0
mov edx, eax
test edx, edx
jne 0x471311
movzx eax, byte [esi + 0xc]
mov ecx, dword [edi + 0x154]
push eax
movzx eax, byte [esi + 0xb]
push eax
call fcn.004899c0
jmp 0x4713e3
cmp al, 8
je 0x4713cf
cmp al, 0xc
je 0x4713cf
cmp al, 0xe
jne 0x47138d
lea eax, [edx + 0x1b0]
push 0x54ab80
push eax
call fcn.00468db0
mov edx, dword [ebp - 0x414]
add esp, 8
movzx eax, word [esi + 8]
mov dword [edx + 0x184], eax
jmp 0x4713e9
cmp al, 3
jne 0x471398
push str.Trainer
jmp 0x4713d4
cmp al, 4
jne 0x4713a3
push str.Town_Mage
jmp 0x4713d4
cmp al, 0x10
jne 0x4713ae
push str.Witch
jmp 0x4713d4
cmp al, 0x16
jne 0x4713b9
push str.Mall_Director
jmp 0x4713d4
cmp al, 0x15
jne 0x4713c8
cmp byte [esi], 0x19
jne 0x4713e9
lea eax, [esi + 0x15]
push eax
jmp 0x4713d4
push str.Merchant
jmp 0x4713d4
push 0x54ab80
lea eax, [edx + 0x1b0]
push eax
call fcn.00468db0
add esp, 8
mov edx, dword [ebp - 0x414]
mov al, byte [esi + 5]
cmp al, 6
je 0x471659
cmp al, 0xd
je 0x471659
cmp al, 0xe
je 0x471659
cmp al, 7
je 0x471659
mov ecx, dword [edi + 4]
push edx
call fcn.00486240
mov ecx, dword [ebp - 0x414]
push ecx
push eax
mov dword [ecx + 0x170], eax
mov ecx, dword [edi + 4]
call fcn.00486220
movzx edx, byte [esi + 0xb]
mov dword [ebp - 0x420], eax
mov eax, dword [ebp - 0x414]
mov dword [eax + 0x164], edx
movzx ecx, byte [esi + 0xc]
mov dword [eax + 0x168], ecx
xor eax, eax
cmp byte [esi + 5], 5
sete al
push eax
push ecx
mov ecx, dword [edi + 0x154]
push edx
call fcn.0048c440
mov ecx, eax
mov eax, dword [ebp - 0x414]
mov dword [ebp - 0x41c], ecx
mov edx, dword [eax + 0x164]
cmp ecx, 0xffffffff
jne 0x4714a9
mov ecx, dword [edi + 0x154]
push edx
call fcn.0048cc40
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
jmp 0x471530
push 1
push ecx
push dword [eax + 0x168]
mov ecx, dword [edi + 0x154]
push edx
call fcn.00489990
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x41c]
call fcn.0048c540
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.0048cc40
fadd dword [ebp - 0x438]
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
fadd dword [ebp - 0x43c]
mov ecx, dword [ebp - 0x414]
fstp dword [ebp - 0x41c]
movss xmm0, dword [ebp - 0x41c]
movss dword [ecx + 0x11c], xmm0
call fcn.00516264
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 [0x54adb0]
divss xmm0, dword [0x54d284]
addss xmm0, dword [0x54ad84]
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.00474bf0
mov ecx, dword [ebp - 0x420]
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 - 0x440]
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 0x471645
mov dword [ecx + 0x128], 0x3f800000
mov ecx, dword [ebp - 0x414]
mov eax, dword [esi + 1]
mov dword [ecx + 0x17c], eax
jmp case.0x470322.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.0048cc40
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x420]
call fcn.00489980
fmul dword [0x54b8f4]
mov eax, dword [ebp - 0x414]
fadd dword [ebp - 0x420]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x420]
call fcn.00489980
fmul dword [0x54b8f4]
sub esp, 8
mov eax, dword [ebp - 0x414]
mov ecx, edi
fadd dword [ebp - 0x420]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
fstp dword [ebp - 0x420]
movss xmm0, dword [ebp - 0x420]
movss dword [esp + 4], xmm0
movss dword [eax + 0x11c], xmm0
movss xmm0, dword [eax + 0x114]
movss dword [esp], xmm0
call fcn.00474bf0
mov ecx, dword [ebp - 0x414]
fstp dword [ecx + 0x118]
mov eax, dword [esi + 1]
mov dword [ecx + 0x17c], eax
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov dword [ebp - 0x424], eax
test eax, eax
je case.0x470322.8
nop dword [eax]
cmp dword [eax + 0x178], 0xffffffff
jne 0x4717e7
mov ecx, dword [eax + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x4717e7
mov ecx, dword [edi + 0x18]
push eax
call fcn.0044c630
mov ecx, dword [ebp - 0x424]
mov eax, dword [ecx + 0x160]
cmp eax, 6
je 0x4717d7
cmp eax, 0xa
je 0x4717d7
cmp eax, 0x11
je 0x4717d7
cmp eax, 0xd
je 0x4717d7
cmp eax, 0xe
je 0x4717d7
cmp eax, 7
je 0x4717d7
push dword [ecx + 0x16c]
push dword [ecx + 0x168]
push dword [ecx + 0x164]
mov ecx, dword [edi + 0x154]
call fcn.0048d660
mov eax, dword [ebp - 0x424]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00486200
mov ecx, dword [ebp - 0x424]
mov eax, dword [ecx]
push 1
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.0044c440
jmp 0x4717ef
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov dword [ebp - 0x424], eax
test eax, eax
jne 0x471750
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x418], eax
call fcn.0044c440
test eax, eax
je 0x47185f
mov edx, 1
nop dword [eax + eax]
cmp dword [eax + 0x178], 0xffffffff
jne 0x471841
mov eax, dword [eax + 0x17c]
mov ecx, dword [ebp - 0x418]
cmp eax, dword [esi + 1]
cmove ecx, edx
mov dword [ebp - 0x418], ecx
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov edx, 1
test eax, eax
jne 0x471820
cmp dword [ebp - 0x418], 0
jne case.0x470322.8
push 0x4d8
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x420], eax
mov dword [ebp - 4], 3
test eax, eax
je 0x47188d
push 0x54cc08
push 0
mov ecx, eax
call fcn.004782d0
jmp 0x47188f
xor eax, eax
mov ecx, dword [edi + 0x18]
push eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0044c290
mov eax, dword [ebp - 0x414]
push 0x54ab80
mov dword [eax + 0x160], 0x11
add eax, 0x1b0
push eax
call fcn.00468db0
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.0048cc40
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x420]
call fcn.00489980
fmul dword [0x54b8f4]
mov eax, dword [ebp - 0x414]
fadd dword [ebp - 0x420]
push dword [eax + 0x168]
fstp dword [eax + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x420]
call fcn.00489980
fmul dword [0x54b8f4]
sub esp, 8
mov eax, dword [ebp - 0x414]
mov ecx, edi
fadd dword [ebp - 0x420]
mov dword [eax + 0x108], 0
mov dword [eax + 0x10c], 0
movss xmm0, dword [eax + 0x114]
fstp dword [ebp - 0x420]
movss xmm1, dword [ebp - 0x420]
movss dword [esp + 4], xmm1
movss dword [eax + 0x11c], xmm1
movss dword [esp], xmm0
call fcn.00474bf0
mov edi, dword [ebp - 0x414]
movss xmm2, dword [0x54d1b0]
fstp dword [edi + 0x118]
mov eax, dword [esi + 1]
mov dword [edi + 0x17c], eax
movzx eax, byte [esi + 6]
movzx ecx, byte [esi + 7]
or eax, 0x3700
movzx edx, byte [esi + 8]
mov dword [ebp - 0x420], eax
shl eax, 8
or ecx, eax
mov eax, ecx
shl eax, 8
or edx, eax
movzx eax, cl
movd xmm4, eax
movzx eax, dl
shr edx, 0x18
cvtdq2ps xmm4, xmm4
movd xmm3, eax
mov eax, dword [ebp - 0x420]
movzx eax, al
movd xmm1, edx
cvtdq2ps xmm3, xmm3
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
mulss xmm4, xmm2
movss dword [edi + 0x224], xmm0
mulss xmm3, xmm2
mulss xmm1, xmm2
movss dword [edi + 0x228], xmm4
movss dword [edi + 0x22c], xmm3
movss dword [edi + 0x230], xmm1
movzx eax, byte [esi + 5]
mov dword [edi + 0x234], eax
mov eax, dword [esi + 0xb]
mov dword [edi + 0x238], eax
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov edx, eax
mov dword [ebp - 0x418], edx
test edx, edx
je case.0x470322.8
movzx ecx, byte [esi + 5]
cmp ecx, dword [edx + 0x160]
jne 0x471b15
mov eax, dword [edx + 0x17c]
cmp eax, dword [esi + 1]
jne 0x471b15
mov ecx, dword [edi + 0x18]
push edx
call fcn.0044c630
mov eax, dword [ebp - 0x418]
sub esp, 0xc
movq xmm0, qword [eax + 0x114]
mov ecx, dword [eax + 0x11c]
mov eax, esp
movq qword [ebp - 0x434], xmm0
movss xmm0, dword [ebp - 0x430]
addss xmm0, dword [0x54d1fc]
movss dword [ebp - 0x430], xmm0
movq xmm0, qword [ebp - 0x434]
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x593138]
call fcn.004a6ed0
movaps xmm0, xmmword [0x54d2c0]
sub esp, 0x10
mov ecx, dword [0x593138]
mov eax, esp
push 0x3c
movups xmmword [eax], xmm0
call fcn.004a6af0
mov ecx, dword [ebp - 0x418]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov edx, eax
mov dword [ebp - 0x418], edx
jmp 0x471b25
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov edx, eax
mov dword [ebp - 0x418], eax
test edx, edx
jne 0x471a60
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
mov dword [ebp - 0x414], ecx
test ecx, ecx
je case.0x470322.8
nop word [eax + eax]
cmp dword [ecx + 0x178], 0xffffffff
jne 0x471cd8
mov eax, dword [ecx + 0x17c]
cmp eax, dword [esi + 1]
jne 0x471cd8
push ecx
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00486220
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x418], eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048d660
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.0048c440
mov ecx, dword [edi + 0x154]
mov dword [ebp - 0x41c], eax
cmp eax, 0xffffffff
jne 0x471c15
movzx eax, byte [esi + 7]
push eax
call fcn.0048cc40
mov eax, dword [ebp - 0x418]
fstp dword [eax + 0x110]
movzx eax, byte [esi + 8]
mov ecx, dword [edi + 0x154]
push eax
call fcn.0048cd50
mov eax, dword [ebp - 0x418]
fstp dword [eax + 0x114]
jmp 0x471cbb
push 1
push eax
mov eax, dword [ebp - 0x414]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.00489990
mov ecx, dword [edi + 0x154]
lea eax, [ebp - 0x440]
push eax
lea eax, [ebp - 0x43c]
push eax
lea eax, [ebp - 0x438]
push eax
push dword [ebp - 0x41c]
call fcn.0048c540
mov eax, dword [ebp - 0x414]
mov ecx, dword [ebp - 0x41c]
mov dword [eax + 0x16c], ecx
movzx eax, byte [esi + 7]
mov ecx, dword [edi + 0x154]
push eax
call fcn.0048cc40
fadd dword [ebp - 0x438]
mov eax, dword [ebp - 0x418]
fstp dword [eax + 0x110]
movzx eax, byte [esi + 8]
mov ecx, dword [edi + 0x154]
push eax
call fcn.0048cd50
fadd dword [ebp - 0x43c]
mov eax, dword [ebp - 0x418]
fstp dword [eax + 0x114]
movss xmm0, dword [ebp - 0x440]
movss dword [eax + 0x118], xmm0
cmp byte [esi], 0x1c
jne 0x471cd8
cmp dword [esi + 9], 1
jne 0x471cd8
mov eax, dword [ebp - 0x414]
mov eax, dword [eax + 0x17c]
mov dword [edi + 0x20c], eax
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x414], eax
test ecx, ecx
jne 0x471b50
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
test eax, eax
je case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
test eax, eax
jne 0x471d05
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov dword [ebp - 0x418], eax
test eax, eax
je case.0x470322.8
movss xmm0, dword [0x54d1b0]
movss dword [ebp - 0x420], xmm0
nop dword [eax]
mov eax, dword [eax + 0x178]
cmp eax, 0xffffffff
jle 0x4723be
mov ecx, dword [esi + 9]
cmp eax, ecx
jne 0x4723be
mov eax, dword [edi + 8]
cmp dword [eax + 0x178], ecx
jne 0x471d6e
mov eax, dword [esi + 5]
mov dword [edi + 0x27c], eax
mov edi, dword [ebp - 0x418]
mov ecx, dword [edi + 0x26c]
test ecx, ecx
je 0x471d84
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x174
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 4
test eax, eax
je 0x471dad
mov ecx, eax
call fcn.0045c6e0
mov ecx, eax
jmp 0x471daf
xor ecx, ecx
mov dword [edi + 0x26c], ecx
mov dword [edi + 0x2f4], 0
mov dword [edi + 0x2f8], 0
mov dword [edi + 0x2fc], 0
mov dword [edi + 0x300], 0
mov dword [edi + 0x304], 0
mov dword [edi + 0x308], 0
mov dword [edi + 0x30c], 0
mov dword [edi + 0x310], 0
mov dword [edi + 0x314], 0
mov dword [edi + 0x318], 0
mov dword [edi + 0x31c], 0
mov dword [edi + 0x320], 0
movzx eax, byte [esi + 0x19]
mov dword [edi + 0x270], eax
mov al, byte [esi + 0x19]
mov dword [ebp - 4], 0xffffffff
cmp al, 0x80
jb 0x471f09
mov eax, dword [0x5929f8]
push str.dat_staff.ase
push dword [eax + 0x2a3d8]
call fcn.0045dfd0
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x26c]
push 0
push str.dat_staff.png
push dword [eax + 0x2a3d8]
call fcn.0045ea30
movzx eax, byte [esi + 0x1a]
movzx ecx, byte [esi + 0x1b]
or eax, 0x3700
movzx edx, byte [esi + 0x1c]
mov dword [ebp - 0x41c], eax
shl eax, 8
or ecx, eax
movss xmm4, dword [ebp - 0x420]
mov eax, ecx
shl eax, 8
or edx, eax
movzx eax, cl
movd xmm3, eax
movzx eax, dl
shr edx, 0x18
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mov eax, dword [ebp - 0x41c]
movzx eax, al
movd xmm1, edx
cvtdq2ps xmm2, xmm2
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm4
mulss xmm3, xmm4
mulss xmm2, xmm4
mulss xmm1, xmm4
movss dword [edi + 0x28c], xmm0
movss dword [edi + 0x290], xmm3
movss dword [edi + 0x294], xmm2
movss dword [edi + 0x298], xmm1
jmp 0x47200d
cmp al, 1
jne 0x471f2e
mov eax, dword [0x5929f8]
push str.datkatana.ase
push dword [eax + 0x2a3d8]
call fcn.0045dfd0
push 0
push str.datkatana.png
jmp 0x471ff7
cmp al, 4
jne 0x471f53
mov eax, dword [0x5929f8]
push str.datclaws.ASE
push dword [eax + 0x2a3d8]
call fcn.0045dfd0
push 0
push str.datclaws.png
jmp 0x471ff7
cmp al, 3
jne 0x471f78
mov eax, dword [0x5929f8]
push str.datchaosBlade.ASE
push dword [eax + 0x2a3d8]
call fcn.0045dfd0
push 0
push str.datchaosBlade.png
jmp 0x471ff7
cmp al, 5
jne 0x471f9a
mov eax, dword [0x5929f8]
push str.dat_bladeStaff.ASE
push dword [eax + 0x2a3d8]
call fcn.0045dfd0
push 0
push str.dat_bladeStaff.png
jmp 0x471ff7
cmp al, 2
jne 0x471fbc
mov eax, dword [0x5929f8]
push str.datmace.ASE
push dword [eax + 0x2a3d8]
call fcn.0045dfd0
push 0
push str.datmace.png
jmp 0x471ff7
sub al, 6
cmp al, 0x79
mov eax, dword [0x5929f8]
ja 0x471fe0
push str.dat_scythe.ASE
push dword [eax + 0x2a3d8]
call fcn.0045dfd0
push 0
push str.dat_scythe.png
jmp 0x471ff7
push str.dat_blade.ase
push dword [eax + 0x2a3d8]
call fcn.0045dfd0
push 0
push str.dat_bladeMetal.png
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x26c]
push dword [eax + 0x2a3d8]
call fcn.0045ea30
movss xmm0, dword [esi + 1]
sub esp, 0xc
mulss xmm0, dword [0x54d1a8]
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x26c]
movss dword [esp + 8], xmm0
movss dword [esp + 4], xmm0
movss dword [esp], xmm0
push dword [eax + 0x2a3d8]
call fcn.0045f8c0
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x26c]
push dword [eax + 0x2a3d8]
call fcn.0045ef10
movzx eax, byte [esi + 0x1c]
mov ecx, dword [edi + 0x26c]
push 0xff
push eax
movzx eax, byte [esi + 0x1b]
push eax
movzx eax, byte [esi + 0x1a]
push eax
call fcn.0045f940
mov eax, dword [esi + 1]
mov ecx, dword [ebp - 0x418]
mov dword [edi + 0x2f0], eax
movzx edi, word [esi + 0x11]
mov eax, dword [ebp - 0x424]
mov dword [ecx + 0x274], edi
movzx esi, word [esi + 0x15]
mov dword [ecx + 0x280], esi
movzx edx, word [eax + 0x13]
mov dword [ebp - 0x41c], edi
mov edi, dword [ebp - 0x418]
mov dword [ecx + 0x27c], edx
movzx ecx, word [eax + 0xf]
mov dword [edi + 0x278], ecx
movzx eax, word [eax + 0xd]
mov dword [edi + 0x284], eax
add eax, ecx
mov ecx, edi
add eax, edx
add eax, esi
mov esi, dword [ebp - 0x424]
add eax, dword [ebp - 0x41c]
mov dword [ecx + 0x288], eax
mov dword [ecx + 0x2ac], 0
mov dword [ecx + 0x2b0], 0
mov dword [ecx + 0x2b4], 0x3f800000
mov dword [ecx + 0x2b8], 0x3e5cdcde
mov dword [ecx + 0x2bc], 0x3f800000
mov dword [ecx + 0x2c0], 0x3f800000
mov dword [ecx + 0x2c4], 0x3f800000
mov dword [ecx + 0x2c8], 0x3e5cdcde
mov dword [ecx + 0x28c], 0x3f800000
mov dword [ecx + 0x290], 0
mov dword [ecx + 0x294], 0
mov dword [ecx + 0x298], 0x3e5cdcde
mov dword [ecx + 0x29c], 0
mov dword [ecx + 0x2a0], 0x3f800000
mov dword [ecx + 0x2a4], 0
mov dword [ecx + 0x2a8], 0x3e5cdcde
mov dword [ecx + 0x2cc], 0x3efafafc
mov dword [ecx + 0x2d0], 0x3e828283
mov dword [ecx + 0x2d4], 0x3efafafc
mov dword [ecx + 0x2d8], 0x3e5cdcde
movzx eax, word [esi + 0x17]
add eax, 0xffffffe7
cmp eax, 8
ja case.default.0x4721be
jmp dword [eax*4 + 0x474868]
mov dword [ecx + 0x2dc], 0x3f800000
mov dword [ecx + 0x2e0], 0x3f800000
mov dword [ecx + 0x2e4], 0x3f800000
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2dc], 0x3f800000
mov dword [ecx + 0x2e0], 0
mov dword [ecx + 0x2e4], 0
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2dc], 0
mov dword [ecx + 0x2e0], 0
mov dword [ecx + 0x2e4], 0x3f800000
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2dc], 0
mov dword [ecx + 0x2e0], 0x3f800000
mov dword [ecx + 0x2e4], 0
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2dc], 0
mov dword [ecx + 0x2e0], 0x3f800000
mov dword [ecx + 0x2e4], 0x3f800000
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2dc], 0x3f800000
mov dword [ecx + 0x2e0], 0
mov dword [ecx + 0x2e4], 0x3f800000
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2dc], 0x3f800000
mov dword [ecx + 0x2e0], 0x3f800000
mov dword [ecx + 0x2e4], 0
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2dc], 0x3f800000
mov dword [ecx + 0x2e0], 0x3f008081
mov dword [ecx + 0x2e4], 0
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2dc], 0x3f800000
mov dword [ecx + 0x2e0], 0x3f1b9b9c
mov dword [ecx + 0x2e4], 0x3f1b9b9c
mov dword [ecx + 0x2e8], 0x3e5cdcde
mov dword [ecx + 0x2ec], 1
jmp 0x4723b8
mov dword [ecx + 0x2ec], 0
mov edi, dword [ebp - 0x414]
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov dword [ebp - 0x418], eax
test eax, eax
jne 0x471d40
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je case.0x470322.8
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x47243a
mov edx, dword [esi + 1]
cmp eax, edx
jne 0x47243a
mov eax, dword [edi + 8]
cmp dword [eax + 0x178], edx
jne 0x472418
mov dword [edi + 0x27c], 0
mov edx, dword [ecx + 0x26c]
test edx, edx
je 0x472430
mov eax, dword [edx]
mov ecx, edx
push 1
call dword [eax]
mov ecx, dword [ebp - 0x41c]
mov dword [ecx + 0x26c], 0
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x41c], eax
test ecx, ecx
jne 0x4723f1
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x424], eax
mov dword [ebp - 0x418], eax
call fcn.0044c440
mov ecx, eax
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je case.0x470322.8
nop dword [eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x4724d9
cmp eax, dword [esi + 1]
jne 0x4724f1
call fcn.00516264
and eax, reloc.WS2_32.dll_accept
jns 0x4724a1
dec eax
or eax, 0xfffffffe
inc eax
mov ecx, dword [ebp - 0x41c]
inc eax
mov dword [ebp - 0x418], ecx
mov dword [ecx + 0x19c], eax
mov dword [ecx + 0x190], 0
mov eax, dword [esi + 0xd]
cmp eax, 0xfffffc18
je 0x4724f1
mov dword [ecx + 0x210], eax
mov eax, dword [esi + 0x11]
mov dword [ecx + 0x214], eax
jmp 0x4724f1
mov eax, dword [ecx + 0x17c]
mov edx, dword [ebp - 0x424]
cmp eax, dword [esi + 5]
cmove edx, ecx
mov dword [ebp - 0x424], edx
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x41c], eax
test ecx, ecx
jne 0x472480
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je case.0x470322.8
mov eax, dword [ebp - 0x424]
test eax, eax
je case.0x470322.8
mov edx, dword [esi + 9]
cmp edx, 0xffffffff
jne 0x472569
test byte [0x594390], 2
je 0x4725c4
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.0044ae20
lea eax, [ebp - 0x410]
push eax
call fcn.00492470
add esp, 0x14
jmp 0x4725be
cmp dword [esi + 0x15], 0
jne 0x472587
test byte [0x594390], 1
je 0x4725c4
push edx
lea eax, [ecx + 0x1b0]
push eax
push str._s_uses_her_staff_for__d_damage.
jmp 0x47254c
test byte [0x594390], 1
je 0x4725c4
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.0044ae20
lea eax, [ebp - 0x410]
push eax
call fcn.00492470
add esp, 0x18
mov ecx, dword [ebp - 0x418]
push ecx
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00486220
mov esi, eax
mov eax, dword [ebp - 0x424]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00486220
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.0044bd90
fstp dword [esi + 0x118]
add esp, 0x18
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
test eax, eax
je case.0x470322.8
cmp dword [eax + 0x178], 0xffffffff
jg 0x47267f
mov ecx, dword [eax + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x47267f
mov dword [eax + 0x1a4], 1
mov dword [eax + 0x190], 0
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
test eax, eax
jne 0x472657
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 0x418], eax
call fcn.0044c440
test eax, eax
je case.0x470322.8
nop
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
jle 0x4726c8
cmp ecx, dword [esi + 5]
jne 0x472701
mov dword [ebp - 0x414], eax
jmp 0x472701
mov edx, dword [eax + 0x17c]
cmp edx, dword [esi + 1]
jne 0x4726ef
mov dword [eax + 0x19c], 1
mov dword [eax + 0x190], 0
mov dword [ebp - 0x418], eax
jmp 0x472701
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.0044c4f0
test eax, eax
jne 0x4726b0
mov ecx, dword [ebp - 0x418]
test ecx, ecx
je case.0x470322.8
mov edx, dword [ebp - 0x414]
test edx, edx
je case.0x470322.8
mov eax, dword [esi + 9]
cmp eax, 0xffffffff
jne 0x472771
test byte [0x594390], 2
je 0x472819
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.0044ae20
lea eax, [ebp - 0x410]
push eax
call fcn.00492470
add esp, 0x14
jmp 0x472813
test byte [0x594390], 1
je 0x4727af
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.0044ae20
lea eax, [ebp - 0x410]
push eax
call fcn.00492470
mov edx, dword [ebp - 0x414]
add esp, 0x18
mov ecx, dword [edi + 8]
cmp edx, ecx
jne 0x4727db
mov eax, dword [esi + 9]
sub dword [ecx + 0x210], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x210]
mov dword [0x594350], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x214]
mov dword [0x594354], 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.00460ce0
mov ecx, dword [edi + 0x574]
call fcn.00460bc0
mov ecx, dword [ebp - 0x418]
push ecx
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00486220
mov esi, eax
mov eax, dword [ebp - 0x414]
jmp 0x4725db
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x41c], eax
call fcn.0044c440
test eax, eax
je case.0x470322.8
nop dword [eax]
mov ecx, dword [eax + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x472875
mov dword [eax + 0x1a0], 1
mov dword [eax + 0x190], 0
mov dword [ebp - 0x41c], eax
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
test eax, eax
jne 0x472850
mov eax, dword [ebp - 0x41c]
test eax, eax
je case.0x470322.8
test byte [0x594390], 2
je case.0x470322.8
add eax, 0x1b0
push eax
lea eax, [ebp - 0x410]
push str.The__s_attacks_everyone_
push eax
call fcn.0044ae20
lea eax, [ebp - 0x410]
push eax
call fcn.00492470
add esp, 0x10
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov edx, eax
test edx, edx
je case.0x470322.8
nop dword [eax]
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x4728fe
mov eax, dword [esi + 5]
mov dword [edx + 0x1ac], eax
mov dword [edx + 0x190], 0
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov edx, eax
test edx, edx
jne 0x4728e0
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov dword [ebp - 0x418], eax
test eax, eax
je case.0x470322.8
nop word [eax + eax]
mov ecx, dword [eax + 0x178]
cmp ecx, dword [esi + 1]
jne 0x4729c3
mov ecx, dword [edi + 0x18]
push eax
call fcn.0044c630
mov eax, dword [ebp - 0x418]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048d660
mov eax, dword [ebp - 0x418]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00486200
mov eax, dword [ebp - 0x418]
add eax, 0x1b0
push eax
lea eax, [ebp - 0x410]
push str._s_is_defeated_
push eax
call fcn.0044ae20
lea eax, [ebp - 0x410]
push eax
call fcn.00492470
mov ecx, dword [ebp - 0x418]
add esp, 0x10
cmp dword [edi + 8], ecx
jne 0x4729bd
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.0044c4f0
mov dword [ebp - 0x418], eax
test eax, eax
jne 0x472930
jmp case.0x470322.8
and dword [0x592828], 0xfffffffe
call fcn.00483e80
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.0044c440
test eax, eax
je 0x472a8b
mov esi, eax
mov ecx, dword [edi + 0x18]
cmp esi, dword [edi + 8]
je 0x472a7a
push esi
call fcn.0044c630
mov eax, dword [esi + 0x16c]
cmp eax, 0xffffffff
jle 0x472a68
mov ecx, dword [edi + 0x154]
push eax
push dword [esi + 0x168]
push dword [esi + 0x164]
call fcn.0048d660
mov ecx, dword [edi + 4]
push esi
push dword [esi + 0x170]
call fcn.00486200
mov eax, dword [esi]
mov ecx, esi
push 1
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.0044c440
jmp 0x472a7f
call fcn.0044c4f0
mov esi, eax
test esi, esi
jne 0x472a28
mov esi, dword [ebp - 0x424]
call fcn.00483e80
mov ecx, edi
call fcn.0046b460
call fcn.00483e80
mov cl, byte [esi + 2]
movsx eax, cl
mov dword [0x593170], eax
cmp eax, 1
je 0x4733db
cmp cl, 3
je 0x4733db
cmp cl, 4
jne 0x472e4b
push 0xfffffffffffffffe
lea ecx, [edi + 0x430]
call fcn.00468770
call fcn.00483e80
mov eax, dword [edi + 0x164]
add esi, 0xf
test eax, eax
je 0x472af3
movsx ecx, byte [eax + 0x1c4]
movzx eax, byte [esi]
cmp eax, ecx
je 0x473142
push str.delete_realm_ptr
mov ecx, 0x59280c
call fcn.004461f0
push dword [edi + 0x164]
mov ecx, 0x59280c
call fcn.00446160
push 0x54b9b8
mov ecx, 0x59280c
call fcn.004461f0
mov ecx, dword [edi + 0x164]
test ecx, ecx
je 0x472b3b
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x164], 0
call fcn.00483e80
movzx eax, byte [esi]
cmp eax, 6
ja case.0x472b4c.0
jmp dword [eax*4 + 0x47488c]
push str.new_realm_object_for_the_dead_n
mov ecx, 0x59280c
call fcn.004461f0
push 0x1d4
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 8
test eax, eax
je 0x472b8d
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.004afbd0
jmp 0x472b8f
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.004b1470
call fcn.00483e80
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x164]
push 0x19
push dword [eax + 0x2a3d8]
push str.dat_realm_dead_height.png
call fcn.004b04d0
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x164]
push str.dat_realm_dead_color.png
push dword [eax + 0x2a3d8]
call fcn.004b1b70
call fcn.00483e80
mov ecx, dword [edi + 0x164]
push 1
call fcn.004afd90
jmp 0x473142
push str.new_realm_object_for_dragons_n
mov ecx, 0x59280c
call fcn.004461f0
push 0x1d4
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 9
test eax, eax
je 0x472c3b
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.004afbd0
jmp 0x472c3d
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.004b1470
call fcn.00483e80
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x164]
push 0x19
push dword [eax + 0x2a3d8]
push str.dat_realm_dragons_height.png
call fcn.004b04d0
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x164]
push str.dat_realm_dragon_color.png
push dword [eax + 0x2a3d8]
call fcn.004b1b70
call fcn.00483e80
mov ecx, dword [edi + 0x164]
push 2
call fcn.004afd90
jmp 0x473142
push str.test_realm_object_n
mov ecx, 0x59280c
call fcn.004461f0
push 0x1d4
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0xa
test eax, eax
je 0x472ce9
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.004afbd0
jmp 0x472ceb
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.004b1470
call fcn.00483e80
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x164]
push 0x19
push dword [eax + 0x2a3d8]
push str.dat_test_height.png
call fcn.004b04d0
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x164]
push str.dat_test_texture.png
push dword [eax + 0x2a3d8]
call fcn.004b1b70
call fcn.00483e80
mov ecx, dword [edi + 0x164]
push 6
call fcn.004afd90
jmp 0x473142
push str.new_realm_object_for_spirits_n
mov ecx, 0x59280c
call fcn.004461f0
push 0x1d4
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 7
test eax, eax
je 0x472d97
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.004afbd0
jmp 0x472d99
xor eax, eax
push str.init___n
mov ecx, 0x59280c
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x164], eax
call fcn.004461f0
mov ecx, dword [edi + 0x164]
push 0x54ce60
push str.dat_realm_spirits_color.png
call fcn.004b1470
push str.generate___n
mov ecx, 0x59280c
call fcn.004461f0
call fcn.00483e80
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x164]
push 0x19
push dword [eax + 0x2a3d8]
push str.dat_realm_spirits_height.png
call fcn.004b04d0
push str.loadTexture___n
mov ecx, 0x59280c
call fcn.004461f0
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x164]
push 0x54ce60
push dword [eax + 0x2a3d8]
call fcn.004b1b70
push str.CreateSpiritStaticPositions___n
mov ecx, 0x59280c
call fcn.004461f0
call fcn.00483e80
mov ecx, dword [edi + 0x164]
push 0
call fcn.004afd90
jmp 0x473142
cmp cl, 2
jne 0x473169
push 0xfffffffffffffffd
lea ecx, [edi + 0x430]
call fcn.00468770
call fcn.00483e80
mov eax, dword [edi + 0x168]
add esi, 0xf
test eax, eax
je 0x472e85
movsx ecx, byte [eax + 0x1c4]
movzx eax, byte [esi]
cmp eax, ecx
je 0x473142
push str.delete_labyrinth_ptr
mov ecx, 0x59280c
call fcn.004461f0
push dword [edi + 0x168]
mov ecx, 0x59280c
call fcn.00446160
push 0x54b9b8
mov ecx, 0x59280c
call fcn.004461f0
mov ecx, dword [edi + 0x168]
test ecx, ecx
je 0x472ecd
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [edi + 0x168], 0
call fcn.00483e80
movzx eax, byte [esi]
sub eax, 3
je 0x47305e
sub eax, 1
je 0x472fa7
sub eax, 1
jne 0x47305e
push str.new_labyrinth_object_n
mov ecx, 0x59280c
call fcn.004461f0
push 0x41d8
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0xd
test eax, eax
je 0x472f2a
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.0049ecb0
jmp 0x472f2c
xor eax, eax
push str.init___n
mov ecx, 0x59280c
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x168], eax
call fcn.004461f0
mov ecx, dword [edi + 0x168]
push str.datlabyrinth3_ceiling.png
push str.datlabyrinth_color.png
call fcn.004a0a60
push str.generate___n
mov ecx, 0x59280c
call fcn.004461f0
call fcn.00483e80
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x168]
push 0x19
push dword [eax + 0x2a3d8]
push str.datlabyrinth3_height.png
call fcn.0049f320
push str.loadTexture___n
mov ecx, 0x59280c
call fcn.004461f0
push str.datlabyrinth3_floor.png
jmp 0x47310d
push str.new_labyrinth_object_n
mov ecx, 0x59280c
call fcn.004461f0
push 0x41d8
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0xc
test eax, eax
je 0x472fe1
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.0049ecb0
jmp 0x472fe3
xor eax, eax
push str.init___n
mov ecx, 0x59280c
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x168], eax
call fcn.004461f0
mov ecx, dword [edi + 0x168]
push str.datlabyrinth2_texture.png
push str.datlabyrinth_color.png
call fcn.004a0a60
push str.generate___n
mov ecx, 0x59280c
call fcn.004461f0
call fcn.00483e80
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x168]
push 0x19
push dword [eax + 0x2a3d8]
push str.datlabyrinth2_height.png
call fcn.0049f320
push str.loadTexture___n
mov ecx, 0x59280c
call fcn.004461f0
push str.datlabyrinth2_texture.png
jmp 0x47310d
push str.new_labyrinth_object_n
mov ecx, 0x59280c
call fcn.004461f0
push 0x41d8
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0xb
test eax, eax
je 0x473098
movzx ecx, byte [esi]
push ecx
mov ecx, eax
call fcn.0049ecb0
jmp 0x47309a
xor eax, eax
push str.init___n
mov ecx, 0x59280c
mov dword [ebp - 4], 0xffffffff
mov dword [edi + 0x168], eax
call fcn.004461f0
mov ecx, dword [edi + 0x168]
push 0
push str.datlabyrinth_color.png
call fcn.004a0a60
push str.generate___n
mov ecx, 0x59280c
call fcn.004461f0
call fcn.00483e80
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x168]
push 0x19
push dword [eax + 0x2a3d8]
push str.datlabyrinth_height.png
call fcn.0049f320
push str.loadTexture___n
mov ecx, 0x59280c
call fcn.004461f0
push 0x54d080
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x168]
push dword [eax + 0x2a3d8]
call fcn.004a0ec0
push str.CreateStaticPositions___n
mov ecx, 0x59280c
call fcn.004461f0
call fcn.00483e80
mov ecx, dword [edi + 0x168]
call fcn.0049ee70
movzx eax, byte [esi]
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.0x470322.8
test cl, cl
jne case.0x470322.8
mov ecx, dword [edi + 0x154]
movzx eax, byte [esi + 0xf]
cmp eax, dword [ecx + 0x110]
je 0x4733c6
push eax
call fcn.0048d0d0
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x154]
push 0
push 0x100
push 0x100
push dword [eax + 0x2a3d8]
call fcn.0048acb0
mov eax, dword [0x5929f8]
mov ecx, dword [edi + 0x154]
push str.datgrassfull.png
push dword [eax + 0x2a3d8]
call fcn.0048d560
mov ecx, dword [edi + 0x154]
call fcn.00489a70
mov eax, dword [0x59315c]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x4731fb
mov ecx, eax
call fcn.004b2000
push 0x24
push dword [ebp - 0x420]
call fcn.004b630d
add esp, 8
mov eax, dword [0x593160]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x473221
mov ecx, eax
call fcn.004b2000
push 0x24
push dword [ebp - 0x420]
call fcn.004b630d
add esp, 8
mov eax, dword [0x593164]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x473247
mov ecx, eax
call fcn.004b2000
push 0x24
push dword [ebp - 0x420]
call fcn.004b630d
add esp, 8
mov eax, dword [0x593168]
mov dword [ebp - 0x420], eax
test eax, eax
je 0x47326d
mov ecx, eax
call fcn.004b2000
push 0x24
push dword [ebp - 0x420]
call fcn.004b630d
add esp, 8
push 0x24
call fcn.004b62dd
mov edx, eax
add esp, 4
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], 0xe
test edx, edx
je 0x4732b7
push ecx
mov ecx, dword [0x57c1dc]
shl ecx, 5
add ecx, dword [0x57c1dc]
mov dword [esp], 0x3e4ccccd
push str.datgrass_bill_1.png
lea eax, [ecx*2 + 5]
mov ecx, edx
push eax
call fcn.004b1ee0
jmp 0x4732b9
xor eax, eax
push 0x24
mov dword [ebp - 4], 0xffffffff
mov dword [0x59315c], eax
call fcn.004b62dd
mov edx, eax
add esp, 4
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], 0xf
test edx, edx
je 0x47330f
push ecx
mov ecx, dword [0x57c1dc]
shl ecx, 5
add ecx, dword [0x57c1dc]
mov dword [esp], 0x3e800000
push str.datgrass_bill_2.png
lea eax, [ecx*2 + 5]
mov ecx, edx
push eax
call fcn.004b1ee0
jmp 0x473311
xor eax, eax
push 0x24
mov dword [ebp - 4], 0xffffffff
mov dword [0x593160], eax
call fcn.004b62dd
mov edx, eax
add esp, 4
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], 0x10
test edx, edx
je 0x473367
push ecx
mov ecx, dword [0x57c1dc]
shl ecx, 5
add ecx, dword [0x57c1dc]
mov dword [esp], 0x3e99999a
push str.datgrass_bill_3.png
lea eax, [ecx*2 + 5]
mov ecx, edx
push eax
call fcn.004b1ee0
jmp 0x473369
xor eax, eax
push 0x24
mov dword [ebp - 4], 0xffffffff
mov dword [0x593164], eax
call fcn.004b62dd
mov edx, eax
add esp, 4
mov dword [ebp - 0x428], edx
mov dword [ebp - 4], 0x11
test edx, edx
je 0x4733bf
push ecx
mov ecx, dword [0x57c1dc]
shl ecx, 5
add ecx, dword [0x57c1dc]
mov dword [esp], 0x3e99999a
push str.datgrass_bill_4.png
lea eax, [ecx*2 + 5]
mov ecx, edx
push eax
call fcn.004b1ee0
jmp 0x4733c1
xor eax, eax
mov dword [0x593168], eax
movzx eax, byte [esi + 0xf]
mov dword [edi + 0x2a0], eax
mov dword [edi + 0x298], eax
jmp case.0x470322.8
xor eax, eax
cmp cl, 3
sete al
mov dword [ebp - 0x41c], eax
xor eax, eax
cmp cl, 3
lea ecx, [edi + 0x430]
setne al
lea eax, [eax*2 - 4]
push eax
call fcn.00468770
call fcn.00483e80
mov ecx, dword [edi + 0x160]
test ecx, ecx
jne 0x47342f
push 0x1c0
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 5
jmp 0x47345a
mov eax, dword [esi + 0xb]
cmp eax, dword [0x593180]
je 0x473481
mov eax, dword [ecx]
push 1
call dword [eax]
push 0x1c0
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 6
test eax, eax
je 0x473472
push str.dungeon
push dword [ebp - 0x41c]
mov ecx, eax
call fcn.004805f0
jmp 0x473474
xor eax, eax
mov dword [edi + 0x160], eax
mov dword [ebp - 4], 0xffffffff
call fcn.00483e80
mov eax, dword [esi + 0x10]
lea edx, [ebp - 0x44c]
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 [0x592b14]
push 0
push 0
mov dword [ebp - 0x44b], eax
mov eax, dword [ecx]
push edx
push 5
call dword [eax + 4]
jmp case.0x470322.8
mov ecx, dword [edi + 0x160]
test ecx, ecx
je case.0x470322.8
push esi
call fcn.00481cf0
jmp case.0x470322.8
mov ecx, dword [edi + 0x160]
test ecx, ecx
je case.0x470322.8
push esi
call fcn.00481b10
jmp case.0x470322.8
mov eax, dword [esi + 1]
mov dword [edi + 0x420], eax
jmp case.0x470322.8
mov eax, dword [esi + 1]
mov dword [edi + 0x74c], eax
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov edx, eax
mov dword [ebp - 0x41c], edx
test edx, edx
je 0x4735ad
mov ecx, dword [edx + 0x178]
cmp ecx, dword [esi + 1]
jne 0x473599
mov eax, dword [edx + 0x210]
cmp eax, dword [esi + 5]
jle 0x473587
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.00460ce0
mov ecx, dword [edi + 0x574]
call fcn.00460bc0
mov edx, dword [ebp - 0x41c]
mov eax, dword [esi + 5]
mov dword [edx + 0x210], eax
mov eax, dword [esi + 9]
mov dword [edx + 0x214], eax
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov edx, eax
mov dword [ebp - 0x41c], eax
test edx, edx
jne 0x473533
mov eax, dword [edi + 8]
test eax, eax
je case.0x470322.8
mov eax, dword [eax + 0x210]
mov dword [0x594350], eax
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x214]
mov dword [0x594354], eax
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov edx, eax
mov dword [ebp - 0x418], edx
test edx, edx
je case.0x470322.8
nop
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x473680
mov eax, dword [edx + 0x210]
cmp eax, dword [esi + 5]
jle 0x47365c
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.00460ce0
mov eax, dword [ebp - 0x418]
mov ecx, dword [eax + 0x180]
mov ecx, dword [edi + ecx*4 + 0x4ec]
call fcn.00460bc0
mov edx, dword [ebp - 0x418]
mov eax, dword [esi + 5]
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.0044c4b0
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov edx, eax
mov dword [ebp - 0x418], eax
test edx, edx
jne 0x4735f0
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je case.0x470322.8
movss xmm4, dword [0x54d1b0]
movss dword [ebp - 0x420], xmm4
mov eax, dword [esi + 1]
cmp eax, 0xffffffff
je 0x473722
cmp dword [ecx + 0x178], eax
jne 0x4737d8
movsx eax, byte [esi + 9]
mov dword [ecx + 0x254], eax
mov dword [ecx + 0x258], 0
mov dword [ecx + 0x25c], 0x3f800000
mov dword [ecx + 0x260], 0x3f800000
mov dword [ecx + 0x264], 0x3f800000
mov dword [ecx + 0x268], 0
mov ecx, dword [edi + 0x18]
call fcn.0044c4b0
jmp 0x4737d8
mov eax, dword [ecx + 0x17c]
cmp eax, dword [esi + 5]
jne 0x4737d8
movsx eax, byte [esi + 9]
mov dword [ecx + 0x254], eax
mov dword [ecx + 0x258], 0
movsx edx, byte [esi + 9]
movzx esi, byte [edx + edx*2 + 0x579fc8]
movzx ecx, byte [edx + edx*2 + 0x579fc9]
mov eax, esi
movzx edx, byte [edx + edx*2 + 0x579fca]
shl eax, 8
or ecx, eax
movd xmm0, esi
mov eax, ecx
shl eax, 8
or edx, eax
movzx eax, cl
cvtdq2ps xmm0, xmm0
movd xmm3, eax
movzx eax, dl
shr edx, 0x18
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mov eax, dword [ebp - 0x41c]
movd xmm1, edx
cvtdq2ps xmm2, xmm2
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm4
mulss xmm3, xmm4
mulss xmm2, xmm4
movss dword [eax + 0x25c], xmm0
mulss xmm1, xmm4
movss dword [eax + 0x260], xmm3
movss dword [eax + 0x264], xmm2
movss dword [eax + 0x268], xmm1
mov ecx, dword [edi + 0x18]
call fcn.0044c4b0
mov esi, dword [ebp - 0x424]
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
movss xmm4, dword [ebp - 0x420]
mov ecx, eax
mov dword [ebp - 0x41c], eax
test ecx, ecx
jne 0x4736c5
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov edx, eax
test edx, edx
je case.0x470322.8
nop
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x473837
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.0044c4b0
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov edx, eax
test edx, edx
jne 0x473810
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov edx, eax
test edx, edx
je case.0x470322.8
nop dword [eax]
mov ecx, dword [edx + 0x17c]
cmp ecx, dword [esi + 1]
jne 0x47387c
mov al, byte [esi + 5]
mov byte [edx + 0x18e], al
mov ecx, dword [edi + 0x18]
call fcn.0044c4b0
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov edx, eax
test edx, edx
jne 0x473860
jmp case.0x470322.8
mov dword [edi + 0x2a0], 0
mov dword [0x594398], 1
jmp case.0x470322.8
cmp byte [esi + 0xe], 1
mov dword [ebp - 0x418], 0
jne 0x473968
movzx eax, byte [esi + 9]
mov ecx, dword [edi + 0x154]
push eax
call fcn.0048cc40
movzx eax, byte [esi + 0xa]
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x420]
push eax
call fcn.0048cd50
movss xmm1, dword [ebp - 0x420]
sub esp, 8
fstp dword [ebp - 0x41c]
movss xmm0, dword [ebp - 0x41c]
mov ecx, edi
movss dword [ebp - 0x434], xmm1
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
call fcn.00474bf0
movss xmm0, dword [ebp - 0x41c]
sub esp, 0x10
mov ecx, esp
movss dword [ebp - 0x42c], xmm0
mov eax, dword [ebp - 0x42c]
fstp dword [ebp - 0x430]
movq xmm0, qword [ebp - 0x434]
mov dword [esp + 0xc], 0x42480000
movq qword [ecx], xmm0
mov dword [ecx + 8], eax
mov ecx, dword [edi + 0x580]
call fcn.00460ce0
mov ecx, dword [edi + 0x580]
call fcn.00460bc0
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov dword [ebp - 0x424], eax
test eax, eax
je 0x4739ac
xor ecx, ecx
nop dword [eax]
test ecx, ecx
jne 0x4739ac
mov ecx, dword [eax + 0x178]
cmp ecx, 0xffffffff
je 0x4739da
cmp ecx, dword [esi + 1]
je 0x4739eb
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, dword [ebp - 0x418]
mov dword [ebp - 0x424], eax
test eax, eax
jne 0x473980
push 0x4d8
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0x12
test eax, eax
je 0x4739f8
push 0x54cc08
push 0
mov ecx, eax
call fcn.004782d0
jmp 0x4739fa
mov eax, dword [eax + 0x17c]
cmp eax, dword [esi + 5]
jne 0x473994
mov eax, dword [ebp - 0x424]
mov ecx, 1
mov dword [ebp - 0x418], ecx
jmp 0x4739a8
xor eax, eax
mov ecx, dword [edi + 0x18]
push eax
mov dword [ebp - 0x414], eax
mov dword [ebp - 4], 0xffffffff
call fcn.0044c290
mov eax, dword [ebp - 0x414]
push 0x54ab80
mov dword [eax + 0x160], 0xa
add eax, 0x1b0
push eax
call fcn.00468db0
add esp, 8
call dword [sym.imp.WINMM.dll_timeGetTime]
movsx ecx, word [esi + 0xf]
imul ecx, ecx, 0x3e8
add eax, ecx
mov ecx, dword [ebp - 0x414]
mov dword [ecx + 0x238], eax
xor eax, eax
cmp ax, word [esi + 0xf]
jne 0x473a5f
mov dword [ecx + 0x238], eax
movzx eax, byte [esi + 0xe]
mov dword [ecx + 0x234], eax
movzx eax, byte [esi + 0xb]
movzx ecx, byte [esi + 0xc]
or eax, 0x3700
movzx edx, byte [esi + 0xd]
mov dword [ebp - 0x420], eax
shl eax, 8
or ecx, eax
movss xmm2, dword [0x54d1b0]
mov eax, ecx
shl eax, 8
or edx, eax
movzx eax, cl
movd xmm4, eax
movzx eax, dl
shr edx, 0x18
cmp dword [ebp - 0x418], 0
cvtdq2ps xmm4, xmm4
movd xmm3, eax
mov eax, dword [ebp - 0x420]
movzx eax, al
movd xmm1, edx
cvtdq2ps xmm3, xmm3
movd xmm0, eax
mov eax, dword [ebp - 0x414]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm2
mulss xmm4, xmm2
movss dword [eax + 0x224], xmm0
mulss xmm3, xmm2
movss dword [eax + 0x228], xmm4
mulss xmm1, xmm2
movss dword [eax + 0x22c], xmm3
movss dword [eax + 0x230], xmm1
movzx ecx, byte [esi + 9]
mov dword [eax + 0x164], ecx
movzx eax, byte [esi + 0xa]
mov esi, dword [ebp - 0x414]
mov dword [esi + 0x168], eax
je 0x473b7c
mov eax, dword [ebp - 0x424]
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.0x470322.8
cmp dword [0x593170], 4
push ecx
jne 0x473be8
mov esi, dword [edi + 0x164]
mov ecx, esi
call fcn.004b1060
fstp dword [ebp - 0x420]
mov ecx, esi
call fcn.004afd40
fmul dword [0x54b8f4]
mov esi, dword [ebp - 0x414]
fadd dword [ebp - 0x420]
push dword [esi + 0x168]
fstp dword [esi + 0x114]
mov ecx, dword [edi + 0x164]
call fcn.004b1120
mov ecx, dword [edi + 0x164]
fstp dword [ebp - 0x420]
call fcn.004afd40
fmul dword [0x54b8f4]
fadd dword [ebp - 0x420]
jmp 0x473c44
mov ecx, dword [edi + 0x154]
call fcn.0048cc40
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x420]
call fcn.00489980
fmul dword [0x54b8f4]
push dword [esi + 0x168]
fadd dword [ebp - 0x420]
fstp dword [esi + 0x114]
mov ecx, dword [edi + 0x154]
call fcn.0048cd50
mov ecx, dword [edi + 0x154]
fstp dword [ebp - 0x420]
call fcn.00489980
fmul dword [0x54b8f4]
fadd dword [ebp - 0x420]
fstp dword [ebp - 0x41c]
movss xmm1, dword [ebp - 0x41c]
sub esp, 8
movss dword [esi + 0x11c], xmm1
mov ecx, edi
movss xmm0, dword [esi + 0x114]
mov dword [esi + 0x108], 0
movss dword [esp + 4], xmm1
mov dword [esi + 0x10c], 0
movss dword [esp], xmm0
call fcn.00474bf0
fadd dword [0x54ad88]
fstp dword [esi + 0x118]
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov dword [ebp - 0x418], eax
test eax, eax
je case.0x470322.8
mov ecx, dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 0x41c], ecx
nop
mov eax, dword [eax + 0x178]
cmp eax, dword [esi + 1]
jne 0x473d9c
call ecx
mov ecx, dword [ebp - 0x418]
movss xmm4, dword [0x54d1b0]
mov dword [ecx + 0x250], eax
mov dword [ecx + 0x23c], 0
movzx eax, byte [esi + 5]
or eax, 0x3700
mov dword [ebp - 0x420], eax
mov ecx, eax
movzx eax, byte [esi + 6]
shl ecx, 8
or ecx, eax
movzx eax, byte [esi + 7]
mov edx, ecx
shl edx, 8
or edx, eax
movzx eax, cl
movd xmm3, eax
movzx eax, dl
shr edx, 0x18
cvtdq2ps xmm3, xmm3
movd xmm2, eax
mov eax, dword [ebp - 0x420]
movzx eax, al
movd xmm1, edx
cvtdq2ps xmm2, xmm2
movd xmm0, eax
mov eax, dword [ebp - 0x418]
cvtdq2ps xmm0, xmm0
cvtdq2ps xmm1, xmm1
mulss xmm0, xmm4
mulss xmm3, xmm4
mulss xmm2, xmm4
movss dword [eax + 0x240], xmm0
mulss xmm1, xmm4
movss dword [eax + 0x244], xmm3
movss dword [eax + 0x248], xmm2
movss dword [eax + 0x24c], xmm1
cmp byte [esi + 5], 0
jne 0x473d94
cmp byte [esi + 6], 0
jne 0x473d94
cmp byte [esi + 7], 0
jne 0x473d94
mov dword [eax + 0x23c], 0xffffffff
mov ecx, dword [edi + 0x18]
call fcn.0044c4b0
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, dword [ebp - 0x41c]
mov dword [ebp - 0x418], eax
test eax, eax
jne 0x473cc0
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
mov dword [ebp - 0x41c], ecx
test ecx, ecx
je case.0x470322.8
mov eax, dword [ecx + 0x178]
cmp eax, dword [esi + 1]
jne 0x473e26
movzx eax, byte [esi + 8]
imul eax, eax, 0xd0
push esi
add eax, 0x338
add ecx, eax
call fcn.004798b0
cmp byte [esi + 0xd], 0
jne 0x473e1e
mov eax, dword [ebp - 0x41c]
mov ecx, dword [edi + 8]
mov eax, dword [eax + 0x178]
cmp eax, dword [ecx + 0x178]
jne 0x473e1e
mov dword [edi + 0x290], 1
mov ecx, dword [edi + 0x18]
call fcn.0044c4b0
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x41c], eax
test ecx, ecx
jne 0x473dd5
jmp case.0x470322.8
mov ecx, dword [edi + 0x18]
xor eax, eax
mov dword [ebp - 0x418], eax
mov dword [ebp - 0x414], eax
call fcn.0044c440
mov ecx, eax
test ecx, ecx
je case.0x470322.8
nop
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x473e97
cmp eax, dword [esi + 1]
jne 0x473eaf
movzx eax, byte [esi + 9]
imul eax, eax, 0xd0
cmp dword [eax + ecx + 0x338], 0
je 0x473eaf
mov dword [eax + ecx + 0x378], 1
mov dword [ebp - 0x414], ecx
jmp 0x473eaf
mov eax, dword [ecx + 0x17c]
mov edx, dword [ebp - 0x418]
cmp eax, dword [esi + 5]
cmove edx, ecx
mov dword [ebp - 0x418], edx
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
test ecx, ecx
jne 0x473e60
mov ecx, dword [ebp - 0x414]
test ecx, ecx
je case.0x470322.8
mov eax, dword [ebp - 0x418]
test eax, eax
je case.0x470322.8
test byte [0x594390], 1
je 0x473f21
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.0044ae20
lea eax, [ebp - 0x410]
push eax
call fcn.00492470
mov ecx, dword [ebp - 0x414]
add esp, 0x18
push ecx
push dword [ecx + 0x170]
mov ecx, dword [edi + 4]
call fcn.00486220
mov ecx, dword [edi + 4]
mov esi, eax
mov eax, dword [ebp - 0x418]
push eax
push dword [eax + 0x170]
call fcn.00486220
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.0044bd90
mov edx, dword [ebp - 0x424]
add esp, 0x18
fstp dword [esi + 0x118]
mov esi, dword [ebp - 0x414]
movzx eax, byte [edx + 9]
imul ecx, eax, 0xd0
mov eax, dword [ebp - 0x418]
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 [0x54d1e8]
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.0x470322.8
mov eax, dword [esi + 1]
mov dword [0x594390], eax
jmp case.0x470322.8
push 0x14
call fcn.004b62dd
add esp, 4
mov dword [ebp - 0x428], eax
mov dword [ebp - 4], 0x13
test eax, eax
je 0x474050
push 0x46
mov ecx, eax
call fcn.004463b0
mov dword [ebp - 0x418], eax
jmp 0x47405a
mov dword [ebp - 0x418], 0
push dword [ebp + 0xc]
mov dword [ebp - 4], 0xffffffff
push esi
mov esi, dword [ebp - 0x418]
mov ecx, esi
call fcn.004468f0
lea eax, [ebp - 0x441]
mov dword [esi + 8], 0
push eax
mov ecx, esi
call fcn.00446410
lea eax, [ebp - 0x450]
mov ecx, esi
push eax
call fcn.00446470
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov dword [ebp - 0x41c], eax
test eax, eax
je 0x474103
nop dword [eax + eax]
mov ecx, dword [eax + 0x178]
cmp ecx, dword [ebp - 0x450]
jne 0x4740eb
xor edi, edi
mov ecx, dword [ebp - 0x418]
lea esi, [eax + 0x1d0]
add esi, edi
push esi
call fcn.004463f0
cmp byte [esi], 0
je 0x4740e5
mov eax, dword [ebp - 0x41c]
inc edi
cmp edi, 0x41
jl 0x4740c0
mov edi, dword [ebp - 0x414]
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov dword [ebp - 0x41c], eax
test eax, eax
jne 0x4740b0
mov esi, dword [ebp - 0x418]
mov ecx, esi
call fcn.004463e0
push 0x14
push esi
call fcn.004b630d
add esp, 8
jmp case.0x470322.8
mov eax, dword [edi + 8]
mov eax, dword [eax + 0x178]
cmp eax, dword [esi + 1]
jne case.0x470322.8
mov dword [edi + 0x280], 1
jmp case.0x470322.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 [0x54b8f8]
cvtdq2ps xmm0, xmm0
addss xmm2, dword [0x54b918]
mulss xmm0, dword [0x54b8f8]
addss xmm0, dword [0x54b918]
movss dword [ebp - 0x434], xmm2
movss dword [esp + 4], xmm0
movss dword [ebp - 0x42c], xmm0
movss dword [esp], xmm2
call fcn.00474bf0
cmp dword [esi + 1], 0
fadd dword [0x54d1e0]
fstp dword [ebp - 0x430]
je 0x4742ae
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
test ecx, ecx
je 0x4742ae
mov eax, dword [ebp - 0x42c]
mov dword [ebp - 0x414], eax
nop dword [eax + eax]
mov eax, dword [ecx + 0x178]
cmp eax, 0xffffffff
jle 0x47421e
cmp eax, dword [esi + 1]
jne 0x47421e
movq xmm0, qword [ecx + 0x114]
mov eax, dword [ecx + 0x11c]
mov ecx, dword [edi + 0x18]
movq qword [ebp - 0x434], xmm0
movss xmm0, dword [ebp - 0x430]
addss xmm0, dword [0x54d1e4]
mov dword [ebp - 0x414], eax
movss dword [ebp - 0x430], xmm0
call fcn.0044c4b0
mov ecx, eax
cmp dword [ecx + 0x160], 0xc
jne 0x47429a
movzx eax, byte [esi + 5]
cmp dword [ecx + 0x164], eax
jne 0x47429a
movzx eax, byte [esi + 6]
cmp dword [ecx + 0x168], eax
jne 0x47429a
movq xmm0, qword [ecx + 0x114]
sub esp, 8
mov eax, dword [ecx + 0x11c]
mov ecx, edi
movq qword [ebp - 0x434], xmm0
mov dword [ebp - 0x42c], eax
movss xmm0, dword [ebp - 0x42c]
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x434]
mov dword [ebp - 0x414], eax
movss dword [esp], xmm0
call fcn.00474bf0
fadd dword [0x54d1e0]
fstp dword [ebp - 0x430]
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
test ecx, ecx
jne 0x4741d0
jmp 0x4742ba
mov eax, dword [ebp - 0x42c]
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.0044b1e0
xor eax, eax
add esp, 0x10
fstp dword [ebp - 0x418]
mov dword [ebp - 0x424], eax
cmp byte [esi + 7], al
jne 0x47432c
cmp byte [esi + 8], al
jne 0x47432c
cmp byte [esi + 9], al
je 0x4743b4
movss xmm0, dword [ebp - 0x418]
movss xmm1, dword [0x54d24c]
comiss xmm1, xmm0
mov dword [ebp - 0x424], 1
jbe 0x4744b9
movq xmm0, qword [ebp - 0x434]
sub esp, 0xc
mov ecx, dword [ebp - 0x414]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x593148]
call fcn.004aa330
movss xmm0, dword [esi + 0xf]
sub esp, 0x14
divss xmm0, dword [0x54d268]
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 [0x593148]
movss dword [esp + 0x10], xmm0
push 0x32
call fcn.004a9f30
movss xmm1, dword [0x54d24c]
movss xmm0, dword [ebp - 0x418]
comiss xmm1, xmm0
jbe 0x4744b9
movq xmm0, qword [ebp - 0x434]
sub esp, 0xc
mov ecx, dword [ebp - 0x414]
mov eax, esp
movq qword [eax], xmm0
mov dword [eax + 8], ecx
mov ecx, dword [0x59314c]
call fcn.004ab3f0
movss xmm0, dword [esi + 0xf]
sub esp, 0x14
divss xmm0, dword [0x54d254]
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 [0x54d1b0]
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 [0x59314c]
call fcn.004aaff0
movss xmm1, dword [ebp - 0x418]
addss xmm1, dword [0x54ad88]
movss xmm0, dword [esi + 0xf]
divss xmm0, xmm1
movss dword [0x59316c], xmm0
movss xmm0, dword [ebp - 0x418]
movss xmm1, dword [esi + 0xf]
comiss xmm1, dword [0x54c1f0]
mov eax, dword [ebp - 0x424]
jbe 0x474558
test eax, eax
je 0x474558
cmp dword [edi + 8], 0
je 0x474520
comiss xmm0, dword [0x54b8f8]
jbe 0x474520
movq xmm0, qword [ebp - 0x434]
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.00460ce0
mov ecx, dword [edi + 0x59c]
jmp 0x4746b0
movq xmm0, qword [ebp - 0x434]
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.00460ce0
mov ecx, dword [edi + 0x598]
jmp 0x4746b0
comiss xmm1, dword [0x54d268]
jbe 0x4745ec
test eax, eax
je 0x4745ec
cmp dword [edi + 8], 0
je 0x4745b4
comiss xmm0, dword [0x54d240]
jbe 0x4745b4
movq xmm0, qword [ebp - 0x434]
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.00460ce0
mov ecx, dword [edi + 0x594]
jmp 0x4746b0
movq xmm0, qword [ebp - 0x434]
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.00460ce0
mov ecx, dword [edi + 0x590]
jmp 0x4746b0
comiss xmm1, dword [0x54b8f8]
jbe 0x47467d
test eax, eax
je 0x47467d
cmp dword [edi + 8], 0
je 0x474648
comiss xmm0, dword [0x54adb4]
jbe 0x474648
movq xmm0, qword [ebp - 0x434]
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.00460ce0
mov ecx, dword [edi + 0x58c]
jmp 0x4746b0
movq xmm0, qword [ebp - 0x434]
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.00460ce0
mov ecx, dword [edi + 0x588]
jmp 0x4746b0
movq xmm0, qword [ebp - 0x434]
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.00460ce0
mov ecx, dword [edi + 0x584]
call fcn.00460bc0
mov ecx, dword [edi + 0x18]
call fcn.0044c440
mov ecx, eax
mov dword [ebp - 0x418], ecx
test ecx, ecx
je case.0x470322.8
nop dword [eax]
cmp dword [ecx + 0x160], 0xc
jne 0x474746
movzx eax, byte [esi + 5]
cmp dword [ecx + 0x164], eax
jne 0x474746
movzx eax, byte [esi + 6]
cmp dword [ecx + 0x168], eax
jne 0x474746
push ecx
mov ecx, dword [edi + 0x18]
call fcn.0044c630
mov eax, dword [ebp - 0x418]
mov ecx, dword [edi + 0x154]
push dword [eax + 0x16c]
push dword [eax + 0x168]
push dword [eax + 0x164]
call fcn.0048d660
mov eax, dword [ebp - 0x418]
mov ecx, dword [edi + 4]
push eax
push dword [eax + 0x170]
call fcn.00486200
mov ecx, dword [ebp - 0x418]
push 1
mov eax, dword [ecx]
call dword [eax]
mov ecx, dword [edi + 0x18]
call fcn.0044c4f0
mov ecx, eax
mov dword [ebp - 0x418], eax
test ecx, ecx
jne 0x4746d0
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.004b62cf
mov esp, ebp
pop ebp
ret 8