Function at 0x4a9720
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 0x4a975f
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.004a4ca0
test al, al
jne 0x4a975f
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 0x4a974e
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 0x4a9796
mov dword [esp + 0x14], eax
push edi
jmp 0x4a97a1
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 0x4a97ee
cmp ecx, ebp
jg 0x4a9df9
jne 0x4a97cf
mov eax, dword [ebx + 8]
cmp eax, dword [ebx + 0x1c]
jge 0x4a9df9
cmp ecx, dword [esp + 0x20]
jl 0x4a97e2
cmp byte [ebx + 0x4ad2], 0
je 0x4aa1fb
cmp ecx, dword [ebx + 0x4acc]
jge 0x4aa1fb
mov ecx, dword [esi + 0x4b3c]
mov eax, ecx
sub eax, edx
and eax, edi
cmp eax, 0x1004
jae 0x4a9832
cmp ecx, edx
je 0x4a9832
mov ecx, esi
call fcn.004a6450
mov eax, dword [esi + 0x4c5c]
cmp eax, dword [esi + 0x4c4c]
jg 0x4aa20e
jl 0x4a9832
mov eax, dword [esi + 0x4c58]
cmp eax, dword [esi + 0x4c48]
ja 0x4aa20e
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 0x4a98a9
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 0x4a9911
mov edi, 0xf
inc eax
cmp eax, edi
jae 0x4a98d1
lea ecx, [ecx + eax*4]
add ecx, 0x34
lea esp, [esp]
cmp edx, dword [ecx]
jb 0x4a98cf
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a98c0
jmp 0x4a98d1
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 0x4a992d
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x4b40]
mov byte [ecx + eax], dl
inc dword [esi + 0x7c]
jmp 0x4a979d
cmp edx, 0x106
jb 0x4a9dcc
lea ebp, [edx - 0x106]
cmp ebp, 8
jae 0x4a9949
add ebp, 2
jmp 0x4a99b5
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 0x4a99b5
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 0x4a9a2f
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 0x4a9a9e
mov edi, 0xf
inc eax
cmp eax, edi
jae 0x4a9a53
lea ecx, [ecx + eax*4]
add ecx, 0xf20
cmp edx, dword [ecx]
jb 0x4a9a51
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a9a42
jmp 0x4a9a53
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 0x4a9aae
lea edi, [eax + 1]
jmp 0x4a9c48
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 0x4a9c48
cmp ebx, 4
jb 0x4a9c1a
jbe 0x4a9b0d
mov ecx, dword [esp + 0x14]
call fcn.004aad50
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 0x4a9b11
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 0x4a9b9a
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 0x4a9c48
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x4a9bc1
lea ecx, [ecx + eax*4]
add ecx, 0x1e0c
lea ecx, [ecx]
cmp edx, dword [ecx]
jb 0x4a9bbf
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a9bb0
jmp 0x4a9bc1
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 0x4a9c48
mov ecx, dword [esp + 0x14]
call fcn.004aad50
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 0x4a9c63
inc ebp
cmp edi, 0x2000
jbe 0x4a9c63
inc ebp
cmp edi, 0x40000
jbe 0x4a9c63
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 0x4a9d93
cmp edx, eax
jae 0x4a9d93
mov eax, dword [esi + 0x4b40]
add edx, eax
add dword [esi + 0x7c], ebp
lea ecx, [eax + ebx]
cmp edi, ebp
jae 0x4a9cfe
cmp ebp, 8
jb 0x4a9d20
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 0x4a9cc0
jmp 0x4a9d20
cmp ebp, 8
jb 0x4a9d20
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 0x4a9d08
mov ebx, dword [esp + 0x40]
test ebp, ebp
je 0x4a979d
mov al, byte [ecx]
mov byte [edx], al
cmp ebp, 1
jbe 0x4a979d
mov al, byte [ecx + 1]
mov byte [edx + 1], al
cmp ebp, 2
jbe 0x4a979d
mov al, byte [ecx + 2]
mov byte [edx + 2], al
cmp ebp, 3
jbe 0x4a979d
mov al, byte [ecx + 3]
mov byte [edx + 3], al
cmp ebp, 4
jbe 0x4a979d
mov al, byte [ecx + 4]
mov byte [edx + 4], al
cmp ebp, 5
jbe 0x4a979d
mov al, byte [ecx + 5]
cmp ebp, 6
mov ebp, dword [esp + 0x10]
mov byte [edx + 5], al
jbe 0x4a97a1
mov al, byte [ecx + 6]
mov byte [edx + 6], al
jmp 0x4a97a1
test ebp, ebp
je 0x4a9799
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 0x4a9da1
jmp 0x4a9799
cmp edx, 0x100
jne 0x4a9e05
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
push edi
call fcn.004a4160
test al, al
je 0x4a9df9
lea eax, [esp + 0x2c]
mov ecx, esi
push eax
call fcn.004a0df0
test al, al
jne 0x4a979d
pop edi
pop ebp
pop esi
mov al, 1
pop ebx
add esp, 0x2c
ret 4
cmp edx, 0x101
jne 0x4a9f80
mov edi, dword [esi + 0x74]
mov ebp, dword [esp + 0x10]
test edi, edi
je 0x4a97a1
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 0x4a9f43
cmp ebx, eax
jae 0x4a9f43
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 0x4a9eae
cmp edi, 8
jb 0x4a9ed0
mov ebx, edi
shr ebx, 3
jmp 0x4a9e70
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 0x4a9e70
jmp 0x4a9ed0
cmp edi, 8
jb 0x4a9ed0
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 0x4a9eb8
mov ebx, dword [esp + 0x40]
mov ebp, dword [esp + 0x10]
test edi, edi
je 0x4a97a1
mov al, byte [ecx]
mov byte [edx], al
cmp edi, 1
jbe 0x4a97a1
mov al, byte [ecx + 1]
mov byte [edx + 1], al
cmp edi, 2
jbe 0x4a97a1
mov al, byte [ecx + 2]
mov byte [edx + 2], al
cmp edi, 3
jbe 0x4a97a1
mov al, byte [ecx + 3]
mov byte [edx + 3], al
cmp edi, 4
jbe 0x4a97a1
mov al, byte [ecx + 4]
mov byte [edx + 4], al
cmp edi, 5
jbe 0x4a97a1
mov al, byte [ecx + 5]
mov byte [edx + 5], al
cmp edi, 6
jbe 0x4a97a1
mov al, byte [ecx + 6]
mov byte [edx + 6], al
jmp 0x4a97a1
mov ebx, dword [esp + 0x40]
test edi, edi
je 0x4a979d
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 0x4a9f55
jmp 0x4a9799
add edx, 0xfffffefe
lea ecx, [edx + 0x18]
mov ebx, dword [esi + ecx*4]
lea ecx, [esi + ecx*4]
mov dword [esp + 0x1c], ebx
je 0x4a9fa3
mov eax, dword [ecx - 4]
lea ecx, [ecx - 4]
mov dword [ecx + 4], eax
sub edx, 1
jne 0x4a9f95
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 0x4aa01f
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 0x4aa08c
mov edi, 0xf
inc eax
cmp eax, edi
jae 0x4aa043
lea ecx, [ecx + eax*4]
add ecx, 0x2cf8
cmp edx, dword [ecx]
jb 0x4aa041
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4aa032
jmp 0x4aa043
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 0x4aa09c
add ebp, 2
jmp 0x4aa108
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 0x4aa108
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 0x4aa1c1
cmp edi, eax
jae 0x4aa1c1
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 0x4aa196
cmp ebp, 8
jb 0x4a9d20
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 0x4aa155
jmp 0x4a9d20
cmp ebp, 8
jb 0x4a9d20
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 0x4aa1a4
jmp 0x4a9d20
test ebp, ebp
je 0x4a9799
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 0x4aa1d0
jmp 0x4a9799
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