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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5c45c0
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x62a780]
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 - 0x484], 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.00513f50
mov eax, dword [ebp - 0x484]
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.00513e20
mov edi, eax
test edi, edi
je 0x480ffe
nop dword [eax]
mov ecx, edi
call fcn.0044cd10
cmp eax, 1
jne 0x480fe9
cmp dword [ebp + 0x14], edi
je 0x480fe9
mov eax, dword [ebp - 0x47c]
cmp edi, dword [eax + 0x14f48]
je 0x480fe9
mov ecx, dword [edi + 0x21c]
test ecx, ecx
je 0x480903
call fcn.00474a20
cmp eax, 0xa
jge 0x480fe9
push dword [ebp - 0x47c]
mov ecx, dword [ebp + 0x10]
sub dword [edi + 0x1ac], ecx
push ecx
mov ecx, edi
call fcn.004992c0
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.0052a580
cmp dword [edi + 0x1ac], 0
jg 0x480a73
mov eax, dword [ebp - 0x47c]
mov dword [edi + 0x208], eax
mov eax, dword [ebp - 0x484]
mov dword [edi + 0x124], 1
cmp dword [eax + 0x3c], 5
jle 0x48099d
mov byte [edi + 0x1f8], 1
movss xmm0, dword [edi + 0x17c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x480a1d
mov ecx, edi
call fcn.004989a0
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.0044d210
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 [0x5d6328]
cvttss2si eax, xmm0
mov dword [edi + 0x1c0], eax
mov ecx, edi
call fcn.00498700
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x480a55
call fcn.0044cd10
cmp eax, 1
jne 0x480a55
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00513f50
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push 1
jmp 0x480fba
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x480fe9
call fcn.0044cd10
cmp eax, 2
jne 0x480fe9
jmp 0x480a38
cmp word [ebp - 0x4a8], 0
je 0x480b4b
call fcn.00568035
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 0x480b4b
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.00498770
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x480b4b
mov ecx, edi
call fcn.004989a0
cmp dword [ebp - 0x480], 1
mov ecx, str.The__s_resisted_your_slowing_effect_
push eax
mov eax, str.The__s_is_Slowed.
cmove eax, ecx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0043d370
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d210
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 0x480c1a
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.00498770
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.004992c0
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x480c14
mov ecx, edi
call fcn.004989a0
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.0044d210
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 0x480c1a
mov esi, dword [ebp - 0x498]
cmp word [ebp - 0x4ac], 0
je 0x480cf2
call fcn.00568035
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 0x480cf2
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.00498770
mov dword [ebp - 0x480], eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x480cf2
mov ecx, edi
call fcn.004989a0
cmp dword [ebp - 0x480], 1
mov ecx, str.The__s_resisted_your_blinding_effect.
push eax
mov eax, str.The__s_is_Blinded.
cmove eax, ecx
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.0043d370
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d210
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 0x480d45
call fcn.00568035
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 0x480d45
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, edi
movss dword [esp + 4], xmm0
mulss xmm0, dword [0x5d3aa8]
movss dword [esp], xmm0
push 0xa
call fcn.00498770
mov edx, dword [ebp - 0x484]
cmp dword [edx + 0x38], 0
jle 0x480f3e
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x480], eax
add eax, 0xfffffffa
cmp eax, 0x79
ja 0x480f3e
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
cvtdq2ps xmm1, xmm1
imul eax, eax, 0x3e8
cmp dword [ebp - 0x480], 7
movss dword [ebp - 0x494], xmm1
mov dword [ebp - 0x48c], eax
jne 0x480e61
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 3
call fcn.00498770
movss xmm1, dword [ebp - 0x494]
mov eax, dword [ebp - 0x48c]
jmp 0x480e69
movss dword [ebp - 0x494], xmm1
mov edx, dword [ebp - 0x484]
movd xmm0, eax
cvtdq2ps xmm0, xmm0
cmp dword [edx + 0x3c], 9
movss dword [ebp - 0x480], xmm0
jne 0x480eab
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 4
call fcn.00498770
movss xmm0, dword [ebp - 0x480]
mov edx, dword [ebp - 0x484]
jmp 0x480eb3
movss dword [ebp - 0x480], xmm0
cmp dword [edx + 0x3c], 8
jne 0x480ede
movss xmm1, dword [ebp - 0x494]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 2
call fcn.00498770
mov edx, dword [ebp - 0x484]
cmp dword [edx + 0x3c], 0xa
jne 0x480f11
movss xmm0, dword [ebp - 0x494]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x480]
movss dword [esp], xmm0
push 7
call fcn.00498770
mov edx, dword [ebp - 0x484]
cmp dword [edx + 0x3c], 0xb
jne 0x480f3e
movss xmm0, dword [ebp - 0x494]
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm0
movss xmm0, dword [ebp - 0x480]
movss dword [esp], xmm0
push 8
call fcn.00498770
cmp dword [edi + 0x204], 0
je 0x480f62
cmp dword [edi + 0x220], 0x18
jne 0x480f7a
call fcn.00568035
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 3
jne 0x480f7a
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 0x480f8e
call fcn.0044cd10
cmp eax, 1
je 0x480fa2
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x480fe9
call fcn.0044cd10
cmp eax, 2
jne 0x480fe9
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.00513f50
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.00514120
mov ecx, dword [esi + 0x118]
call fcn.00513ed0
mov edi, eax
test edi, edi
jne 0x4808c0
mov eax, dword [ebp - 0x484]
cmp dword [eax + 0x3c], 0xc
jne 0x48118d
mov eax, dword [ebp - 0x47c]
mov ecx, dword [esi + 0x118]
push 2
push dword [eax + 0x10c]
push dword [eax + 0x108]
call fcn.00513e20
mov esi, eax
test esi, esi
je 0x481187
mov edi, dword [ebp - 0x498]
nop dword [eax]
mov ecx, esi
call fcn.0044cd10
cmp eax, 1
jne 0x481177
mov ecx, dword [ebp - 0x47c]
mov eax, dword [ecx + 0x108]
sub eax, dword [esi + 0x108]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x481177
mov eax, dword [ecx + 0x10c]
sub eax, dword [esi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 3
jg 0x481177
mov ecx, edi
call fcn.0044cd10
cmp eax, 1
jne 0x481177
test byte [edi + 0x204], 2
je 0x481177
mov eax, dword [esi + 0x220]
sub eax, 9
cmp eax, 8
ja 0x481177
cmp dword [esi + 0x224], 1
jge 0x481177
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x108]
cmp edx, dword [esi + 0x108]
jne 0x4810ec
mov eax, dword [ecx + 0x10c]
cmp eax, dword [esi + 0x10c]
je 0x481177
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.0052a580
mov ecx, dword [edi + 0x118]
call fcn.00513ed0
jmp 0x481040
mov esi, dword [ebp - 0x498]
movups xmm0, xmmword [ebp - 0x4ec]
mov eax, dword [ebp - 0x4dc]
sub esp, 0x14
mov ecx, dword [esi + 0x118]
mov edx, esp
movups xmmword [edx], xmm0
mov dword [edx + 0x10], eax
call fcn.00514120
mov esi, dword [ebp - 0x4a4]
test esi, esi
je 0x4811f9
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 0x4811ef
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x481216
push ecx
push esi
call fcn.00558879
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.00558887
mov esp, ebp
pop ebp
ret 0x10
call fcn.0058ffe0
int3