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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c1790
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x626734]
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 - 0x484], 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.0043eb20
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4ec]
push eax
call fcn.00513670
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.00513550
mov edi, eax
test edi, edi
je 0x481195
nop dword [eax]
mov ecx, edi
call fcn.0044ccc0
cmp eax, 1
jne 0x481180
cmp dword [ebp + 0x14], edi
je 0x481180
mov eax, dword [ebp - 0x47c]
cmp edi, dword [eax + 0x14f48]
je 0x481180
mov ecx, dword [edi + 0x21c]
test ecx, ecx
je 0x480ab3
call fcn.00474b60
cmp eax, 0xa
jge 0x481180
push dword [ebp - 0x47c]
mov ecx, dword [ebp + 0x10]
sub dword [edi + 0x1ac], ecx
push ecx
mov ecx, edi
call fcn.00499620
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.00529cd0
cmp dword [edi + 0x1ac], 0
jg 0x480c23
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 0x480b4d
mov byte [edi + 0x1f8], 1
movss xmm0, dword [edi + 0x17c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x480bcd
mov ecx, edi
call fcn.00498d10
push eax
lea eax, [ebp - 0x410]
push str.Loot_falls_from_the_sky_onto_the__ss_corpse_
push eax
call fcn.0043d370
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d1c0
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 [0x5d3318]
cvttss2si eax, xmm0
mov dword [edi + 0x1c0], eax
mov ecx, edi
call fcn.00498a70
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x480c05
call fcn.0044ccc0
cmp eax, 1
jne 0x480c05
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00513670
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push 1
jmp 0x481151
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x481180
call fcn.0044ccc0
cmp eax, 2
jne 0x481180
jmp 0x480be8
cmp word [ebp - 0x4a8], 0
je 0x480cf9
call fcn.00565cd7
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 0x480cf9
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.00498ae0
mov ecx, eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x480cf9
cmp ecx, 1
mov eax, str.The__s_is_Slowed.
mov esi, str.The__s_resisted_your_slowing_effect_
mov ecx, edi
cmovne esi, eax
call fcn.00498d10
push eax
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.0043d370
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d1c0
mov esi, dword [ebp - 0x484]
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]
mov eax, dword [ebp - 0x4c8]
test ax, ax
je 0x480dc8
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.00498ae0
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.00499620
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x480dc2
mov ecx, edi
call fcn.00498d10
push eax
lea eax, [ebp - 0x410]
push str.The__s_is_more_vulnerable_to_other_dusts.
push eax
call fcn.0043d370
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d1c0
mov esi, dword [ebp - 0x484]
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 0x480dc8
mov esi, dword [ebp - 0x484]
cmp word [ebp - 0x4ac], 0
je 0x480e9e
call fcn.00565cd7
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 0x480e9e
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.00498ae0
mov ecx, eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x480e9e
cmp ecx, 1
mov eax, str.The__s_is_Blinded.
mov esi, str.The__s_resisted_your_blinding_effect.
mov ecx, edi
cmovne esi, eax
call fcn.00498d10
push eax
lea eax, [ebp - 0x410]
push esi
push eax
call fcn.0043d370
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d1c0
mov esi, dword [ebp - 0x484]
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]
cmp word [ebp - 0x4b0], 0
je 0x480ef1
call fcn.00565cd7
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 0x480ef1
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, edi
movss dword [esp + 4], xmm0
mulss xmm0, dword [0x5d0a98]
movss dword [esp], xmm0
push 0xa
call fcn.00498ae0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x38], 0
jle 0x4810d5
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x48c], eax
add eax, 0xfffffffa
cmp eax, 0x79
ja 0x4810d5
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 - 0x498], xmm1
movss dword [ebp - 0x494], xmm0
jne 0x481011
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 3
call fcn.00498ae0
movss xmm0, dword [ebp - 0x494]
movss xmm1, dword [ebp - 0x498]
jmp 0x481019
movss dword [ebp - 0x494], xmm0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 9
jne 0x481042
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 4
call fcn.00498ae0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 8
jne 0x481075
movss xmm0, dword [ebp - 0x498]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x494]
movss dword [esp], xmm0
push 2
call fcn.00498ae0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 0xa
jne 0x4810a8
movss xmm0, dword [ebp - 0x498]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x494]
movss dword [esp], xmm0
push 7
call fcn.00498ae0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 0xb
jne 0x4810d5
movss xmm0, dword [ebp - 0x498]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x494]
movss dword [esp], xmm0
push 8
call fcn.00498ae0
cmp dword [edi + 0x204], 0
je 0x4810f9
cmp dword [edi + 0x220], 0x18
jne 0x481111
call fcn.00565cd7
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 3
jne 0x481111
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 0x481125
call fcn.0044ccc0
cmp eax, 1
je 0x481139
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x481180
call fcn.0044ccc0
cmp eax, 2
jne 0x481180
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00513670
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.00513850
mov ecx, dword [esi + 0x118]
call fcn.005135f0
mov edi, eax
test edi, edi
jne 0x480a70
mov eax, dword [ebp - 0x480]
cmp dword [eax + 0x3c], 0xc
jne 0x481321
mov eax, dword [ebp - 0x47c]
mov ecx, dword [esi + 0x118]
push 2
push dword [eax + 0x10c]
push dword [eax + 0x108]
call fcn.00513550
mov esi, eax
test esi, esi
je 0x48131b
mov edi, dword [ebp - 0x484]
mov ecx, esi
call fcn.0044ccc0
cmp eax, 1
jne 0x48130b
mov ecx, dword [ebp - 0x47c]
mov eax, dword [ecx + 0x108]
sub eax, dword [esi + 0x108]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x48130b
mov eax, dword [ecx + 0x10c]
sub eax, dword [esi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 2
jg 0x48130b
mov ecx, edi
call fcn.0044ccc0
cmp eax, 1
jne 0x48130b
test byte [edi + 0x204], 2
je 0x48130b
mov eax, dword [esi + 0x220]
sub eax, 9
cmp eax, 8
ja 0x48130b
cmp dword [esi + 0x224], 1
jge 0x48130b
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x108]
cmp edx, dword [esi + 0x108]
jne 0x481280
mov eax, dword [ecx + 0x10c]
cmp eax, dword [esi + 0x10c]
je 0x48130b
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.00529cd0
mov ecx, dword [edi + 0x118]
call fcn.005135f0
jmp 0x4811d4
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.00513850
mov esi, dword [ebp - 0x4a4]
test esi, esi
je 0x48138d
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 0x481383
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4813aa
push ecx
push esi
call fcn.005566a6
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.005566b4
mov esp, ebp
pop ebp
ret 0x10
call fcn.0058d637
int3