Function at 0x4a8be0
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 0x4a8c4f
push dword [esp + 0x2c]
call fcn.004a6a00
mov ecx, esi
call fcn.004a6bd0
test al, al
je 0x4a9335
lea edi, [esi + 0x8c]
mov ecx, esi
push edi
lea ebx, [esi + 4]
push ebx
call fcn.004a4c90
test al, al
je 0x4a9335
lea eax, [esi + 0xa0]
mov ecx, esi
push eax
push edi
push ebx
call fcn.004a5990
test al, al
je 0x4a9335
cmp byte [esi + 0xe666], 0
je 0x4a9335
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 0x4a8cdc
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 0x4a8c8e
jne 0x4a8cca
mov eax, dword [esi + 8]
cmp eax, dword [esi + 0x90]
jl 0x4a8cca
cmp byte [esi + 0x9c], 0
jne 0x4a932d
push edi
push ebp
mov ecx, esi
call fcn.004a4c90
test al, al
je 0x4a9334
lea eax, [esi + 0xa0]
mov ecx, esi
push eax
push edi
push ebp
call fcn.004a5990
test al, al
jne 0x4a8c71
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
mov ecx, esi
call fcn.004a6bd0
test al, al
je 0x4a932d
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 0x4a8d33
cmp ecx, edx
je 0x4a8d33
mov ecx, esi
call fcn.004a7140
mov eax, dword [esi + 0x4c5c]
cmp eax, dword [esi + 0x4c4c]
jg 0x4a9334
jl 0x4a8d26
mov eax, dword [esi + 0x4c58]
cmp eax, dword [esi + 0x4c48]
ja 0x4a9334
cmp byte [esi + 0x4c50], 0
jne 0x4a9750
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 0x4a8d9c
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 0x4a8dfe
mov ebp, 0xf
inc eax
cmp eax, ebp
jae 0x4a8dc1
lea ecx, [esi + 0xa4]
lea ecx, [ecx + eax*4]
nop
cmp edx, dword [ecx]
jb 0x4a8dbf
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a8db0
jmp 0x4a8dc1
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 0x4a8e43
cmp byte [esi + 0x4c44], 0
je 0x4a8e31
mov ecx, dword [ebx]
push ecx
lea eax, [ecx + 1]
lea ecx, [esi + 0x4b44]
mov dword [ebx], eax
call fcn.004a1a90
mov ecx, dword [esp + 0x14]
mov byte [eax], cl
jmp 0x4a8c56
mov eax, dword [ebx]
mov ecx, dword [esi + 0x4b40]
mov byte [ecx + eax], dl
inc dword [ebx]
jmp 0x4a8c56
cmp edx, 0x106
jb 0x4a9300
lea ebp, [edx - 0x106]
cmp ebp, 8
jae 0x4a8e5f
add ebp, 2
jmp 0x4a8ecd
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 0x4a8ecd
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 0x4a8f31
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 0x4a8fa0
mov ecx, 0xf
inc eax
mov dword [esp + 0x10], ecx
cmp eax, ecx
jae 0x4a8f61
lea ecx, [esi + 0xf90]
lea ecx, [ecx + eax*4]
cmp edx, dword [ecx]
jb 0x4a8f5b
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a8f48
mov ecx, dword [esp + 0x10]
jmp 0x4a8f61
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 0x4a8fb0
lea edi, [edx + 1]
jmp 0x4a9143
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 0x4a9143
cmp eax, 4
jb 0x4a9115
jbe 0x4a9015
lea ecx, [esi + 4]
call fcn.004aba40
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 0x4a9018
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 0x4a9096
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 0x4a9143
mov ecx, 0xf
inc eax
mov dword [esp + 0x14], ecx
cmp eax, ecx
jae 0x4a90c9
lea ecx, [esi + 0x1e7c]
lea ecx, [ecx + eax*4]
lea ecx, [ecx]
cmp edx, dword [ecx]
jb 0x4a90c3
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a90b0
mov ecx, dword [esp + 0x14]
jmp 0x4a90c9
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 0x4a9143
lea ecx, [esi + 4]
call fcn.004aba40
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 0x4a915e
inc ebp
cmp edi, 0x2000
jbe 0x4a915e
inc ebp
cmp edi, 0x40000
jbe 0x4a915e
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 0x4a9198
push dword [esi + 0xe6e0]
lea ecx, [esi + 0x4b44]
push ebx
push edi
push ebp
call fcn.004a2530
jmp 0x4a8c53
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 0x4a92b8
cmp edx, eax
jae 0x4a92b8
mov eax, dword [esi + 0x4b40]
add ecx, eax
add dword [ebx], ebp
add edx, eax
cmp edi, ebp
jae 0x4a9215
cmp ebp, 8
jb 0x4a9238
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 0x4a91d7
jmp 0x4a9238
cmp ebp, 8
jb 0x4a9238
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 0x4a9220
lea edi, [esi + 4]
test ebp, ebp
je 0x4a8c56
mov al, byte [ecx]
lea edi, [esi + 4]
mov byte [edx], al
cmp ebp, 1
jbe 0x4a8c56
mov al, byte [ecx + 1]
lea edi, [esi + 4]
mov byte [edx + 1], al
cmp ebp, 2
jbe 0x4a8c56
mov al, byte [ecx + 2]
lea edi, [esi + 4]
mov byte [edx + 2], al
cmp ebp, 3
jbe 0x4a8c56
mov al, byte [ecx + 3]
lea edi, [esi + 4]
mov byte [edx + 3], al
cmp ebp, 4
jbe 0x4a8c56
mov al, byte [ecx + 4]
lea edi, [esi + 4]
mov byte [edx + 4], al
cmp ebp, 5
jbe 0x4a8c56
cmp ebp, 6
mov al, byte [ecx + 5]
lea edi, [esi + 4]
mov byte [edx + 5], al
jbe 0x4a8c56
mov al, byte [ecx + 6]
mov byte [edx + 6], al
jmp 0x4a8c53
lea edi, [esi + 4]
test ebp, ebp
je 0x4a8c56
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 0x4a92d0
jmp 0x4a8c53
cmp edx, 0x100
jne 0x4a933e
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
push edi
call fcn.004a4e50
test al, al
je 0x4a932d
lea eax, [esp + 0x1c]
mov ecx, esi
push eax
call fcn.004a1ae0
test al, al
jne 0x4a8c56
mov ecx, esi
call fcn.004a7140
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x1c
ret 4
cmp edx, 0x101
jne 0x4a94c0
mov edi, dword [esi + 0x74]
test edi, edi
je 0x4a8c53
cmp byte [esi + 0x4c44], 0
je 0x4a9379
push dword [esi + 0xe6e0]
lea ecx, [esi + 0x4b44]
push ebx
push dword [esi + 0x60]
push edi
call fcn.004a2530
jmp 0x4a8c53
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 0x4a9481
cmp ebp, eax
jae 0x4a9481
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 0x4a9403
cmp edi, 8
jb 0x4a9428
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 0x4a93c5
jmp 0x4a9428
cmp edi, 8
jb 0x4a9428
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 0x4a9410
test edi, edi
je 0x4a8c53
mov al, byte [ecx]
mov byte [edx], al
cmp edi, 1
jbe 0x4a8c53
mov al, byte [ecx + 1]
mov byte [edx + 1], al
cmp edi, 2
jbe 0x4a8c53
mov al, byte [ecx + 2]
mov byte [edx + 2], al
cmp edi, 3
jbe 0x4a8c53
mov al, byte [ecx + 3]
mov byte [edx + 3], al
cmp edi, 4
jbe 0x4a8c53
mov al, byte [ecx + 4]
mov byte [edx + 4], al
cmp edi, 5
jbe 0x4a8c53
cmp edi, 6
jmp 0x4a929e
test edi, edi
je 0x4a8c53
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 0x4a9490
jmp 0x4a8c53
add edx, 0xfffffefe
lea ecx, [esi + 0x60]
mov ebp, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x14], ebp
je 0x4a94e3
mov eax, dword [ecx - 4]
lea ecx, [ecx - 4]
mov dword [ecx + 4], eax
sub edx, 1
jne 0x4a94d5
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 0x4a954f
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 0x4a95b0
mov ebp, 0xf
inc eax
cmp eax, ebp
jae 0x4a9573
lea ecx, [esi + 0x2d68]
lea ecx, [ecx + eax*4]
cmp edx, dword [ecx]
jb 0x4a9571
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4a9562
jmp 0x4a9573
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 0x4a95bd
add ebp, 2
jmp 0x4a962b
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 0x4a962b
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 0x4a9653
push dword [esi + 0xe6e0]
lea ecx, [esi + 0x4b44]
push ebx
push dword [esp + 0x1c]
push ebp
call fcn.004a2530
jmp 0x4a8c56
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 0x4a970d
cmp edx, eax
jae 0x4a970d
mov eax, dword [esi + 0x4b40]
add ecx, eax
add dword [ebx], ebp
add edx, eax
cmp dword [esp + 0x14], ebp
jae 0x4a96e1
cmp ebp, 8
jb 0x4a9238
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 0x4a96a0
jmp 0x4a9238
cmp ebp, 8
jb 0x4a9238
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 0x4a96f0
jmp 0x4a9238
test ebp, ebp
je 0x4a8c56
mov edi, dword [esi + 0xe6e0]
jmp 0x4a9720
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 0x4a9720
jmp 0x4a8c53
pop ebp
pop edi
mov byte [esi + 0x4c60], 0
pop esi
pop ebx
add esp, 0x1c
ret 4