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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae5d5
mov eax, dword fs:[0]
push eax
sub esp, 0x4e4
mov eax, dword [0x616798]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov eax, dword [ebp + 8]
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 0x484], eax
mov dword [ebp - 0x490], ebx
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [ebp - 0x4ec], eax
mov byte [ebp - 0x478], 0x17
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4bc], 0
mov ecx, dword [edi + 0x180]
mov eax, ecx
sar eax, 8
mov byte [ebp - 0x497], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x498], cl
mov byte [ebp - 0x496], al
lea eax, [ebp - 0x498]
sar ecx, 0x18
push eax
mov byte [ebp - 0x495], cl
lea ecx, [ebp - 0x4c4]
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4c0], 0
mov byte [ebp - 0x494], 0
call fcn.0043eab0
mov eax, dword [ebx + 0x108]
cmp eax, dword [edi + 0x108]
jne 0x473741
mov eax, dword [ebx + 0x10c]
cmp eax, dword [edi + 0x10c]
jne 0x473741
or eax, 0xffffffff
mov dword [ebp - 0x47c], 0
mov dword [ebp - 0x488], eax
xor ebx, ebx
imul eax, dword [edi + 0x188], 0x980
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4f0], 0
mov dword [ebp - 0x49c], 0
mov dword [ebp - 0x480], ebx
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044dcb0
mov esi, eax
test esi, esi
je 0x4726af
mov eax, dword [ebp - 0x488]
cmp eax, 0xffffffff
jne 0x47269c
cmp dword [ebp - 0x480], 0
jne 0x472834
cmp dword [esi + 0x110], 1
jne 0x472656
cmp dword [esi + 0x118], 1
jle 0x47261b
push 0x120
call fcn.00554883
add esp, 4
mov dword [ebp - 0x498], eax
mov byte [ebp - 4], 1
test eax, eax
je 0x4725e1
push 0x5bdfe0
push 0
push 1
mov ecx, eax
call fcn.0050d390
mov ebx, eax
jmp 0x4725e3
xor ebx, ebx
mov eax, dword [esi]
mov ecx, esi
push ebx
mov byte [ebp - 4], 0
call dword [eax + 0x18]
dec dword [esi + 0x118]
mov dword [ebx + 0x118], 1
imul eax, dword [edi + 0x188], 0x980
push ebx
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044ddb0
mov esi, ebx
mov ebx, dword [esi + 0x11c]
mov eax, dword [ebx + 4]
mov dword [ebp - 0x488], eax
mov eax, dword [ebx]
mov dword [ebp - 0x48c], eax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0x49c], eax
mov eax, dword [ebx + 0x24]
mov dword [ebp - 0x4f0], eax
mov eax, dword [ebx + 0x30]
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebx + 0x34]
mov dword [ebp - 0x47c], eax
cmp dword [esi + 0x110], 0xe
jne 0x472673
mov eax, dword [esi + 0x11c]
xor ecx, ecx
cmp dword [eax], 0xd
cmove eax, ecx
mov dword [ebp - 0x480], eax
imul eax, dword [edi + 0x188], 0x980
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044dd50
mov esi, eax
test esi, esi
jne 0x472580
mov eax, dword [ebp - 0x488]
mov esi, dword [ebp - 0x480]
test esi, esi
jne 0x47283a
cmp eax, 0xffffffff
jne 0x4726b9
mov dword [ebp - 0x48c], 1
mov ecx, dword [ebp - 0x490]
movd xmm0, dword [ebp - 0x47c]
movss xmm1, dword [edi + 0x160]
cvtdq2ps xmm0, xmm0
imul eax, dword [ecx + 0x188], 0x980
comiss xmm1, dword [0x5bc024]
subss xmm0, dword [eax + ecx + 0x300]
cvttss2si eax, xmm0
mov dword [ebp - 0x488], eax
jbe 0x47270d
movd xmm0, eax
cvtdq2ps xmm0, xmm0
subss xmm0, xmm1
cvttss2si eax, xmm0
mov dword [ebp - 0x488], eax
call fcn.005619b8
cdq
mov ecx, 0x14
idiv ecx
mov esi, edx
call fcn.005619b8
cdq
mov ecx, 0x14
idiv ecx
mov eax, dword [ebp - 0x488]
add edx, esi
lea esi, [eax + 2]
add eax, 0x28
add esi, edx
cmp eax, ecx
jg 0x47274f
call fcn.005619b8
cdq
mov ecx, 0x190
idiv ecx
cmp edx, 6
je 0x472758
cmp esi, 0x14
jle 0x4736b0
mov ecx, edi
call fcn.00486160
movd xmm0, dword [ebp - 0x48c]
mov ecx, edi
cvtdq2ps xmm0, xmm0
mov esi, dword [ebp - 0x484]
push esi
movd xmm1, eax
cvtdq2ps xmm1, xmm1
mulss xmm1, dword [0x5c009c]
addss xmm1, dword [0x5bc028]
mulss xmm1, xmm0
movd xmm0, dword [edi + 0x14f04]
cvtdq2ps xmm0, xmm0
addss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x47c], eax
call fcn.00471ad0
mov eax, dword [edi + 0x14f58]
test eax, eax
jle 0x4727e6
movd xmm0, dword [ebp - 0x47c]
movd xmm1, eax
cvtdq2ps xmm1, xmm1
cvtdq2ps xmm0, xmm0
mulss xmm1, dword [0x5c0094]
addss xmm1, dword [0x5bc028]
mulss xmm1, xmm0
cvttss2si eax, xmm1
mov dword [ebp - 0x47c], eax
test ebx, ebx
je 0x472f06
cmp dword [ebx + 0x3c], 3
jne 0x472bc0
call fcn.005619b8
cdq
mov ecx, 0x14
idiv ecx
cmp edx, 3
jne 0x472b4c
test byte [edi + 0x238], 1
mov eax, dword [ebp - 0x47c]
lea eax, [eax + eax*2]
mov dword [ebp - 0x47c], eax
je 0x472bc0
push str.With_a_burst_of_strength__you_do_THREE_TIMES_as_much_damage_.
jmp 0x472b7a
mov esi, dword [ebp - 0x480]
cmp byte [esi + 0xc], 0
je 0x473741
movd xmm0, dword [edi + 0x10c]
mov eax, dword [edi + 0x180]
mov ebx, dword [ebp - 0x490]
push 0
mov ecx, dword [ebp - 0x484]
cvtdq2ps xmm0, xmm0
push 2
mov dword [ebp - 0x4b7], eax
lea eax, [ebp - 0x4b8]
push eax
push 0x19
mov byte [ebp - 0x4b8], 0x24
cvttss2si eax, xmm0
mov dword [ebp - 0x4b3], ebx
mov dword [ebp - 0x4af], 0xfffffffe
mov dword [ebp - 0x4ab], 0xfffffc18
mov dword [ebp - 0x4a3], 0
movd xmm0, dword [edi + 0x108]
cvtdq2ps xmm0, xmm0
push eax
cvttss2si eax, xmm0
push eax
push 0
call fcn.0052c140
mov eax, dword [ebp - 0x4ec]
push esi
mov dword [ebx + 0x11c], eax
mov dword [ebx + 0x14ea4], edi
call fcn.0052d9f0
add esp, 4
test eax, eax
jg 0x4728ec
push ebx
mov ebx, dword [ebp - 0x484]
mov ecx, edi
push esi
push ebx
call fcn.00490000
jmp 0x4728f2
mov ebx, dword [ebp - 0x484]
dec dword [esi + 8]
cmp dword [esi + 8], 0
jg 0x473741
imul eax, dword [edi + 0x188], 0x980
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044dcb0
mov dword [ebp - 0x49c], eax
test eax, eax
je 0x4729cd
cmp dword [eax + 0x110], 0xe
jne 0x4729a6
cmp esi, dword [eax + 0x11c]
jne 0x4729a6
push eax
imul eax, dword [edi + 0x188], 0x980
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044dea0
mov ecx, dword [ebp - 0x49c]
push 1
mov eax, dword [ecx]
call dword [eax]
movd xmm0, dword [edi + 0x10c]
xor esi, esi
mov eax, dword [edi + 0x180]
mov ecx, ebx
push esi
cvtdq2ps xmm0, xmm0
push 5
mov dword [ebp - 0x497], eax
lea eax, [ebp - 0x498]
push eax
push 5
mov byte [ebp - 0x498], 0x20
cvttss2si eax, xmm0
movd xmm0, dword [edi + 0x108]
cvtdq2ps xmm0, xmm0
push eax
cvttss2si eax, xmm0
push eax
push esi
call fcn.0052c140
imul eax, dword [edi + 0x188], 0x980
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044dd50
mov dword [ebp - 0x49c], eax
test eax, eax
jne 0x472926
imul eax, dword [edi + 0x188], 0x980
mov byte [ebp - 0x4e8], 0x21
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044dcb0
test eax, eax
je 0x473741
mov ecx, dword [eax + 0x110]
cmp ecx, 1
jne 0x472a40
push edi
push eax
lea eax, [ebp - 0x4e8]
push eax
call fcn.004ba3d0
add esp, 0xc
cmp dword [edi + 0x14f38], 0
je 0x472ad7
mov ecx, dword [ebx + 0x11c]
lea edx, [ebp - 0x4c4]
push edx
push 0
lea edx, [ebp - 0x4e8]
mov eax, dword [ecx]
push edx
push 0x1d
call dword [eax + 4]
jmp 0x472b0d
cmp ecx, 0xe
jne 0x472b26
mov ecx, dword [eax + 0x11c]
mov dword [ebp - 0x4e3], eax
mov dword [ebp - 0x4e7], 0x40800000
mov eax, dword [ecx]
movzx eax, byte [eax + eax*2 + 0x5fc658]
mov byte [ebp - 0x4ce], al
mov eax, dword [ecx]
movzx eax, byte [eax + eax*2 + 0x5fc659]
mov byte [ebp - 0x4cd], al
mov eax, dword [ecx]
mov byte [ebp - 0x4cf], 0x80
movzx eax, byte [eax + eax*2 + 0x5fc65a]
mov byte [ebp - 0x4cc], al
mov eax, dword [edi + 0x180]
mov dword [ebp - 0x4df], eax
xor eax, eax
mov word [ebp - 0x4d1], ax
cmp dword [ecx], 0xd
je 0x472b26
cmp dword [edi + 0x14f38], eax
je 0x472ad7
mov ecx, dword [ebx + 0x11c]
lea edx, [ebp - 0x4c4]
push edx
push 0
lea edx, [ebp - 0x4e8]
mov eax, dword [ecx]
push edx
push 0x1d
call dword [eax + 4]
jmp 0x472b0d
movd xmm0, dword [edi + 0x10c]
lea eax, [ebp - 0x4e8]
push 0
cvtdq2ps xmm0, xmm0
push 5
push eax
push 0x1d
mov ecx, ebx
cvttss2si eax, xmm0
movd xmm0, dword [edi + 0x108]
cvtdq2ps xmm0, xmm0
push eax
cvttss2si eax, xmm0
push eax
push 0
call fcn.0052c140
imul eax, dword [edi + 0x188], 0x980
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044dd10
imul eax, dword [edi + 0x188], 0x980
mov ecx, dword [eax + edi + 0x2e4]
add ecx, 8
call fcn.0044dd50
test eax, eax
jne 0x4729f5
jmp 0x473741
call fcn.005619b8
cdq
mov ecx, 5
idiv ecx
cmp edx, 2
jne 0x472bc0
mov eax, dword [ebp - 0x47c]
add eax, eax
test byte [edi + 0x238], 1
mov dword [ebp - 0x47c], eax
je 0x472bc0
push str.With_a_burst_of_strength__you_do_TWICE_as_much_damage_.
lea eax, [ebp - 0x410]
push eax
call fcn.0043d360
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044c9c0
mov ecx, dword [esi + 0x11c]
lea edx, [ebp - 0x4c4]
add esp, 0x18
mov eax, dword [ecx]
push edx
push 0
lea edx, [ebp - 0x478]
push edx
push 0x65
call dword [eax + 4]
cmp dword [ebx + 0x3c], 4
jne 0x472c85
call fcn.005619b8
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 8
jne 0x472c85
movd xmm0, dword [ebp - 0x47c]
cvtdq2ps xmm0, xmm0
push ecx
mov dword [esp], 0x40000000
mulss xmm0, dword [0x5c0170]
call fcn.00554900
mov esi, dword [ebp - 0x490]
mov ecx, esi
push eax
push 7
call fcn.00495570
test byte [edi + 0x238], 1
je 0x472c8b
imul eax, dword [edi + 0x188], 0x980
add eax, 0x2a0
add eax, edi
push eax
lea eax, [esi + 0x18c]
push eax
lea eax, [ebp - 0x410]
push str._s_gets_stunned_by__ss_Claw_
push eax
call fcn.0043d360
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044c9c0
mov ecx, dword [ebp - 0x484]
lea edx, [ebp - 0x4c4]
add esp, 0x20
mov ecx, dword [ecx + 0x11c]
push edx
push 0
lea edx, [ebp - 0x478]
mov eax, dword [ecx]
push edx
push 0x65
call dword [eax + 4]
jmp 0x472c8b
mov esi, dword [ebp - 0x490]
cmp dword [ebx + 0x3c], 5
jne 0x472cb8
call fcn.005619b8
cdq
mov ecx, 3
idiv ecx
cmp edx, 1
jne 0x472cb8
push esi
push dword [ebp - 0x47c]
mov ecx, edi
push ebx
push dword [ebp - 0x484]
call fcn.0047feb0
mov eax, dword [ebx + 0x3c]
sub eax, 6
cmp eax, 0x79
ja 0x472cfa
call fcn.005619b8
and eax, reloc.WS2_32.dll_accept
jns 0x472cd4
dec eax
or eax, 0xfffffffe
inc eax
cmp eax, 1
jne 0x472cfa
cmp dword [ebx + 0x3c], 0xd
je 0x472cfa
mov eax, dword [ebp - 0x47c]
mov ecx, edi
cdq
push esi
sub eax, edx
sar eax, 1
push eax
push ebx
push dword [ebp - 0x484]
call fcn.0047feb0
cmp dword [ebx + 0x38], 0
jle 0x472f06
mov eax, dword [ebx + 0x3c]
add eax, 0xfffffffa
cmp eax, 0x79
ja 0x472f06
mov ecx, dword [ebx + 0x44]
cmp ecx, dword [ebx + 0x40]
mov eax, dword [ebx + 0x48]
cmovle ecx, dword [ebx + 0x40]
cmp eax, ecx
mov edx, dword [ebx + 0x78]
cmovle eax, ecx
mov ecx, dword [ebx + 0x4c]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [ebx + 0x50]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [ebx + 0x54]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [ebx + 0x58]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [ebx + 0x5c]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [ebx + 0x60]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [ebx + 0x64]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [ebx + 0x68]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [ebx + 0x6c]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [ebx + 0x70]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [ebx + 0x74]
cmp ecx, eax
cmovle ecx, eax
cmp edx, ecx
cmovle edx, ecx
xor eax, eax
cmp edx, 0x41
setg al
inc eax
cmp edx, 0x43
lea ecx, [eax + 1]
cmovle ecx, eax
cmp edx, 0x47
lea eax, [ecx + 1]
cmovle eax, ecx
cmp edx, 0x4f
lea ecx, [eax + 1]
cmovle ecx, eax
cmp edx, 0x5f
lea eax, [ecx + 1]
cmovle eax, ecx
mov ecx, dword [ebx + 0x3c]
mov dword [ebp - 0x488], eax
lea eax, [eax + eax*4]
add eax, 3
mov dword [ebp - 0x48c], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x480], xmm0
cmp ecx, 7
jne 0x472e02
imul eax, eax, 0x3e8
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
push 3
call fcn.00495570
mov ecx, dword [ebx + 0x3c]
movss xmm0, dword [ebp - 0x480]
mov eax, dword [ebp - 0x48c]
cmp ecx, 9
jne 0x472e2e
imul eax, eax, 0x3e8
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
push 4
mov dword [ebp - 0x488], eax
call fcn.00495570
mov ecx, dword [ebx + 0x3c]
mov eax, dword [ebp - 0x488]
jmp 0x472e43
imul eax, dword [ebp - 0x488], 0x1388
add eax, 0xbb8
mov dword [ebp - 0x488], eax
cmp ecx, 8
jne 0x472e63
movss xmm0, dword [ebp - 0x480]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push eax
push 2
call fcn.00495570
mov ecx, dword [ebx + 0x3c]
cmp ecx, 0xa
jne 0x472e88
movss xmm0, dword [ebp - 0x480]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push dword [ebp - 0x488]
push 7
call fcn.00495570
mov ecx, dword [ebx + 0x3c]
cmp ecx, 0xb
jne 0x472ead
movss xmm0, dword [ebp - 0x480]
push ecx
movss dword [esp], xmm0
mov ecx, esi
push dword [ebp - 0x488]
push 8
call fcn.00495570
mov ecx, dword [ebx + 0x3c]
cmp ecx, 0xd
jne 0x472f06
lea eax, [ebp - 0x410]
push str.This_doesnt_work_on_players.
push eax
call fcn.0043d360
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044c9c0
mov eax, dword [ebp - 0x484]
lea edx, [ebp - 0x4c4]
add esp, 0x18
mov ecx, dword [eax + 0x11c]
push edx
push 0
lea edx, [ebp - 0x478]
mov eax, dword [ecx]
push edx
push 0x65
call dword [eax + 4]
inc dword [ebx + 0x38]
mov ecx, dword [edi + 0x14f2c]
test ecx, ecx
jle 0x472f7f
imul ecx, dword [ebp - 0x47c]
mov eax, 0x66666667
imul ecx
imul ecx, dword [edi + 0x188], 0x980
sar edx, 4
mov esi, edx
shr esi, 0x1f
add esi, edx
mov eax, dword [ecx + edi + 0x2f8]
cdq
and edx, 3
add eax, edx
mov edx, dword [ebp - 0x47c]
sar eax, 2
cmp esi, eax
cmovle eax, esi
add dword [ecx + edi + 0x2fc], eax
add edx, eax
imul eax, dword [edi + 0x188], 0x980
mov dword [ebp - 0x47c], edx
mov ecx, dword [eax + edi + 0x2f8]
cmp dword [eax + edi + 0x2fc], ecx
jle 0x472f85
mov dword [eax + edi + 0x2fc], ecx
jmp 0x472f85
mov edx, dword [ebp - 0x47c]
mov esi, 1
test ebx, ebx
je 0x472fcb
mov ecx, edi
call fcn.00480490
imul ecx, dword [edi + 0x188], 0x980
imul eax, dword [ecx + edi + 0x2e8]
cdq
sub eax, edx
mov edx, dword [ebp - 0x47c]
sar eax, 1
add edx, eax
cmp dword [ebx + 0x3c], 0xd
mov dword [ebp - 0x47c], edx
jne 0x472fcb
cmp edx, esi
cmovg edx, esi
mov dword [ebp - 0x47c], edx
mov esi, dword [ebp - 0x490]
imul eax, dword [esi + 0x188], 0x980
sub dword [eax + esi + 0x2fc], edx
test ebx, ebx
je 0x473341
mov ecx, dword [ebx + 0x34]
mov edx, 0xffffffeb
add ecx, dword [ebx + 0x2c]
add ecx, dword [ebx + 0x28]
add ecx, dword [ebx + 0x24]
mov eax, dword [ebx + 0x20]
add eax, ecx
mov dword [ebp - 0x48c], 0xffffffff
cmp dword [ebx + 0x3c], 1
mov ecx, dword [ebx + 0x38]
mov dword [ebp - 0x488], eax
mov dword [ebp - 0x480], eax
mov eax, edx
cmovne eax, dword [ebp - 0x48c]
add eax, dword [ebx + 4]
add dword [ebp - 0x488], eax
cmp ecx, 0x3f5ad
jge 0x47303b
inc ecx
mov dword [ebx + 0x38], ecx
cmp ecx, 0x2710
jle 0x47305d
cmp dword [ebp - 0x488], 5
jl 0x473051
cmp dword [ebx], 0x48
jge 0x47305d
mov dword [ebx + 0x38], 0x2710
mov ecx, 0x2710
mov eax, dword [ebx + 0x3c]
add eax, 0xfffffffa
cmp eax, 0x79
ja 0x473074
add ecx, 0xfffffffe
mov dword [ebx + 0x38], ecx
jns 0x473074
inc ecx
mov dword [ebx + 0x38], ecx
mov eax, dword [ebx + 0x3c]
cmp eax, 6
jge 0x473267
cmp eax, 2
jne 0x47308a
cmp dword [ebx], 0x65
jg 0x473093
cmp dword [ebx], 0x47
jle 0x473267
cmp eax, 1
mov eax, dword [ebp - 0x480]
cmovne edx, dword [ebp - 0x48c]
add edx, dword [ebx + 4]
add eax, edx
cmp eax, 4
jle 0x473267
xor eax, eax
mov dword [ebp - 0x480], eax
cmp ecx, 0x2710
jle 0x4730f0
lea eax, [ecx - 0x2710]
mov dword [ebp - 0x48c], 0x9c4
cdq
idiv dword [ebp - 0x48c]
xor eax, eax
test edx, edx
mov edx, 1
cmove eax, edx
cmp ecx, 0x2710
mov dword [ebp - 0x480], eax
jne 0x4730fe
mov dword [ebp - 0x480], 2
jmp 0x47312e
cmp ecx, 0x1adb0
jne 0x473112
mov dword [ebp - 0x480], 3
jmp 0x47312e
cmp ecx, 0x3f5ac
jne 0x473126
mov dword [ebp - 0x480], 0xa
jmp 0x47312e
test eax, eax
je 0x473267
push 0x198
call fcn.00554883
add esp, 4
mov dword [ebp - 0x498], eax
mov byte [ebp - 4], 2
test eax, eax
je 0x47315a
mov ecx, eax
call fcn.00494430
mov ecx, eax
mov dword [ebp - 0x48c], eax
jmp 0x473162
xor ecx, ecx
mov dword [ebp - 0x48c], ecx
mov eax, dword [ebp - 0x480]
mov dword [ecx + 0x180], 4
mov dword [ecx + 0x188], 0x14
mov dword [ecx + 0x18c], 0x3c
lea eax, [eax + eax*4]
mov dword [ecx + 0x190], 0x80
shl eax, 2
mov dword [ecx + 0x184], eax
mov eax, dword [edi + 0x108]
mov dword [ecx + 0x108], eax
mov eax, dword [edi + 0x10c]
mov dword [ecx + 0x10c], eax
mov eax, dword [ebp - 0x484]
mov dword [ecx + 0x194], 0x190
push ecx
mov byte [ebp - 4], 0
mov ecx, dword [eax + 0x118]
call fcn.00515a10
mov ecx, dword [ebp - 0x48c]
mov dword [ebp - 0x4db], ecx
mov byte [ebp - 0x4dc], 0x54
push 0
movzx eax, byte [ecx + 0x180]
mov byte [ebp - 0x4d7], al
mov eax, dword [ecx + 0x184]
mov dword [ebp - 0x4d1], eax
movzx eax, byte [ecx + 0x108]
mov byte [ebp - 0x4d3], al
movzx eax, byte [ecx + 0x10c]
mov byte [ebp - 0x4d2], al
movzx eax, byte [ecx + 0x188]
mov byte [ebp - 0x4d6], al
movzx eax, byte [ecx + 0x18c]
mov byte [ebp - 0x4d5], al
movzx eax, byte [ecx + 0x190]
mov ecx, dword [ebp - 0x484]
push 5
mov byte [ebp - 0x4d4], al
lea eax, [ebp - 0x4dc]
push eax
push 0xf
push dword [edi + 0x10c]
push dword [edi + 0x108]
push 0
call fcn.0052c140
cmp dword [ebx + 0x3c], 0xd
je 0x47333b
cmp dword [ebp - 0x4c8], 0
jle 0x47333b
mov ecx, ebx
call fcn.00480460
mov esi, eax
mov eax, 0x60
cmp esi, eax
cmovg esi, eax
call fcn.005619b8
cdq
mov ecx, 0x90
idiv ecx
cmp edx, esi
mov esi, dword [ebp - 0x490]
jge 0x47333b
mov eax, dword [ebp - 0x4c8]
cdq
sub eax, edx
sar eax, 1
je 0x47333b
imul ecx, dword [esi + 0x188], 0x980
sub dword [ecx + esi + 0x2fc], eax
test byte [edi + 0x238], 1
je 0x47333b
push eax
imul eax, dword [esi + 0x188], 0x980
add eax, 0x2a0
add eax, esi
push eax
lea eax, [ebp - 0x410]
push str._s_gets_shocked_by__d_lightning_damage_and_is_stunned.
push eax
call fcn.0043d360
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044c9c0
mov eax, dword [ebp - 0x484]
lea edx, [ebp - 0x4c4]
add esp, 0x20
mov ecx, dword [eax + 0x11c]
push edx
push 0
lea edx, [ebp - 0x478]
mov eax, dword [ecx]
push edx
push 0x65
call dword [eax + 4]
mov edx, dword [ebp - 0x47c]
imul eax, dword [esi + 0x188], 0x980
cmp dword [eax + esi + 0x2fc], 0
jg 0x4733d1
movd xmm0, dword [edi + 0x10c]
mov eax, dword [edi + 0x180]
push 0
mov ecx, dword [ebp - 0x484]
cvtdq2ps xmm0, xmm0
push 2
mov dword [ebp - 0x4b7], eax
lea eax, [ebp - 0x4b8]
push eax
push 0x19
mov byte [ebp - 0x4b8], 0x24
cvttss2si eax, xmm0
mov dword [ebp - 0x4b3], esi
mov dword [ebp - 0x4af], edx
mov dword [ebp - 0x4ab], 0xfffffc18
mov dword [ebp - 0x4a3], 1
movd xmm0, dword [edi + 0x108]
cvtdq2ps xmm0, xmm0
push eax
cvttss2si eax, xmm0
push eax
push 0
call fcn.0052c140
mov dword [esi + 0x124], 1
jmp 0x473741
cmp dword [esi + 0x14ea4], 0
jne 0x4733ec
mov eax, dword [ebp - 0x4ec]
mov dword [esi + 0x11c], eax
mov dword [esi + 0x14ea4], edi
imul ecx, dword [edi + 0x188], 0x980
mov eax, dword [edi + 0x180]
movd xmm0, dword [edi + 0x10c]
mov dword [ebp - 0x4b7], eax
push 0
mov byte [ebp - 0x4b8], 0x24
mov dword [ebp - 0x4b3], esi
mov dword [ebp - 0x4af], edx
mov eax, dword [ecx + edi + 0x2fc]
mov dword [ebp - 0x4ab], eax
mov eax, dword [ecx + edi + 0x2f8]
mov ecx, dword [ebp - 0x484]
cvtdq2ps xmm0, xmm0
push 2
mov dword [ebp - 0x4a7], eax
lea eax, [ebp - 0x4b8]
push eax
push 0x19
mov dword [ebp - 0x4a3], 1
cvttss2si eax, xmm0
movd xmm0, dword [edi + 0x108]
cvtdq2ps xmm0, xmm0
push eax
cvttss2si eax, xmm0
push eax
push 0
call fcn.0052c140
imul ecx, dword [esi + 0x188], 0x980
movd xmm0, dword [edi + 0x10c]
push 0
mov byte [ebp - 0x4d8], 0x27
mov dword [ebp - 0x4d7], esi
cvtdq2ps xmm0, xmm0
push 2
mov eax, dword [ecx + esi + 0x2fc]
mov dword [ebp - 0x4d3], eax
mov eax, dword [ecx + esi + 0x2f8]
mov ecx, dword [ebp - 0x484]
mov dword [ebp - 0x4cf], eax
lea eax, [ebp - 0x4d8]
push eax
cvttss2si eax, xmm0
push 0xd
movd xmm0, dword [edi + 0x108]
cvtdq2ps xmm0, xmm0
push eax
cvttss2si eax, xmm0
push eax
push 0
call fcn.0052c140
test ebx, ebx
je 0x473741
cmp dword [ebx + 0x3c], 0xd
je 0x473741
cmp dword [ebp - 0x49c], 0
jle 0x4735c9
call fcn.005619b8
cdq
mov ecx, 0x14
idiv ecx
mov ecx, dword [ebp - 0x49c]
imul eax, dword [esi + 0x188], 0x980
add edx, ecx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm0, dword [eax + esi + 0x300]
comiss xmm0, dword [0x5bcbd0]
jbe 0x4735c9
movd xmm0, ecx
cvtdq2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
mulss xmm0, dword [0x5bd7d8]
call fcn.00554900
push eax
push 2
mov ecx, esi
call fcn.00495570
test byte [edi + 0x238], 1
je 0x4735c9
imul eax, dword [esi + 0x188], 0x980
add eax, 0x2a0
add eax, esi
push eax
lea eax, [ebp - 0x410]
push str._s_is_Slowed.
push eax
call fcn.0043d360
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044c9c0
mov eax, dword [ebp - 0x484]
lea edx, [ebp - 0x4c4]
add esp, 0x1c
mov ecx, dword [eax + 0x11c]
push edx
push 0
lea edx, [ebp - 0x478]
mov eax, dword [ecx]
push edx
push 0x65
call dword [eax + 4]
cmp dword [ebx + 0x3c], 0xd
je 0x473741
mov ebx, dword [ebp - 0x4f0]
test ebx, ebx
jle 0x473741
call fcn.005619b8
cdq
mov ecx, 0x14
idiv ecx
imul eax, dword [esi + 0x188], 0x980
add edx, ebx
movd xmm0, edx
cvtdq2ps xmm0, xmm0
subss xmm0, dword [eax + esi + 0x300]
comiss xmm0, dword [0x5bcbd0]
jbe 0x473741
movd xmm0, ebx
cvtdq2ps xmm0, xmm0
push ecx
movss dword [esp], xmm0
mulss xmm0, dword [0x5bd7d8]
call fcn.00554900
push eax
push 3
mov ecx, esi
call fcn.00495570
test byte [edi + 0x238], 1
je 0x473741
imul eax, dword [esi + 0x188], 0x980
add eax, 0x2a0
add eax, esi
push eax
lea eax, [ebp - 0x410]
push str._s_is_Blinded.
push eax
call fcn.0043d360
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044c9c0
mov eax, dword [ebp - 0x484]
lea edx, [ebp - 0x4c4]
add esp, 0x1c
mov ecx, dword [eax + 0x11c]
push edx
push 0
lea edx, [ebp - 0x478]
mov eax, dword [ecx]
push edx
push 0x65
call dword [eax + 4]
jmp 0x473741
imul ecx, dword [edi + 0x188], 0x980
mov eax, dword [edi + 0x180]
movd xmm0, dword [edi + 0x10c]
mov dword [ebp - 0x4b7], eax
mov eax, dword [ebp - 0x490]
mov dword [ebp - 0x4b3], eax
push 0
mov byte [ebp - 0x4b8], 0x24
mov dword [ebp - 0x4af], 0xffffffff
mov eax, dword [ecx + edi + 0x2fc]
mov dword [ebp - 0x4ab], eax
mov eax, dword [ecx + edi + 0x2f8]
mov ecx, dword [ebp - 0x484]
cvtdq2ps xmm0, xmm0
push 2
mov dword [ebp - 0x4a7], eax
lea eax, [ebp - 0x4b8]
push eax
push 0x19
mov dword [ebp - 0x4a3], 1
cvttss2si eax, xmm0
movd xmm0, dword [edi + 0x108]
cvtdq2ps xmm0, xmm0
push eax
cvttss2si eax, xmm0
push eax
push 0
call fcn.0052c140
lea ecx, [ebp - 0x4c4]
call fcn.00471720
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.005548c1
mov esp, ebp
pop ebp
ret 8