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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5cb0d0
mov eax, dword fs:[0]
push eax
sub esp, 0x4e0
mov eax, dword [0x6327e8]
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.0043ec40
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4ec]
push eax
call fcn.0051b470
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.0051b340
mov edi, eax
test edi, edi
je 0x4827b9
nop dword [eax]
mov ecx, edi
call fcn.0044cdf0
cmp eax, 1
jne 0x4827a4
cmp dword [ebp + 0x14], edi
je 0x4827a4
mov eax, dword [ebp - 0x47c]
cmp edi, dword [eax + 0x14f70]
je 0x4827a4
mov ecx, dword [edi + 0x21c]
test ecx, ecx
je 0x4820d3
call fcn.00475b10
cmp eax, 0xa
jge 0x4827a4
push dword [ebp - 0x47c]
mov ecx, dword [ebp + 0x10]
sub dword [edi + 0x1ac], ecx
push ecx
mov ecx, edi
call fcn.0049b770
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.00531c80
cmp dword [edi + 0x1ac], 0
jg 0x482243
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 0x48216d
mov byte [edi + 0x1f8], 1
movss xmm0, dword [edi + 0x17c]
xorps xmm1, xmm1
comiss xmm0, xmm1
jbe 0x4821ed
mov ecx, edi
call fcn.0049ae60
push eax
lea eax, [ebp - 0x410]
push str.Loot_falls_from_the_sky_onto_the__ss_corpse_
push eax
call fcn.0043d380
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d2f0
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 [0x5dd38c]
cvttss2si eax, xmm0
mov dword [edi + 0x1c0], eax
mov ecx, edi
call fcn.0049abc0
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x482225
call fcn.0044cdf0
cmp eax, 1
jne 0x482225
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.0051b470
push 0xfffffffffffffff6
push 0xfffffffffffffff6
push 1
jmp 0x482775
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x4827a4
call fcn.0044cdf0
cmp eax, 2
jne 0x4827a4
jmp 0x482208
cmp word [ebp - 0x4a8], 0
je 0x48231b
call fcn.0056eac9
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 0x48231b
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.0049ac30
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x48231b
mov ecx, edi
call fcn.0049ae60
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.0043d380
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d2f0
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 0x4823ea
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.0049ac30
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.0049b770
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x4823e4
mov ecx, edi
call fcn.0049ae60
push eax
lea eax, [ebp - 0x410]
push str.The__s_is_more_vulnerable_to_other_dusts.
push eax
call fcn.0043d380
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d2f0
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 0x4823ea
mov esi, dword [ebp - 0x498]
cmp word [ebp - 0x4ac], 0
je 0x4824c2
call fcn.0056eac9
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 0x4824c2
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.0049ac30
mov dword [ebp - 0x484], eax
mov eax, dword [ebp - 0x47c]
test byte [eax + 0x238], 1
je 0x4824c2
mov ecx, edi
call fcn.0049ae60
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.0043d380
push 0x64
lea eax, [ebp - 0x477]
push eax
lea eax, [ebp - 0x410]
push 0x400
push eax
call fcn.0044d2f0
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 0x482515
call fcn.0056eac9
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 0x482515
movd xmm0, eax
sub esp, 8
cvtdq2ps xmm0, xmm0
mov ecx, edi
movss dword [esp + 4], xmm0
mulss xmm0, dword [0x5daa98]
movss dword [esp], xmm0
push 0xa
call fcn.0049ac30
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x38], 0
jle 0x4826f9
mov eax, dword [edx + 0x3c]
mov dword [ebp - 0x48c], eax
add eax, 0xfffffffa
cmp eax, 0x79
ja 0x4826f9
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 0x482635
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 3
call fcn.0049ac30
movss xmm0, dword [ebp - 0x494]
movss xmm1, dword [ebp - 0x484]
jmp 0x48263d
movss dword [ebp - 0x494], xmm0
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 9
jne 0x482666
sub esp, 8
mov ecx, edi
movss dword [esp + 4], xmm1
movss dword [esp], xmm0
push 4
call fcn.0049ac30
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 8
jne 0x482699
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.0049ac30
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 0xa
jne 0x4826cc
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.0049ac30
mov edx, dword [ebp - 0x480]
cmp dword [edx + 0x3c], 0xb
jne 0x4826f9
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.0049ac30
cmp dword [edi + 0x204], 0
je 0x48271d
cmp dword [edi + 0x220], 0x18
jne 0x482735
call fcn.0056eac9
cdq
mov ecx, 0xa
idiv ecx
cmp edx, 3
jne 0x482735
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 0x482749
call fcn.0044cdf0
cmp eax, 1
je 0x48275d
mov ecx, dword [edi + 0x218]
test ecx, ecx
je 0x4827a4
call fcn.0044cdf0
cmp eax, 2
jne 0x4827a4
mov ecx, dword [esi + 0x118]
lea eax, [ebp - 0x4c4]
push eax
call fcn.0051b470
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.0051b650
mov ecx, dword [esi + 0x118]
call fcn.0051b3f0
mov edi, eax
test edi, edi
jne 0x482090
mov eax, dword [ebp - 0x480]
cmp dword [eax + 0x3c], 0xc
jne 0x482945
mov eax, dword [ebp - 0x47c]
mov ecx, dword [esi + 0x118]
push 2
push dword [eax + 0x10c]
push dword [eax + 0x108]
call fcn.0051b340
mov esi, eax
test esi, esi
je 0x48293f
mov edi, dword [ebp - 0x498]
mov ecx, esi
call fcn.0044cdf0
cmp eax, 1
jne 0x48292f
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 0x48292f
mov eax, dword [ecx + 0x10c]
sub eax, dword [esi + 0x10c]
cdq
xor eax, edx
sub eax, edx
cmp eax, 4
jg 0x48292f
mov ecx, edi
call fcn.0044cdf0
cmp eax, 1
jne 0x48292f
test byte [edi + 0x204], 2
je 0x48292f
mov eax, dword [esi + 0x220]
sub eax, 9
cmp eax, 8
ja 0x48292f
cmp dword [esi + 0x224], 1
jge 0x48292f
mov ecx, dword [ebp - 0x47c]
mov edx, dword [ecx + 0x108]
cmp edx, dword [esi + 0x108]
jne 0x4828a4
mov eax, dword [ecx + 0x10c]
cmp eax, dword [esi + 0x10c]
je 0x48292f
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.00531c80
mov ecx, dword [edi + 0x118]
call fcn.0051b3f0
jmp 0x4827f8
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.0051b650
mov esi, dword [ebp - 0x4a4]
test esi, esi
je 0x4829b1
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 0x4829a7
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4829ce
push ecx
push esi
call fcn.0055f41a
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.0055f428
mov esp, ebp
pop ebp
ret 0x10
call fcn.00596a80
int3