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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5ae87b
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x616798]
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 - 0x47c], edi
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov dword [ebp - 0x480], eax
mov dword [ebp - 0x484], esi
mov byte [ebp - 0x478], 0x17
mov dword [ebp - 0x4b0], 0
mov dword [ebp - 0x4a8], 0
mov ecx, dword [edi + 0x180]
mov eax, ecx
sar eax, 8
mov byte [ebp - 0x48f], al
mov eax, ecx
sar eax, 0x10
mov byte [ebp - 0x490], cl
mov byte [ebp - 0x48e], al
lea eax, [ebp - 0x490]
sar ecx, 0x18
push eax
mov byte [ebp - 0x48d], cl
lea ecx, [ebp - 0x4b0]
push 0
mov dword [ebp - 4], 0
mov dword [ebp - 0x4ac], 0
mov byte [ebp - 0x48c], 0
call fcn.0043eab0
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4ec]
push eax
call fcn.00515b40
mov eax, dword [ebp - 0x480]
push 0
push dword [edi + 0x10c]
movzx ecx, word [eax + 0x20]
push dword [edi + 0x108]
mov dword [ebp - 0x4c8], ecx
movzx ecx, word [eax + 0x28]
mov dword [ebp - 0x49c], ecx
movzx ecx, word [eax + 0x24]
movzx eax, word [eax + 0x2c]
mov dword [ebp - 0x4a0], ecx
mov ecx, dword [esi + 0x118]
mov dword [ebp - 0x4a4], eax
call fcn.00515a30
mov edi, eax
test edi, edi
je 0x47fcd4
nop dword [eax]
mov ecx, edi
call fcn.0044c2c0
cmp eax, 1
jne 0x47fcbf
cmp dword [ebp + 0x14], edi
je 0x47fcbf
mov eax, dword [ebp - 0x47c]
cmp edi, dword [eax + 0x14f70]
je 0x47fcbf
mov ecx, dword [edi + 0x21c]
test ecx, ecx
je 0x47f5a9
call fcn.00473770
cmp eax, 0xa
jge 0x47fcbf
mov eax, dword [ebp - 0x47c]
mov ecx, dword [ebp + 0x10]
sub dword [edi + 0x1ac], ecx
push eax
push ecx
mov ecx, edi
call fcn.00498060
mov eax, dword [edi + 0x1ac]
mov ecx, esi
push 0
mov dword [ebp - 0x4d3], eax
mov eax, dword [edi + 0x1b0]
push 2
mov dword [ebp - 0x4cf], eax
lea eax, [ebp - 0x4d8]
push eax
mov eax, dword [ebp - 0x47c]
push 0xd
mov byte [ebp - 0x4d8], 0x27
mov dword [ebp - 0x4d7], edi
push dword [eax + 0x10c]
push dword [eax + 0x108]
push 0
call fcn.0052c140
cmp dword [edi + 0x1ac], 0
jg 0x47f714
mov eax, dword [ebp - 0x47c]
mov dword [edi + 0x208], eax
mov eax, dword [ebp - 0x480]
mov dword [edi + 0x124], 1
cmp dword [eax + 0x3c], 5
jle 0x47f63e
mov byte [edi + 0x1f8], 1
movss xmm0, dword [edi + 0x17c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47f6be
mov ecx, edi
call fcn.004977a0
push eax
lea eax, [ebp - 0x410]
push str.Loot_falls_from_the_sky_onto_the__ss_corpse_
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 - 0x4b0]
add esp, 0x1c
mov eax, dword [ecx]
push edx
push 0
lea edx, [ebp - 0x478]
push edx
push 0x65
call dword [eax + 4]
movd xmm0, dword [edi + 0x1c0]
cvtdq2ps xmm0, xmm0
mulss xmm0, dword [0x5c00bc]
cvttss2si eax, xmm0
mov dword [edi + 0x1c0], eax
mov ecx, edi
call fcn.004974f0
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x47f6f6
call fcn.0044c2c0
cmp eax, 1
jne 0x47f6f6
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00515b40
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push 1
jmp 0x47fc90
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x47fcbf
call fcn.0044c2c0
cmp eax, 2
jne 0x47fcbf
jmp 0x47f6d9
cmp word [ebp - 0x49c], 0
je 0x47f7f4
call fcn.005619b8
cdq
mov ecx, 0x14
idiv ecx
mov esi, dword [ebp - 0x49c]
movzx ecx, si
mov esi, dword [ebp - 0x484]
lea eax, [edx + ecx]
sub eax, dword [edi + 0x1bc]
cmp eax, 0xa
jle 0x47f7f4
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
imul eax, ecx, 0x3e8
mov ecx, edi
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 2
call fcn.00497560
mov ecx, eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x47f7f4
cmp ecx, 1
mov ecx, edi
jne 0x47f7a0
call fcn.004977a0
push eax
push str.The__s_resisted_your_slowing_effect_
jmp 0x47f7ab
call fcn.004977a0
push eax
push str.The__s_is_Slowed.
lea eax, [ebp - 0x410]
push eax
call fcn.0043d360
add esp, 0xc
lea eax, [ebp - 0x477]
push 0x64
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044c9c0
mov ecx, dword [esi + 0x11c]
lea edx, [ebp - 0x4b0]
add esp, 0x10
mov eax, dword [ecx]
push edx
push 0
lea edx, [ebp - 0x478]
push edx
push 0x65
call dword [eax + 4]
mov eax, dword [ebp - 0x4c8]
test ax, ax
je 0x47f8c3
movzx esi, ax
sub esp, 8
imul eax, esi, 0x3e8
mov ecx, edi
movd xmm0, esi
cvtdq2ps xmm0, xmm0
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 9
call fcn.00497560
push dword [ebp - 0x47c]
imul esi, esi
mov eax, 0x66666667
mov ecx, edi
imul esi
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
push eax
call fcn.00498060
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x47f8bd
mov ecx, edi
call fcn.004977a0
push eax
lea eax, [ebp - 0x410]
push str.The__s_is_more_vulnerable_to_other_dusts.
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 esi, dword [ebp - 0x484]
lea edx, [ebp - 0x4b0]
add esp, 0x1c
mov ecx, dword [esi + 0x11c]
push edx
push 0
lea edx, [ebp - 0x478]
mov eax, dword [ecx]
push edx
push 0x65
call dword [eax + 4]
jmp 0x47f8c3
mov esi, dword [ebp - 0x484]
cmp word [ebp - 0x4a0], 0
je 0x47f9a3
call fcn.005619b8
cdq
mov ecx, 0x14
idiv ecx
mov esi, dword [ebp - 0x4a0]
movzx ecx, si
mov esi, dword [ebp - 0x484]
lea eax, [edx + ecx]
sub eax, dword [edi + 0x1bc]
cmp eax, 0xa
jle 0x47f9a3
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
imul eax, ecx, 0x3e8
mov ecx, edi
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 3
call fcn.00497560
mov ecx, eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x47f9a3
cmp ecx, 1
mov ecx, edi
jne 0x47f94f
call fcn.004977a0
push eax
push str.The__s_resisted_your_blinding_effect.
jmp 0x47f95a
call fcn.004977a0
push eax
push str.The__s_is_Blinded.
lea eax, [ebp - 0x410]
push eax
call fcn.0043d360
add esp, 0xc
lea eax, [ebp - 0x477]
push 0x64
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044c9c0
mov ecx, dword [esi + 0x11c]
lea edx, [ebp - 0x4b0]
add esp, 0x10
mov eax, dword [ecx]
push edx
push 0
lea edx, [ebp - 0x478]
push edx
push 0x65
call dword [eax + 4]
cmp word [ebp - 0x4a4], 0
je 0x47f9fd
call fcn.005619b8
cdq
mov ecx, 0x14
idiv ecx
mov esi, dword [ebp - 0x4a4]
movzx ecx, si
mov esi, dword [ebp - 0x484]
lea eax, [edx + ecx]
sub eax, dword [edi + 0x1bc]
cmp eax, 0xa
jle 0x47f9fd
movd xmm0, ecx
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, edi
movss dword [esp + 4], xmm0
mulss xmm0, dword [0x5bd7d8]
movss dword [esp], xmm0
push 0xa
call fcn.00497560
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x38], 0
jle 0x47fc14
mov eax, dword [edx + 0x3c]
add eax, 0xfffffffa
cmp eax, 0x79
ja 0x47fc14
mov ecx, dword [edx + 0x44]
cmp ecx, dword [edx + 0x40]
mov eax, dword [edx + 0x48]
cmovle ecx, dword [edx + 0x40]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [edx + 0x4c]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [edx + 0x50]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [edx + 0x54]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [edx + 0x58]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [edx + 0x5c]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [edx + 0x60]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [edx + 0x64]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [edx + 0x68]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [edx + 0x6c]
cmp ecx, eax
cmovle ecx, eax
mov eax, dword [edx + 0x70]
cmp eax, ecx
cmovle eax, ecx
mov ecx, dword [edx + 0x74]
mov edx, dword [edx + 0x78]
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 dword [ebp - 0x490], eax
lea edx, [eax*4 + 3]
add edx, eax
mov eax, dword [ebp - 0x480]
mov dword [ebp - 0x488], edx
mov ecx, dword [eax + 0x3c]
movd xmm1, edx
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x498], xmm1
cmp ecx, 7
jne 0x47fb28
imul eax, edx, 0x3e8
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 3
call fcn.00497560
mov eax, dword [ebp - 0x480]
movss xmm1, dword [ebp - 0x498]
mov edx, dword [ebp - 0x488]
mov ecx, dword [eax + 0x3c]
cmp ecx, 9
jne 0x47fb68
imul eax, edx, 0x3e8
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
mov dword [ebp - 0x488], eax
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 4
call fcn.00497560
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0x3c]
mov eax, dword [ebp - 0x488]
jmp 0x47fb77
imul eax, dword [ebp - 0x490], 0x1388
add eax, 0xbb8
movd xmm1, eax
cvtdq2ps xmm1, xmm1
movss dword [ebp - 0x488], xmm1
cmp ecx, 8
jne 0x47fbbb
movss xmm0, dword [ebp - 0x498]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 2
call fcn.00497560
mov eax, dword [ebp - 0x480]
movss xmm1, dword [ebp - 0x488]
mov ecx, dword [eax + 0x3c]
cmp ecx, 0xa
jne 0x47fbe8
movss xmm0, dword [ebp - 0x498]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 7
call fcn.00497560
mov eax, dword [ebp - 0x480]
mov ecx, dword [eax + 0x3c]
cmp ecx, 0xb
jne 0x47fc14
movss xmm0, dword [ebp - 0x498]
sub esp, 8
movss xmm1, dword [ebp - 0x488]
mov ecx, edi
movss dword [esp + 4], xmm0
movss dword [esp], xmm1
push 8
call fcn.00497560
cmp dword [edi + 0x204], 0
je 0x47fc38
cmp dword [edi + 0x220], 0x18
jne 0x47fc50
call fcn.005619b8
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 3
jne 0x47fc50
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [edi + 0x11c], eax
mov eax, dword [ebp - 0x47c]
mov dword [edi + 0x204], eax
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x47fc64
call fcn.0044c2c0
cmp eax, 1
je 0x47fc78
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x47fcbf
call fcn.0044c2c0
cmp eax, 2
jne 0x47fcbf
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00515b40
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push 0
mov ecx, dword [edi + 0x218]
push edi
mov eax, dword [ecx]
call dword [eax + 0x1c]
movups xmm0, xmmword [ebp - 0x4c4]
mov eax, dword [ebp - 0x4b4]
sub esp, 0x14
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0x118]
call fcn.00515d00
mov ecx, dword [esi + 0x118]
call fcn.00515ad0
mov edi, eax
test edi, edi
jne 0x47f560
mov eax, dword [ebp - 0x480]
cmp dword [eax + 0x3c], 0xc
jne 0x47fe60
mov eax, dword [ebp - 0x47c]
mov ecx, dword [esi + 0x118]
push 2
push dword [eax + 0x10c]
push dword [eax + 0x108]
call fcn.00515a30
mov esi, eax
test esi, esi
je 0x47fe5a
mov edi, dword [ebp - 0x484]
mov ecx, esi
call fcn.0044c2c0
cmp eax, 1
jne 0x47fe4a
mov ecx, dword [ebp - 0x47c]
mov eax, dword [ecx + 0x108]
sub eax, dword [esi + 0x108]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x47fe4a
mov eax, dword [ecx + 0x10c]
sub eax, dword [esi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x47fe4a
mov ecx, edi
call fcn.0044c2c0
cmp eax, 1
jne 0x47fe4a
test byte [edi + 0x204], 2
je 0x47fe4a
mov eax, dword [esi + 0x220]
sub eax, 9
cmp eax, 8
ja 0x47fe4a
cmp dword [esi + 0x224], 1
jge 0x47fe4a
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x108]
cmp edx, dword [esi + 0x108]
jne 0x47fdbf
mov eax, dword [ecx + 0x10c]
cmp eax, dword [esi + 0x10c]
je 0x47fe4a
mov dword [esi + 0x110], edx
mov eax, dword [ecx + 0x10c]
mov dword [esi + 0x114], eax
mov dword [esi + 0x120], 1
call dword [sym.imp.WINMM.dll_timeGetTime]
mov dword [esi + 0x118], eax
mov ecx, edi
movzx eax, byte [esi + 0x108]
mov byte [ebp - 0x48f], al
movzx eax, byte [esi + 0x10c]
mov byte [ebp - 0x48e], al
movzx eax, byte [esi + 0x110]
push 0
mov byte [ebp - 0x48d], al
movzx eax, byte [esi + 0x114]
push 5
mov byte [ebp - 0x48c], al
lea eax, [ebp - 0x494]
push eax
push 9
push dword [esi + 0x10c]
mov byte [ebp - 0x494], 0x1b
push dword [esi + 0x108]
mov dword [ebp - 0x493], esi
push 0
call fcn.0052c140
mov ecx, dword [edi + 0x118]
call fcn.00515ad0
jmp 0x47fd13
mov esi, dword [ebp - 0x484]
movups xmm0, xmmword [ebp - 0x4ec]
mov eax, dword [ebp - 0x4dc]
sub esp, 0x14
mov ecx, esp
movups xmmword [ecx], xmm0
mov dword [ecx + 0x10], eax
mov ecx, dword [esi + 0x118]
call fcn.00515d00
lea ecx, [ebp - 0x4b0]
call fcn.00471720
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.005548c1
mov esp, ebp
pop ebp
ret 0x10