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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1ea0
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x6287a8]
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 esi, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x498], esi
mov dword [ebp - 0x480], eax
mov byte [ebp - 0x478], 0x17
mov dword [ebp - 0x4a4], 0
mov dword [ebp - 0x4a0], 0
mov dword [ebp - 0x49c], 0
mov ecx, dword [edi + 0x180]
mov eax, ecx
shr eax, 8
mov byte [ebp - 0x48b], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp - 0x48c], cl
mov byte [ebp - 0x48a], al
lea eax, [ebp - 0x48c]
shr ecx, 0x18
push eax
mov byte [ebp - 0x489], cl
lea ecx, [ebp - 0x4a4]
push 0
mov dword [ebp - 4], 0
mov byte [ebp - 0x488], 0
call fcn.0043ec20
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4ec]
push eax
call fcn.00515710
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 - 0x4a8], ecx
movzx ecx, word [eax + 0x24]
mov dword [ebp - 0x4ac], ecx
movzx ecx, word [eax + 0x2c]
mov dword [ebp - 0x4b0], ecx
mov ecx, dword [esi + 0x118]
call fcn.005155e0
mov edi, eax
test edi, edi
je 0x47ca79
nop dword [eax]
mov ecx, edi
call fcn.0044c8d0
cmp eax, 1
jne 0x47ca64
cmp dword [ebp + 0x14], edi
je 0x47ca64
mov eax, dword [ebp - 0x47c]
cmp edi, dword [eax + 0x14f70]
je 0x47ca64
mov ecx, dword [edi + 0x21c]
test ecx, ecx
je 0x47c393
call fcn.0046fdd0
cmp eax, 0xa
jge 0x47ca64
push dword [ebp - 0x47c]
mov ecx, dword [ebp + 0x10]
sub dword [edi + 0x1ac], ecx
push ecx
mov ecx, edi
call fcn.00495a30
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.0052acd0
cmp dword [edi + 0x1ac], 0
jg 0x47c503
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 0x47c42d
mov byte [edi + 0x1f8], 1
movss xmm0, dword [edi + 0x17c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x47c4ad
mov ecx, edi
call fcn.00495120
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.0044cdd0
mov ecx, dword [esi + 0x11c]
lea edx, [ebp - 0x4a4]
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 [0x5d3db4]
cvttss2si eax, xmm0
mov dword [edi + 0x1c0], eax
mov ecx, edi
call fcn.00494e80
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x47c4e5
call fcn.0044c8d0
cmp eax, 1
jne 0x47c4e5
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00515710
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push 1
jmp 0x47ca35
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x47ca64
call fcn.0044c8d0
cmp eax, 2
jne 0x47ca64
jmp 0x47c4c8
cmp word [ebp - 0x4a8], 0
je 0x47c5db
call fcn.00565b3a
cdq
mov ecx, 0x14
idiv ecx
mov ecx, dword [ebp - 0x4a8]
movzx eax, cx
add edx, eax
sub edx, dword [edi + 0x1bc]
cmp edx, 0xa
jle 0x47c5db
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, edi
imul eax, eax, 0x3e8
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 2
call fcn.00494ef0
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x47c5db
mov ecx, edi
call fcn.00495120
cmp dword [ebp - 0x484], 1
mov ecx, str.The__s_is_Slowed.
push eax
mov eax, str.The__s_resisted_your_slowing_effect_
cmove ecx, eax
lea eax, [ebp - 0x410]
push ecx
push eax
call fcn.0043d360
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044cdd0
mov ecx, dword [esi + 0x11c]
lea edx, [ebp - 0x4a4]
add esp, 0x1c
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 0x47c6aa
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.00494ef0
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.00495a30
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x47c6a4
mov ecx, edi
call fcn.00495120
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.0044cdd0
mov esi, dword [ebp - 0x498]
lea edx, [ebp - 0x4a4]
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 0x47c6aa
mov esi, dword [ebp - 0x498]
cmp word [ebp - 0x4ac], 0
je 0x47c782
call fcn.00565b3a
cdq
mov ecx, 0x14
idiv ecx
mov ecx, dword [ebp - 0x4ac]
movzx eax, cx
add edx, eax
sub edx, dword [edi + 0x1bc]
cmp edx, 0xa
jle 0x47c782
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, edi
imul eax, eax, 0x3e8
movss dword [esp + 4], xmm0
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [esp], xmm0
push 3
call fcn.00494ef0
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x47c782
mov ecx, edi
call fcn.00495120
cmp dword [ebp - 0x484], 1
mov ecx, str.The__s_is_Blinded.
push eax
mov eax, str.The__s_resisted_your_blinding_effect.
cmove ecx, eax
lea eax, [ebp - 0x410]
push ecx
push eax
call fcn.0043d360
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044cdd0
mov ecx, dword [esi + 0x11c]
lea edx, [ebp - 0x4a4]
add esp, 0x1c
mov eax, dword [ecx]
push edx
push 0
lea edx, [ebp - 0x478]
push edx
push 0x65
call dword [eax + 4]
cmp word [ebp - 0x4b0], 0
je 0x47c7d5
call fcn.00565b3a
cdq
mov ecx, 0x14
idiv ecx
mov ecx, dword [ebp - 0x4b0]
movzx eax, cx
add edx, eax
sub edx, dword [edi + 0x1bc]
cmp edx, 0xa
jle 0x47c7d5
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, edi
movss dword [esp + 4], xmm0
mulss xmm0, dword [0x5d14b0]
movss dword [esp], xmm0
push 0xa
call fcn.00494ef0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x38], 0
jle 0x47c9b9
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x48c], eax
add eax, 0xfffffffa
cmp eax, 0x79
ja 0x47c9b9
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
lea eax, [eax + eax*4]
add eax, 3
movd xmm1, eax
imul eax, eax, 0x3e8
cmp dword [ebp - 0x48c], 7
cvtdq2ps xmm1, xmm1
movd xmm0, eax
cvtdq2ps xmm0, xmm0
movss dword [ebp - 0x484], xmm1
movss dword [ebp - 0x494], xmm0
jne 0x47c8f5
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 3
call fcn.00494ef0
movss xmm0, dword [ebp - 0x494]
movss xmm1, dword [ebp - 0x484]
jmp 0x47c8fd
movss dword [ebp - 0x494], xmm0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 9
jne 0x47c926
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 4
call fcn.00494ef0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 8
jne 0x47c959
movss xmm0, dword [ebp - 0x484]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x494]
movss dword [esp], xmm0
push 2
call fcn.00494ef0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 0xa
jne 0x47c98c
movss xmm0, dword [ebp - 0x484]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x494]
movss dword [esp], xmm0
push 7
call fcn.00494ef0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 0xb
jne 0x47c9b9
movss xmm0, dword [ebp - 0x484]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x494]
movss dword [esp], xmm0
push 8
call fcn.00494ef0
cmp dword [edi + 0x204], 0
je 0x47c9dd
cmp dword [edi + 0x220], 0x18
jne 0x47c9f5
call fcn.00565b3a
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 3
jne 0x47c9f5
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 0x47ca09
call fcn.0044c8d0
cmp eax, 1
je 0x47ca1d
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x47ca64
call fcn.0044c8d0
cmp eax, 2
jne 0x47ca64
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00515710
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.005158f0
mov ecx, dword [esi + 0x118]
call fcn.00515690
mov edi, eax
test edi, edi
jne 0x47c350
mov eax, dword [ebp - 0x480]
cmp dword [eax + 0x3c], 0xc
jne 0x47cc05
mov eax, dword [ebp - 0x47c]
mov ecx, dword [esi + 0x118]
push 2
push dword [eax + 0x10c]
push dword [eax + 0x108]
call fcn.005155e0
mov esi, eax
test esi, esi
je 0x47cbff
mov edi, dword [ebp - 0x498]
mov ecx, esi
call fcn.0044c8d0
cmp eax, 1
jne 0x47cbef
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 0x47cbef
mov eax, dword [ecx + 0x10c]
sub eax, dword [esi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x47cbef
mov ecx, edi
call fcn.0044c8d0
cmp eax, 1
jne 0x47cbef
test byte [edi + 0x204], 2
je 0x47cbef
mov eax, dword [esi + 0x220]
sub eax, 9
cmp eax, 8
ja 0x47cbef
cmp dword [esi + 0x224], 1
jge 0x47cbef
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x108]
cmp edx, dword [esi + 0x108]
jne 0x47cb64
mov eax, dword [ecx + 0x10c]
cmp eax, dword [esi + 0x10c]
je 0x47cbef
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 - 0x48b], al
movzx eax, byte [esi + 0x10c]
mov byte [ebp - 0x48a], al
movzx eax, byte [esi + 0x110]
push 0
mov byte [ebp - 0x489], al
movzx eax, byte [esi + 0x114]
push 5
mov byte [ebp - 0x488], al
lea eax, [ebp - 0x490]
push eax
push 9
push dword [esi + 0x10c]
mov byte [ebp - 0x490], 0x1b
push dword [esi + 0x108]
mov dword [ebp - 0x48f], esi
push 0
call fcn.0052acd0
mov ecx, dword [edi + 0x118]
call fcn.00515690
jmp 0x47cab8
mov esi, dword [ebp - 0x498]
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.005158f0
mov esi, dword [ebp - 0x4a4]
test esi, esi
je 0x47cc71
mov ecx, dword [ebp - 0x49c]
mov eax, 0x66666667
sub ecx, esi
imul ecx
sar edx, 1
mov eax, edx
shr eax, 0x1f
add eax, edx
lea ecx, [eax + eax*4]
mov eax, esi
cmp ecx, 0x1000
jb 0x47cc67
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x47cc8e
push ecx
push esi
call fcn.0055647a
add esp, 8
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.00556488
mov esp, ebp
pop ebp
ret 0x10
call fcn.0058daf0
int3