Function at 0x4ca5b0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov edi, ecx
cmp byte [ebp + 0x2c], 0
lea ebx, [ebp + 4]
mov dword [esp + 0x30], edi
lea esi, [ebp + 0x18]
mov dword [esp + 0x10], ebx
jne 0x4ca5e6
lea eax, [ebp + 0x30]
mov byte [ebp + 0x2c], 1
push eax
push esi
push ebx
call fcn.004c5af0
test al, al
je 0x4ca5f5
jmp 0x4ca5ea
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x24]
mov ecx, dword [esi]
add eax, ecx
cmp dword [ebx], eax
jle 0x4ca608
mov byte [ebp + 0x4ad0], 1
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x38
ret 4
mov eax, dword [ebp + 0x20]
mov ebx, dword [ebp + 0x4acc]
dec eax
add eax, ecx
sub ebx, 0x10
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], ebx
mov dword [esp + 0x34], eax
cmp eax, ebx
jl 0x4ca62b
mov dword [esp + 0x34], ebx
mov ecx, dword [esp + 0x10]
jmp 0x4ca650
mov ebp, dword [esp + 0x4c]
jmp 0x4ca643
mov ebp, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov ebx, dword [esp + 0x18]
jmp 0x4ca650
mov edx, dword [edi + 0x70]
mov esi, dword [edi + 0xe6cc]
and edx, esi
mov dword [edi + 0x70], edx
mov ecx, dword [ecx]
cmp ecx, dword [esp + 0x34]
jl 0x4ca699
cmp ecx, eax
jg 0x4cb0f2
jne 0x4ca67c
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x1c]
jge 0x4cb0f2
cmp ecx, ebx
jl 0x4ca68d
cmp byte [ebp + 0x4ad2], 0
je 0x4cb0eb
cmp ecx, dword [ebp + 0x4acc]
jge 0x4cb0eb
mov ecx, dword [edi + 0x4b30]
mov eax, ecx
sub eax, edx
and eax, esi
cmp eax, 0x1004
ja 0x4ca6dd
cmp ecx, edx
je 0x4ca6dd
mov ecx, edi
call fcn.004c7100
mov eax, dword [edi + 0x4c54]
cmp eax, dword [edi + 0x4c44]
jg 0x4ca5fc
jl 0x4ca6dd
mov eax, dword [edi + 0x4c50]
cmp eax, dword [edi + 0x4c40]
ja 0x4ca5fc
mov esi, dword [esp + 0x10]
mov ecx, 0x10
mov eax, dword [esi + 0xc]
mov ebp, dword [esi]
mov ebx, dword [esi + 4]
sub ecx, ebx
mov dword [esp + 0x24], eax
mov edx, dword [eax + ebp]
bswap edx
shr edx, cl
mov ecx, dword [esp + 0x4c]
and edx, 0xfffe
mov eax, dword [ecx + 0xb4]
cmp edx, dword [ecx + eax*4 + 0x34]
jae 0x4ca749
mov ecx, 0x10
sub ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x4c]
movzx esi, byte [edx + ecx + 0xb8]
mov ecx, dword [esp + 0x10]
add esi, ebx
mov eax, esi
shr eax, 3
add ebp, eax
mov eax, dword [esp + 0x4c]
and esi, 7
mov dword [ecx], ebp
mov dword [ecx + 4], esi
movzx eax, word [eax + edx*2 + 0x4b8]
jmp 0x4ca7b5
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x4ca771
lea ecx, [ecx + eax*4]
add ecx, 0x34
lea esp, [esp]
cmp edx, dword [ecx]
jb 0x4ca76f
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4ca760
jmp 0x4ca771
mov ebx, eax
mov esi, dword [esi + 4]
mov ecx, 0x10
add esi, ebx
sub ecx, ebx
mov eax, esi
and esi, 7
shr eax, 3
add ebp, eax
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov dword [eax + 4], esi
mov eax, dword [esp + 0x4c]
sub edx, dword [eax + ebx*4 + 0x30]
shr edx, cl
mov ecx, dword [eax + ebx*4 + 0x74]
add ecx, edx
mov edx, eax
cmp ecx, dword [edx + 0x30]
sbb eax, eax
and eax, ecx
mov ecx, dword [esp + 0x10]
movzx eax, word [edx + eax*2 + 0xcb8]
movzx edx, ax
cmp edx, 0x100
jae 0x4ca7d4
mov eax, dword [edi + 0x70]
mov ecx, dword [edi + 0x4b34]
mov byte [ecx + eax], dl
inc dword [edi + 0x70]
jmp 0x4ca637
cmp edx, 0x106
jb 0x4cacdd
lea ebx, [edx - 0x106]
cmp ebx, 8
jae 0x4ca7f0
add ebx, 2
jmp 0x4ca83c
mov edx, ebx
and ebx, 3
shr edx, 2
or ebx, 4
dec edx
mov ecx, edx
shl ebx, cl
add ebx, 2
test edx, edx
je 0x4ca83c
mov eax, dword [esp + 0x24]
mov ecx, 0x10
sub ecx, esi
add esi, edx
mov eax, dword [eax + ebp]
bswap eax
shr eax, cl
mov ecx, 0x10
movzx eax, ax
sub ecx, edx
shr eax, cl
add ebx, eax
mov eax, esi
shr eax, 3
add ebp, eax
mov eax, dword [esp + 0x10]
and esi, 7
mov dword [eax], ebp
mov dword [eax + 4], esi
mov eax, dword [esp + 0x24]
mov ecx, 0x10
sub ecx, esi
mov edx, dword [eax + ebp]
bswap edx
shr edx, cl
mov ecx, dword [esp + 0x4c]
and edx, 0xfffe
mov eax, dword [ecx + 0xfa0]
cmp edx, dword [ecx + eax*4 + 0xf20]
jae 0x4ca8a3
mov ecx, 0x10
sub ecx, eax
mov eax, dword [esp + 0x4c]
shr edx, cl
movzx ecx, byte [edx + eax + 0xfa4]
add ecx, esi
mov esi, ecx
shr esi, 3
add esi, ebp
mov ebp, dword [esp + 0x10]
and ecx, 7
mov dword [esp + 0x1c], ecx
mov dword [ebp], esi
mov dword [ebp + 4], ecx
movzx eax, word [eax + edx*2 + 0x13a4]
jmp 0x4ca925
mov ecx, 0xf
inc eax
mov dword [esp + 0x2c], ecx
cmp eax, ecx
jae 0x4ca8d9
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + eax*4]
add ecx, 0xf20
mov edi, edi
cmp edx, dword [ecx]
jb 0x4ca8d3
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4ca8c0
mov ecx, dword [esp + 0x2c]
jmp 0x4ca8d9
mov ecx, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
add ecx, esi
mov esi, ecx
and ecx, 7
shr esi, 3
add esi, ebp
mov dword [esp + 0x1c], ecx
mov ebp, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, 0x10
mov dword [eax], esi
mov eax, dword [esp + 0x2c]
sub ecx, eax
sub edx, dword [ebp + eax*4 + 0xf1c]
shr edx, cl
mov ecx, dword [ebp + eax*4 + 0xf60]
add ecx, edx
cmp ecx, dword [ebp + 0xf1c]
sbb eax, eax
and eax, ecx
movzx eax, word [ebp + eax*2 + 0x1ba4]
movzx eax, ax
mov dword [esp + 0x28], esi
mov dword [esp + 0x20], esi
cmp eax, 4
jae 0x4ca93d
lea edx, [eax + 1]
jmp 0x4cab2b
mov esi, eax
and eax, 1
shr esi, 1
or eax, 2
dec esi
mov ecx, esi
shl eax, cl
lea ebp, [eax + 1]
mov edx, ebp
mov dword [esp + 0x2c], edx
test esi, esi
je 0x4cab2f
cmp esi, 4
jb 0x4caad4
jbe 0x4ca9cf
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x1c]
mov ecx, eax
bswap edx
shl edx, cl
mov ecx, 8
sub cl, al
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + edi + 4]
mov edi, dword [esp + 0x30]
shr eax, cl
mov ecx, 0x24
or edx, eax
sub ecx, esi
shr edx, cl
mov ecx, dword [esp + 0x1c]
add ecx, 0xfffffffc
shl edx, 4
add ecx, esi
add edx, ebp
mov esi, dword [esp + 0x10]
mov eax, ecx
shr eax, 3
add eax, dword [esp + 0x20]
and ecx, 7
mov dword [esp + 0x28], eax
mov dword [esi], eax
mov dword [esp + 0x1c], ecx
mov dword [esi + 4], ecx
jmp 0x4ca9d3
mov esi, dword [esp + 0x10]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x28]
mov esi, dword [eax + ecx]
mov ecx, 0x10
mov eax, dword [esp + 0x1c]
sub ecx, eax
bswap esi
shr esi, cl
mov ecx, dword [esp + 0x4c]
and esi, 0xfffe
mov ebp, dword [ecx + 0x1e8c]
cmp esi, dword [ecx + ebp*4 + 0x1e0c]
jae 0x4caa48
mov ecx, 0x10
sub ecx, ebp
mov ebp, dword [esp + 0x10]
shr esi, cl
mov ecx, dword [esp + 0x4c]
movzx ecx, byte [esi + ecx + 0x1e90]
add ecx, eax
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, dword [esp + 0x28]
mov dword [ebp], eax
mov eax, dword [esp + 0x4c]
mov dword [ebp + 4], ecx
movzx eax, word [eax + esi*2 + 0x2290]
movzx eax, ax
add edx, eax
jmp 0x4cab2b
lea eax, [ebp + 1]
mov dword [esp + 0x2c], 0xf
cmp eax, 0xf
jae 0x4caa78
lea ecx, [ecx + eax*4]
add ecx, 0x1e0c
cmp esi, dword [ecx]
jb 0x4caa74
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4caa61
mov ebp, dword [esp + 0x2c]
jmp 0x4caa7d
mov ebp, eax
jmp 0x4caa7d
mov ebp, 0xf
mov ecx, dword [esp + 0x1c]
mov edi, dword [esp + 0x10]
add ecx, ebp
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, dword [esp + 0x28]
mov dword [edi], eax
mov eax, edi
mov edi, dword [esp + 0x4c]
mov dword [eax + 4], ecx
mov ecx, 0x10
sub esi, dword [edi + ebp*4 + 0x1e08]
sub ecx, ebp
shr esi, cl
mov ecx, dword [edi + ebp*4 + 0x1e4c]
add ecx, esi
cmp ecx, dword [edi + 0x1e08]
sbb eax, eax
and eax, ecx
movzx eax, word [edi + eax*2 + 0x2a90]
mov edi, dword [esp + 0x30]
movzx eax, ax
add edx, eax
jmp 0x4cab2b
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x24]
mov edi, dword [esp + 0x24]
mov edx, dword [eax + ecx]
mov eax, dword [esp + 0x1c]
mov ecx, eax
bswap edx
shl edx, cl
mov ecx, 8
sub cl, al
mov eax, dword [esp + 0x20]
movzx eax, byte [eax + edi + 4]
mov edi, dword [esp + 0x30]
shr eax, cl
mov ecx, 0x20
or edx, eax
sub ecx, esi
shr edx, cl
mov ecx, dword [esp + 0x1c]
add edx, ebp
add ecx, esi
mov esi, dword [esp + 0x10]
mov eax, ecx
shr eax, 3
add eax, dword [esp + 0x20]
and ecx, 7
mov dword [esi], eax
mov dword [esi + 4], ecx
mov dword [esp + 0x2c], edx
cmp edx, 0x100
jbe 0x4cab4a
inc ebx
cmp edx, 0x2000
jbe 0x4cab4a
inc ebx
cmp edx, 0x40000
jbe 0x4cab4a
inc ebx
mov eax, dword [edi + 0x5c]
mov dword [edi + 0x60], eax
mov eax, dword [edi + 0x58]
mov dword [edi + 0x5c], eax
mov eax, dword [edi + 0x54]
mov dword [edi + 0x58], eax
mov dword [edi + 0x54], edx
mov ebp, dword [edi + 0x70]
mov esi, ebp
mov eax, dword [edi + 0xe6c8]
sub esi, edx
add eax, 0xffffeffc
mov dword [edi + 0x68], ebx
cmp esi, eax
jae 0x4cac9f
cmp ebp, eax
jae 0x4cac9f
mov eax, dword [edi + 0x4b34]
lea edx, [esi + eax]
lea esi, [eax + ebp]
lea eax, [ebx + ebp]
mov dword [edi + 0x70], eax
cmp ebx, 8
jb 0x4cac08
cmp dword [esp + 0x2c], ebx
jae 0x4cabe4
mov ecx, ebx
shr ecx, 3
mov al, byte [edx]
sub ebx, 8
mov byte [esi], al
mov al, byte [edx + 1]
mov byte [esi + 1], al
mov al, byte [edx + 2]
mov byte [esi + 2], al
mov al, byte [edx + 3]
mov byte [esi + 3], al
mov al, byte [edx + 4]
mov byte [esi + 4], al
mov al, byte [edx + 5]
mov byte [esi + 5], al
mov al, byte [edx + 6]
mov byte [esi + 6], al
mov al, byte [edx + 7]
add edx, 8
mov byte [esi + 7], al
add esi, 8
sub ecx, 1
jne 0x4caba6
jmp 0x4cac08
mov ebp, ebx
shr ebp, 3
lea esp, [esp]
mov eax, dword [edx]
sub ebx, 8
mov ecx, dword [edx + 4]
add edx, 8
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 8
sub ebp, 1
jne 0x4cabf0
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x4ca643
mov al, byte [edx]
mov byte [esi], al
mov eax, dword [esp + 0x14]
cmp ebx, 1
jbe 0x4ca643
mov al, byte [edx + 1]
mov byte [esi + 1], al
mov eax, dword [esp + 0x14]
cmp ebx, 2
jbe 0x4ca643
mov al, byte [edx + 2]
mov byte [esi + 2], al
mov eax, dword [esp + 0x14]
cmp ebx, 3
jbe 0x4ca643
mov al, byte [edx + 3]
mov byte [esi + 3], al
mov eax, dword [esp + 0x14]
cmp ebx, 4
jbe 0x4ca643
mov al, byte [edx + 4]
mov byte [esi + 4], al
mov eax, dword [esp + 0x14]
cmp ebx, 5
jbe 0x4ca643
mov al, byte [edx + 5]
cmp ebx, 6
mov ebx, dword [esp + 0x18]
mov byte [esi + 5], al
mov eax, dword [esp + 0x14]
jbe 0x4ca650
mov al, byte [edx + 6]
mov byte [esi + 6], al
mov eax, dword [esp + 0x14]
jmp 0x4ca650
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x4ca631
mov eax, dword [edi + 0xe6cc]
mov ecx, dword [edi + 0x4b34]
and eax, esi
inc esi
mov al, byte [eax + ecx]
mov byte [ecx + ebp], al
mov ebp, dword [edi + 0x70]
mov eax, dword [edi + 0xe6cc]
inc ebp
and ebp, eax
mov dword [edi + 0x70], ebp
sub ebx, 1
jne 0x4cacb5
jmp 0x4ca637
cmp edx, 0x100
jne 0x4cad13
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, edi
call fcn.004c50a0
test al, al
je 0x4cb0f2
lea eax, [esp + 0x38]
mov ecx, edi
push eax
call fcn.004c18e0
test al, al
je 0x4cb0f2
jmp 0x4ca637
cmp edx, 0x101
jne 0x4cae9d
mov ebx, dword [edi + 0x68]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x4ca643
mov edx, dword [edi + 0x70]
mov esi, edx
mov eax, dword [edi + 0xe6c8]
mov ebp, dword [edi + 0x54]
add eax, 0xffffeffc
sub esi, ebp
cmp esi, eax
jae 0x4cae6f
cmp edx, eax
jae 0x4cae6f
mov eax, dword [edi + 0x4b34]
lea ecx, [edx + ebx]
add esi, eax
mov dword [edi + 0x70], ecx
add eax, edx
cmp ebx, 8
jb 0x4cadd8
cmp ebp, ebx
jae 0x4cadbb
mov edx, ebx
shr edx, 3
movzx ecx, byte [esi]
sub ebx, 8
mov byte [eax], cl
movzx ecx, byte [esi + 1]
mov byte [eax + 1], cl
movzx ecx, byte [esi + 2]
mov byte [eax + 2], cl
movzx ecx, byte [esi + 3]
mov byte [eax + 3], cl
movzx ecx, byte [esi + 4]
mov byte [eax + 4], cl
movzx ecx, byte [esi + 5]
mov byte [eax + 5], cl
movzx ecx, byte [esi + 6]
mov byte [eax + 6], cl
movzx ecx, byte [esi + 7]
add esi, 8
mov byte [eax + 7], cl
add eax, 8
sub edx, 1
jne 0x4cad75
jmp 0x4cadd8
mov ebp, ebx
shr ebp, 3
mov ecx, dword [esi]
sub ebx, 8
mov edx, dword [esi + 4]
add esi, 8
mov dword [eax], ecx
mov dword [eax + 4], edx
add eax, 8
sub ebp, 1
jne 0x4cadc0
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
test ebx, ebx
je 0x4ca63f
mov cl, byte [esi]
mov byte [eax], cl
mov ecx, dword [esp + 0x10]
cmp ebx, 1
jbe 0x4ca63f
mov cl, byte [esi + 1]
mov byte [eax + 1], cl
mov ecx, dword [esp + 0x10]
cmp ebx, 2
jbe 0x4ca63f
mov cl, byte [esi + 2]
mov byte [eax + 2], cl
mov ecx, dword [esp + 0x10]
cmp ebx, 3
jbe 0x4ca63f
mov cl, byte [esi + 3]
mov byte [eax + 3], cl
mov ecx, dword [esp + 0x10]
cmp ebx, 4
jbe 0x4ca63f
mov cl, byte [esi + 4]
mov byte [eax + 4], cl
mov ecx, dword [esp + 0x10]
cmp ebx, 5
jbe 0x4ca63f
mov cl, byte [esi + 5]
cmp ebx, 6
mov ebx, dword [esp + 0x18]
mov byte [eax + 5], cl
mov ecx, dword [esp + 0x10]
jbe 0x4cac96
mov cl, byte [esi + 6]
mov byte [eax + 6], cl
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
jmp 0x4ca650
mov eax, dword [edi + 0xe6cc]
mov ecx, dword [edi + 0x4b34]
and eax, esi
inc esi
mov al, byte [eax + ecx]
mov byte [edx + ecx], al
mov edx, dword [edi + 0x70]
mov eax, dword [edi + 0xe6cc]
inc edx
and edx, eax
mov dword [edi + 0x70], edx
sub ebx, 1
jne 0x4cae75
jmp 0x4ca637
add edx, 0xfffffefe
lea ecx, [edx + 0x15]
mov ebx, dword [edi + ecx*4]
lea ecx, [edi + ecx*4]
mov dword [esp + 0x2c], ebx
je 0x4caec0
mov eax, dword [ecx - 4]
lea ecx, [ecx - 4]
mov dword [ecx + 4], eax
sub edx, 1
jne 0x4caeb2
mov esi, dword [esp + 0x10]
mov ecx, 0x10
mov dword [edi + 0x54], ebx
mov eax, dword [esi + 0xc]
mov ebp, dword [esi]
mov ebx, dword [esi + 4]
sub ecx, ebx
mov edx, dword [eax + ebp]
bswap edx
shr edx, cl
mov ecx, dword [esp + 0x4c]
and edx, 0xfffe
mov eax, dword [ecx + 0x2d78]
cmp edx, dword [ecx + eax*4 + 0x2cf8]
jae 0x4caf2a
mov ecx, 0x10
sub ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x4c]
movzx esi, byte [edx + ecx + 0x2d7c]
add esi, ebx
mov eax, esi
shr eax, 3
add ebp, eax
mov eax, dword [esp + 0x10]
and esi, 7
mov dword [eax], ebp
mov dword [eax + 4], esi
movzx eax, word [ecx + edx*2 + 0x317c]
jmp 0x4caf9a
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x4caf51
lea ecx, [ecx + eax*4]
add ecx, 0x2cf8
lea ecx, [ecx]
cmp edx, dword [ecx]
jb 0x4caf4f
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4caf40
jmp 0x4caf51
mov ebx, eax
mov esi, dword [esi + 4]
mov ecx, 0x10
add esi, ebx
sub ecx, ebx
mov eax, esi
and esi, 7
shr eax, 3
add ebp, eax
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov dword [eax + 4], esi
mov eax, dword [esp + 0x4c]
sub edx, dword [eax + ebx*4 + 0x2cf4]
shr edx, cl
mov ecx, dword [eax + ebx*4 + 0x2d38]
add ecx, edx
mov edx, eax
cmp ecx, dword [edx + 0x2cf4]
sbb eax, eax
and eax, ecx
movzx eax, word [edx + eax*2 + 0x397c]
movzx ebx, ax
cmp ebx, 8
jae 0x4cafa7
add ebx, 2
jmp 0x4caff7
mov edx, ebx
and ebx, 3
shr edx, 2
or ebx, 4
dec edx
mov ecx, edx
shl ebx, cl
add ebx, 2
test edx, edx
je 0x4caff7
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, 0x10
sub ecx, esi
mov eax, dword [eax + ebp]
bswap eax
shr eax, cl
mov ecx, 0x10
movzx eax, ax
sub ecx, edx
shr eax, cl
lea ecx, [esi + edx]
mov edx, dword [esp + 0x10]
add ebx, eax
mov eax, ecx
shr eax, 3
add eax, ebp
and ecx, 7
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ebp, dword [edi + 0x70]
mov edx, ebp
mov eax, dword [edi + 0xe6c8]
mov ecx, dword [esp + 0x2c]
add eax, 0xffffeffc
sub edx, ecx
mov dword [edi + 0x68], ebx
cmp edx, eax
jae 0x4cb0ad
cmp ebp, eax
jae 0x4cb0ad
mov eax, dword [edi + 0x4b34]
add edx, eax
lea esi, [eax + ebp]
lea eax, [ebx + ebp]
mov dword [edi + 0x70], eax
cmp ebx, 8
jb 0x4cac08
cmp ecx, ebx
jae 0x4cb084
mov ecx, ebx
shr ecx, 3
mov al, byte [edx]
sub ebx, 8
mov byte [esi], al
mov al, byte [edx + 1]
mov byte [esi + 1], al
mov al, byte [edx + 2]
mov byte [esi + 2], al
mov al, byte [edx + 3]
mov byte [esi + 3], al
mov al, byte [edx + 4]
mov byte [esi + 4], al
mov al, byte [edx + 5]
mov byte [esi + 5], al
mov al, byte [edx + 6]
mov byte [esi + 6], al
mov al, byte [edx + 7]
add edx, 8
mov byte [esi + 7], al
add esi, 8
sub ecx, 1
jne 0x4cb043
jmp 0x4cac08
mov ebp, ebx
shr ebp, 3
lea esp, [esp]
mov eax, dword [edx]
sub ebx, 8
mov ecx, dword [edx + 4]
add edx, 8
mov dword [esi], eax
mov dword [esi + 4], ecx
add esi, 8
sub ebp, 1
jne 0x4cb090
jmp 0x4cac08
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x4ca631
mov eax, dword [edi + 0xe6cc]
mov ecx, dword [edi + 0x4b34]
and eax, edx
inc edx
mov al, byte [eax + ecx]
mov byte [ecx + ebp], al
mov ebp, dword [edi + 0x70]
mov eax, dword [edi + 0xe6cc]
inc ebp
and ebp, eax
mov dword [edi + 0x70], ebp
sub ebx, 1
jne 0x4cb0c3
jmp 0x4ca637
mov byte [ebp + 0x4ad3], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 4