Function at 0x4a1010
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
mov ebx, dword [esp + 0x34]
push esi
mov esi, ecx
mov dword [esp + 0x1c], esi
cmp byte [ebx + 0x2c], 0
jne 0x4a104f
lea eax, [ebx + 0x30]
mov byte [ebx + 0x2c], 1
push eax
lea eax, [ebx + 0x18]
push eax
lea eax, [ebx + 4]
push eax
call fcn.0049c540
test al, al
jne 0x4a104f
pop esi
mov byte [ebx + 0x4ad0], 1
xor al, al
pop ebx
add esp, 0x2c
ret 4
mov eax, dword [ebx + 0x24]
lea edx, [ebx + 4]
mov ecx, dword [ebx + 0x18]
add eax, ecx
mov dword [esp + 0xc], edx
cmp dword [edx], eax
jg 0x4a103e
mov eax, dword [ebx + 0x4acc]
push ebp
mov ebp, dword [ebx + 0x20]
sub eax, 0x10
dec ebp
mov dword [esp + 0x1c], eax
add ebp, ecx
mov dword [esp + 0xc], ebp
mov dword [esp + 0x14], ebp
cmp ebp, eax
jl 0x4a1086
mov dword [esp + 0x14], eax
push edi
jmp 0x4a1091
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
mov edi, dword [esi + 0xe6e0]
and dword [esi + 0x7c], edi
mov edx, dword [esi + 0x7c]
mov ecx, dword [eax]
cmp ecx, dword [esp + 0x18]
jl 0x4a10de
cmp ecx, ebp
jg 0x4a16e9
jne 0x4a10bf
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0x1c]
jge 0x4a16e9
cmp ecx, dword [esp + 0x20]
jl 0x4a10d2
cmp byte [ebx + 0x4ad2], 0
je 0x4a1aeb
cmp ecx, dword [ebx + 0x4acc]
jge 0x4a1aeb
mov ecx, dword [esi + 0x4b3c]
mov eax, ecx
sub eax, edx
and eax, edi
cmp eax, 0x1004
jae 0x4a1122
cmp ecx, edx
je 0x4a1122
mov ecx, esi
call fcn.0049dd40
mov eax, dword [esi + 0x4c5c]
cmp eax, dword [esi + 0x4c4c]
jg 0x4a1afe
jl 0x4a1122
mov eax, dword [esi + 0x4c58]
cmp eax, dword [esi + 0x4c48]
ja 0x4a1afe
mov edi, dword [esp + 0x14]
mov ecx, dword [edi + 0xc]
mov ebx, dword [edi]
mov ebp, dword [edi + 4]
movzx eax, byte [ecx + ebx]
movzx edx, byte [ecx + ebx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + ebx + 2]
shl edx, 8
mov ecx, 8
or edx, eax
sub ecx, ebp
shr edx, cl
mov ecx, dword [esp + 0x40]
and edx, 0xfffe
mov eax, dword [ecx + 0xb4]
cmp edx, dword [ecx + eax*4 + 0x34]
jae 0x4a1199
mov ecx, 0x10
sub ecx, eax
mov eax, dword [esp + 0x40]
shr edx, cl
movzx ecx, byte [edx + eax + 0xb8]
add ecx, ebp
mov eax, ecx
shr eax, 3
add eax, ebx
mov ebx, dword [esp + 0x40]
and ecx, 7
mov dword [edi], eax
mov dword [edi + 4], ecx
movzx edx, word [ebx + edx*2 + 0x4b8]
jmp 0x4a1201
mov edi, 0xf
inc eax
cmp eax, edi
jae 0x4a11c1
lea ecx, [ecx + eax*4]
add ecx, 0x34
lea esp, [esp]
cmp edx, dword [ecx]
jb 0x4a11bf
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a11b0
jmp 0x4a11c1
mov edi, eax
lea ecx, [edi + ebp]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, ebx
mov ebx, dword [esp + 0x14]
mov dword [ebx + 4], ecx
mov ecx, 0x10
mov dword [ebx], eax
sub ecx, edi
mov ebx, dword [esp + 0x40]
sub edx, dword [ebx + edi*4 + 0x30]
shr edx, cl
mov ecx, dword [ebx + edi*4 + 0x74]
mov edi, dword [esp + 0x14]
add ecx, edx
cmp ecx, dword [ebx + 0x30]
sbb eax, eax
and eax, ecx
movzx edx, word [ebx + eax*2 + 0xcb8]
cmp edx, 0x100
jae 0x4a121d
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x4b40]
mov byte [ecx + eax], dl
inc dword [esi + 0x7c]
jmp 0x4a108d
cmp edx, 0x106
jb 0x4a16bc
lea ebp, [edx - 0x106]
cmp ebp, 8
jae 0x4a1239
add ebp, 2
jmp 0x4a12a5
mov eax, ebp
and ebp, 3
shr eax, 2
or ebp, 4
dec eax
mov ecx, eax
mov dword [esp + 0x1c], eax
shl ebp, cl
add ebp, 2
test eax, eax
je 0x4a12a5
mov ebx, dword [edi]
mov ecx, dword [edi + 0xc]
mov edi, dword [edi + 4]
movzx eax, byte [ecx + ebx]
movzx edx, byte [ecx + ebx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + ebx + 2]
shl edx, 8
mov ecx, 8
or edx, eax
sub ecx, edi
shr edx, cl
mov ecx, 0x10
movzx eax, dx
mov edx, dword [esp + 0x1c]
sub ecx, edx
shr eax, cl
add ebp, eax
lea ecx, [edi + edx]
mov edi, dword [esp + 0x14]
mov eax, ecx
shr eax, 3
add eax, ebx
and ecx, 7
mov dword [edi], eax
mov dword [edi + 4], ecx
mov ecx, dword [edi + 0xc]
mov ebx, dword [edi]
mov edi, dword [edi + 4]
movzx eax, byte [ecx + ebx]
movzx edx, byte [ecx + ebx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + ebx + 2]
shl edx, 8
mov ecx, 8
or edx, eax
sub ecx, edi
shr edx, cl
mov ecx, dword [esp + 0x40]
and edx, 0xfffe
mov eax, dword [ecx + 0xfa0]
cmp edx, dword [ecx + eax*4 + 0xf20]
jae 0x4a131f
mov ecx, 0x10
sub ecx, eax
mov eax, dword [esp + 0x40]
shr edx, cl
movzx ecx, byte [edx + eax + 0xfa4]
add ecx, edi
mov eax, ecx
shr eax, 3
add eax, ebx
mov ebx, dword [esp + 0x14]
and ecx, 7
mov dword [ebx], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 4], ecx
movzx eax, word [eax + edx*2 + 0x13a4]
jmp 0x4a138e
mov edi, 0xf
inc eax
cmp eax, edi
jae 0x4a1343
lea ecx, [ecx + eax*4]
add ecx, 0xf20
cmp edx, dword [ecx]
jb 0x4a1341
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a1332
jmp 0x4a1343
mov edi, eax
mov ecx, dword [esp + 0x14]
mov ecx, dword [ecx + 4]
add ecx, edi
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, ebx
mov ebx, dword [esp + 0x14]
mov dword [ebx + 4], ecx
mov ecx, 0x10
mov dword [ebx], eax
sub ecx, edi
mov ebx, dword [esp + 0x40]
sub edx, dword [ebx + edi*4 + 0xf1c]
shr edx, cl
mov ecx, dword [ebx + edi*4 + 0xf60]
add ecx, edx
cmp ecx, dword [ebx + 0xf1c]
sbb eax, eax
and eax, ecx
movzx eax, word [ebx + eax*2 + 0x1ba4]
movzx eax, ax
cmp eax, 4
jae 0x4a139e
lea edi, [eax + 1]
jmp 0x4a1538
mov ebx, eax
and eax, 1
shr ebx, 1
or eax, 2
dec ebx
mov ecx, ebx
shl eax, cl
inc eax
mov dword [esp + 0x1c], eax
mov edi, eax
test ebx, ebx
je 0x4a1538
cmp ebx, 4
jb 0x4a150a
jbe 0x4a13fd
mov ecx, dword [esp + 0x14]
call fcn.004a2640
mov edx, dword [esp + 0x14]
mov edi, eax
mov ecx, 0x24
sub ecx, ebx
shr edi, cl
mov ecx, dword [edx + 4]
add ecx, 0xfffffffc
shl edi, 4
add edi, dword [esp + 0x1c]
add ecx, ebx
mov eax, ecx
shr eax, 3
add dword [edx], eax
and ecx, 7
mov dword [edx + 4], ecx
jmp 0x4a1401
mov edx, dword [esp + 0x14]
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx]
movzx edx, byte [ecx + ebx]
movzx eax, byte [ecx + ebx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + ebx + 2]
shl edx, 8
mov ecx, 8
or edx, eax
mov eax, dword [esp + 0x14]
sub ecx, dword [eax + 4]
shr edx, cl
mov ecx, dword [esp + 0x40]
and edx, 0xfffe
mov eax, dword [ecx + 0x1e8c]
cmp edx, dword [ecx + eax*4 + 0x1e0c]
jae 0x4a148a
mov ecx, 0x10
sub ecx, eax
mov eax, dword [esp + 0x40]
shr edx, cl
movzx ecx, byte [edx + eax + 0x1e90]
mov eax, dword [esp + 0x14]
add ecx, dword [eax + 4]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, ebx
mov ebx, dword [esp + 0x14]
mov dword [ebx], eax
mov eax, dword [esp + 0x40]
mov dword [ebx + 4], ecx
movzx eax, word [eax + edx*2 + 0x2290]
movzx eax, ax
add edi, eax
jmp 0x4a1538
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x4a14b1
lea ecx, [ecx + eax*4]
add ecx, 0x1e0c
lea ecx, [ecx]
cmp edx, dword [ecx]
jb 0x4a14af
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a14a0
jmp 0x4a14b1
mov ebx, eax
mov ecx, dword [esp + 0x14]
mov esi, dword [esp + 0x40]
mov ecx, dword [ecx + 4]
add ecx, ebx
mov eax, ecx
and ecx, 7
shr eax, 3
add dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [eax + 4], ecx
mov eax, esi
mov esi, dword [esp + 0x24]
mov ecx, 0x10
sub ecx, ebx
sub edx, dword [eax + ebx*4 + 0x1e08]
shr edx, cl
mov ecx, dword [eax + ebx*4 + 0x1e4c]
add ecx, edx
mov edx, eax
cmp ecx, dword [edx + 0x1e08]
sbb eax, eax
and eax, ecx
movzx eax, word [edx + eax*2 + 0x2a90]
movzx eax, ax
add edi, eax
jmp 0x4a1538
mov ecx, dword [esp + 0x14]
call fcn.004a2640
mov edx, dword [esp + 0x14]
mov edi, eax
mov ecx, 0x20
sub ecx, ebx
shr edi, cl
mov ecx, dword [edx + 4]
add edi, dword [esp + 0x1c]
add ecx, ebx
mov eax, ecx
shr eax, 3
add dword [edx], eax
and ecx, 7
mov dword [edx + 4], ecx
cmp edi, 0x100
jbe 0x4a1553
inc ebp
cmp edi, 0x2000
jbe 0x4a1553
inc ebp
cmp edi, 0x40000
jbe 0x4a1553
inc ebp
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], edi
mov edx, dword [esi + 0x7c]
mov ebx, edx
mov eax, dword [esi + 0xe6dc]
sub ebx, edi
add eax, 0xffffeffc
mov dword [esi + 0x74], ebp
cmp ebx, eax
jae 0x4a1683
cmp edx, eax
jae 0x4a1683
mov eax, dword [esi + 0x4b40]
add edx, eax
add dword [esi + 0x7c], ebp
lea ecx, [eax + ebx]
cmp edi, ebp
jae 0x4a15ee
cmp ebp, 8
jb 0x4a1610
mov edi, ebp
shr edi, 3
lea esp, [esp]
mov al, byte [ecx]
sub ebp, 8
mov byte [edx], al
mov al, byte [ecx + 1]
mov byte [edx + 1], al
mov al, byte [ecx + 2]
mov byte [edx + 2], al
mov al, byte [ecx + 3]
mov byte [edx + 3], al
mov al, byte [ecx + 4]
mov byte [edx + 4], al
mov al, byte [ecx + 5]
mov byte [edx + 5], al
mov al, byte [ecx + 6]
mov byte [edx + 6], al
mov al, byte [ecx + 7]
add ecx, 8
mov byte [edx + 7], al
add edx, 8
sub edi, 1
jne 0x4a15b0
jmp 0x4a1610
cmp ebp, 8
jb 0x4a1610
mov edi, ebp
shr edi, 3
mov eax, dword [ecx]
sub ebp, 8
mov dword [edx], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [edx + 4], eax
add edx, 8
sub edi, 1
jne 0x4a15f8
mov ebx, dword [esp + 0x40]
test ebp, ebp
je 0x4a108d
mov al, byte [ecx]
mov byte [edx], al
cmp ebp, 1
jbe 0x4a108d
mov al, byte [ecx + 1]
mov byte [edx + 1], al
cmp ebp, 2
jbe 0x4a108d
mov al, byte [ecx + 2]
mov byte [edx + 2], al
cmp ebp, 3
jbe 0x4a108d
mov al, byte [ecx + 3]
mov byte [edx + 3], al
cmp ebp, 4
jbe 0x4a108d
mov al, byte [ecx + 4]
mov byte [edx + 4], al
cmp ebp, 5
jbe 0x4a108d
mov al, byte [ecx + 5]
cmp ebp, 6
mov ebp, dword [esp + 0x10]
mov byte [edx + 5], al
jbe 0x4a1091
mov al, byte [ecx + 6]
mov byte [edx + 6], al
jmp 0x4a1091
test ebp, ebp
je 0x4a1089
mov edi, dword [esi + 0xe6e0]
mov edx, dword [esi + 0x4b40]
and edi, ebx
mov ecx, dword [esi + 0x7c]
inc ebx
mov al, byte [edi + edx]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x7c]
mov edi, dword [esi + 0xe6e0]
inc eax
and eax, edi
mov dword [esi + 0x7c], eax
sub ebp, 1
jne 0x4a1691
jmp 0x4a1089
cmp edx, 0x100
jne 0x4a16f5
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
push edi
call fcn.0049ba00
test al, al
je 0x4a16e9
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.00498620
test al, al
jne 0x4a108d
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x2c
ret 4
cmp edx, 0x101
jne 0x4a1870
mov edi, dword [esi + 0x74]
mov ebp, dword [esp + 0x10]
test edi, edi
je 0x4a1091
mov eax, dword [esi + 0x60]
mov ebx, dword [esi + 0x7c]
mov ebp, ebx
sub ebp, eax
mov dword [esp + 0x1c], eax
mov eax, dword [esi + 0xe6dc]
add eax, 0xffffeffc
cmp ebp, eax
jae 0x4a1833
cmp ebx, eax
jae 0x4a1833
mov eax, dword [esi + 0x4b40]
lea ecx, [eax + ebp]
lea edx, [eax + ebx]
lea eax, [ebx + edi]
mov dword [esi + 0x7c], eax
cmp dword [esp + 0x1c], edi
jae 0x4a179e
cmp edi, 8
jb 0x4a17c0
mov ebx, edi
shr ebx, 3
jmp 0x4a1760
mov al, byte [ecx]
sub edi, 8
mov byte [edx], al
mov al, byte [ecx + 1]
mov byte [edx + 1], al
mov al, byte [ecx + 2]
mov byte [edx + 2], al
mov al, byte [ecx + 3]
mov byte [edx + 3], al
mov al, byte [ecx + 4]
mov byte [edx + 4], al
mov al, byte [ecx + 5]
mov byte [edx + 5], al
mov al, byte [ecx + 6]
mov byte [edx + 6], al
mov al, byte [ecx + 7]
add ecx, 8
mov byte [edx + 7], al
add edx, 8
sub ebx, 1
jne 0x4a1760
jmp 0x4a17c0
cmp edi, 8
jb 0x4a17c0
mov ebx, edi
shr ebx, 3
mov eax, dword [ecx]
sub edi, 8
mov dword [edx], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [edx + 4], eax
add edx, 8
sub ebx, 1
jne 0x4a17a8
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x10]
test edi, edi
je 0x4a1091
mov al, byte [ecx]
mov byte [edx], al
cmp edi, 1
jbe 0x4a1091
mov al, byte [ecx + 1]
mov byte [edx + 1], al
cmp edi, 2
jbe 0x4a1091
mov al, byte [ecx + 2]
mov byte [edx + 2], al
cmp edi, 3
jbe 0x4a1091
mov al, byte [ecx + 3]
mov byte [edx + 3], al
cmp edi, 4
jbe 0x4a1091
mov al, byte [ecx + 4]
mov byte [edx + 4], al
cmp edi, 5
jbe 0x4a1091
mov al, byte [ecx + 5]
mov byte [edx + 5], al
cmp edi, 6
jbe 0x4a1091
mov al, byte [ecx + 6]
mov byte [edx + 6], al
jmp 0x4a1091
mov ebx, dword [esp + 0x40]
test edi, edi
je 0x4a108d
mov ebx, dword [esi + 0xe6e0]
mov edx, dword [esi + 0x4b40]
and ebx, ebp
mov ecx, dword [esi + 0x7c]
inc ebp
mov al, byte [ebx + edx]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x7c]
mov ebx, dword [esi + 0xe6e0]
inc eax
and eax, ebx
mov dword [esi + 0x7c], eax
sub edi, 1
jne 0x4a1845
jmp 0x4a1089
add edx, 0xfffffefe
lea ecx, [edx + 0x18]
mov ebx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x1c], ebx
je 0x4a1893
mov eax, dword [ecx - 4]
lea ecx, [ecx - 4]
mov dword [ecx + 4], eax
sub edx, 1
jne 0x4a1885
mov dword [esi + 0x60], ebx
mov ecx, dword [edi + 0xc]
mov ebx, dword [edi]
mov ebp, dword [edi + 4]
movzx edx, byte [ecx + ebx]
movzx eax, byte [ecx + ebx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + ebx + 2]
shl edx, 8
mov ecx, 8
or edx, eax
sub ecx, ebp
shr edx, cl
mov ecx, dword [esp + 0x40]
and edx, 0xfffe
mov eax, dword [ecx + 0x2d78]
cmp edx, dword [ecx + eax*4 + 0x2cf8]
jae 0x4a190f
mov ecx, 0x10
sub ecx, eax
mov eax, dword [esp + 0x40]
shr edx, cl
movzx ecx, byte [edx + eax + 0x2d7c]
add ecx, ebp
mov eax, ecx
shr eax, 3
add eax, ebx
and ecx, 7
mov dword [edi], eax
mov eax, dword [esp + 0x40]
mov dword [edi + 4], ecx
movzx eax, word [eax + edx*2 + 0x317c]
jmp 0x4a197c
mov edi, 0xf
inc eax
cmp eax, edi
jae 0x4a1933
lea ecx, [ecx + eax*4]
add ecx, 0x2cf8
cmp edx, dword [ecx]
jb 0x4a1931
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a1922
jmp 0x4a1933
mov edi, eax
lea ecx, [edi + ebp]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, ebx
mov ebx, dword [esp + 0x14]
mov dword [ebx + 4], ecx
mov ecx, 0x10
mov dword [ebx], eax
sub ecx, edi
mov ebx, dword [esp + 0x40]
sub edx, dword [ebx + edi*4 + 0x2cf4]
shr edx, cl
mov ecx, dword [ebx + edi*4 + 0x2d38]
mov edi, dword [esp + 0x14]
add ecx, edx
cmp ecx, dword [ebx + 0x2cf4]
sbb eax, eax
and eax, ecx
movzx eax, word [ebx + eax*2 + 0x397c]
movzx ebp, ax
cmp ebp, 8
jae 0x4a198c
add ebp, 2
jmp 0x4a19f8
mov eax, ebp
and ebp, 3
shr eax, 2
or ebp, 4
dec eax
mov ecx, eax
mov dword [esp + 0x28], eax
shl ebp, cl
add ebp, 2
test eax, eax
je 0x4a19f8
mov ebx, dword [edi]
mov ecx, dword [edi + 0xc]
mov edi, dword [edi + 4]
movzx eax, byte [ecx + ebx]
movzx edx, byte [ecx + ebx + 1]
shl eax, 8
or edx, eax
movzx eax, byte [ecx + ebx + 2]
shl edx, 8
mov ecx, 8
or edx, eax
sub ecx, edi
shr edx, cl
mov ecx, 0x10
movzx eax, dx
mov edx, dword [esp + 0x28]
sub ecx, edx
shr eax, cl
add ebp, eax
lea ecx, [edi + edx]
mov edx, dword [esp + 0x14]
mov eax, ecx
shr eax, 3
add eax, ebx
and ecx, 7
mov dword [edx], eax
mov dword [edx + 4], ecx
mov edi, dword [esi + 0x7c]
mov ebx, edi
mov eax, dword [esi + 0xe6dc]
sub ebx, dword [esp + 0x1c]
add eax, 0xffffeffc
mov dword [esi + 0x74], ebp
cmp ebx, eax
jae 0x4a1ab1
cmp edi, eax
jae 0x4a1ab1
mov eax, dword [esi + 0x4b40]
lea ecx, [eax + ebx]
lea edx, [eax + edi]
lea eax, [edi + ebp]
mov dword [esi + 0x7c], eax
cmp dword [esp + 0x1c], ebp
jae 0x4a1a86
cmp ebp, 8
jb 0x4a1610
mov edi, ebp
shr edi, 3
mov al, byte [ecx]
sub ebp, 8
mov byte [edx], al
mov al, byte [ecx + 1]
mov byte [edx + 1], al
mov al, byte [ecx + 2]
mov byte [edx + 2], al
mov al, byte [ecx + 3]
mov byte [edx + 3], al
mov al, byte [ecx + 4]
mov byte [edx + 4], al
mov al, byte [ecx + 5]
mov byte [edx + 5], al
mov al, byte [ecx + 6]
mov byte [edx + 6], al
mov al, byte [ecx + 7]
add ecx, 8
mov byte [edx + 7], al
add edx, 8
sub edi, 1
jne 0x4a1a45
jmp 0x4a1610
cmp ebp, 8
jb 0x4a1610
mov edi, ebp
shr edi, 3
mov eax, dword [ecx]
sub ebp, 8
mov dword [edx], eax
mov eax, dword [ecx + 4]
add ecx, 8
mov dword [edx + 4], eax
add edx, 8
sub edi, 1
jne 0x4a1a94
jmp 0x4a1610
test ebp, ebp
je 0x4a1089
mov edi, dword [esi + 0xe6e0]
nop
mov edx, dword [esi + 0x4b40]
and edi, ebx
mov ecx, dword [esi + 0x7c]
inc ebx
mov al, byte [edi + edx]
mov byte [edx + ecx], al
mov eax, dword [esi + 0x7c]
mov edi, dword [esi + 0xe6e0]
inc eax
and eax, edi
mov dword [esi + 0x7c], eax
sub ebp, 1
jne 0x4a1ac0
jmp 0x4a1089
pop edi
pop ebp
pop esi
mov byte [ebx + 0x4ad3], 1
mov al, 1
pop ebx
add esp, 0x2c
ret 4
pop edi
pop ebp
pop esi
xor al, al
pop ebx
add esp, 0x2c
ret 4