Function at 0x4bdf80
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 0x4bdfb2
lea eax, [ebp + 0x30]
mov byte [ebp + 0x2c], 1
push eax
push edi
push ebx
call fcn.004b8fd0
test al, al
je 0x4bdfc1
jmp 0x4bdfb6
mov dword [esp + 0x10], ebx
mov eax, dword [ebp + 0x24]
mov ecx, dword [edi]
add eax, ecx
cmp dword [ebx], eax
jle 0x4bdfd4
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 0x4bdff7
mov dword [esp + 0x30], ebx
mov ecx, dword [esp + 0x10]
jmp 0x4be010
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 0x4be059
cmp ecx, eax
jg 0x4beaf4
jne 0x4be03c
mov eax, dword [ebp + 8]
cmp eax, dword [ebp + 0x1c]
jge 0x4beaf4
cmp ecx, ebx
jl 0x4be04d
cmp byte [ebp + 0x4ad2], 0
je 0x4beaed
cmp ecx, dword [ebp + 0x4acc]
jge 0x4beaed
mov ecx, dword [esi + 0x4b3c]
mov eax, ecx
sub eax, edx
and eax, edi
cmp eax, 0x1004
jae 0x4be09d
cmp ecx, edx
je 0x4be09d
mov ecx, esi
call fcn.004ba6e0
mov eax, dword [esi + 0x4c5c]
cmp eax, dword [esi + 0x4c4c]
jg 0x4bdfc8
jl 0x4be09d
mov eax, dword [esi + 0x4c58]
cmp eax, dword [esi + 0x4c48]
ja 0x4bdfc8
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 0x4be11c
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 0x4be185
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x4be141
lea ecx, [ecx + eax*4]
add ecx, 0x34
lea esp, [esp]
cmp edx, dword [ecx]
jb 0x4be13f
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4be130
jmp 0x4be141
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 0x4be1a8
mov eax, dword [esi + 0x7c]
mov ecx, dword [esi + 0x4b40]
mov byte [ecx + eax], dl
inc dword [esi + 0x7c]
jmp 0x4bdffd
cmp edx, 0x106
jb 0x4be73a
lea ebx, [edx - 0x106]
cmp ebx, 8
jae 0x4be1c8
mov dword [esp + 0x20], ebp
add ebx, 2
jmp 0x4be23d
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 0x4be239
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 0x4be23d
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 0x4be2b8
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 0x4be337
mov ebp, 0xf
inc eax
mov dword [esp + 0x2c], ebp
cmp eax, ebp
jae 0x4be2e5
lea ecx, [ecx + eax*4]
add ecx, 0xf20
nop
cmp edx, dword [ecx]
jb 0x4be2df
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4be2d0
jmp 0x4be2e5
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 0x4be353
lea edx, [eax + 1]
jmp 0x4be586
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 0x4be58a
cmp edi, 4
jb 0x4be511
jbe 0x4be404
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 0x4be408
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 0x4be48b
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 0x4be586
mov ecx, 0xf
inc eax
mov dword [esp + 0x28], ecx
cmp eax, ecx
jae 0x4be4bf
mov ecx, dword [esp + 0x4c]
lea ecx, [ecx + eax*4]
add ecx, 0x1e0c
cmp edi, dword [ecx]
jb 0x4be4b9
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4be4a6
mov ecx, dword [esp + 0x28]
jmp 0x4be4bf
mov ecx, eax
mov dword [esp + 0x28], eax
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 + 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 0x4be586
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 0x4be5a5
inc ebx
cmp edx, 0x2000
jbe 0x4be5a5
inc ebx
cmp edx, 0x40000
jbe 0x4be5a5
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 0x4be6f3
cmp ebp, eax
jae 0x4be6f3
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 0x4be65c
cmp dword [esp + 0x28], ebx
jae 0x4be63f
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 0x4be601
jmp 0x4be65c
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 0x4be644
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x4be009
mov al, byte [edx]
mov byte [edi], al
mov eax, dword [esp + 0x14]
cmp ebx, 1
jbe 0x4be009
mov al, byte [edx + 1]
mov byte [edi + 1], al
mov eax, dword [esp + 0x14]
cmp ebx, 2
jbe 0x4be009
mov al, byte [edx + 2]
mov byte [edi + 2], al
mov eax, dword [esp + 0x14]
cmp ebx, 3
jbe 0x4be009
mov al, byte [edx + 3]
mov byte [edi + 3], al
mov eax, dword [esp + 0x14]
cmp ebx, 4
jbe 0x4be009
mov al, byte [edx + 4]
mov byte [edi + 4], al
mov eax, dword [esp + 0x14]
cmp ebx, 5
jbe 0x4be009
mov al, byte [edx + 5]
cmp ebx, 6
mov ebx, dword [esp + 0x18]
mov byte [edi + 5], al
mov eax, dword [esp + 0x14]
jbe 0x4be010
mov al, byte [edx + 6]
mov byte [edi + 6], al
mov eax, dword [esp + 0x14]
jmp 0x4be010
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x4be005
mov edx, dword [esi + 0xe6e0]
lea esp, [esp]
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 0x4be710
jmp 0x4bdffd
cmp edx, 0x100
jne 0x4be770
lea eax, [esp + 0x38]
push eax
push ecx
mov ecx, esi
call fcn.004b84e0
test al, al
je 0x4beaf4
lea eax, [esp + 0x38]
mov ecx, esi
push eax
call fcn.004b4ca0
test al, al
je 0x4beaf4
jmp 0x4bdffd
cmp edx, 0x101
jne 0x4be86d
mov ebx, dword [esi + 0x74]
mov ebp, dword [esp + 0x4c]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x4be009
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 0x4be83d
cmp ebp, eax
jae 0x4be83d
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 0x4be65c
cmp ecx, ebx
jae 0x4be818
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 0x4be7d7
jmp 0x4be65c
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 0x4be820
jmp 0x4be65c
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 0x4be843
jmp 0x4bdffd
add edx, 0xfffffefe
lea ecx, [esi + 0x60]
mov ebx, dword [ecx + edx*4]
lea ecx, [ecx + edx*4]
mov dword [esp + 0x34], ebx
je 0x4be890
mov eax, dword [ecx - 4]
lea ecx, [ecx - 4]
mov dword [ecx + 4], eax
sub edx, 1
jne 0x4be882
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 0x4be912
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 0x4be985
mov ebx, 0xf
inc eax
cmp eax, ebx
jae 0x4be936
lea ecx, [ecx + eax*4]
add ecx, 0x2cf8
cmp edx, dword [ecx]
jb 0x4be934
inc eax
add ecx, 4
cmp eax, 0xf
jb 0x4be925
jmp 0x4be936
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 0x4be992
add ebx, 2
jmp 0x4be9fb
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 0x4be9fb
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 0x4beaad
cmp ebp, eax
jae 0x4beaad
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 0x4be65c
cmp ecx, ebx
jae 0x4bea88
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 0x4bea47
jmp 0x4be65c
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 0x4bea90
jmp 0x4be65c
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x14]
test ebx, ebx
je 0x4be005
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 0x4beac3
jmp 0x4bdffd
mov byte [ebp + 0x4ad3], 1
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x38
ret 4