Function at 0x463e20
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
push ebx
push ebp
mov ebp, dword [esp + 0x44]
push esi
push edi
mov esi, ecx
cmp byte [ebp + 0x2c], 0
lea ebx, [ebp + 4]
lea edi, [ebp + 0x18]
mov dword [esp + 0x10], ebx
jne 0x463e52
lea eax, [ebp + 0x30]
mov byte [ebp + 0x2c], 1
push eax
push edi
push ebx
call fcn.0045ef20
test al, al
je 0x463e61
jmp 0x463e56
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x24]
mov ecx, dword [edi]
add eax, ecx
cmp dword [ebx], eax
jle 0x463e74
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 + 0x30], eax
cmp eax, ebx
jl 0x463e97
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x10]
jmp 0x463eb0
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
mov ebx, dword [esp + 0x18]
lea ecx, [ecx]
mov edx, dword [esi + 0x7c]
mov edi, dword [esi + 0xe6e0]
and edx, edi
mov dword [esi + 0x7c], edx
mov ecx, dword [ecx]
cmp ecx, dword [esp + 0x30]
jl 0x463ef9
cmp ecx, eax
jg 0x464994
jne 0x463edc
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x1c]
jge 0x464994
cmp ecx, ebx
jl 0x463eed
cmp byte [ebp + 0x4ad2], 0
je 0x46498d
cmp ecx, dword [ebp + 0x4acc]
jge 0x46498d
mov ecx, dword [esi + 0x4b3c]
mov eax, ecx
sub eax, edx
and eax, edi
cmp eax, 0x1004
jae 0x463f3d
cmp ecx, edx
je 0x463f3d
mov ecx, esi
call fcn.004605b0
mov eax, dword [esi + 0x4c5c]
cmp eax, dword [esi + 0x4c4c]
jg 0x463e68
jl 0x463f3d
mov eax, dword [esi + 0x4c58]
cmp eax, dword [esi + 0x4c48]
ja 0x463e68
mov edi, dword [esp + 0x10]
mov ecx, dword [edi + 0xc]
mov ebp, dword [edi]
mov ebx, dword [edi + 4]
mov dword [esp + 0x1c], ecx
movzx eax, byte [ecx + ebp]
movzx edx, byte [ecx + ebp + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + ebp + 2]
shl edx, 8
mov ecx, 8
or edx, eax
sub ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x4c]
and edx, 0xfffe
mov eax, dword [ecx + 0xb4]
cmp edx, dword [ecx + eax*4 + 0x34]
jae 0x463fbc
mov ecx, 0x10
sub ecx, eax
mov eax, dword [esp + 0x4c]
shr edx, cl
mov ecx, dword [esp + 0x10]
movzx edi, byte [edx + eax + 0xb8]
add edi, ebx
mov eax, edi
shr eax, 3
add ebp, eax
mov eax, dword [esp + 0x4c]
and edi, 7
mov dword [ecx], ebp
mov dword [ecx + 4], edi
movzx eax, word [eax + edx*2 + 0x4b8]
jmp 0x464025
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x463fe1
lea ecx, [ecx + eax*4]
add ecx, 0x34
lea esp, [esp]
cmp edx, dword [ecx]
jb 0x463fdf
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x463fd0
jmp 0x463fe1
mov ebx, eax
mov edi, dword [edi + 4]
mov ecx, 0x10
add edi, ebx
sub ecx, ebx
mov eax, edi
and edi, 7
shr eax, 3
add ebp, eax
mov eax, dword [esp + 0x10]
mov dword [eax], ebp
mov dword [eax + 4], edi
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
mov dword [esp + 0x20], ebp
cmp edx, 0x100
jae 0x464048
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x4b40]
mov byte [ecx + eax], dl
inc dword [esi + 0x7c]
jmp 0x463e9d
cmp edx, 0x106
jb 0x4645da
lea ebx, [edx - 0x106]
cmp ebx, 8
jae 0x464068
mov dword [esp + 0x20], ebp
add ebx, 2
jmp 0x4640dd
mov ebp, ebx
and ebx, 3
shr ebp, 2
or ebx, 4
dec ebp
mov ecx, ebp
shl ebx, cl
add ebx, 2
test ebp, ebp
je 0x4640d9
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [ecx + eax + 1]
movzx eax, byte [ecx + eax]
shl eax, 8
or edx, eax
mov eax, dword [esp + 0x1c]
shl edx, 8
movzx eax, byte [ecx + eax + 2]
mov ecx, 8
or edx, eax
sub ecx, edi
shr edx, cl
add edi, ebp
mov ecx, 0x10
movzx eax, dx
sub ecx, ebp
mov ebp, dword [esp + 0x20]
shr eax, cl
add ebx, eax
mov eax, edi
shr eax, 3
add ebp, eax
mov eax, dword [esp + 0x10]
and edi, 7
mov dword [esp + 0x20], ebp
mov dword [eax], ebp
mov dword [eax + 4], edi
jmp 0x4640dd
mov ebp, dword [esp + 0x20]
mov ecx, dword [esp + 0x1c]
movzx eax, byte [ecx + ebp]
movzx edx, byte [ecx + ebp + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + ebp + 2]
shl edx, 8
mov ecx, 8
or edx, eax
sub ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x4c]
and edx, 0xfffe
mov eax, dword [ecx + 0xfa0]
cmp edx, dword [ecx + eax*4 + 0xf20]
jae 0x464158
mov ecx, 0x10
sub ecx, eax
mov eax, dword [esp + 0x4c]
shr edx, cl
movzx ebp, byte [edx + eax + 0xfa4]
mov eax, dword [esp + 0x10]
add ebp, edi
mov edi, ebp
shr edi, 3
add edi, dword [esp + 0x20]
and ebp, 7
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x4c]
movzx eax, word [eax + edx*2 + 0x13a4]
jmp 0x4641d7
mov ebp, 0xf
inc eax
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jae 0x464185
lea ecx, [ecx + eax*4]
add ecx, 0xf20
nop
cmp edx, dword [ecx]
jb 0x46417f
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x464170
jmp 0x464185
mov ebp, eax
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x10]
add ebp, edi
mov ecx, dword [esp + 0x4c]
mov edi, ebp
shr edi, 3
and ebp, 7
add edi, dword [esp + 0x20]
mov dword [eax], edi
mov dword [eax + 4], ebp
mov eax, dword [esp + 0x2c]
sub edx, dword [ecx + eax*4 + 0xf1c]
mov ecx, 0x10
sub ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x4c]
mov ecx, dword [ecx + eax*4 + 0xf60]
add ecx, edx
mov edx, dword [esp + 0x4c]
cmp ecx, dword [edx + 0xf1c]
sbb eax, eax
and eax, ecx
movzx eax, word [edx + eax*2 + 0x1ba4]
movzx eax, ax
mov dword [esp + 0x2c], ebp
mov dword [esp + 0x24], edi
mov dword [esp + 0x20], edi
cmp eax, 4
jae 0x4641f3
lea edx, [eax + 1]
jmp 0x464428
mov edi, eax
and eax, 1
shr edi, 1
or eax, 2
dec edi
mov ecx, edi
shl eax, cl
inc eax
mov dword [esp + 0x34], eax
mov edx, eax
mov dword [esp + 0x28], edx
test edi, edi
je 0x46442c
cmp edi, 4
jb 0x4643b3
jbe 0x4642a4
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [ecx + eax + 1]
movzx eax, byte [ecx + eax]
shl eax, 8
or edx, eax
mov eax, dword [esp + 0x1c]
shl edx, 8
movzx eax, byte [ecx + eax + 2]
or edx, eax
mov eax, dword [esp + 0x1c]
shl edx, 8
movzx eax, byte [ecx + eax + 3]
mov ecx, ebp
or edx, eax
add ebp, 0xfffffffc
mov eax, dword [esp + 0x20]
add ebp, edi
shl edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, byte [eax + ecx + 4]
mov ecx, 8
sub cl, byte [esp + 0x2c]
shr eax, cl
mov ecx, 0x24
or edx, eax
sub ecx, edi
shr edx, cl
mov eax, ebp
mov ecx, dword [esp + 0x10]
shl edx, 4
add edx, dword [esp + 0x34]
shr eax, 3
add eax, dword [esp + 0x20]
and ebp, 7
mov dword [esp + 0x24], eax
mov dword [ecx], eax
mov dword [ecx + 4], ebp
jmp 0x4642a8
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx + 0xc]
mov ecx, dword [esp + 0x24]
add ecx, eax
movzx eax, byte [ecx]
movzx edi, byte [ecx + 1]
shl eax, 8
or edi, eax
movzx eax, byte [ecx + 2]
shl edi, 8
mov ecx, 8
or edi, eax
sub ecx, ebp
shr edi, cl
mov ecx, dword [esp + 0x4c]
and edi, 0xfffe
mov eax, dword [ecx + 0x1e8c]
cmp edi, dword [ecx + eax*4 + 0x1e0c]
jae 0x46432b
mov ecx, 0x10
sub ecx, eax
mov eax, dword [esp + 0x4c]
shr edi, cl
movzx ecx, byte [edi + eax + 0x1e90]
add ecx, ebp
mov ebp, dword [esp + 0x10]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, dword [esp + 0x24]
mov dword [ebp], eax
mov eax, dword [esp + 0x4c]
mov dword [ebp + 4], ecx
movzx eax, word [eax + edi*2 + 0x2290]
movzx eax, ax
add edx, eax
jmp 0x464428
inc eax
mov dword [esp + 0x28], 0xf
cmp eax, 0xf
jae 0x46435b
lea ecx, [ecx + eax*4]
add ecx, 0x1e0c
cmp edi, dword [ecx]
jb 0x464355
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x464342
mov eax, dword [esp + 0x28]
jmp 0x464360
mov dword [esp + 0x28], eax
jmp 0x464360
mov eax, 0xf
lea ecx, [eax + ebp]
mov ebp, dword [esp + 0x10]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, dword [esp + 0x24]
mov dword [ebp], eax
mov eax, dword [esp + 0x28]
mov dword [ebp + 4], ecx
mov ecx, 0x10
mov ebp, dword [esp + 0x4c]
sub ecx, eax
sub edi, dword [ebp + eax*4 + 0x1e08]
shr edi, cl
mov ecx, dword [ebp + eax*4 + 0x1e4c]
add ecx, edi
cmp ecx, dword [ebp + 0x1e08]
sbb eax, eax
and eax, ecx
movzx eax, word [ebp + eax*2 + 0x2a90]
movzx eax, ax
add edx, eax
jmp 0x464428
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
movzx edx, byte [ecx + eax + 1]
movzx eax, byte [ecx + eax]
shl eax, 8
or edx, eax
mov eax, dword [esp + 0x1c]
shl edx, 8
movzx eax, byte [ecx + eax + 2]
or edx, eax
mov eax, dword [esp + 0x1c]
shl edx, 8
movzx eax, byte [ecx + eax + 3]
mov ecx, ebp
or edx, eax
mov eax, dword [esp + 0x20]
shl edx, cl
mov ecx, dword [esp + 0x1c]
movzx eax, byte [eax + ecx + 4]
mov ecx, 8
sub cl, byte [esp + 0x2c]
shr eax, cl
mov ecx, 0x20
or edx, eax
sub ecx, edi
shr edx, cl
lea ecx, [edi + ebp]
mov edi, dword [esp + 0x10]
mov eax, ecx
add edx, dword [esp + 0x34]
shr eax, 3
add eax, dword [esp + 0x20]
and ecx, 7
mov dword [edi], eax
mov dword [edi + 4], ecx
mov dword [esp + 0x28], edx
cmp edx, 0x100
jbe 0x464447
inc ebx
cmp edx, 0x2000
jbe 0x464447
inc ebx
cmp edx, 0x40000
jbe 0x464447
inc ebx
mov eax, dword [esi + 0x68]
mov dword [esi + 0x6c], eax
mov eax, dword [esi + 0x64]
mov dword [esi + 0x68], eax
mov eax, dword [esi + 0x60]
mov dword [esi + 0x64], eax
mov dword [esi + 0x60], edx
mov ebp, dword [esi + 0x7c]
mov edi, ebp
mov eax, dword [esi + 0xe6dc]
sub edi, edx
add eax, 0xffffeffc
mov dword [esi + 0x74], ebx
cmp edi, eax
jae 0x464595
cmp ebp, eax
jae 0x464595
mov eax, dword [esi + 0x4b40]
lea edx, [eax + edi]
lea edi, [eax + ebp]
lea eax, [ebx + ebp]
mov dword [esi + 0x7c], eax
cmp ebx, 8
jb 0x4644fe
cmp dword [esp + 0x28], ebx
jae 0x4644e1
mov ecx, ebx
shr ecx, 3
mov al, byte [edx]
sub ebx, 8
mov byte [edi], al
mov al, byte [edx + 1]
mov byte [edi + 1], al
mov al, byte [edx + 2]
mov byte [edi + 2], al
mov al, byte [edx + 3]
mov byte [edi + 3], al
mov al, byte [edx + 4]
mov byte [edi + 4], al
mov al, byte [edx + 5]
mov byte [edi + 5], al
mov al, byte [edx + 6]
mov byte [edi + 6], al
mov al, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
sub ecx, 1
jne 0x4644a3
jmp 0x4644fe
mov ebp, ebx
shr ebp, 3
mov eax, dword [edx]
sub ebx, 8
mov ecx, dword [edx + 4]
add edx, 8
mov dword [edi], eax
mov dword [edi + 4], ecx
add edi, 8
sub ebp, 1
jne 0x4644e6
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x463ea9
mov al, byte [edx]
mov byte [edi], al
mov eax, dword [esp + 0x14]
cmp ebx, 1
jbe 0x463ea9
mov al, byte [edx + 1]
mov byte [edi + 1], al
mov eax, dword [esp + 0x14]
cmp ebx, 2
jbe 0x463ea9
mov al, byte [edx + 2]
mov byte [edi + 2], al
mov eax, dword [esp + 0x14]
cmp ebx, 3
jbe 0x463ea9
mov al, byte [edx + 3]
mov byte [edi + 3], al
mov eax, dword [esp + 0x14]
cmp ebx, 4
jbe 0x463ea9
mov al, byte [edx + 4]
mov byte [edi + 4], al
mov eax, dword [esp + 0x14]
cmp ebx, 5
jbe 0x463ea9
mov al, byte [edx + 5]
cmp ebx, 6
mov ebx, dword [esp + 0x18]
mov byte [edi + 5], al
mov eax, dword [esp + 0x14]
jbe 0x463eb0
mov al, byte [edx + 6]
mov byte [edi + 6], al
mov eax, dword [esp + 0x14]
jmp 0x463eb0
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x463ea5
mov edx, dword [esi + 0xe6e0]
jmp 0x4645b0
mov ecx, dword [esi + 0x4b40]
mov eax, edi
and eax, edx
inc edi
mov al, byte [eax + ecx]
mov byte [ecx + ebp], al
mov ebp, dword [esi + 0x7c]
mov edx, dword [esi + 0xe6e0]
inc ebp
and ebp, edx
mov dword [esi + 0x7c], ebp
sub ebx, 1
jne 0x4645b0
jmp 0x463e9d
cmp edx, 0x100
jne 0x464610
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.0045e430
test al, al
je 0x464994
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.0045ac40
test al, al
je 0x464994
jmp 0x463e9d
cmp edx, 0x101
jne 0x46470d
mov ebx, dword [esi + 0x74]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x463ea9
mov ebp, dword [esi + 0x7c]
mov edx, ebp
mov eax, dword [esi + 0xe6dc]
mov ecx, dword [esi + 0x60]
add eax, 0xffffeffc
sub edx, ecx
cmp edx, eax
jae 0x4646dd
cmp ebp, eax
jae 0x4646dd
mov eax, dword [esi + 0x4b40]
add edx, eax
lea edi, [eax + ebp]
lea eax, [ebx + ebp]
mov dword [esi + 0x7c], eax
cmp ebx, 8
jb 0x4644fe
cmp ecx, ebx
jae 0x4646b8
mov ecx, ebx
shr ecx, 3
mov al, byte [edx]
sub ebx, 8
mov byte [edi], al
mov al, byte [edx + 1]
mov byte [edi + 1], al
mov al, byte [edx + 2]
mov byte [edi + 2], al
mov al, byte [edx + 3]
mov byte [edi + 3], al
mov al, byte [edx + 4]
mov byte [edi + 4], al
mov al, byte [edx + 5]
mov byte [edi + 5], al
mov al, byte [edx + 6]
mov byte [edi + 6], al
mov al, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
sub ecx, 1
jne 0x464677
jmp 0x4644fe
mov ebp, ebx
shr ebp, 3
lea ecx, [ecx]
mov eax, dword [edx]
sub ebx, 8
mov ecx, dword [edx + 4]
add edx, 8
mov dword [edi], eax
mov dword [edi + 4], ecx
add edi, 8
sub ebp, 1
jne 0x4646c0
jmp 0x4644fe
mov edi, dword [esi + 0xe6e0]
mov ecx, dword [esi + 0x4b40]
mov eax, edx
and eax, edi
inc edx
mov al, byte [eax + ecx]
mov byte [ecx + ebp], al
mov ebp, dword [esi + 0x7c]
mov edi, dword [esi + 0xe6e0]
inc ebp
and ebp, edi
mov dword [esi + 0x7c], ebp
sub ebx, 1
jne 0x4646e3
jmp 0x463e9d
add edx, 0xfffffefe
lea ecx, [esi + 0x60]
mov ebx, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x34], ebx
je 0x464730
mov eax, dword [ecx - 4]
lea ecx, [ecx - 4]
mov dword [ecx + 4], eax
sub edx, 1
jne 0x464722
mov edi, dword [esp + 0x10]
mov dword [esi + 0x60], ebx
mov ecx, dword [edi + 0xc]
mov ebp, dword [edi]
mov ebx, dword [edi + 4]
movzx eax, byte [ecx + ebp]
movzx edx, byte [ecx + ebp + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + ebp + 2]
shl edx, 8
mov ecx, 8
or edx, eax
sub ecx, ebx
shr edx, cl
mov ecx, dword [esp + 0x4c]
and edx, 0xfffe
mov eax, dword [ecx + 0x2d78]
cmp edx, dword [ecx + eax*4 + 0x2cf8]
jae 0x4647b2
mov ecx, 0x10
sub ecx, eax
shr edx, cl
mov ecx, dword [esp + 0x4c]
movzx edi, byte [edx + ecx + 0x2d7c]
add edi, ebx
mov eax, edi
shr eax, 3
add eax, ebp
mov ebp, dword [esp + 0x10]
and edi, 7
mov dword [esp + 0x28], eax
mov dword [ebp], eax
mov dword [ebp + 4], edi
movzx ecx, word [ecx + edx*2 + 0x317c]
jmp 0x464825
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x4647d6
lea ecx, [ecx + eax*4]
add ecx, 0x2cf8
cmp edx, dword [ecx]
jb 0x4647d4
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4647c5
jmp 0x4647d6
mov ebx, eax
mov edi, dword [edi + 4]
mov ecx, dword [esp + 0x10]
add edi, ebx
mov eax, edi
and edi, 7
shr eax, 3
add eax, ebp
mov ebp, dword [esp + 0x4c]
mov dword [ecx], eax
mov dword [ecx + 4], edi
mov ecx, 0x10
sub ecx, ebx
mov dword [esp + 0x28], eax
sub edx, dword [ebp + ebx*4 + 0x2cf4]
shr edx, cl
mov ecx, dword [ebp + ebx*4 + 0x2d38]
add ecx, edx
cmp ecx, dword [ebp + 0x2cf4]
sbb eax, eax
and eax, ecx
movzx ecx, word [ebp + eax*2 + 0x397c]
mov eax, dword [esp + 0x28]
movzx ebx, cx
cmp ebx, 8
jae 0x464832
add ebx, 2
jmp 0x46489b
mov ebp, ebx
and ebx, 3
shr ebp, 2
or ebx, 4
dec ebp
mov ecx, ebp
shl ebx, cl
add ebx, 2
test ebp, ebp
je 0x46489b
mov edx, dword [esp + 0x10]
mov ecx, dword [edx + 0xc]
movzx edx, byte [eax + ecx + 1]
movzx eax, byte [eax + ecx]
shl eax, 8
or edx, eax
mov eax, dword [esp + 0x28]
shl edx, 8
movzx eax, byte [eax + ecx + 2]
mov ecx, 8
or edx, eax
sub ecx, edi
shr edx, cl
mov ecx, 0x10
sub ecx, ebp
movzx eax, dx
mov edx, dword [esp + 0x10]
shr eax, cl
lea ecx, [edi + ebp]
add ebx, eax
mov eax, ecx
shr eax, 3
add eax, dword [esp + 0x28]
and ecx, 7
mov dword [edx], eax
mov dword [edx + 4], ecx
mov ebp, dword [esi + 0x7c]
mov edx, ebp
mov eax, dword [esi + 0xe6dc]
mov ecx, dword [esp + 0x34]
add eax, 0xffffeffc
sub edx, ecx
mov dword [esi + 0x74], ebx
cmp edx, eax
jae 0x46494d
cmp ebp, eax
jae 0x46494d
mov eax, dword [esi + 0x4b40]
add edx, eax
lea edi, [eax + ebp]
lea eax, [ebx + ebp]
mov dword [esi + 0x7c], eax
cmp ebx, 8
jb 0x4644fe
cmp ecx, ebx
jae 0x464928
mov ecx, ebx
shr ecx, 3
mov al, byte [edx]
sub ebx, 8
mov byte [edi], al
mov al, byte [edx + 1]
mov byte [edi + 1], al
mov al, byte [edx + 2]
mov byte [edi + 2], al
mov al, byte [edx + 3]
mov byte [edi + 3], al
mov al, byte [edx + 4]
mov byte [edi + 4], al
mov al, byte [edx + 5]
mov byte [edi + 5], al
mov al, byte [edx + 6]
mov byte [edi + 6], al
mov al, byte [edx + 7]
add edx, 8
mov byte [edi + 7], al
add edi, 8
sub ecx, 1
jne 0x4648e7
jmp 0x4644fe
mov ebp, ebx
shr ebp, 3
lea ecx, [ecx]
mov eax, dword [edx]
sub ebx, 8
mov ecx, dword [edx + 4]
add edx, 8
mov dword [edi], eax
mov dword [edi + 4], ecx
add edi, 8
sub ebp, 1
jne 0x464930
jmp 0x4644fe
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x463ea5
mov edi, dword [esi + 0xe6e0]
mov ecx, dword [esi + 0x4b40]
mov eax, edx
and eax, edi
inc edx
mov al, byte [eax + ecx]
mov byte [ecx + ebp], al
mov ebp, dword [esi + 0x7c]
mov edi, dword [esi + 0xe6e0]
inc ebp
and ebp, edi
mov dword [esi + 0x7c], ebp
sub ebx, 1
jne 0x464963
jmp 0x463e9d
mov byte [ebp + 0x4ad3], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 4