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

Disassembly:
sub esp, 0x44
mov eax, dword [0x56fb04]
push ebx
push edi
mov edi, dword [0x5fcd1c]
cmp eax, edi
push str.Poly_buffer_overflowed_before_Panel_Display
setbe cl
push ecx
call fcn.004015b0
mov eax, dword [0x6a9038]
xor ebx, ebx
add esp, 8
cmp eax, ebx
mov byte [esp + 0xb], bl
je 0x465907
cmp dword [eax + 0xe18], ebx
jne 0x465902
cmp byte [eax + 0x1ac], bl
je 0x465907
mov byte [esp + 0xb], 1
cmp byte [0x60f772], bl
je 0x465954
cmp dword [eax + 0xe18], ebx
jne 0x465938
cmp byte [eax + 0x1ac], bl
jne 0x465938
mov eax, dword [0x6b4ca8]
mov edx, dword [0x60f778]
sub eax, edx
imul eax, dword [0x54e8d4]
shr eax, 0xc
jmp 0x46593a
xor eax, eax
mov ecx, dword [0x60f774]
cmp ecx, eax
jbe 0x46594e
sub ecx, eax
mov dword [0x60f774], ecx
jmp 0x465954
mov dword [0x60f774], ebx
mov edx, dword [0x6b4ca8]
mov dword [0x60f778], edx
call fcn.00461d00
mov eax, dword [0x54d47c]
mov edi, dword [0x6a9038]
cmp eax, ebx
mov dword [esp + 0x14], edi
je 0x466a78
cmp byte [esp + 0xb], bl
jne 0x466a78
push ebp
push esi
call fcn.00463860
mov eax, dword [0x60f760]
push ebx
mov eax, dword [eax + 4]
push eax
call fcn.00462bb0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x465d10
mov ecx, dword [0x60f760]
mov edx, dword [0x60f76c]
push 0x10
push 0x14
push ecx
add edx, 0x3a
push esi
push edx
push 0x50
call fcn.00462c30
mov al, byte [edi + 0x5e8]
add esp, 0x18
cmp al, bl
je 0x4659fd
mov eax, dword [0x6b4ca8]
shl eax, 5
and eax, 0xfff
movsx ecx, word [eax*4 + 0x610c48]
mov eax, ecx
sar eax, 0x1f
mov edx, eax
xor edx, ecx
sub edx, eax
shl edx, 7
mov eax, edx
sar eax, 0xc
jmp 0x465a02
mov eax, 0x80
mov byte [esi + 5], al
mov byte [esi + 6], al
mov eax, dword [0x6a9038]
mov eax, dword [eax + 0x5d8]
cmp eax, 0xa
jge 0x465a23
mov byte [0x54ea90], 0x30
add al, 0x30
jmp 0x465a2c
mov byte [0x54ea90], 0x31
add al, 0x26
push 0x100
mov byte [0x54ea91], al
call fcn.00458620
push 1
call fcn.00458610
push ebx
push 0x80
push 0x80
push 0x80
call fcn.00458640
push 0x6b
push 0x3c
push 0x45
call fcn.00458670
push 0xffd
call fcn.00458630
mov ecx, dword [0x60f76c]
push 0x1000
push ebx
add ecx, 0x38
push 0x54ea90
push ecx
push 0x5f
call fcn.00458700
push ebx
call fcn.00458630
add esp, 0x40
mov ecx, dword [0x6b4ca8]
mov edx, dword [0x6a9038]
sub ecx, dword [edx + 0x5dc]
cmp ecx, 0x20
jge 0x465b3d
lea eax, [ecx*4]
mov di, word [esi + 8]
mov edx, eax
mov eax, 0xff
sub eax, edx
mov bp, word [esi + 0xa]
mov byte [esi + 4], al
mov byte [esi + 5], al
mov byte [esi + 6], al
mov eax, 0x20
sub eax, ecx
mov cx, word [esi + 0x10]
movsx edx, di
movsx ecx, cx
sub ecx, edx
mov dx, word [esi + 0x1a]
shl eax, 7
movsx ebx, bp
imul ecx, eax
movsx edx, dx
sub edx, ebx
imul edx, eax
mov ax, word [esi + 0x10]
sar ecx, 0xc
sub word [esi + 0x18], cx
add word [esi + 0x20], cx
add eax, ecx
sub edi, ecx
mov cl, byte [esi + 0x1d]
mov word [esi + 0x10], ax
mov ax, word [esi + 0x1a]
mov word [esi + 8], di
sar edx, 0xc
sub word [esi + 0x12], dx
add word [esi + 0x22], dx
add eax, edx
sub ebp, edx
mov word [esi + 0x1a], ax
mov al, byte [esi + 0x25]
dec cl
dec al
mov word [esi + 0xa], bp
mov byte [esi + 0x1d], cl
mov byte [esi + 0x25], al
xor ebx, ebx
mov eax, dword [0x60f760]
push str.No_WebCartAnim_texture.
cmp dword [eax + 4], ebx
setne cl
push ecx
call fcn.004015b0
mov edx, dword [0x60f760]
xor ecx, ecx
push ebx
mov eax, dword [edx + 4]
mov cx, word [eax + 2]
push ecx
call fcn.00506440
fild dword [0x568158]
xor eax, eax
xor edx, edx
mov al, byte [esi + 4]
mov dl, byte [esi + 5]
fstp dword [esp + 0x28]
or eax, 0xffffff00
mov dword [esp + 0x50], ebx
shl eax, 8
or eax, edx
mov edx, dword [0x628614]
mov dword [esp + 0x4c], edx
xor ecx, ecx
fild qword [esp + 0x4c]
mov cl, byte [esi + 6]
mov edx, dword [0x61b5fc]
shl eax, 8
fstp dword [esp + 0x24]
fld dword [esp + 0x28]
fdiv dword [esp + 0x24]
or eax, ecx
mov dword [esp + 0x4c], edx
movsx ecx, word [esi + 0x22]
mov dword [esp + 0x28], ecx
mov dword [esp + 0x50], ebx
movsx ecx, word [esi + 0x20]
movsx edx, word [esi + 0x1a]
fstp dword [esp + 0x24]
fild dword [esp + 0x28]
fstp dword [esp + 0x28]
fld dword [esp + 0x28]
fmul dword [esp + 0x24]
fstp dword [esp + 0x34]
fild dword [0x568154]
fstp dword [esp + 0x28]
fild qword [esp + 0x4c]
fstp dword [esp + 0x30]
fld dword [esp + 0x28]
fdiv dword [esp + 0x30]
mov dword [esp + 0x30], ecx
movsx ecx, word [esi + 0x18]
fstp dword [esp + 0x28]
fild dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fmul dword [esp + 0x28]
mov dword [esp + 0x30], edx
movsx edx, word [esi + 0x12]
fstp dword [esp + 0x38]
fild dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fmul dword [esp + 0x24]
mov dword [esp + 0x30], ecx
fstp dword [esp + 0x3c]
fild dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fmul dword [esp + 0x28]
mov dword [esp + 0x30], edx
fstp dword [esp + 0x40]
fild dword [esp + 0x30]
fstp dword [esp + 0x30]
fld dword [esp + 0x30]
fmul dword [esp + 0x24]
movsx ecx, word [esi + 0x10]
fstp dword [esp + 0x44]
mov dword [esp + 0x30], ecx
push 0x40c00000
fild dword [esp + 0x34]
movsx edx, word [esi + 0xa]
fstp dword [esp + 0x34]
fld dword [esp + 0x34]
fmul dword [esp + 0x2c]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x38]
movsx ecx, word [esi + 8]
fstp dword [esp + 0x50]
fild dword [esp + 0x34]
push eax
push 0x3f800000
push 0x3f800000
push edx
fstp dword [esp + 0x44]
fld dword [esp + 0x44]
fmul dword [esp + 0x38]
mov edx, dword [esp + 0x50]
mov dword [esp + 0x44], ecx
mov ecx, dword [esp + 0x4c]
fstp dword [esp + 0x38]
fild dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x58]
push eax
push 0x3f800000
fstp dword [esp + 0x50]
fld dword [esp + 0x50]
fmul dword [esp + 0x48]
push ebx
push edx
mov edx, dword [esp + 0x6c]
push ecx
mov ecx, dword [esp + 0x78]
push eax
push ebx
push 0x3f800000
push edx
mov edx, dword [esp + 0x60]
fstp dword [esp + 0x6c]
push ecx
push eax
mov eax, dword [esp + 0x74]
push ebx
push ebx
push edx
push eax
call fcn.00507910
add esp, 0x64
mov edi, dword [0x60f754]
cmp edi, ebx
jne 0x465d2a
mov edi, dword [0x60f750]
cmp edi, ebx
jne 0x465d2a
mov edi, dword [0x60f758]
mov eax, dword [edi + 4]
push ebx
push eax
call fcn.00462bb0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x465f4e
mov ecx, dword [0x54e9bc]
mov edx, dword [0x54e9b8]
mov eax, dword [0x60f76c]
add ecx, 0x1e
push ecx
mov ecx, dword [0x54e9b4]
add edx, 0x1c
push edx
lea edx, [ecx + eax + 0x2d]
mov eax, dword [0x54e9b0]
push edi
push esi
add eax, 0x41
push edx
push eax
call fcn.00462c30
mov ecx, dword [edi + 4]
push str.No_spidey_health_bar_texture.
cmp ecx, ebx
setne cl
push ecx
call fcn.004015b0
mov edx, dword [edi + 4]
xor eax, eax
push ebx
mov ax, word [edx + 2]
push eax
call fcn.00506440
fild dword [0x568158]
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 4]
mov cl, byte [esi + 5]
fstp dword [esp + 0x64]
or eax, 0xffffff00
mov dword [esp + 0x60], ebx
shl eax, 8
or eax, ecx
mov ecx, dword [0x628614]
mov dword [esp + 0x5c], ecx
xor edx, edx
fild qword [esp + 0x5c]
mov dl, byte [esi + 6]
mov ecx, dword [0x61b5fc]
shl eax, 8
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
or eax, edx
mov dword [esp + 0x5c], ecx
movsx edx, word [esi + 0x22]
mov dword [esp + 0x64], edx
mov dword [esp + 0x60], ebx
movsx edx, word [esi + 0x20]
movsx ecx, word [esi + 0x1a]
fstp dword [esp + 0x3c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x58]
fild dword [0x568154]
fstp dword [esp + 0x64]
fild qword [esp + 0x5c]
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x40]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x40]
mov dword [esp + 0x64], ecx
fstp dword [esp + 0x5c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
movsx edx, word [esi + 0x18]
fstp dword [esp + 0x54]
mov dword [esp + 0x64], edx
push 0x3f800000
fild dword [esp + 0x68]
movsx ecx, word [esi + 0x12]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fmul dword [esp + 0x44]
mov dword [esp + 0x68], ecx
push eax
movsx edx, word [esi + 0x10]
fstp dword [esp + 0x58]
fild dword [esp + 0x6c]
movsx ecx, word [esi + 0xa]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fmul dword [esp + 0x44]
mov dword [esp + 0x6c], edx
push 0x3f800000
movsx edx, word [esi + 8]
fstp dword [esp + 0x58]
fild dword [esp + 0x70]
push 0x3f800000
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fmul dword [esp + 0x50]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x5c]
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x68]
fstp dword [esp + 0x54]
fild dword [esp + 0x7c]
push eax
push 0x3f800000
push ebx
push ecx
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fmul dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
push ebx
push 0x3f800000
push ecx
push edx
fstp dword [esp + 0xa4]
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x80]
push ebx
push ebx
push eax
push ecx
call fcn.00507910
add esp, 0x7c
mov edx, dword [0x60f758]
xor ebp, ebp
lea edi, [edx + 0x18]
mov eax, dword [edi + 4]
push ebx
push eax
call fcn.00462bb0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x46617e
mov eax, dword [0x54e9cc]
mov ecx, dword [0x54e9c8]
mov edx, dword [0x60f76c]
add eax, 0x10
push eax
mov eax, dword [0x54e9c4]
add ecx, 0x10
push ecx
lea ecx, [eax + edx + 0x24]
mov edx, dword [0x54e9c0]
push edi
push esi
push ecx
lea eax, [edx + ebp + 0x54]
push eax
call fcn.00462c30
mov eax, dword [edi + 4]
push str.No_spidey_health_bar_texture.
cmp eax, ebx
setne cl
push ecx
call fcn.004015b0
mov edx, dword [edi + 4]
xor eax, eax
push ebx
mov ax, word [edx + 2]
push eax
call fcn.00506440
fild dword [0x568158]
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 4]
mov cl, byte [esi + 5]
fstp dword [esp + 0x64]
or eax, 0xffffff00
mov dword [esp + 0x70], ebx
shl eax, 8
or eax, ecx
mov ecx, dword [0x628614]
mov dword [esp + 0x6c], ecx
xor edx, edx
fild qword [esp + 0x6c]
mov dl, byte [esi + 6]
mov ecx, dword [0x61b5fc]
shl eax, 8
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
or eax, edx
mov dword [esp + 0x74], ecx
movsx edx, word [esi + 0x22]
mov dword [esp + 0x64], edx
mov dword [esp + 0x78], ebx
movsx edx, word [esi + 0x20]
movsx ecx, word [esi + 0x1a]
fstp dword [esp + 0x3c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x58]
fild dword [0x568154]
fstp dword [esp + 0x64]
fild qword [esp + 0x74]
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x40]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x40]
mov dword [esp + 0x64], ecx
fstp dword [esp + 0x5c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
movsx edx, word [esi + 0x18]
fstp dword [esp + 0x54]
mov dword [esp + 0x64], edx
push 0x3f800000
fild dword [esp + 0x68]
movsx ecx, word [esi + 0x12]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fmul dword [esp + 0x44]
mov dword [esp + 0x68], ecx
push eax
movsx edx, word [esi + 0x10]
fstp dword [esp + 0x58]
fild dword [esp + 0x6c]
movsx ecx, word [esi + 0xa]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fmul dword [esp + 0x44]
mov dword [esp + 0x6c], edx
push 0x3f800000
movsx edx, word [esi + 8]
fstp dword [esp + 0x58]
fild dword [esp + 0x70]
push 0x3f800000
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fmul dword [esp + 0x50]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x5c]
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x68]
fstp dword [esp + 0x54]
fild dword [esp + 0x7c]
push eax
push 0x3f800000
push ebx
push ecx
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fmul dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
push ebx
push 0x3f800000
push ecx
push edx
fstp dword [esp + 0xa4]
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x80]
push ebx
push ebx
push eax
push ecx
call fcn.00507910
add esp, 0x7c
add ebp, 0x19
cmp ebp, 0x32
jl 0x465f59
mov eax, dword [edi + 0xc]
add edi, 8
push ebx
push eax
call fcn.00462bb0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4663b2
mov edx, dword [0x54e9dc]
mov eax, dword [0x54e9d8]
mov ecx, dword [0x60f76c]
add edx, 0x10
push edx
mov edx, dword [0x54e9d4]
add eax, 0xc
push eax
lea eax, [edx + ecx + 0x24]
mov ecx, dword [0x54e9d0]
push edi
push esi
add ecx, 0x83
push eax
push ecx
call fcn.00462c30
mov edx, dword [edi + 4]
push str.No_spidey_health_bar_texture.
cmp edx, ebx
setne dl
push edx
call fcn.004015b0
mov eax, dword [edi + 4]
xor ecx, ecx
push ebx
mov cx, word [eax + 2]
push ecx
call fcn.00506440
fild dword [0x568158]
xor eax, eax
xor edx, edx
mov al, byte [esi + 4]
mov dl, byte [esi + 5]
fstp dword [esp + 0x64]
or eax, 0xffffff00
mov dword [esp + 0x78], ebx
shl eax, 8
or eax, edx
mov edx, dword [0x628614]
mov dword [esp + 0x74], edx
xor ecx, ecx
fild qword [esp + 0x74]
mov cl, byte [esi + 6]
mov edx, dword [0x61b5fc]
shl eax, 8
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
or eax, ecx
mov dword [esp + 0x74], edx
movsx ecx, word [esi + 0x22]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], ebx
movsx ecx, word [esi + 0x20]
movsx edx, word [esi + 0x1a]
fstp dword [esp + 0x3c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x58]
fild dword [0x568154]
fstp dword [esp + 0x64]
fild qword [esp + 0x74]
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
fstp dword [esp + 0x40]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x40]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x5c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
movsx ecx, word [esi + 0x18]
fstp dword [esp + 0x54]
mov dword [esp + 0x64], ecx
push 0x3f800000
fild dword [esp + 0x68]
movsx edx, word [esi + 0x12]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fmul dword [esp + 0x44]
mov dword [esp + 0x68], edx
push eax
movsx ecx, word [esi + 0x10]
fstp dword [esp + 0x58]
fild dword [esp + 0x6c]
movsx edx, word [esi + 0xa]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fmul dword [esp + 0x44]
mov dword [esp + 0x6c], ecx
push 0x3f800000
movsx ecx, word [esi + 8]
fstp dword [esp + 0x58]
fild dword [esp + 0x70]
push 0x3f800000
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fmul dword [esp + 0x50]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
fstp dword [esp + 0x5c]
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul dword [esp + 0x50]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x54]
fild dword [esp + 0x7c]
push eax
push 0x3f800000
push ebx
push edx
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fmul dword [esp + 0x68]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push eax
push ebx
push 0x3f800000
push edx
mov edx, dword [esp + 0x78]
fstp dword [esp + 0xa0]
push ecx
push eax
mov eax, dword [esp + 0xa8]
push ebx
push ebx
push edx
push eax
call fcn.00507910
add esp, 0x7c
mov eax, dword [edi - 0x14]
sub edi, 0x18
push ebx
push eax
call fcn.00462bb0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4665d9
mov ecx, dword [0x54e9ec]
mov edx, dword [0x54e9e8]
mov eax, dword [0x60f76c]
add ecx, 0x10
push ecx
mov ecx, dword [0x54e9e4]
add edx, 0x10
push edx
lea edx, [ecx + eax + 0x3b]
mov eax, dword [0x54e9e0]
push edi
push esi
add eax, 0x30
push edx
push eax
call fcn.00462c30
mov ecx, dword [edi + 4]
push str.No_spidey_health_bar_texture.
cmp ecx, ebx
setne cl
push ecx
call fcn.004015b0
mov edx, dword [edi + 4]
xor eax, eax
push ebx
mov ax, word [edx + 2]
push eax
call fcn.00506440
fild dword [0x568158]
xor eax, eax
xor ecx, ecx
mov al, byte [esi + 4]
mov cl, byte [esi + 5]
fstp dword [esp + 0x64]
or eax, 0xffffff00
mov dword [esp + 0x78], ebx
shl eax, 8
or eax, ecx
mov ecx, dword [0x628614]
mov dword [esp + 0x74], ecx
xor edx, edx
fild qword [esp + 0x74]
mov dl, byte [esi + 6]
mov ecx, dword [0x61b5fc]
shl eax, 8
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
or eax, edx
mov dword [esp + 0x74], ecx
movsx edx, word [esi + 0x22]
mov dword [esp + 0x64], edx
mov dword [esp + 0x78], ebx
movsx edx, word [esi + 0x20]
movsx ecx, word [esi + 0x1a]
fstp dword [esp + 0x3c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x58]
fild dword [0x568154]
fstp dword [esp + 0x64]
fild qword [esp + 0x74]
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x40]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x40]
mov dword [esp + 0x64], ecx
fstp dword [esp + 0x5c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
movsx edx, word [esi + 0x18]
fstp dword [esp + 0x54]
mov dword [esp + 0x64], edx
push 0x3f800000
fild dword [esp + 0x68]
movsx ecx, word [esi + 0x12]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fmul dword [esp + 0x44]
mov dword [esp + 0x68], ecx
push eax
movsx edx, word [esi + 0x10]
fstp dword [esp + 0x58]
fild dword [esp + 0x6c]
movsx ecx, word [esi + 0xa]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fmul dword [esp + 0x44]
mov dword [esp + 0x6c], edx
push 0x3f800000
movsx edx, word [esi + 8]
fstp dword [esp + 0x58]
fild dword [esp + 0x70]
push 0x3f800000
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fmul dword [esp + 0x50]
mov dword [esp + 0x74], ecx
mov ecx, dword [esp + 0x68]
push ecx
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x5c]
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul dword [esp + 0x50]
mov dword [esp + 0x78], edx
mov edx, dword [esp + 0x70]
push edx
mov edx, dword [esp + 0x68]
fstp dword [esp + 0x54]
fild dword [esp + 0x7c]
push eax
push 0x3f800000
push ebx
push ecx
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fmul dword [esp + 0x68]
mov ecx, dword [esp + 0x74]
push edx
mov edx, dword [esp + 0x74]
push eax
push ebx
push 0x3f800000
push ecx
push edx
fstp dword [esp + 0xa4]
mov ecx, dword [esp + 0xa4]
push eax
mov eax, dword [esp + 0x80]
push ebx
push ebx
push eax
push ecx
call fcn.00507910
add esp, 0x7c
mov eax, dword [edi + 0xc]
add edi, 8
push ebx
push eax
call fcn.00462bb0
mov esi, eax
add esp, 8
cmp esi, ebx
je 0x4667fe
mov edx, dword [0x54e9fc]
mov eax, dword [0x54e9f8]
mov ecx, dword [0x60f76c]
add edx, 0xc
push edx
mov edx, dword [0x54e9f4]
add eax, 0x10
push eax
lea eax, [edx + ecx + 0x49]
mov ecx, dword [0x54e9f0]
push edi
push esi
add ecx, 0x30
push eax
push ecx
call fcn.00462c30
mov eax, dword [edi + 4]
push str.No_spidey_health_bar_texture.
cmp eax, ebx
setne dl
push edx
call fcn.004015b0
mov eax, dword [edi + 4]
xor ecx, ecx
push ebx
mov cx, word [eax + 2]
push ecx
call fcn.00506440
fild dword [0x568158]
xor eax, eax
xor edx, edx
mov al, byte [esi + 4]
mov dl, byte [esi + 5]
fstp dword [esp + 0x64]
or eax, 0xffffff00
mov dword [esp + 0x78], ebx
shl eax, 8
or eax, edx
mov edx, dword [0x628614]
mov dword [esp + 0x74], edx
xor ecx, ecx
fild qword [esp + 0x74]
mov cl, byte [esi + 6]
mov edx, dword [0x61b5fc]
shl eax, 8
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
or eax, ecx
mov dword [esp + 0x74], edx
movsx ecx, word [esi + 0x22]
mov dword [esp + 0x64], ecx
mov dword [esp + 0x78], ebx
movsx ecx, word [esi + 0x20]
movsx edx, word [esi + 0x1a]
fstp dword [esp + 0x3c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
fstp dword [esp + 0x58]
fild dword [0x568154]
fstp dword [esp + 0x64]
fild qword [esp + 0x74]
fstp dword [esp + 0x5c]
fld dword [esp + 0x64]
fdiv dword [esp + 0x5c]
mov dword [esp + 0x64], ecx
fstp dword [esp + 0x40]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x40]
mov dword [esp + 0x64], edx
fstp dword [esp + 0x5c]
fild dword [esp + 0x64]
fstp dword [esp + 0x64]
fld dword [esp + 0x64]
fmul dword [esp + 0x3c]
movsx ecx, word [esi + 0x18]
fstp dword [esp + 0x54]
mov dword [esp + 0x64], ecx
push 0x3f800000
fild dword [esp + 0x68]
movsx edx, word [esi + 0x12]
fstp dword [esp + 0x68]
fld dword [esp + 0x68]
fmul dword [esp + 0x44]
mov dword [esp + 0x68], edx
push eax
movsx ecx, word [esi + 0x10]
fstp dword [esp + 0x58]
fild dword [esp + 0x6c]
movsx edx, word [esi + 0xa]
fstp dword [esp + 0x6c]
fld dword [esp + 0x6c]
fmul dword [esp + 0x44]
mov dword [esp + 0x6c], ecx
push 0x3f800000
movsx ecx, word [esi + 8]
fstp dword [esp + 0x58]
fild dword [esp + 0x70]
push 0x3f800000
fstp dword [esp + 0x74]
fld dword [esp + 0x74]
fmul dword [esp + 0x50]
mov dword [esp + 0x74], edx
mov edx, dword [esp + 0x68]
push edx
mov edx, dword [esp + 0x68]
fstp dword [esp + 0x5c]
fild dword [esp + 0x78]
fstp dword [esp + 0x78]
fld dword [esp + 0x78]
fmul dword [esp + 0x50]
mov dword [esp + 0x78], ecx
mov ecx, dword [esp + 0x70]
push ecx
mov ecx, dword [esp + 0x68]
fstp dword [esp + 0x54]
fild dword [esp + 0x7c]
push eax
push 0x3f800000
push ebx
push edx
fstp dword [esp + 0x8c]
fld dword [esp + 0x8c]
fmul dword [esp + 0x68]
mov edx, dword [esp + 0x74]
push ecx
mov ecx, dword [esp + 0x74]
push eax
push ebx
push 0x3f800000
push edx
mov edx, dword [esp + 0x78]
fstp dword [esp + 0xa0]
push ecx
push eax
mov eax, dword [esp + 0xa8]
push ebx
push ebx
push edx
push eax
call fcn.00507910
add esp, 0x7c
mov esi, dword [esp + 0x1c]
cmp byte [esi + 0x5e9], bl
je 0x466883
mov ecx, dword [esi + 0xef0]
mov edx, dword [esi + 0x5ec]
mov eax, ecx
push ebx
sub eax, edx
shl eax, 7
cdq
idiv ecx
mov ecx, eax
shl eax, 8
sub eax, ecx
cdq
and edx, 0x7f
add edx, eax
mov eax, 0xff
sar edx, 7
sub eax, edx
mov edx, eax
or dh, 0xff
shl edx, 8
or eax, edx
push eax
push 0xff0000
push eax
lea eax, [ecx + ecx*2]
push 0xff0000
push 6
lea eax, [eax + eax*4]
lea eax, [ecx + eax*4]
mov ecx, 0x3d
cdq
and edx, 0x7f
add eax, edx
mov edx, dword [0x60f76c]
sar eax, 7
sub ecx, eax
add edx, 0x19
push ecx
push edx
push 0x3a
push 0x40000000
call fcn.00462fb0
add esp, 0x28
mov ecx, dword [esi + 0xef0]
movsx edx, word [esi + 0xe2]
mov eax, ecx
sub eax, edx
shl eax, 7
cdq
idiv ecx
mov edi, eax
lea eax, [edi + edi*2]
lea eax, [eax + eax*4]
lea eax, [edi + eax*4]
cdq
and edx, 0x7f
add eax, edx
mov ebp, eax
sar ebp, 7
je 0x4668d9
mov ecx, dword [0x60f76c]
push ebx
push ebx
push ebx
push ebx
push ebx
mov edx, 0x77
push 6
add ecx, 0x19
push ebp
sub edx, ebp
push ecx
push edx
push 0x40400000
call fcn.00462d60
add esp, 0x28
mov eax, dword [0x6b4ca8]
mov ecx, dword [0x6a9038]
sub eax, dword [ecx + 0x5e0]
cmp eax, 0x20
jge 0x4668ff
lea edx, [eax*8]
mov esi, 0xff
sub esi, edx
jmp 0x466901
xor esi, esi
cmp ebp, 0x1e
jg 0x466939
mov ecx, esi
push ebx
shl ecx, 0x10
mov eax, ecx
or ecx, 0xffff
or eax, esi
or ah, 0xff
push eax
push ecx
push eax
mov eax, dword [0x60f76c]
push ecx
push 6
add eax, 0x19
push 0x1e
push eax
push 0x58
push 0x40800000
call fcn.00462fb0
add esp, 0x28
cmp edi, 0x4c
jle 0x466996
lea ecx, [edi - 0x4c]
lea eax, [ecx*8]
sub eax, ecx
lea eax, [eax + eax*4]
lea ecx, [eax + eax*4]
mov eax, 0x4ec4ec4f
imul ecx
sar edx, 4
mov ecx, edx
shr ecx, 0x1f
lea edx, [edx + ecx + 0x19]
mov eax, dword [0x6b4ca8]
imul eax, edx
and eax, 0xfff
mov ecx, dword [0x60f76c]
push ebx
movsx eax, word [eax*4 + 0x610c48]
imul eax, eax
or ah, 0xff
sar eax, 8
push eax
push eax
push eax
push eax
push 6
add ecx, 0x19
push 0x1f
push ecx
jmp 0x4669c0
mov eax, esi
mov ecx, esi
shl eax, 8
mov edx, dword [0x60f76c]
or eax, esi
shl ecx, 0x10
shl eax, 8
or ecx, 0xffff
or al, 0xff
push ebx
push ecx
push eax
push ecx
push eax
push 6
add edx, 0x19
push 0x1f
push edx
push 0x3a
push 0x40800000
call fcn.00462fb0
mov esi, dword [esp + 0x44]
mov eax, 0x1000
add esp, 0x28
sub eax, dword [esi + 0x5d4]
shl eax, 7
cdq
and edx, 0xfff
add eax, edx
sar eax, 0xc
lea ecx, [eax + eax*2]
lea eax, [eax + ecx*4]
shl eax, 1
cdq
and edx, 0x7f
add eax, edx
sar eax, 7
je 0x466a23
mov edx, dword [0x60f76c]
push ebx
push ebx
push ebx
push ebx
sub edx, eax
push ebx
push eax
add edx, 0x43
push 0xb
push edx
push 0x1f
push 0x40400000
call fcn.00462d60
add esp, 0x28
mov al, byte [esi + 0x5e8]
pop esi
pop ebp
cmp al, bl
push ebx
push ebx
je 0x466a47
mov eax, dword [0x60f76c]
push ebx
push ebx
push 0xff
push 0x1a
add eax, 0x29
push 0xb
push eax
jmp 0x466a5e
mov ecx, dword [0x60f76c]
push 0xa0
push 0x40
push 0x40
push 0x1a
add ecx, 0x29
push 0xb
push ecx
push 0x1f
push 0x40800000
call fcn.00462d60
add esp, 0x28
call fcn.00464270
pop edi
pop ebx
add esp, 0x44
ret
cmp byte [0x60f770], bl
je 0x466a85
call fcn.00463860
pop edi
pop ebx
add esp, 0x44
ret