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

Disassembly:
push 0xffffffffffffffff
push 0x573213
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x23c
push ebx
push ebp
push esi
push edi
mov ebx, ecx
mov ecx, dword [str.adveffect058chara.png]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402250
lea edx, [esp + 0x14]
xor ebp, ebp
push edx
lea ecx, [ebx + 0xb0]
mov dword [esp + 0x258], ebp
call fcn.004a77e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
or esi, 0xffffffff
sub eax, ecx
cmp ecx, ebp
mov dword [esp + 0x254], esi
je 0x466533
cmp eax, 0x80
jbe 0x466529
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x466533
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [str.adveffect058chara.png]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402250
lea edx, [esp + 0x14]
lea edi, [ebx + 0xd0]
push edx
mov ecx, edi
mov dword [esp + 0x258], 1
call fcn.004a77e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, ecx
cmp ecx, ebp
mov dword [esp + 0x254], esi
je 0x466596
cmp eax, 0x80
jbe 0x46658c
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x466596
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [str.adveffect058mask.png]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
call fcn.00402250
lea edx, [esp + 0x14]
push edx
lea ecx, [ebx + 0xf0]
mov dword [esp + 0x258], 2
call fcn.004a77e0
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
sub eax, ecx
cmp ecx, ebp
mov dword [esp + 0x254], esi
je 0x4665f7
cmp eax, 0x80
jbe 0x4665ed
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4665f7
push eax
push ecx
call fcn.0050e390
add esp, 8
push 3
push 0x5832a8
lea ecx, [ebx + 0x140]
call fcn.00405300
fld qword [0x57f5a0]
fptan
push 0x457a0000
push 0x3f800000
push 0x3faaaaab
lea esi, [ebx + 4]
push 0x3f860a92
mov ecx, esi
mov dword [esp + 0x24], 0x43a00000
mov dword [esp + 0x28], 0xc3700000
mov dword [esp + 0x78], 0x43a00000
mov dword [esp + 0x7c], 0xc3700000
mov dword [esp + 0x80], 0
fstp st(0)
fdivr dword [0x57f59c]
fchs
fstp dword [esp + 0x2c]
call fcn.004909c0
lea eax, [esp + 0x14]
push eax
mov ecx, esi
call fcn.004909e0
lea ecx, [esp + 0x68]
push ecx
mov ecx, esi
call fcn.00490a10
lea edx, [esp + 0x74]
push edx
mov ecx, esi
mov dword [esp + 0x78], 0
mov dword [esp + 0x7c], 0x3f800000
mov dword [esp + 0x80], 0
call fcn.00490a40
mov al, 0xff
mov byte [esp + 0x2f], al
mov byte [esp + 0x2e], al
mov byte [esp + 0x2d], al
mov byte [esp + 0x2c], al
mov dword [esp + 0x4c], ebp
mov dword [esp + 0x50], ebp
mov dword [esp + 0x54], ebp
mov ecx, edi
mov dword [esp + 0x254], 3
call fcn.004a6c60
mov ecx, edi
mov dword [ebx + 0x16c], eax
call fcn.004a6c70
mov ecx, dword [ebx + 0x16c]
mov esi, eax
mov eax, ecx
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 0x174], eax
mov eax, esi
cdq
sub eax, edx
sar eax, 1
mov dword [ebx + 0x178], eax
mov eax, ecx
cdq
and edx, 7
add eax, edx
mov ecx, eax
mov eax, esi
cdq
and edx, 7
add eax, edx
sar ecx, 3
sar eax, 3
mov dword [ebx + 0x17c], ecx
imul ecx, eax
mov dword [ebx + 0x170], esi
mov dword [ebx + 0x180], eax
lea eax, [esp + 0x10]
push eax
push ecx
push ebp
lea ecx, [esp + 0x58]
mov byte [esp + 0x1c], 0
call fcn.00430350
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x50]
sub ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov dword [esp + 0x20], ebp
mov dword [esp + 0x24], ebp
mov dword [esp + 0x28], ebp
mov ecx, dword [str.adveffect058chara.png]
lea eax, [esp + 0x10]
push eax
push ecx
lea ecx, [esp + 0x1c]
mov byte [esp + 0x25c], 4
call fcn.00402250
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x18]
push eax
mov byte [esp + 0x25c], 5
call fcn.00432790
mov ecx, dword [esp + 0x1c]
add esp, 8
test eax, eax
mov eax, dword [esp + 0x1c]
setne byte [esp + 0x10]
sub eax, ecx
cmp ecx, ebp
mov byte [esp + 0x254], 4
je 0x4667e0
cmp eax, 0x80
jbe 0x4667d6
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4667e0
push eax
push ecx
call fcn.0050e390
add esp, 8
mov al, byte [esp + 0x10]
test al, al
je 0x46688a
mov ecx, dword [str.adveffect058chara.png]
push ecx
push 0x58333c
push ebp
push 0x4c
push 0x58330c
lea ecx, [esp + 0xac]
call fcn.004a2ec0
push eax
call fcn.004a2fb0
mov ecx, dword [esp + 0x30]
add esp, 0x10
cmp ecx, ebp
mov byte [esp + 0x254], 3
je 0x466847
mov eax, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x80
jbe 0x46683d
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x466847
push eax
push ecx
call fcn.0050e390
add esp, 8
cmp esi, ebp
mov dword [esp + 0x254], 0xffffffff
je 0x466880
mov eax, dword [esp + 0x54]
sub eax, esi
cmp eax, 0x80
jbe 0x466876
push esi
call fcn.0052b8dd
add esp, 4
mov eax, 1
jmp 0x4672df
push eax
push esi
call fcn.0050e390
add esp, 8
mov eax, 1
jmp 0x4672df
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ebp
mov ecx, dword [0x5d6ae0]
lea edx, [esp + 0x60]
push edx
lea eax, [esp + 0x24]
push eax
mov byte [esp + 0x25c], 6
call fcn.004660a0
mov ebp, dword [esp + 0x60]
mov edx, dword [ebp]
lea eax, [esp + 0x20]
push eax
mov ecx, ebp
call dword [edx + 0x20]
mov edx, dword [ebp]
mov ecx, ebp
call dword [edx + 0xc]
xor edi, edi
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov eax, dword [ebp]
lea ecx, [esp + 0x34]
push ecx
mov ecx, ebp
mov byte [esp + 0x258], 7
call dword [eax + 0x18]
mov dword [esp + 0x30], ebp
mov eax, dword [ebx + 0x170]
test eax, eax
mov byte [esp + 0x254], 8
jbe 0x46695b
lea ecx, [ecx]
mov ecx, dword [esp + 0x34]
mov edx, dword [ecx]
push edi
call dword [edx + 4]
mov edx, dword [ebx + 0x16c]
xor ecx, ecx
test edx, edx
jbe 0x466950
lea edx, [eax + 3]
lea esp, [esp]
cmp byte [edx], 0
je 0x466942
mov eax, edi
shr eax, 3
imul eax, dword [ebx + 0x17c]
add eax, dword [esp + 0x4c]
mov esi, ecx
shr esi, 3
add eax, esi
inc byte [eax]
mov esi, dword [esp + 0x4c]
mov eax, dword [ebx + 0x16c]
inc ecx
add edx, 4
cmp ecx, eax
jb 0x466920
mov eax, dword [ebx + 0x170]
inc edi
cmp edi, eax
jb 0x466900
mov edx, dword [ebp]
mov ecx, ebp
mov byte [esp + 0x254], 7
call dword [edx + 0x1c]
mov ecx, dword [esp + 0x38]
test ecx, ecx
mov byte [esp + 0x254], 6
je 0x466980
call fcn.004016a0
mov ecx, dword [esp + 0x64]
test ecx, ecx
mov byte [esp + 0x254], 4
je 0x466995
call fcn.004016a0
mov ecx, dword [esp + 0x20]
test ecx, ecx
mov byte [esp + 0x254], 3
je 0x4669c7
mov eax, dword [esp + 0x28]
sub eax, ecx
cmp eax, 0x80
jbe 0x4669bd
push ecx
call fcn.0052b8dd
add esp, 4
jmp 0x4669c7
push eax
push ecx
call fcn.0050e390
add esp, 8
mov ecx, dword [ebx + 0x184]
mov eax, dword [ebx + 0x188]
push 0
lea edx, [esp + 0x14]
push edx
push ecx
push eax
push eax
call fcn.004654a0
xor edi, edi
push edi
mov dword [ebx + 0x188], eax
mov ecx, dword [ebx + 0x190]
mov eax, dword [ebx + 0x194]
lea ebp, [ebx + 0x190]
lea edx, [esp + 0x28]
push edx
push ecx
push eax
push eax
call fcn.004655e0
mov dword [ebp + 4], eax
mov ecx, dword [ebx + 0xd4]
mov eax, dword [ecx]
add esp, 0x28
call dword [eax + 4]
test eax, eax
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
jge 0x466a2d
fadd dword [0x57ecf8]
mov ecx, dword [ebx + 0xd4]
fstp dword [esp + 0xe4]
mov edx, dword [ecx]
call dword [edx + 8]
test eax, eax
mov dword [esp + 0x30], eax
fild dword [esp + 0x30]
jge 0x466a51
fadd dword [0x57ecf8]
mov eax, dword [ebx + 0x180]
fstp dword [esp + 0xe8]
fild dword [ebx + 0x178]
xor edx, edx
cmp eax, edi
mov dword [esp + 0x80], edx
fstp dword [esp + 0x60]
fild dword [ebx + 0x174]
fstp dword [esp + 0x240]
jle 0x467294
mov dword [esp + 0x3c], edi
lea ebx, [ebx]
mov ecx, dword [ebx + 0x17c]
mov eax, ecx
imul eax, edx
cmp ecx, edi
mov dword [esp + 0x88], edi
jle 0x467273
mov dword [esp + 0x58], edi
mov dword [esp + 0x84], eax
cmp byte [eax + esi], 0
je 0x467233
fild dword [esp + 0x58]
mov dword [esp + 0x1fc], eax
lea eax, [esp + 0x8c]
push eax
fadd dword [0x5832a4]
mov ecx, eax
fild dword [esp + 0x40]
push ecx
mov dword [esp + 0x210], 0
mov dword [esp + 0x9c], 0
fadd dword [0x5832a4]
fld dword [0x57e6a0]
fdiv dword [esp + 0xec]
fld st(2)
fsub dword [0x5832a4]
fmul st(1)
fstp dword [esp + 0x4c]
fld st(2)
fadd dword [0x5832a4]
fmul st(1)
fstp dword [esp + 0x48]
fstp st(0)
fld dword [0x57e6a0]
fdiv dword [esp + 0xf0]
fld st(1)
fsub dword [0x5832a4]
fmul st(1)
fstp dword [esp + 0x50]
fld st(1)
fadd dword [0x5832a4]
fmul st(1)
fstp dword [esp + 0x64]
fstp st(0)
fld st(1)
fstp dword [esp + 0x208]
fchs
fstp dword [esp + 0x20c]
fld dword [esp + 0x68]
fchs
fsubr dword [esp + 0x20c]
fxch st(1)
fsub dword [esp + 0x248]
fstp dword [esp + 0x94]
fstp dword [esp + 0x98]
call fcn.0050f51f
mov edx, dword [esp + 0x90]
mov eax, dword [esp + 0x94]
mov esi, dword [esp + 0x8c]
push 0x168
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], edx
mov dword [esp + 0x2c], eax
call fcn.004956d0
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x38], eax
fild dword [esp + 0x38]
mov dword [esp + 0x34], ecx
fmul dword [0x57f594]
fstp dword [esp + 0x38]
mov edi, dword [esp + 0x38]
push edi
call fcn.004b02e0
fmul dword [esp + 0x2c]
push edi
fstp dword [esp + 0x30]
call fcn.004b0270
fmul dword [esp + 0x3c]
mov edx, dword [esp + 0x30]
add esp, 0xc
mov dword [esp + 0x20c], esi
fstp dword [esp + 0x28]
mov eax, dword [esp + 0x28]
fld dword [esp + 0x28]
mov dword [esp + 0x210], edx
fld dword [esp + 0x20]
mov dword [esp + 0x214], eax
fpatan
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x48]
mov dword [esp + 0xec], ecx
mov dword [esp + 0xf0], edx
mov dword [esp + 0xb4], 0
mov ecx, dword [esp + 0xb4]
mov dword [esp + 0x128], ecx
mov dword [esp + 0xb8], 0
mov edx, dword [esp + 0xb8]
mov dword [esp + 0x12c], edx
mov dword [esp + 0x10c], 0
mov ecx, dword [esp + 0x10c]
mov dword [esp + 0x138], ecx
mov ecx, dword [esp + 0xec]
mov dword [esp + 0x110], 0
mov edx, dword [esp + 0x110]
mov dword [esp + 0x13c], edx
mov edx, dword [esp + 0xf0]
mov dword [esp + 0x140], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x144], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xa0], ecx
mov dword [esp + 0xa4], edx
mov dword [esp + 0xc4], 0
mov ecx, dword [esp + 0xc4]
mov dword [esp + 0x148], ecx
mov dword [esp + 0xc8], 0
mov edx, dword [esp + 0xc8]
mov dword [esp + 0x14c], edx
mov dword [esp + 0xa8], 0x3f800000
mov edx, dword [esp + 0xa8]
mov dword [esp + 0xcc], 0
mov ecx, dword [esp + 0xcc]
mov dword [esp + 0x150], ecx
mov dword [esp + 0x15c], edx
mov edx, dword [esp + 0xa0]
mov dword [esp + 0xac], 0
mov ecx, dword [esp + 0xac]
mov dword [esp + 0x160], ecx
mov ecx, dword [esp + 0xa4]
mov dword [esp + 0x164], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x168], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0x104], edx
mov dword [esp + 0xb0], 0
mov eax, dword [esp + 0xb0]
mov dword [esp + 0xd8], 0
mov edx, dword [esp + 0xd8]
mov dword [esp + 0x124], eax
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x108], ecx
mov dword [esp + 0xdc], 0
mov ecx, dword [esp + 0xdc]
mov dword [esp + 0xe0], 0
mov dword [esp + 0x16c], edx
mov edx, dword [esp + 0xe0]
mov dword [esp + 0x130], 0x3f800000
mov dword [esp + 0x134], eax
mov dword [esp + 0x154], 0x3f800000
mov dword [esp + 0x158], eax
mov dword [esp + 0xf4], 0
mov dword [esp + 0xf8], 0x3f800000
mov dword [esp + 0x170], ecx
mov dword [esp + 0x174], edx
mov dword [esp + 0x178], 0x3f800000
mov dword [esp + 0x17c], eax
fstp dword [esp + 0x218]
fld dword [esp + 0x20]
fmul dword [esp + 0x20]
fld dword [esp + 0x28]
fmul dword [esp + 0x28]
faddp st(1)
fsqrt
fstp dword [esp + 0x21c]
mov ecx, dword [esp + 0xf4]
mov edx, dword [esp + 0xf8]
mov dword [esp + 0x180], ecx
mov ecx, dword [esp + 0x104]
mov dword [esp + 0x184], edx
mov edx, dword [esp + 0x108]
mov dword [esp + 0x188], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0xbc], ecx
mov dword [esp + 0x18c], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xc0], edx
mov dword [esp + 0x74], 0
mov ecx, dword [esp + 0x74]
mov dword [esp + 0x190], ecx
mov dword [esp + 0x78], 0
mov edx, dword [esp + 0x78]
mov dword [esp + 0x194], edx
mov dword [esp + 0x7c], 0
mov ecx, dword [esp + 0x7c]
mov dword [esp + 0x198], ecx
mov dword [esp + 0x114], 0x3f800000
mov edx, dword [esp + 0x114]
mov dword [esp + 0x1a4], edx
mov edx, dword [esp + 0xbc]
mov dword [esp + 0x1ac], edx
mov edx, dword [esp + 0x44]
mov dword [esp + 0x118], 0
mov ecx, dword [esp + 0x118]
mov dword [esp + 0x1a8], ecx
mov ecx, dword [esp + 0xc0]
mov dword [esp + 0x1b0], ecx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xd0], edx
mov dword [esp + 0xd4], ecx
mov dword [esp + 0x68], 0
mov edx, dword [esp + 0x68]
mov dword [esp + 0x1b4], edx
mov dword [esp + 0x6c], 0
mov ecx, dword [esp + 0x6c]
mov dword [esp + 0x1b8], ecx
mov dword [esp + 0xfc], 0
mov ecx, dword [esp + 0xfc]
mov dword [esp + 0x1c8], ecx
mov ecx, dword [esp + 0xd0]
mov dword [esp + 0x70], 0
mov edx, dword [esp + 0x70]
mov dword [esp + 0x1bc], edx
mov dword [esp + 0x100], 0x3f800000
mov edx, dword [esp + 0x100]
mov dword [esp + 0x1cc], edx
mov edx, dword [esp + 0xd4]
mov dword [esp + 0x1d0], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x1d4], edx
mov edx, dword [esp + 0x5c]
mov dword [esp + 0x98], ecx
mov dword [esp + 0x14], 0
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x9c], edx
mov dword [esp + 0x1d8], ecx
mov dword [esp + 0x18], 0
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], 0
mov ecx, dword [esp + 0x1c]
mov dword [esp + 0x1a0], eax
mov dword [esp + 0x1c4], eax
mov dword [esp + 0x11c], 0x3f800000
mov dword [esp + 0x120], 0x3f800000
mov dword [esp + 0x1dc], edx
mov edx, dword [esp + 0x11c]
mov dword [esp + 0x1e0], ecx
mov ecx, dword [esp + 0x98]
mov dword [esp + 0x1e8], eax
mov eax, dword [esp + 0x120]
mov dword [esp + 0x19c], 0x3f800000
mov dword [esp + 0x1c0], 0x3f800000
mov dword [esp + 0x1e4], 0x3f800000
mov dword [esp + 0x1ec], edx
mov dword [esp + 0x1f0], eax
mov dword [esp + 0x1f4], ecx
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
mov edx, dword [esp + 0x9c]
mov dword [esp + 0x1f8], edx
je 0x4670b1
test edi, edi
je 0x4670ab
mov ecx, 9
lea esi, [esp + 0x124]
rep movsd dword es:[edi], dword [esi]
add dword [ebp + 4], 0x24
jmp 0x4670ca
push 1
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x130]
push ecx
push edi
mov ecx, ebp
call fcn.00466280
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
je 0x4670ea
test edi, edi
je 0x4670e4
mov ecx, 9
lea esi, [esp + 0x148]
rep movsd dword es:[edi], dword [esi]
add dword [ebp + 4], 0x24
jmp 0x467103
push 1
push 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x154]
push eax
push edi
mov ecx, ebp
call fcn.00466280
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
je 0x467123
test edi, edi
je 0x46711d
mov ecx, 9
lea esi, [esp + 0x16c]
rep movsd dword es:[edi], dword [esi]
add dword [ebp + 4], 0x24
jmp 0x46713c
push 1
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x178]
push edx
push edi
mov ecx, ebp
call fcn.00466280
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
je 0x46715c
test edi, edi
je 0x467156
mov ecx, 9
lea esi, [esp + 0x190]
rep movsd dword es:[edi], dword [esi]
add dword [ebp + 4], 0x24
jmp 0x467175
push 1
push 1
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x19c]
push ecx
push edi
mov ecx, ebp
call fcn.00466280
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
je 0x467195
test edi, edi
je 0x46718f
mov ecx, 9
lea esi, [esp + 0x1b4]
rep movsd dword es:[edi], dword [esi]
add dword [ebp + 4], 0x24
jmp 0x4671ae
push 1
push 1
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x1c0]
push eax
push edi
mov ecx, ebp
call fcn.00466280
mov edi, dword [ebp + 4]
cmp edi, dword [ebp + 8]
je 0x4671ce
test edi, edi
je 0x4671c8
mov ecx, 9
lea esi, [esp + 0x1d8]
rep movsd dword es:[edi], dword [esi]
add dword [ebp + 4], 0x24
jmp 0x4671e7
push 1
push 1
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x1e4]
push edx
push edi
mov ecx, ebp
call fcn.00466280
mov edi, dword [ebx + 0x188]
mov eax, dword [ebx + 0x18c]
cmp edi, eax
lea ecx, [ebx + 0x184]
je 0x467218
test edi, edi
je 0x46720f
mov ecx, 0x11
lea esi, [esp + 0x1fc]
rep movsd dword es:[edi], dword [esi]
add dword [ebx + 0x188], 0x44
jmp 0x46722f
push 1
push 1
lea eax, [esp + 0x18]
push eax
lea edx, [esp + 0x208]
push edx
push edi
call fcn.00466100
mov esi, dword [esp + 0x4c]
mov ecx, dword [esp + 0x88]
mov eax, dword [esp + 0x84]
mov edi, dword [esp + 0x58]
mov edx, dword [ebx + 0x17c]
inc ecx
inc eax
add edi, 8
cmp ecx, edx
mov dword [esp + 0x88], ecx
mov dword [esp + 0x84], eax
mov dword [esp + 0x58], edi
jl 0x466ab5
mov edx, dword [esp + 0x80]
xor edi, edi
mov ecx, dword [esp + 0x3c]
mov eax, dword [ebx + 0x180]
inc edx
add ecx, 8
cmp edx, eax
mov dword [esp + 0x80], edx
mov dword [esp + 0x3c], ecx
jl 0x466a90
cmp esi, edi
mov dword [ebx + 0x15c], edi
mov dword [ebx + 0x164], edi
mov dword [ebx + 0x160], edi
mov dword [ebx + 0x168], edi
mov dword [esp + 0x254], 0xffffffff
je 0x4672dd
mov eax, dword [esp + 0x54]
sub eax, esi
cmp eax, 0x80
jbe 0x4672d3
push esi
call fcn.0052b8dd
add esp, 4
jmp 0x4672dd
push eax
push esi
call fcn.0050e390
add esp, 8
xor eax, eax
mov ecx, dword [esp + 0x24c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x248
ret