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

Disassembly:
sub esp, 0xdc
push ebp
push edi
push esi
push ebx
mov eax, dword [esp + 0xfc]
mov edx, dword [eax + 0x50]
inc edx
mov dword [esp + 0xbc], edx
mov ecx, dword [esp + 0xf4]
mov dword [esp + 0xb8], ecx
mov ebx, dword [eax + 4]
mov esi, dword [esp + 0x104]
sub ebx, esi
mov dword [esp + 0xb0], ebx
add esp, 0xfffffff4
mov eax, dword [esp + 0xfc]
push dword [eax + 8]
call fcn.004b5990
mov ebp, eax
mov edx, dword [esp + 0x100]
mov ebx, dword [edx + 8]
add esp, 0x10
test ebp, ebp
jg 0x4c0559
mov dword [esp + 0xa8], 0
mov edi, dword [esp + 0xb0]
sub edi, ebp
mov ecx, dword [esp + 0x100]
add ecx, ecx
mov dword [esp + 0x54], ecx
lea ebx, [esp + 0xd0]
mov dword [esp + 0x5c], ebx
mov esi, dword [esp + 0xfc]
add esi, 0x18
mov dword [esp + 0x4c], esi
mov eax, dword [esp + 0xb8]
add eax, 0x900
mov dword [esp + 0x38], eax
jmp 0x4c062a
mov eax, dword [ebx + 4]
mov edi, dword [esp + 0xb0]
sub edi, ebp
mov edx, dword [esp + 0x100]
add edx, edx
mov dword [esp + 0x54], edx
lea ecx, [esp + 0xd0]
mov dword [esp + 0x5c], ecx
mov esi, dword [esp + 0xfc]
add esi, 0x18
mov dword [esp + 0x4c], esi
mov edx, dword [esp + 0xb8]
add edx, 0x900
mov dword [esp + 0x38], edx
cmp eax, ebp
jge 0x4c0608
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c05ba
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c05e8
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c05d8
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c05e6
add esp, 0xfffffff4
push edx
call fcn.004b0d40
add esp, 0x10
or eax, esi
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c0601
mov dword [ebx + 8], 0x20
mov eax, dword [ebx + 4]
cmp eax, ebp
jl 0x4c05a0
mov ecx, eax
sub ecx, ebp
mov dword [ebx + 4], ecx
mov ebx, dword [ebx]
shr ebx, cl
mov ecx, 0x20
sub ecx, ebp
mov eax, 0xffffffff
shr eax, cl
and ebx, eax
mov dword [esp + 0xa8], ebx
mov ecx, 0x20
sub ecx, ebp
shl dword [esp + 0xa8], cl
mov dword [esp + 0xb0], edi
mov ecx, dword [esp + 0xfc]
mov eax, dword [ecx + 8]
mov edx, dword [ecx + 0x44]
mov ecx, dword [ecx + 0x48]
mov dword [esp + 0xb4], 0x120
sub dword [esp + 0xb4], eax
sar dword [esp + 0xb4], 1
cmp eax, edx
jg 0x4c068c
mov dword [esp + 0xd0], eax
mov dword [esp + 0xd4], 0
mov dword [esp + 0xd8], 0
jmp 0x4c06c1
mov dword [esp + 0xd0], edx
cmp eax, ecx
jg 0x4c06ad
sub eax, edx
mov dword [esp + 0xd4], eax
mov dword [esp + 0xd8], 0
jmp 0x4c06c1
mov ebx, ecx
sub ebx, edx
mov dword [esp + 0xd4], ebx
sub eax, ecx
mov dword [esp + 0xd8], eax
mov esi, dword [esp + 0xfc]
cmp dword [esi + 0x10], 2
jne 0x4c13a8
mov dword [esp + 0xa4], 0
mov dword [esp + 0xa0], 3
mov dword [esp + 0x9c], 0
fldz
cmp dword [esi + 0x14], 0
je 0x4c0758
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0xc8], 2
mov dword [esp + 0xc4], 2
mov dword [esp + 0xc0], 2
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x100]
shl eax, 2
mov edx, dword [eax + 0x533bf0]
mov dword [esp + 0x98], edx
mov eax, dword [eax + 0x532550]
jmp 0x4c07a5
fstp st(0)
sub ebp, dword [esp + 0x60]
jmp 0x4c115c
mov dword [esp + 0xcc], 0xffffffff
mov dword [esp + 0xc8], 0xffffffff
mov dword [esp + 0xc4], 0xffffffff
mov dword [esp + 0xc0], 0xffffffff
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x100]
shl eax, 2
mov ecx, dword [eax + 0x533bf4]
mov dword [esp + 0x98], ecx
mov eax, dword [eax + 0x532554]
mov dword [esp + 0xac], eax
mov dword [esp + 0x94], 0
xor ebx, ebx
lea eax, [ebx*4]
mov edx, dword [esp + 0x5c]
mov esi, dword [eax + edx]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx]
shl eax, 3
add eax, 0x4ff8b8
mov dword [esp + 0x90], eax
inc ebx
mov dword [esp + 0x48], ebx
test esi, esi
je 0x4c0e37
cmp dword [esp + 0x94], 0
jne 0x4c08c4
fstp st(0)
mov ebx, dword [esp + 0x98]
mov ebx, dword [ebx]
mov dword [esp + 0x94], ebx
add dword [esp + 0x98], 4
mov edx, dword [esp + 0x98]
mov eax, dword [edx]
shl eax, 2
add eax, dword [esp + 0xf4]
mov dword [esp + 0xb8], eax
add edx, 4
mov ecx, dword [edx]
mov dword [esp + 0xa0], ecx
add edx, 4
mov ebx, dword [edx]
mov dword [esp + 0x9c], ebx
add edx, 4
mov dword [esp + 0x98], edx
cmp ecx, 3
jne 0x4c0888
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xbc]
shl edx, cl
mov ebx, dword [esp + 0xfc]
mov eax, dword [ebx + 0x64]
fld dword [eax + edx*4]
add dword [esp + 0xf8], 4
mov dword [esp + 0xa4], 1
jmp 0x4c08c4
mov eax, dword [esp + 0xfc]
add eax, 0x58
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xbc]
shl edx, cl
mov ebx, dword [esp + 0xa0]
mov eax, dword [eax + ebx*4]
fld dword [eax + edx*4]
add dword [esp + 0xf8], 4
mov dword [esp + 0xa4], 3
mov eax, dword [esp + 0x90]
mov edi, dword [eax + 4]
mov edx, dword [esp + 0xa4]
shl edx, 2
mov dword [esp + 0x40], edx
dec esi
mov dword [esp + 0x3c], esi
mov ecx, dword [esp + 0x94]
dec ecx
mov dword [esp + 0x44], ecx
cmp ebp, 0x17
ja 0x4c09c5
mov esi, esi
mov esi, dword [esp + 0xf0]
mov ebx, dword [esi + 8]
lea eax, [ebp + 8]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xb0]
add edx, 0xfffffff8
mov dword [esp + 0x58], edx
cmp dword [ebx + 4], 7
jg 0x4c098b
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c0938
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c0970
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c0958
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c096e
add esp, 0xfffffff4
push edx
fstp xword [esp + 0x30]
call fcn.004b0d40
add esp, 0x10
or eax, esi
fld xword [esp + 0x20]
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c0917
mov dword [ebx + 8], 0x20
jmp 0x4c0917
mov ecx, dword [ebx + 4]
add ecx, 0xfffffff8
mov dword [ebx + 4], ecx
mov eax, dword [ebx]
shr eax, cl
and eax, 0xff
mov ecx, 0x18
sub ecx, ebp
shl eax, cl
or dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xb0], ecx
cmp ebp, 0x17
jbe 0x4c08f8
movsx ebx, word [edi]
mov dword [esp + 0x8c], ebx
add edi, 2
test ebx, ebx
jge 0x4c0a0f
mov esi, esi
cmp dword [esp + 0xa8], 0
jge 0x4c09ed
mov eax, dword [esp + 0x8c]
add eax, eax
sub edi, eax
dec ebp
mov esi, dword [esp + 0xa8]
add esi, esi
mov dword [esp + 0xa8], esi
movsx eax, word [edi]
mov dword [esp + 0x8c], eax
add edi, 2
test eax, eax
jl 0x4c09d8
mov edi, dword [esp + 0x8c]
sar edi, 4
and dword [esp + 0x8c], 0xf
cmp edi, 0xf
jne 0x4c0b80
mov edx, dword [esp + 0x90]
cmp dword [edx], 0
je 0x4c0b80
lea eax, [esp + 0xc0]
mov ebx, dword [esp + 0x9c]
mov ecx, dword [esp + 0xa0]
mov dword [eax + ecx*4], ebx
cmp ebp, 0x17
ja 0x4c0b25
mov esi, dword [esp + 0xf0]
mov ebx, dword [esi + 8]
lea eax, [ebp + 8]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xb0]
add edx, 0xfffffff8
mov dword [esp + 0x58], edx
cmp dword [ebx + 4], 7
jg 0x4c0aeb
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c0a9a
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c0ad0
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c0ab8
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c0ace
add esp, 0xfffffff4
push edx
fstp xword [esp + 0x30]
call fcn.004b0d40
add esp, 0x10
or eax, esi
fld xword [esp + 0x20]
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c0a7a
mov dword [ebx + 8], 0x20
jmp 0x4c0a7a
mov ecx, dword [ebx + 4]
add ecx, 0xfffffff8
mov dword [ebx + 4], ecx
mov eax, dword [ebx]
shr eax, cl
and eax, 0xff
mov ecx, 0x18
sub ecx, ebp
shl eax, cl
or dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xb0], ecx
cmp ebp, 0x17
jbe 0x4c0a5b
mov ebx, dword [esp + 0x90]
mov edx, dword [ebx]
mov ecx, 0x20
sub ecx, edx
mov eax, dword [esp + 0xa8]
shr eax, cl
add edi, eax
dec ebp
sub ebp, edx
mov ecx, edx
shl dword [esp + 0xa8], cl
cmp dword [esp + 0xa8], 0
jge 0x4c0b6c
fld dword [edi*4 + 0x536910]
fchs
mov ebx, dword [esp + 0xb8]
fmul st(1)
fstp dword [ebx]
jmp 0x4c0bcf
fld dword [edi*4 + 0x536910]
fmul st(1)
mov esi, dword [esp + 0xb8]
fstp dword [esi]
jmp 0x4c0bcf
test edi, edi
je 0x4c0be8
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [eax + edx*4], ecx
cmp dword [esp + 0xa8], 0
jge 0x4c0bbc
fld dword [edi*4 + 0x536910]
fchs
mov ebx, dword [esp + 0xb8]
fmul st(1)
fstp dword [ebx]
jmp 0x4c0bce
fld dword [edi*4 + 0x536910]
fmul st(1)
mov esi, dword [esp + 0xb8]
fstp dword [esi]
dec ebp
mov eax, dword [esp + 0xa8]
add eax, eax
mov dword [esp + 0xa8], eax
jmp 0x4c0bf5
mov edx, dword [esp + 0xb8]
mov dword [edx], 0
mov ecx, dword [esp + 0x40]
add dword [esp + 0xb8], ecx
cmp dword [esp + 0x8c], 0xf
jne 0x4c0d88
mov ebx, dword [esp + 0x90]
cmp dword [ebx], 0
je 0x4c0d88
lea eax, [esp + 0xc0]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov dword [eax + esi*4], edx
cmp ebp, 0x17
ja 0x4c0d05
mov ecx, dword [esp + 0xf0]
mov ebx, dword [ecx + 8]
lea esi, [ebp + 8]
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff8
mov dword [esp + 0x58], eax
cmp dword [ebx + 4], 7
jg 0x4c0ccb
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c0c7e
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c0cb0
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c0c98
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c0cae
add esp, 0xfffffff4
push edx
fstp xword [esp + 0x30]
call fcn.004b0d40
add esp, 0x10
or eax, esi
fld xword [esp + 0x20]
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c0c5e
mov dword [ebx + 8], 0x20
jmp 0x4c0c5e
mov ecx, dword [ebx + 4]
add ecx, 0xfffffff8
mov dword [ebx + 4], ecx
mov eax, dword [ebx]
shr eax, cl
and eax, 0xff
mov ecx, 0x18
sub ecx, ebp
shl eax, cl
or dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xb0], edx
cmp ebp, 0x17
jbe 0x4c0c3f
mov ecx, dword [esp + 0x90]
mov edx, dword [ecx]
mov ecx, 0x20
sub ecx, edx
mov eax, dword [esp + 0xa8]
shr eax, cl
add dword [esp + 0x8c], eax
dec ebp
sub ebp, edx
mov ecx, edx
shl dword [esp + 0xa8], cl
cmp dword [esp + 0xa8], 0
jge 0x4c0d59
mov ebx, dword [esp + 0x8c]
mov esi, 0x536910
fld dword [esi + ebx*4]
fchs
mov eax, dword [esp + 0xb8]
fmul st(1)
fstp dword [eax]
jmp 0x4c0d73
mov edx, dword [esp + 0x8c]
mov ecx, 0x536910
fld dword [ecx + edx*4]
fmul st(1)
mov ebx, dword [esp + 0xb8]
fstp dword [ebx]
mov esi, dword [esp + 0xa8]
add esi, esi
mov dword [esp + 0xa8], esi
jmp 0x4c0e15
cmp dword [esp + 0x8c], 0
je 0x4c0e08
lea eax, [esp + 0xc0]
mov ecx, dword [esp + 0x9c]
mov edx, dword [esp + 0xa0]
mov dword [eax + edx*4], ecx
cmp dword [esp + 0xa8], 0
jge 0x4c0dd8
mov ebx, dword [esp + 0x8c]
fld dword [ebx*4 + 0x536910]
fchs
mov esi, dword [esp + 0xb8]
fmul st(1)
fstp dword [esi]
jmp 0x4c0df1
mov eax, dword [esp + 0x8c]
fld dword [eax*4 + 0x536910]
fmul st(1)
mov edx, dword [esp + 0xb8]
fstp dword [edx]
dec ebp
mov ecx, dword [esp + 0xa8]
add ecx, ecx
mov dword [esp + 0xa8], ecx
jmp 0x4c0e15
mov ebx, dword [esp + 0xb8]
mov dword [ebx], 0
mov esi, dword [esp + 0x40]
add dword [esp + 0xb8], esi
mov esi, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x94], eax
test esi, esi
jne 0x4c07ea
mov ebx, dword [esp + 0x48]
cmp ebx, 1
jle 0x4c07b9
cmp dword [esp + 0xb4], 0
je 0x4c115a
mov edx, dword [esp + 0xb0]
add edx, ebp
test edx, edx
jle 0x4c115a
nop
lea esi, [esi]
mov ecx, dword [esp + 0xfc]
mov eax, dword [ecx + 0x54]
shl eax, 3
mov edi, dword [eax + 0x4ff9bc]
cmp ebp, 0x17
ja 0x4c0f78
lea esi, [esi]
mov esi, dword [esp + 0xf0]
mov ebx, dword [esi + 8]
lea eax, [ebp + 8]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xb0]
add edx, 0xfffffff8
mov dword [esp + 0x58], edx
cmp dword [ebx + 4], 7
jg 0x4c0f1b
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c0ec8
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c0f00
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c0ee8
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c0efe
add esp, 0xfffffff4
push edx
fstp xword [esp + 0x30]
call fcn.004b0d40
add esp, 0x10
or eax, esi
fld xword [esp + 0x20]
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c0ea7
mov dword [ebx + 8], 0x20
jmp 0x4c0ea7
mov ecx, dword [ebx + 4]
add ecx, 0xfffffff8
mov dword [ebx + 4], ecx
mov eax, dword [ebx]
shr eax, cl
and eax, 0xff
mov ecx, 0x18
sub ecx, ebp
shl eax, cl
or dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xb0], ecx
cmp ebp, 0x17
jbe 0x4c0e88
jmp 0x4c0f78
cmp dword [esp + 0xa8], 0
jge 0x4c0f67
cwde
add eax, eax
sub edi, eax
dec ebp
mov ebx, dword [esp + 0xa8]
add ebx, ebx
mov dword [esp + 0xa8], ebx
movzx eax, word [edi]
add edi, 2
test ax, ax
jl 0x4c0f58
mov esi, dword [esp + 0xb0]
add esi, ebp
mov dword [esp + 0x60], esi
test esi, esi
jle 0x4c074a
xor ebx, ebx
mov edi, dword [esp + 0xb4]
dec edi
mov edx, dword [esp + 0xfc]
add edx, 0x58
mov dword [esp + 0x1c], edx
cwde
mov dword [esp + 0x18], eax
lea esi, [esi]
test bl, 1
jne 0x4c109b
cmp dword [esp + 0x94], 0
jne 0x4c1094
fstp st(0)
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
mov dword [esp + 0x94], ecx
add dword [esp + 0x98], 4
mov esi, dword [esp + 0x98]
mov eax, dword [esi]
shl eax, 2
add eax, dword [esp + 0xf4]
mov dword [esp + 0xb8], eax
add esi, 4
mov eax, dword [esi]
mov dword [esp + 0xa0], eax
add esi, 4
mov edx, dword [esi]
mov dword [esp + 0x9c], edx
add esi, 4
mov dword [esp + 0x98], esi
cmp eax, 3
jne 0x4c105e
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xbc]
shl edx, cl
mov esi, dword [esp + 0xfc]
mov eax, dword [esi + 0x64]
fld dword [eax + edx*4]
add dword [esp + 0xf8], 4
mov dword [esp + 0xa4], 1
jmp 0x4c1094
mov ecx, dword [esp + 0xf8]
mov edx, dword [ecx]
mov ecx, dword [esp + 0xbc]
shl edx, cl
mov esi, dword [esp + 0xa0]
mov ecx, dword [esp + 0x1c]
mov eax, dword [ecx + esi*4]
fld dword [eax + edx*4]
add dword [esp + 0xf8], 4
mov dword [esp + 0xa4], 3
dec dword [esp + 0x94]
mov eax, 8
mov ecx, ebx
sar eax, cl
test dword [esp + 0x18], eax
je 0x4c1108
lea eax, [esp + 0xc0]
mov edx, dword [esp + 0x9c]
mov esi, dword [esp + 0xa0]
mov dword [eax + esi*4], edx
cmp dword [esp + 0x60], 0
jle 0x4c1144
cmp dword [esp + 0xa8], 0
jge 0x4c10e8
fld st(0)
fchs
mov ecx, dword [esp + 0xb8]
fstp dword [ecx]
jmp 0x4c10f1
mov esi, dword [esp + 0xb8]
fst dword [esi]
dec ebp
mov eax, dword [esp + 0xa8]
add eax, eax
mov dword [esp + 0xa8], eax
jmp 0x4c1115
mov edx, dword [esp + 0xb8]
mov dword [edx], 0
mov esi, dword [esp + 0xb8]
mov ecx, dword [esp + 0xa4]
lea esi, [esi + ecx*4]
mov dword [esp + 0xb8], esi
inc ebx
mov eax, dword [esp + 0xb0]
add eax, ebp
mov dword [esp + 0x60], eax
cmp ebx, 3
jle 0x4c0fb8
mov dword [esp + 0xb4], edi
test edi, edi
je 0x4c115a
cmp dword [esp + 0x60], 0
jg 0x4c0e68
fstp st(0)
mov edx, dword [esp + 0xb0]
add edx, ebp
mov dword [esp + 0x60], edx
cmp dword [esp + 0xa0], 2
jg 0x4c12e8
nop
cmp dword [esp + 0x94], 0
jle 0x4c1282
mov eax, dword [esp + 0x94]
neg eax
and eax, 3
je 0x4c1228
cmp eax, 3
jge 0x4c11f0
cmp eax, 2
jge 0x4c11c9
mov ecx, dword [esp + 0xb8]
mov dword [ecx], 0
add ecx, 0xc
mov dword [ecx], 0
add ecx, 0xc
mov dword [esp + 0xb8], ecx
dec dword [esp + 0x94]
mov ebx, dword [esp + 0xb8]
mov dword [ebx], 0
add ebx, 0xc
mov dword [ebx], 0
add ebx, 0xc
mov dword [esp + 0xb8], ebx
dec dword [esp + 0x94]
mov esi, dword [esp + 0xb8]
mov dword [esi], 0
add esi, 0xc
mov dword [esi], 0
add esi, 0xc
mov dword [esp + 0xb8], esi
dec dword [esp + 0x94]
cmp dword [esp + 0x94], 0
jle 0x4c1282
lea esi, [esi]
mov eax, dword [esp + 0xb8]
mov dword [eax], 0
mov dword [eax + 0xc], 0
mov dword [eax + 0x18], 0
mov dword [eax + 0x24], 0
mov dword [eax + 0x30], 0
mov dword [eax + 0x3c], 0
mov dword [eax + 0x48], 0
mov dword [eax + 0x54], 0
add eax, 0x60
mov dword [esp + 0xb8], eax
add dword [esp + 0x94], 0xfffffffc
cmp dword [esp + 0x94], 0
jg 0x4c1228
mov edx, dword [esp + 0xac]
cmp dword [esp + 0x98], edx
jae 0x4c12e8
mov ecx, dword [esp + 0x98]
mov ecx, dword [ecx]
mov dword [esp + 0x94], ecx
add dword [esp + 0x98], 4
mov ebx, dword [esp + 0x98]
mov eax, dword [ebx]
shl eax, 2
add eax, dword [esp + 0xf4]
mov dword [esp + 0xb8], eax
add ebx, 4
mov eax, dword [ebx]
add ebx, 4
mov dword [esp + 0x98], ebx
test eax, eax
je 0x4c12e8
add ebx, 4
mov dword [esp + 0x98], ebx
jmp 0x4c1178
mov ebx, dword [esp + 0xc0]
lea eax, [ebx + 1]
mov esi, dword [esp + 0xfc]
mov dword [esi + 0x30], eax
mov eax, dword [esp + 0xc4]
lea edx, [eax + 1]
mov dword [esi + 0x34], edx
mov esi, dword [esp + 0xc8]
lea edx, [esi + 1]
mov ecx, dword [esp + 0xfc]
mov dword [ecx + 0x38], edx
mov edx, dword [esp + 0xcc]
inc edx
mov dword [ecx + 0x3c], edx
mov ecx, eax
cmp ecx, ebx
jge 0x4c1330
mov ecx, ebx
mov eax, esi
cmp eax, ecx
jge 0x4c1338
mov eax, ecx
lea ecx, [eax + 1]
test ecx, ecx
je 0x4c1369
mov eax, dword [esp + 0x100]
shl eax, 3
sub eax, dword [esp + 0x100]
shl eax, 3
mov eax, dword [eax + ecx*4 + 0x5364b0]
mov ecx, dword [esp + 0xfc]
mov dword [ecx + 0x40], eax
jmp 0x4c1e08
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x100]
shl eax, 3
sub eax, dword [esp + 0x100]
shl eax, 2
mov eax, dword [eax + edx*4 + 0x5345c0]
mov ebx, dword [esp + 0xfc]
mov dword [ebx + 0x40], eax
jmp 0x4c1e08
fstp st(0)
sub ebp, dword [esp + 0x60]
jmp 0x4c1dbe
mov dword [esp + 0x88], 0x4ffab0
mov esi, dword [esp + 0xfc]
cmp dword [esi + 0x4c], 0
je 0x4c13cb
mov dword [esp + 0x88], 0x4ffa50
mov dword [esp + 0x84], 0xffffffff
mov dword [esp + 0x80], 0
mov eax, dword [esp + 0x54]
add eax, dword [esp + 0x100]
mov eax, dword [eax*4 + 0x533bf8]
mov dword [esp + 0x7c], eax
fldz
mov dword [esp + 0x78], 0
xor ebx, ebx
nop
lea esi, [esi]
lea eax, [ebx*4]
mov edx, dword [esp + 0x5c]
mov esi, dword [eax + edx]
mov ecx, dword [esp + 0x4c]
mov eax, dword [eax + ecx]
shl eax, 3
add eax, 0x4ff8b8
mov dword [esp + 0x74], eax
inc ebx
mov dword [esp + 0x6c], ebx
test esi, esi
je 0x4c1a19
mov esi, esi
cmp dword [esp + 0x78], 0
jne 0x4c14a3
fstp st(0)
mov ebx, dword [esp + 0x7c]
mov ebx, dword [ebx]
mov dword [esp + 0x78], ebx
add dword [esp + 0x7c], 4
mov eax, dword [esp + 0x7c]
mov eax, dword [eax]
mov dword [esp + 0x80], eax
add dword [esp + 0x7c], 4
cmp eax, 0x15
jne 0x4c146b
fldz
jmp 0x4c14a3
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
mov ecx, dword [esp + 0xf8]
add eax, dword [ecx]
mov ecx, dword [esp + 0xbc]
shl eax, cl
mov ebx, dword [esp + 0xfc]
mov edx, dword [ebx + 0x64]
fld dword [edx + eax*4]
add dword [esp + 0x88], 4
add dword [esp + 0xf8], 4
mov eax, dword [esp + 0x74]
mov edi, dword [eax + 4]
dec esi
mov dword [esp + 0x64], esi
mov edx, dword [esp + 0x78]
dec edx
mov dword [esp + 0x68], edx
cmp ebp, 0x17
ja 0x4c1595
lea esi, [esi]
mov ecx, dword [esp + 0xf0]
mov ebx, dword [ecx + 8]
lea esi, [ebp + 8]
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff8
mov dword [esp + 0x58], eax
cmp dword [ebx + 4], 7
jg 0x4c155b
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c1508
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c1540
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c1528
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c153e
add esp, 0xfffffff4
push edx
fstp xword [esp + 0x30]
call fcn.004b0d40
add esp, 0x10
or eax, esi
fld xword [esp + 0x20]
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c14e7
mov dword [ebx + 8], 0x20
jmp 0x4c14e7
mov ecx, dword [ebx + 4]
add ecx, 0xfffffff8
mov dword [ebx + 4], ecx
mov eax, dword [ebx]
shr eax, cl
and eax, 0xff
mov ecx, 0x18
sub ecx, ebp
shl eax, cl
or dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xb0], edx
cmp ebp, 0x17
jbe 0x4c14c8
movsx ecx, word [edi]
mov dword [esp + 0x70], ecx
add edi, 2
test ecx, ecx
jge 0x4c15d9
nop
lea esi, [esi]
cmp dword [esp + 0xa8], 0
jge 0x4c15ba
mov eax, dword [esp + 0x70]
add eax, eax
sub edi, eax
dec ebp
mov ebx, dword [esp + 0xa8]
add ebx, ebx
mov dword [esp + 0xa8], ebx
movsx esi, word [edi]
mov dword [esp + 0x70], esi
add edi, 2
test esi, esi
jl 0x4c15a8
mov edi, dword [esp + 0x70]
sar edi, 4
and dword [esp + 0x70], 0xf
cmp edi, 0xf
jne 0x4c1769
mov eax, dword [esp + 0x74]
cmp dword [eax], 0
je 0x4c1769
mov edx, dword [esp + 0x80]
mov dword [esp + 0x84], edx
cmp ebp, 0x17
ja 0x4c16e5
lea esi, [esi]
mov ecx, dword [esp + 0xf0]
mov ebx, dword [ecx + 8]
lea esi, [ebp + 8]
mov dword [esp + 0x50], esi
mov eax, dword [esp + 0xb0]
add eax, 0xfffffff8
mov dword [esp + 0x58], eax
cmp dword [ebx + 4], 7
jg 0x4c16ab
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c1658
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c1690
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c1678
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c168e
add esp, 0xfffffff4
push edx
fstp xword [esp + 0x30]
call fcn.004b0d40
add esp, 0x10
or eax, esi
fld xword [esp + 0x20]
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c1637
mov dword [ebx + 8], 0x20
jmp 0x4c1637
mov ecx, dword [ebx + 4]
add ecx, 0xfffffff8
mov dword [ebx + 4], ecx
mov eax, dword [ebx]
shr eax, cl
and eax, 0xff
mov ecx, 0x18
sub ecx, ebp
shl eax, cl
or dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x50]
mov edx, dword [esp + 0x58]
mov dword [esp + 0xb0], edx
cmp ebp, 0x17
jbe 0x4c1618
mov ecx, dword [esp + 0x74]
mov edx, dword [ecx]
mov ecx, 0x20
sub ecx, edx
mov eax, dword [esp + 0xa8]
shr eax, cl
add edi, eax
dec ebp
sub ebp, edx
mov ecx, edx
shl dword [esp + 0xa8], cl
cmp dword [esp + 0xa8], 0
jge 0x4c1738
fld dword [edi*4 + 0x536910]
fchs
mov ebx, dword [esp + 0xb8]
fmul st(1)
fstp dword [ebx]
add ebx, 4
mov dword [esp + 0xb8], ebx
jmp 0x4c1754
fld dword [edi*4 + 0x536910]
fmul st(1)
mov esi, dword [esp + 0xb8]
fstp dword [esi]
add esi, 4
mov dword [esp + 0xb8], esi
mov eax, dword [esp + 0xa8]
add eax, eax
mov dword [esp + 0xa8], eax
jmp 0x4c17ef
test edi, edi
je 0x4c17d8
mov edx, dword [esp + 0x80]
mov dword [esp + 0x84], edx
cmp dword [esp + 0xa8], 0
jge 0x4c17a8
fld dword [edi*4 + 0x536910]
fchs
mov ecx, dword [esp + 0xb8]
fmul st(1)
fstp dword [ecx]
add ecx, 4
mov dword [esp + 0xb8], ecx
jmp 0x4c17c4
fld dword [edi*4 + 0x536910]
fmul st(1)
mov ebx, dword [esp + 0xb8]
fstp dword [ebx]
add ebx, 4
mov dword [esp + 0xb8], ebx
dec ebp
mov esi, dword [esp + 0xa8]
add esi, esi
mov dword [esp + 0xa8], esi
jmp 0x4c17ef
mov eax, dword [esp + 0xb8]
mov dword [eax], 0
add eax, 4
mov dword [esp + 0xb8], eax
cmp dword [esp + 0x70], 0xf
jne 0x4c1978
mov edx, dword [esp + 0x74]
cmp dword [edx], 0
je 0x4c1978
mov ecx, dword [esp + 0x80]
mov dword [esp + 0x84], ecx
mov edi, dword [esp + 0xb8]
add edi, 4
cmp ebp, 0x17
ja 0x4c18f5
mov esi, dword [esp + 0xf0]
mov ebx, dword [esi + 8]
lea eax, [ebp + 8]
mov dword [esp + 0x50], eax
mov edx, dword [esp + 0xb0]
add edx, 0xfffffff8
mov dword [esp + 0x58], edx
cmp dword [ebx + 4], 7
jg 0x4c18bb
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c1868
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c18a0
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c1888
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c189e
add esp, 0xfffffff4
push edx
fstp xword [esp + 0x30]
call fcn.004b0d40
add esp, 0x10
or eax, esi
fld xword [esp + 0x20]
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c1847
mov dword [ebx + 8], 0x20
jmp 0x4c1847
mov ecx, dword [ebx + 4]
add ecx, 0xfffffff8
mov dword [ebx + 4], ecx
mov eax, dword [ebx]
shr eax, cl
and eax, 0xff
mov ecx, 0x18
sub ecx, ebp
shl eax, cl
or dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x50]
mov ecx, dword [esp + 0x58]
mov dword [esp + 0xb0], ecx
cmp ebp, 0x17
jbe 0x4c1828
mov ebx, dword [esp + 0x74]
mov edx, dword [ebx]
mov ecx, 0x20
sub ecx, edx
mov eax, dword [esp + 0xa8]
shr eax, cl
add dword [esp + 0x70], eax
dec ebp
sub ebp, edx
mov ecx, edx
shl dword [esp + 0xa8], cl
cmp dword [esp + 0xa8], 0
jge 0x4c1940
mov ebx, dword [esp + 0x70]
mov esi, 0x536910
fld dword [esi + ebx*4]
fchs
mov eax, dword [esp + 0xb8]
fmul st(1)
fstp dword [eax]
jmp 0x4c1957
mov edx, dword [esp + 0x70]
mov ecx, 0x536910
fld dword [ecx + edx*4]
fmul st(1)
mov ebx, dword [esp + 0xb8]
fstp dword [ebx]
mov dword [esp + 0xb8], edi
mov esi, dword [esp + 0xa8]
add esi, esi
mov dword [esp + 0xa8], esi
jmp 0x4c1a05
cmp dword [esp + 0x70], 0
je 0x4c19ee
mov eax, dword [esp + 0x80]
mov dword [esp + 0x84], eax
cmp dword [esp + 0xa8], 0
jge 0x4c19bb
mov edx, dword [esp + 0x70]
fld dword [edx*4 + 0x536910]
fchs
mov ecx, dword [esp + 0xb8]
fmul st(1)
fstp dword [ecx]
add ecx, 4
mov dword [esp + 0xb8], ecx
jmp 0x4c19db
mov ebx, dword [esp + 0x70]
fld dword [ebx*4 + 0x536910]
fmul st(1)
mov esi, dword [esp + 0xb8]
fstp dword [esi]
add esi, 4
mov dword [esp + 0xb8], esi
dec ebp
mov eax, dword [esp + 0xa8]
add eax, eax
mov dword [esp + 0xa8], eax
jmp 0x4c1a05
mov edx, dword [esp + 0xb8]
mov dword [edx], 0
add edx, 4
mov dword [esp + 0xb8], edx
mov esi, dword [esp + 0x64]
mov ecx, dword [esp + 0x68]
mov dword [esp + 0x78], ecx
test esi, esi
jne 0x4c1438
mov ebx, dword [esp + 0x6c]
cmp ebx, 2
jle 0x4c1408
cmp dword [esp + 0xb4], 0
je 0x4c1dbc
mov ebx, dword [esp + 0xb0]
add ebx, ebp
test ebx, ebx
jle 0x4c1dbc
lea esi, [esi]
mov esi, dword [esp + 0xfc]
mov eax, dword [esi + 0x54]
shl eax, 3
mov edi, dword [eax + 0x4ff9bc]
cmp ebp, 0x17
ja 0x4c1b58
lea esi, [esi]
mov eax, dword [esp + 0xf0]
mov ebx, dword [eax + 8]
lea edx, [ebp + 8]
mov dword [esp + 0x50], edx
mov ecx, dword [esp + 0xb0]
add ecx, 0xfffffff8
mov dword [esp + 0x58], ecx
cmp dword [ebx + 4], 7
jg 0x4c1afb
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c1aa8
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c1ae0
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c1ac8
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c1ade
add esp, 0xfffffff4
push edx
fstp xword [esp + 0x30]
call fcn.004b0d40
add esp, 0x10
or eax, esi
fld xword [esp + 0x20]
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c1a87
mov dword [ebx + 8], 0x20
jmp 0x4c1a87
mov ecx, dword [ebx + 4]
add ecx, 0xfffffff8
mov dword [ebx + 4], ecx
mov eax, dword [ebx]
shr eax, cl
and eax, 0xff
mov ecx, 0x18
sub ecx, ebp
shl eax, cl
or dword [esp + 0xa8], eax
mov ebp, dword [esp + 0x50]
mov ebx, dword [esp + 0x58]
mov dword [esp + 0xb0], ebx
cmp ebp, 0x17
jbe 0x4c1a68
jmp 0x4c1b58
cmp dword [esp + 0xa8], 0
jge 0x4c1b47
cwde
add eax, eax
sub edi, eax
dec ebp
mov esi, dword [esp + 0xa8]
add esi, esi
mov dword [esp + 0xa8], esi
movzx eax, word [edi]
add edi, 2
test ax, ax
jl 0x4c1b38
mov edx, dword [esp + 0xb0]
add edx, ebp
mov dword [esp + 0x60], edx
test edx, edx
jle 0x4c1397
xor ebx, ebx
mov edi, dword [esp + 0xb4]
dec edi
cwde
mov dword [esp + 0x18], eax
nop
test bl, 1
jne 0x4c1bfc
cmp dword [esp + 0x78], 0
jne 0x4c1bf8
fstp st(0)
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
mov dword [esp + 0x78], ecx
add dword [esp + 0x7c], 4
mov esi, dword [esp + 0x7c]
mov esi, dword [esi]
mov dword [esp + 0x80], esi
add dword [esp + 0x7c], 4
cmp esi, 0x15
jne 0x4c1bc0
fldz
jmp 0x4c1bf8
mov edx, dword [esp + 0x88]
mov eax, dword [edx]
mov ecx, dword [esp + 0xf8]
add eax, dword [ecx]
mov ecx, dword [esp + 0xbc]
shl eax, cl
mov esi, dword [esp + 0xfc]
mov edx, dword [esi + 0x64]
fld dword [edx + eax*4]
add dword [esp + 0x88], 4
add dword [esp + 0xf8], 4
dec dword [esp + 0x78]
mov eax, 8
mov ecx, ebx
sar eax, cl
test dword [esp + 0x18], eax
je 0x4c1c6e
mov esi, dword [esp + 0x80]
mov dword [esp + 0x84], esi
cmp dword [esp + 0x60], 0
jle 0x4c1da6
cmp dword [esp + 0xa8], 0
jge 0x4c1c48
fld st(0)
fchs
mov eax, dword [esp + 0xb8]
fstp dword [eax]
add eax, 4
mov dword [esp + 0xb8], eax
jmp 0x4c1c5b
mov edx, dword [esp + 0xb8]
fst dword [edx]
add edx, 4
mov dword [esp + 0xb8], edx
dec ebp
mov ecx, dword [esp + 0xa8]
add ecx, ecx
mov dword [esp + 0xa8], ecx
jmp 0x4c1c85
mov esi, dword [esp + 0xb8]
mov dword [esi], 0
add esi, 4
mov dword [esp + 0xb8], esi
inc ebx
mov eax, dword [esp + 0xb0]
add eax, ebp
mov dword [esp + 0x60], eax
test bl, 1
jne 0x4c1d07
cmp dword [esp + 0x78], 0
jne 0x4c1d03
fstp st(0)
mov edx, dword [esp + 0x7c]
mov edx, dword [edx]
mov dword [esp + 0x78], edx
add dword [esp + 0x7c], 4
mov ecx, dword [esp + 0x7c]
mov ecx, dword [ecx]
mov dword [esp + 0x80], ecx
add dword [esp + 0x7c], 4
cmp ecx, 0x15
jne 0x4c1ccb
fldz
jmp 0x4c1d03
mov esi, dword [esp + 0x88]
mov eax, dword [esi]
mov edx, dword [esp + 0xf8]
add eax, dword [edx]
mov ecx, dword [esp + 0xbc]
shl eax, cl
mov esi, dword [esp + 0xfc]
mov edx, dword [esi + 0x64]
fld dword [edx + eax*4]
add dword [esp + 0x88], 4
add dword [esp + 0xf8], 4
dec dword [esp + 0x78]
mov eax, 8
mov ecx, ebx
sar eax, cl
test dword [esp + 0x18], eax
je 0x4c1d78
mov esi, dword [esp + 0x80]
mov dword [esp + 0x84], esi
cmp dword [esp + 0x60], 0
jle 0x4c1da6
cmp dword [esp + 0xa8], 0
jge 0x4c1d4e
fld st(0)
fchs
mov eax, dword [esp + 0xb8]
fstp dword [eax]
add eax, 4
mov dword [esp + 0xb8], eax
jmp 0x4c1d61
mov edx, dword [esp + 0xb8]
fst dword [edx]
add edx, 4
mov dword [esp + 0xb8], edx
dec ebp
mov ecx, dword [esp + 0xa8]
add ecx, ecx
mov dword [esp + 0xa8], ecx
jmp 0x4c1d8f
mov esi, dword [esp + 0xb8]
mov dword [esi], 0
add esi, 4
mov dword [esp + 0xb8], esi
inc ebx
mov eax, dword [esp + 0xb0]
add eax, ebp
mov dword [esp + 0x60], eax
cmp ebx, 3
jle 0x4c1b88
mov dword [esp + 0xb4], edi
test edi, edi
je 0x4c1dbc
cmp dword [esp + 0x60], 0
jg 0x4c1a48
fstp st(0)
mov eax, dword [esp + 0x84]
inc eax
mov edx, dword [esp + 0xfc]
mov dword [edx + 0x3c], eax
mov edx, dword [esp + 0x54]
add edx, dword [esp + 0x100]
shl edx, 3
sub edx, dword [esp + 0x100]
shl edx, 2
lea eax, [edx + eax*4]
mov eax, dword [eax + 0x5345c0]
mov ecx, dword [esp + 0xfc]
mov dword [ecx + 0x40], eax
mov ebx, dword [esp + 0xb0]
add ebx, ebp
mov dword [esp + 0x60], ebx
mov esi, dword [esp + 0x60]
mov dword [esp + 0xb0], esi
add esp, 0xfffffff4
mov eax, dword [esp + 0xfc]
push dword [eax + 8]
call fcn.004b55b8
mov edx, dword [esp + 0x100]
mov ebx, dword [edx + 8]
add esp, 0x10
mov ecx, dword [ebx + 4]
cmp ecx, 7
jle 0x4c1e57
mov esi, dword [ebx]
mov edx, dword [ebx + 8]
shr esi, 8
add edx, 0xfffffff8
lea eax, [ecx - 8]
mov ecx, eax
cmp eax, 7
jg 0x4c1e3f
mov dword [ebx + 4], eax
mov dword [ebx + 8], edx
mov dword [ebx], esi
mov edx, dword [ebx + 8]
mov ecx, edx
jmp 0x4c1eb8
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c1e78
lea ecx, [eax - 1]
mov dword [ebx + 0x14], ecx
movzx eax, byte [eax - 1]
mov ecx, edx
shl eax, cl
or dword [ebx], eax
jmp 0x4c1ead
mov esi, dword [ebx + 8]
mov edi, dword [ebx]
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
test ecx, ecx
je 0x4c1e99
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
mov ecx, esi
shl eax, cl
or eax, edi
dec dword [edx + 0x24]
jmp 0x4c1eab
add esp, 0xfffffff4
push edx
call fcn.004b0d80
add esp, 0x10
mov ecx, esi
shl eax, cl
or eax, edi
mov dword [ebx], eax
mov ecx, dword [ebx + 8]
add ecx, 8
mov dword [ebx + 8], ecx
mov edx, ecx
sub ecx, dword [ebx + 4]
cmp ecx, ebp
jl 0x4c1e5e
add dword [ebx + 4], ebp
add esp, 0xfffffff4
mov ebx, dword [esp + 0xfc]
push dword [ebx + 8]
call fcn.004b5604
add esp, 0x10
mov esi, dword [esp + 0x38]
cmp dword [esp + 0xb8], esi
jae 0x4c1f91
mov eax, esi
sub eax, dword [esp + 0xb8]
and eax, 0xf
cmp dword [esp + 0xb8], esi
jge 0x4c1f3e
test eax, eax
je 0x4c1f5d
cmp eax, 4
jle 0x4c1f3e
cmp eax, 8
jle 0x4c1f27
cmp eax, 0xd
jge 0x4c1f5d
mov eax, dword [esp + 0xb8]
mov dword [eax], 0
add eax, 4
mov dword [esp + 0xb8], eax
mov edx, dword [esp + 0xb8]
mov dword [edx], 0
add edx, 4
mov dword [esp + 0xb8], edx
mov ecx, dword [esp + 0xb8]
mov dword [ecx], 0
add ecx, 4
mov dword [esp + 0xb8], ecx
mov ebx, dword [esp + 0x38]
cmp ecx, ebx
jae 0x4c1f91
mov esi, dword [esp + 0xb8]
mov dword [esi], 0
mov dword [esi + 4], 0
mov dword [esi + 8], 0
mov dword [esi + 0xc], 0
add esi, 0x10
mov dword [esp + 0xb8], esi
mov eax, dword [esp + 0x38]
cmp esi, eax
jb 0x4c1f5d
cmp dword [esp + 0x60], 0x10
jle 0x4c202c
mov edx, dword [esp + 0xf0]
mov ebx, dword [edx + 8]
mov edi, dword [esp + 0xb0]
add edi, 0xfffffff0
cmp dword [ebx + 4], 0xf
jg 0x4c2018
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c1fd0
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c1ff9
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c1fe9
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c1ff7
add esp, 0xfffffff4
push edx
call fcn.004b0d40
add esp, 0x10
or eax, esi
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c1fb0
mov dword [ebx + 8], 0x20
jmp 0x4c1fb0
add dword [ebx + 4], 0xfffffff0
mov dword [esp + 0xb0], edi
cmp edi, 0x10
jg 0x4c1f9c
cmp dword [esp + 0xb0], 0
jle 0x4c20c9
mov ecx, dword [esp + 0xf0]
mov ebx, dword [ecx + 8]
mov esi, dword [esp + 0xb0]
cmp dword [ebx + 4], esi
jge 0x4c20bd
mov esi, dword [ebx]
shl esi, 8
mov dword [ebx], esi
mov eax, dword [ebx + 0x14]
test eax, eax
je 0x4c206a
movzx eax, byte [eax]
or esi, eax
mov dword [ebx], esi
inc dword [ebx + 0x14]
jmp 0x4c2098
mov edx, dword [ebx + 0x10]
mov ecx, dword [edx + 0x24]
cmp ecx, dword [edx + 0x20]
jge 0x4c2088
mov eax, dword [edx + 0x1c]
movzx eax, byte [ecx + eax]
or eax, esi
inc dword [edx + 0x24]
jmp 0x4c2096
add esp, 0xfffffff4
push edx
call fcn.004b0d40
add esp, 0x10
or eax, esi
mov dword [ebx], eax
add dword [ebx + 4], 8
mov eax, dword [ebx + 8]
add eax, 8
mov dword [ebx + 8], eax
cmp eax, 0x20
jle 0x4c20b1
mov dword [ebx + 8], 0x20
mov eax, dword [esp + 0xb0]
cmp dword [ebx + 4], eax
jl 0x4c2050
mov edx, dword [esp + 0xb0]
sub dword [ebx + 4], edx
jmp 0x4c2108
cmp dword [esp + 0xb0], 0
jge 0x4c2108
add esp, 0xfffffffc
neg dword [esp + 0xb4]
mov ecx, dword [esp + 0xb4]
push ecx
push 0x4c0468
mov eax, dword [0x5428a4]
add eax, 0x40
push eax
call fcn.0041ca88
mov eax, 1
add esp, 0x10
jmp 0x4c210a
xor eax, eax
pop ebx
pop esi
pop edi
pop ebp
add esp, 0xdc
ret