Function at 0x4a7ef0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x1c
push ebx
push esi
mov esi, ecx
push edi
cmp byte [esi + 0x4c50], 0
mov byte [esi + 0x4c60], 1
jne 0x4a7f5f
push dword [esp + 0x2c]
call fcn.004a5d10
mov ecx, esi
call fcn.004a5ee0
test al, al
je 0x4a8645
lea edi, [esi + 0x8c]
mov ecx, esi
push edi
lea ebx, [esi + 4]
push ebx
call fcn.004a3fa0
test al, al
je 0x4a8645
lea eax, [esi + 0xa0]
mov ecx, esi
push eax
push edi
push ebx
call fcn.004a4ca0
test al, al
je 0x4a8645
cmp byte [esi + 0xe666], 0
je 0x4a8645
push ebp
lea ebx, [esi + 0x7c]
lea edi, [esi + 4]
mov eax, dword [esi + 0xe6e0]
and dword [ebx], eax
mov eax, dword [edi]
cmp eax, dword [esi + 0x88]
jl 0x4a7fec
lea edi, [esi + 0x8c]
lea ebp, [esi + 4]
mov eax, dword [esi + 0x94]
mov ecx, dword [ebp]
dec eax
add eax, dword [edi]
cmp ecx, eax
jg 0x4a7f9e
jne 0x4a7fda
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x90]
jl 0x4a7fda
cmp byte [esi + 0x9c], 0
jne 0x4a863d
push edi
push ebp
mov ecx, esi
call fcn.004a3fa0
test al, al
je 0x4a8644
lea eax, [esi + 0xa0]
mov ecx, esi
push eax
push edi
push ebp
call fcn.004a4ca0
test al, al
jne 0x4a7f81
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
mov ecx, esi
call fcn.004a5ee0
test al, al
je 0x4a863d
lea edi, [esi + 4]
mov ecx, dword [esi + 0x4b3c]
mov eax, ecx
mov edx, dword [ebx]
sub eax, edx
and eax, dword [esi + 0xe6e0]
cmp eax, 0x1004
jae 0x4a8043
cmp ecx, edx
je 0x4a8043
mov ecx, esi
call fcn.004a6450
mov eax, dword [esi + 0x4c5c]
cmp eax, dword [esi + 0x4c4c]
jg 0x4a8644
jl 0x4a8036
mov eax, dword [esi + 0x4c58]
cmp eax, dword [esi + 0x4c48]
ja 0x4a8644
cmp byte [esi + 0x4c50], 0
jne 0x4a8a60
mov ecx, dword [edi + 0xc]
mov ebp, dword [edi]
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
sub ecx, dword [edi + 4]
or edx, eax
mov eax, dword [esi + 0x124]
shr edx, cl
and edx, 0xfffe
cmp edx, dword [esi + eax*4 + 0xa4]
jae 0x4a80ac
mov ecx, 0x10
sub ecx, eax
shr edx, cl
movzx ecx, byte [edx + esi + 0x128]
add ecx, dword [edi + 4]
mov eax, ecx
shr eax, 3
add eax, ebp
and ecx, 7
mov dword [edi], eax
mov dword [edi + 4], ecx
movzx edx, word [esi + edx*2 + 0x528]
jmp 0x4a810e
mov ebp, 0xf
inc eax
cmp eax, ebp
jae 0x4a80d1
lea ecx, [esi + 0xa4]
lea ecx, [ecx + eax*4]
nop
cmp edx, dword [ecx]
jb 0x4a80cf
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a80c0
jmp 0x4a80d1
mov ebp, eax
mov ecx, dword [edi + 4]
add ecx, ebp
mov eax, ecx
and ecx, 7
mov dword [edi + 4], ecx
mov ecx, 0x10
shr eax, 3
sub ecx, ebp
add dword [edi], eax
sub edx, dword [esi + ebp*4 + 0xa0]
shr edx, cl
mov ecx, dword [esi + ebp*4 + 0xe4]
add ecx, edx
cmp ecx, dword [esi + 0xa0]
sbb eax, eax
and eax, ecx
movzx edx, word [esi + eax*2 + 0xd28]
mov dword [esp + 0x14], edx
cmp edx, 0x100
jae 0x4a8153
cmp byte [esi + 0x4c44], 0
je 0x4a8141
mov ecx, dword [ebx]
push ecx
lea eax, [ecx + 1]
lea ecx, [esi + 0x4b44]
mov dword [ebx], eax
call fcn.004a0da0
mov ecx, dword [esp + 0x14]
mov byte [eax], cl
jmp 0x4a7f66
mov eax, dword [ebx]
mov ecx, dword [esi + 0x4b40]
mov byte [ecx + eax], dl
inc dword [ebx]
jmp 0x4a7f66
cmp edx, 0x106
jb 0x4a8610
lea ebp, [edx - 0x106]
cmp ebp, 8
jae 0x4a816f
add ebp, 2
jmp 0x4a81dd
mov eax, ebp
and ebp, 3
shr eax, 2
or ebp, 4
dec eax
mov ecx, eax
mov dword [esp + 0x18], eax
shl ebp, cl
add ebp, 2
test eax, eax
je 0x4a81dd
mov ebx, dword [edi]
mov ecx, dword [edi + 0xc]
mov edi, 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, edi
shr edx, cl
mov ecx, 0x10
movzx eax, dx
mov edx, dword [esp + 0x18]
sub ecx, edx
shr eax, cl
add ebp, eax
lea ecx, [edx + edi]
mov eax, ecx
lea edi, [esi + 4]
shr eax, 3
add eax, ebx
and ecx, 7
mov dword [edi], eax
lea ebx, [esi + 0x7c]
mov dword [edi + 4], ecx
mov ecx, dword [edi]
add ecx, dword [edi + 0xc]
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
mov ecx, 8
sub ecx, dword [edi + 4]
or edx, eax
mov eax, dword [esi + 0x1010]
shr edx, cl
and edx, 0xfffe
cmp edx, dword [esi + eax*4 + 0xf90]
jae 0x4a8241
mov ecx, 0x10
sub ecx, eax
shr edx, cl
movzx ecx, byte [edx + esi + 0x1014]
add ecx, dword [edi + 4]
mov eax, ecx
shr eax, 3
add dword [edi], eax
and ecx, 7
mov dword [edi + 4], ecx
movzx eax, word [esi + edx*2 + 0x1414]
jmp 0x4a82b0
mov ecx, 0xf
inc eax
mov dword [esp + 0x10], ecx
cmp eax, ecx
jae 0x4a8271
lea ecx, [esi + 0xf90]
lea ecx, [ecx + eax*4]
cmp edx, dword [ecx]
jb 0x4a826b
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a8258
mov ecx, dword [esp + 0x10]
jmp 0x4a8271
mov ecx, eax
mov dword [esp + 0x10], eax
add ecx, dword [edi + 4]
mov eax, ecx
and ecx, 7
shr eax, 3
add dword [edi], eax
mov eax, dword [esp + 0x10]
mov dword [edi + 4], ecx
mov ecx, 0x10
sub ecx, eax
sub edx, dword [esi + eax*4 + 0xf8c]
shr edx, cl
mov ecx, dword [esi + eax*4 + 0xfd0]
add ecx, edx
cmp ecx, dword [esi + 0xf8c]
sbb eax, eax
and eax, ecx
movzx eax, word [esi + eax*2 + 0x1c14]
movzx edx, ax
cmp edx, 4
jae 0x4a82c0
lea edi, [edx + 1]
jmp 0x4a8453
mov eax, edx
and edx, 1
shr eax, 1
or edx, 2
dec eax
mov ecx, eax
mov dword [esp + 0x18], eax
shl edx, cl
lea ecx, [edx + 1]
mov dword [esp + 0x14], ecx
mov edi, ecx
test eax, eax
je 0x4a8453
cmp eax, 4
jb 0x4a8425
jbe 0x4a8325
lea ecx, [esi + 4]
call fcn.004aad50
mov edx, dword [esp + 0x18]
mov edi, eax
mov ecx, 0x24
sub ecx, edx
shr edi, cl
lea ecx, [edx - 4]
shl edi, 4
add ecx, dword [esi + 8]
lea edx, [esi + 4]
add edi, dword [esp + 0x14]
mov eax, ecx
shr eax, 3
add dword [edx], eax
and ecx, 7
mov dword [edx + 4], ecx
jmp 0x4a8328
lea edx, [esi + 4]
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [esp + 0x18], ecx
add ecx, dword [edx + 0xc]
mov dword [esp + 0x10], eax
movzx edx, byte [ecx]
movzx eax, byte [ecx + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + 2]
shl edx, 8
mov ecx, 8
sub ecx, dword [esp + 0x10]
or edx, eax
mov eax, dword [esi + 0x1efc]
shr edx, cl
and edx, 0xfffe
cmp edx, dword [esi + eax*4 + 0x1e7c]
jae 0x4a83a6
mov ecx, 0x10
sub ecx, eax
shr edx, cl
movzx ecx, byte [edx + esi + 0x1f00]
add ecx, dword [esp + 0x10]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov dword [esi + 8], ecx
movzx eax, word [esi + edx*2 + 0x2300]
movzx eax, ax
add edi, eax
jmp 0x4a8453
mov ecx, 0xf
inc eax
mov dword [esp + 0x14], ecx
cmp eax, ecx
jae 0x4a83d9
lea ecx, [esi + 0x1e7c]
lea ecx, [ecx + eax*4]
lea ecx, [ecx]
cmp edx, dword [ecx]
jb 0x4a83d3
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a83c0
mov ecx, dword [esp + 0x14]
jmp 0x4a83d9
mov ecx, eax
mov dword [esp + 0x14], eax
add ecx, dword [esp + 0x10]
mov eax, ecx
and ecx, 7
shr eax, 3
add eax, dword [esp + 0x18]
mov dword [esi + 4], eax
mov eax, dword [esp + 0x14]
mov dword [esi + 8], ecx
mov ecx, 0x10
sub ecx, eax
sub edx, dword [esi + eax*4 + 0x1e78]
shr edx, cl
mov ecx, dword [esi + eax*4 + 0x1ebc]
add ecx, edx
cmp ecx, dword [esi + 0x1e78]
sbb eax, eax
and eax, ecx
movzx eax, word [esi + eax*2 + 0x2b00]
movzx eax, ax
add edi, eax
jmp 0x4a8453
lea ecx, [esi + 4]
call fcn.004aad50
mov edi, eax
mov ecx, 0x20
sub ecx, dword [esp + 0x18]
shr edi, cl
mov ecx, dword [esi + 8]
add ecx, dword [esp + 0x18]
add edi, dword [esp + 0x14]
mov eax, ecx
shr eax, 3
add dword [esi + 4], eax
and ecx, 7
mov dword [esi + 8], ecx
cmp edi, 0x100
jbe 0x4a846e
inc ebp
cmp edi, 0x2000
jbe 0x4a846e
inc ebp
cmp edi, 0x40000
jbe 0x4a846e
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
cmp byte [esi + 0x4c44], 0
mov dword [esi + 0x74], ebp
je 0x4a84a8
push dword [esi + 0xe6e0]
lea ecx, [esi + 0x4b44]
push ebx
push edi
push ebp
call fcn.004a1840
jmp 0x4a7f63
mov edx, dword [ebx]
mov ecx, edx
mov eax, dword [esi + 0xe6dc]
sub ecx, edi
add eax, 0xffffeffc
mov dword [esp + 0x18], ecx
cmp ecx, eax
jae 0x4a85c8
cmp edx, eax
jae 0x4a85c8
mov eax, dword [esi + 0x4b40]
add ecx, eax
add dword [ebx], ebp
add edx, eax
cmp edi, ebp
jae 0x4a8525
cmp ebp, 8
jb 0x4a8548
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 0x4a84e7
jmp 0x4a8548
cmp ebp, 8
jb 0x4a8548
mov edi, ebp
shr edi, 3
nop
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 0x4a8530
lea edi, [esi + 4]
test ebp, ebp
je 0x4a7f66
mov al, byte [ecx]
lea edi, [esi + 4]
mov byte [edx], al
cmp ebp, 1
jbe 0x4a7f66
mov al, byte [ecx + 1]
lea edi, [esi + 4]
mov byte [edx + 1], al
cmp ebp, 2
jbe 0x4a7f66
mov al, byte [ecx + 2]
lea edi, [esi + 4]
mov byte [edx + 2], al
cmp ebp, 3
jbe 0x4a7f66
mov al, byte [ecx + 3]
lea edi, [esi + 4]
mov byte [edx + 3], al
cmp ebp, 4
jbe 0x4a7f66
mov al, byte [ecx + 4]
lea edi, [esi + 4]
mov byte [edx + 4], al
cmp ebp, 5
jbe 0x4a7f66
cmp ebp, 6
mov al, byte [ecx + 5]
lea edi, [esi + 4]
mov byte [edx + 5], al
jbe 0x4a7f66
mov al, byte [ecx + 6]
mov byte [edx + 6], al
jmp 0x4a7f63
lea edi, [esi + 4]
test ebp, ebp
je 0x4a7f66
mov edi, dword [esi + 0xe6e0]
lea esp, [esp]
mov edx, dword [esi + 0x4b40]
and edi, ecx
mov ecx, dword [ebx]
mov al, byte [edi + edx]
mov byte [edx + ecx], al
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
inc eax
mov edi, dword [esi + 0xe6e0]
inc ecx
and eax, edi
mov dword [esp + 0x18], ecx
mov dword [ebx], eax
sub ebp, 1
jne 0x4a85e0
jmp 0x4a7f63
cmp edx, 0x100
jne 0x4a864e
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push edi
call fcn.004a4160
test al, al
je 0x4a863d
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004a0df0
test al, al
jne 0x4a7f66
mov ecx, esi
call fcn.004a6450
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
cmp edx, 0x101
jne 0x4a87d0
mov edi, dword [esi + 0x74]
test edi, edi
je 0x4a7f63
cmp byte [esi + 0x4c44], 0
je 0x4a8689
push dword [esi + 0xe6e0]
lea ecx, [esi + 0x4b44]
push ebx
push dword [esi + 0x60]
push edi
call fcn.004a1840
jmp 0x4a7f63
mov eax, dword [esi + 0x60]
mov ebp, dword [ebx]
mov ecx, ebp
sub ecx, eax
mov dword [esp + 0x14], eax
mov eax, dword [esi + 0xe6dc]
add eax, 0xffffeffc
mov dword [esp + 0x18], ecx
cmp ecx, eax
jae 0x4a8791
cmp ebp, eax
jae 0x4a8791
mov eax, dword [esi + 0x4b40]
add ecx, eax
lea edx, [eax + ebp]
lea eax, [edi + ebp]
mov dword [ebx], eax
cmp dword [esp + 0x14], edi
jae 0x4a8713
cmp edi, 8
jb 0x4a8738
mov ebp, edi
shr ebp, 3
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 ebp, 1
jne 0x4a86d5
jmp 0x4a8738
cmp edi, 8
jb 0x4a8738
mov ebp, edi
shr ebp, 3
lea ecx, [ecx]
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 ebp, 1
jne 0x4a8720
test edi, edi
je 0x4a7f63
mov al, byte [ecx]
mov byte [edx], al
cmp edi, 1
jbe 0x4a7f63
mov al, byte [ecx + 1]
mov byte [edx + 1], al
cmp edi, 2
jbe 0x4a7f63
mov al, byte [ecx + 2]
mov byte [edx + 2], al
cmp edi, 3
jbe 0x4a7f63
mov al, byte [ecx + 3]
mov byte [edx + 3], al
cmp edi, 4
jbe 0x4a7f63
mov al, byte [ecx + 4]
mov byte [edx + 4], al
cmp edi, 5
jbe 0x4a7f63
cmp edi, 6
jmp 0x4a85ae
test edi, edi
je 0x4a7f63
mov ebp, dword [esi + 0xe6e0]
nop
mov edx, dword [esi + 0x4b40]
and ebp, ecx
mov ecx, dword [ebx]
mov al, byte [edx + ebp]
mov byte [edx + ecx], al
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
inc eax
mov ebp, dword [esi + 0xe6e0]
inc ecx
and eax, ebp
mov dword [esp + 0x18], ecx
mov dword [ebx], eax
sub edi, 1
jne 0x4a87a0
jmp 0x4a7f63
add edx, 0xfffffefe
lea ecx, [esi + 0x60]
mov ebp, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x14], ebp
je 0x4a87f3
mov eax, dword [ecx - 4]
lea ecx, [ecx - 4]
mov dword [ecx + 4], eax
sub edx, 1
jne 0x4a87e5
mov dword [esi + 0x60], ebp
mov ecx, dword [edi + 0xc]
mov ebp, dword [edi]
movzx edx, byte [ecx + ebp]
movzx eax, byte [ecx + ebp + 1]
shl edx, 8
or edx, eax
movzx eax, byte [ecx + ebp + 2]
shl edx, 8
mov ecx, 8
sub ecx, dword [edi + 4]
or edx, eax
mov eax, dword [esi + 0x2de8]
shr edx, cl
and edx, 0xfffe
cmp edx, dword [esi + eax*4 + 0x2d68]
jae 0x4a885f
mov ecx, 0x10
sub ecx, eax
shr edx, cl
movzx ecx, byte [edx + esi + 0x2dec]
add ecx, dword [edi + 4]
mov eax, ecx
shr eax, 3
add eax, ebp
and ecx, 7
mov dword [edi], eax
mov dword [edi + 4], ecx
movzx eax, word [esi + edx*2 + 0x31ec]
jmp 0x4a88c0
mov ebp, 0xf
inc eax
cmp eax, ebp
jae 0x4a8883
lea ecx, [esi + 0x2d68]
lea ecx, [ecx + eax*4]
cmp edx, dword [ecx]
jb 0x4a8881
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a8872
jmp 0x4a8883
mov ebp, eax
mov ecx, dword [edi + 4]
add ecx, ebp
mov eax, ecx
and ecx, 7
mov dword [edi + 4], ecx
mov ecx, 0x10
shr eax, 3
sub ecx, ebp
add dword [edi], eax
sub edx, dword [esi + ebp*4 + 0x2d64]
shr edx, cl
mov ecx, dword [esi + ebp*4 + 0x2da8]
add ecx, edx
cmp ecx, dword [esi + 0x2d64]
sbb eax, eax
and eax, ecx
movzx eax, word [esi + eax*2 + 0x39ec]
movzx ebp, ax
cmp ebp, 8
jae 0x4a88cd
add ebp, 2
jmp 0x4a893b
mov eax, ebp
and ebp, 3
shr eax, 2
or ebp, 4
dec eax
mov ecx, eax
mov dword [esp + 0x18], eax
shl ebp, cl
add ebp, 2
test eax, eax
je 0x4a893b
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 + 0x18]
sub ecx, edx
shr eax, cl
add ebp, eax
lea ecx, [edi + edx]
mov eax, ecx
lea edi, [esi + 4]
shr eax, 3
add eax, ebx
and ecx, 7
mov dword [edi], eax
lea ebx, [esi + 0x7c]
mov dword [edi + 4], ecx
cmp byte [esi + 0x4c44], 0
mov dword [esi + 0x74], ebp
je 0x4a8963
push dword [esi + 0xe6e0]
lea ecx, [esi + 0x4b44]
push ebx
push dword [esp + 0x1c]
push ebp
call fcn.004a1840
jmp 0x4a7f66
mov edx, dword [ebx]
mov ecx, edx
mov eax, dword [esi + 0xe6dc]
sub ecx, dword [esp + 0x14]
add eax, 0xffffeffc
mov dword [esp + 0x18], ecx
cmp ecx, eax
jae 0x4a8a1d
cmp edx, eax
jae 0x4a8a1d
mov eax, dword [esi + 0x4b40]
add ecx, eax
add dword [ebx], ebp
add edx, eax
cmp dword [esp + 0x14], ebp
jae 0x4a89f1
cmp ebp, 8
jb 0x4a8548
mov edi, ebp
shr edi, 3
lea ebx, [ebx]
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 0x4a89b0
jmp 0x4a8548
cmp ebp, 8
jb 0x4a8548
mov edi, ebp
shr edi, 3
nop
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 0x4a8a00
jmp 0x4a8548
test ebp, ebp
je 0x4a7f66
mov edi, dword [esi + 0xe6e0]
jmp 0x4a8a30
mov edx, dword [esi + 0x4b40]
and edi, ecx
mov ecx, dword [ebx]
mov al, byte [edi + edx]
mov byte [edx + ecx], al
mov eax, dword [ebx]
mov ecx, dword [esp + 0x18]
inc eax
mov edi, dword [esi + 0xe6e0]
inc ecx
and eax, edi
mov dword [esp + 0x18], ecx
mov dword [ebx], eax
sub ebp, 1
jne 0x4a8a30
jmp 0x4a7f63
pop ebp
pop edi
mov byte [esi + 0x4c60], 0
pop esi
pop ebx
add esp, 0x1c
ret 4