Function at 0x4a4950
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x38
push ebx
mov ebx, dword [esp + 0x40]
mov edx, dword [ebx]
push ebp
push esi
mov esi, ecx
lea ecx, [esi + eax]
mov eax, dword [ebx + 0xc]
mov dword [esp + 0x34], ecx
mov ecx, dword [ebx + 4]
mov dword [esp + 0x18], edx
mov edx, dword [ebx + 0x10]
push edi
mov dword [esp + 0x14], eax
mov eax, dword [ebx + 0x14]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebx + 0x18]
mov dword [esp + 0x10], edx
mov edx, dword [esp + 0x54]
xor edi, edi
xor ebp, ebp
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x34], edx
cmp dword [ebx + 0x20], edi
jne 0x4a4a60
movzx edi, byte [esi + 1]
movzx eax, byte [esi]
shl edi, 8
or edi, eax
shl edi, 0x10
mov eax, edi
xor edx, edx
shr eax, 0x1f
xor ecx, ecx
add esi, 2
add edi, edi
lea ebp, [edx + 0xf]
test eax, eax
je 0x4a4a51
mov ecx, 1
mov dword [esp + 0x2c], ecx
lea ebp, [edx + 0x1f]
movzx edx, byte [esi + 1]
movzx eax, byte [esi]
shl edx, 8
or edx, eax
shl edx, cl
sub ecx, 0x10
add esi, 2
or edi, edx
dec dword [esp + 0x2c]
jne 0x4a49d6
mov ecx, edi
shr ecx, 0x10
sub ebp, 0x10
shl edi, 0x10
mov dword [esp + 0x2c], ecx
cmp ebp, 0x10
jge 0x4a4a46
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x28], eax
mov eax, 0xf
sub eax, ebp
shr eax, 4
inc eax
mov ecx, eax
shl ecx, 4
add ebp, ecx
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x28]
sub dword [esp + 0x28], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a4a23
mov ecx, dword [esp + 0x2c]
mov edx, edi
shr edx, 0x10
shl edi, 0x10
sub ebp, 0x10
shl ecx, 0x10
or ecx, edx
mov dword [ebx + 0x34], ecx
mov dword [ebx + 0x20], 1
cmp dword [esp + 0x54], 0
jle 0x4a55d4
jmp 0x4a4a70
cmp dword [ebx + 0x2c], 0
jne 0x4a4dc3
cmp word [ebx + 0x24], 3
jne 0x4a4a8e
test byte [ebx + 0x28], 1
je 0x4a4a88
inc esi
xor ebp, ebp
xor edi, edi
jmp 0x4a4a93
cmp ebp, 3
jge 0x4a4acf
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x2c], eax
mov eax, 2
sub eax, ebp
shr eax, 4
inc eax
mov edx, eax
shl edx, 4
add ebp, edx
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x2c], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a4ab0
mov edx, edi
add edi, edi
add edi, edi
shr edx, 0x1d
sub ebp, 3
add edi, edi
mov word [ebx + 0x24], dx
cmp ebp, 0x10
jge 0x4a4b22
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x2c], eax
mov eax, 0xf
sub eax, ebp
shr eax, 4
inc eax
mov ecx, eax
shl ecx, 4
add ebp, ecx
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x2c], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a4b03
mov eax, edi
shr eax, 0x10
sub ebp, 0x10
shl edi, 0x10
mov dword [esp + 0x2c], eax
cmp ebp, 8
jge 0x4a4b76
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x28], eax
mov eax, 7
sub eax, ebp
shr eax, 4
inc eax
mov edx, eax
shl edx, 4
add ebp, edx
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x28]
sub dword [esp + 0x28], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a4b53
mov eax, dword [esp + 0x2c]
mov ecx, edi
shl eax, 8
shr ecx, 0x18
or eax, ecx
mov dword [ebx + 0x28], eax
mov dword [ebx + 0x2c], eax
movzx eax, word [ebx + 0x24]
shl edi, 8
sub ebp, 8
dec eax
je 0x4a4cf1
dec eax
je 0x4a4c67
dec eax
jne 0x4a567f
mov dword [ebx + 0x3c], 1
cmp ebp, 0x10
jge 0x4a4bf2
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x2c], eax
mov eax, 0xf
sub eax, ebp
shr eax, 4
inc eax
mov edx, eax
shl edx, 4
add ebp, edx
mov edi, edi
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x2c], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a4bd0
cmp ebp, 0x10
jle 0x4a4bf7
sub esi, 2
movzx eax, byte [esi + 3]
movzx edx, byte [esi + 2]
movzx ecx, byte [esi + 1]
shl eax, 8
or eax, edx
movzx edx, byte [esi]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 6]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 5]
mov dword [esp + 0x10], eax
movzx eax, byte [esi + 7]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 4]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 0xa]
shl eax, 8
or eax, ecx
movzx ecx, byte [esi + 9]
mov dword [esp + 0x20], eax
movzx eax, byte [esi + 0xb]
shl eax, 8
or eax, edx
movzx edx, byte [esi + 8]
shl eax, 8
or eax, ecx
shl eax, 8
or eax, edx
mov dword [esp + 0x24], eax
add esi, 0xc
jmp 0x4a4dc3
xor ecx, ecx
mov dword [esp + 0x2c], ecx
lea ecx, [ecx]
cmp ebp, 3
jge 0x4a4cb5
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x28], eax
mov eax, 2
sub eax, ebp
shr eax, 4
inc eax
mov ecx, eax
shl ecx, 4
add ebp, ecx
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x28]
sub dword [esp + 0x28], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a4c92
mov ecx, dword [esp + 0x2c]
mov eax, edi
add edi, edi
shr eax, 0x1d
lea edx, [ebx + 0x54b6]
add edi, edi
mov byte [edx + ecx], al
inc ecx
add edi, edi
sub ebp, 3
mov dword [esp + 0x2c], ecx
cmp ecx, 8
jb 0x4a4c70
push edx
push 7
lea eax, [ebx + 0x5396]
push 8
call fcn.004a4420
add esp, 0xc
test eax, eax
jne 0x4a567f
lea edx, [esp + 0x3c]
push edx
push 0x100
mov dword [esp + 0x4c], esi
push 0
lea esi, [ebx + 0x2ba4]
push esi
push ebx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], ebp
call fcn.004a45f0
add esp, 0x14
test eax, eax
jne 0x4a567f
movzx ecx, word [ebx + 0x1c]
lea eax, [esp + 0x3c]
push eax
push ecx
push 0x100
push esi
push ebx
call fcn.004a45f0
add esp, 0x14
test eax, eax
jne 0x4a567f
push esi
push 0xc
lea eax, [ebx + 0x164]
push 0x290
call fcn.004a4420
add esp, 0xc
test eax, eax
jne 0x4a567f
cmp byte [ebx + 0x2c8c], al
je 0x4a4d6f
mov dword [ebx + 0x3c], 1
lea edx, [esp + 0x3c]
push edx
push 0xf9
lea eax, [ebx + 0x525c]
push 0
push eax
push ebx
call fcn.004a45f0
add esp, 0x14
test eax, eax
jne 0x4a567f
mov edi, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
mov esi, dword [esp + 0x44]
lea ecx, [ebx + 0x525c]
push ecx
push 0xc
lea eax, [ebx + 0x2e74]
push 0xfa
call fcn.004a4420
add esp, 0xc
test eax, eax
jne 0x4a567f
mov eax, dword [esp + 0x38]
cmp esi, eax
jbe 0x4a4ddf
add eax, 2
cmp esi, eax
ja 0x4a567f
cmp ebp, 0x10
jl 0x4a567f
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
test eax, eax
jle 0x4a55c9
mov edi, edi
mov ecx, dword [esp + 0x34]
test ecx, ecx
jle 0x4a55d4
cmp eax, ecx
jle 0x4a4e06
mov eax, ecx
mov dword [esp + 0x18], eax
mov edx, dword [esp + 0x30]
sub dword [ebx + 0x2c], eax
sub ecx, eax
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x14]
dec edx
and ecx, edx
mov dword [esp + 0x14], ecx
add ecx, eax
mov dword [esp + 0x28], ecx
cmp ecx, dword [esp + 0x30]
ja 0x4a568c
movzx ecx, word [ebx + 0x24]
dec ecx
je 0x4a52ff
dec ecx
je 0x4a4e78
dec ecx
jne 0x4a567f
lea ecx, [eax + esi]
mov dword [esp + 0x2c], ecx
cmp ecx, dword [esp + 0x38]
ja 0x4a567f
push eax
mov eax, dword [esp + 0x18]
add eax, dword [esp + 0x20]
push esi
push eax
call fcn.0065b3c0
mov edx, dword [esp + 0x34]
mov esi, dword [esp + 0x38]
add esp, 0xc
mov dword [esp + 0x14], edx
jmp 0x4a55ba
test eax, eax
jle 0x4a55ba
cmp ebp, 0x10
jge 0x4a4ec1
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x2c], eax
mov eax, 0xf
sub eax, ebp
shr eax, 4
inc eax
mov ecx, eax
shl ecx, 4
add ebp, ecx
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x2c], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a4ea2
mov edx, edi
shr edx, 0x14
movzx eax, word [ebx + edx*2 + 0x164]
cmp eax, 0x290
jb 0x4a4f05
mov ecx, 0x100000
lea ebx, [ebx]
shr ecx, 1
je 0x4a567f
mov edx, ecx
and edx, edi
neg edx
sbb edx, edx
add eax, eax
neg edx
or edx, eax
movzx eax, word [ebx + edx*2 + 0x164]
cmp eax, 0x290
jae 0x4a4ee0
movzx ecx, byte [eax + ebx + 0x2ba4]
shl edi, cl
sub ebp, ecx
cmp eax, 0x100
jge 0x4a4f31
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov byte [ecx + edx], al
inc ecx
dec dword [esp + 0x18]
mov dword [esp + 0x14], ecx
jmp 0x4a52ef
add eax, 0xffffff00
mov ecx, eax
and ecx, 7
mov dword [esp + 0x28], eax
cmp ecx, 7
jne 0x4a4fef
cmp ebp, 0x10
jge 0x4a4f8f
mov edx, 0xf
sub edx, ebp
mov eax, 0x10
sub eax, ebp
shr edx, 4
inc edx
mov dword [esp + 0x2c], eax
mov eax, edx
shl eax, 4
add ebp, eax
lea ebx, [ebx]
movzx eax, byte [esi + 1]
movzx ecx, byte [esi]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x2c], 0x10
shl eax, cl
add esi, 2
or edi, eax
dec edx
jne 0x4a4f70
mov edx, edi
shr edx, 0x14
movzx edx, word [ebx + edx*2 + 0x2e74]
cmp edx, 0xfa
jb 0x4a4fd6
mov eax, 0x100000
lea esp, [esp]
shr eax, 1
je 0x4a567f
mov ecx, eax
and ecx, edi
neg ecx
sbb ecx, ecx
add edx, edx
neg ecx
or ecx, edx
movzx edx, word [ebx + ecx*2 + 0x2e74]
cmp edx, 0xfa
jae 0x4a4fb0
movzx ecx, byte [edx + ebx + 0x525c]
mov eax, dword [esp + 0x28]
shl edi, cl
sub ebp, ecx
add edx, 7
mov dword [esp + 0x2c], edx
mov ecx, edx
add ecx, 2
sar eax, 3
mov dword [esp + 0x2c], ecx
mov ecx, eax
cmp ecx, 2
jbe 0x4a5263
movzx eax, byte [ecx + 0x76132c]
mov edx, dword [ecx*4 + 0x922bd0]
sub edx, 2
mov dword [esp + 0x28], edx
cmp eax, 3
jle 0x4a512d
sub eax, 3
cmp ebp, eax
jge 0x4a5067
mov edx, eax
sub edx, ebp
dec edx
mov ecx, 0x10
sub ecx, ebp
shr edx, 4
inc edx
mov dword [esp + 0x24], ecx
mov ecx, edx
shl ecx, 4
add ebp, ecx
movzx ebx, byte [esi + 1]
movzx ecx, byte [esi]
shl ebx, 8
or ebx, ecx
mov ecx, dword [esp + 0x24]
sub dword [esp + 0x24], 0x10
shl ebx, cl
add esi, 2
or edi, ebx
dec edx
jne 0x4a5044
mov ebx, dword [esp + 0x4c]
mov ecx, 0x20
sub ecx, eax
mov edx, edi
shr edx, cl
mov ecx, eax
sub ebp, eax
mov eax, dword [esp + 0x28]
shl edi, cl
lea edx, [eax + edx*8]
mov dword [esp + 0x28], edx
cmp ebp, 0x10
jge 0x4a50c8
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x24], eax
mov eax, 0xf
sub eax, ebp
shr eax, 4
inc eax
mov ecx, eax
shl ecx, 4
add ebp, ecx
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x24]
sub dword [esp + 0x24], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a50a5
mov edx, dword [esp + 0x28]
mov eax, edi
shr eax, 0x19
movzx eax, word [ebx + eax*2 + 0x5396]
cmp eax, 8
jb 0x4a510a
mov ecx, 0x2000000
jmp 0x4a50e5
mov ecx, dword [esp + 0x28]
shr ecx, 1
mov dword [esp + 0x28], ecx
je 0x4a567f
and ecx, edi
neg ecx
sbb ecx, ecx
add eax, eax
neg ecx
or ecx, eax
movzx eax, word [ebx + ecx*2 + 0x5396]
cmp eax, 8
jae 0x4a50e1
movzx ecx, byte [eax + ebx + 0x54b6]
shl edi, cl
sub ebp, ecx
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x4a528c
jne 0x4a51dd
cmp ebp, 0x10
jge 0x4a5178
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x24], eax
mov eax, 0xf
sub eax, ebp
shr eax, 4
inc eax
mov ecx, eax
shl ecx, 4
add ebp, ecx
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x24]
sub dword [esp + 0x24], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a5155
mov edx, dword [esp + 0x28]
mov eax, edi
shr eax, 0x19
movzx eax, word [ebx + eax*2 + 0x5396]
cmp eax, 8
jb 0x4a51ba
mov ecx, 0x2000000
jmp 0x4a5195
mov ecx, dword [esp + 0x28]
shr ecx, 1
mov dword [esp + 0x28], ecx
je 0x4a567f
and ecx, edi
neg ecx
sbb ecx, ecx
add eax, eax
neg ecx
or ecx, eax
movzx eax, word [ebx + ecx*2 + 0x5396]
cmp eax, 8
jae 0x4a5191
movzx ecx, byte [eax + ebx + 0x54b6]
shl edi, cl
sub ebp, ecx
mov ecx, dword [esp + 0x10]
add edx, eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x4a528c
test eax, eax
jle 0x4a524c
cmp ebp, eax
jge 0x4a5227
mov edx, eax
sub edx, ebp
dec edx
mov ecx, 0x10
sub ecx, ebp
shr edx, 4
inc edx
mov dword [esp + 0x24], ecx
mov ecx, edx
shl ecx, 4
add ebp, ecx
movzx ebx, byte [esi + 1]
movzx ecx, byte [esi]
shl ebx, 8
or ebx, ecx
mov ecx, dword [esp + 0x24]
sub dword [esp + 0x24], 0x10
shl ebx, cl
add esi, 2
or edi, ebx
dec edx
jne 0x4a5204
mov edx, dword [esp + 0x28]
mov ecx, 0x20
sub ecx, eax
mov ebx, edi
shr ebx, cl
mov ecx, eax
shl edi, cl
mov ecx, dword [esp + 0x10]
sub ebp, eax
mov eax, dword [esp + 0x20]
add edx, ebx
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x4a528c
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov edx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x4a528c
test ecx, ecx
jne 0x4a526d
mov edx, dword [esp + 0x10]
jmp 0x4a5290
cmp ecx, 1
jne 0x4a5280
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x4a528c
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], edx
mov ebx, dword [esp + 0x14]
mov eax, dword [esp + 0x1c]
add eax, ebx
add ebx, dword [esp + 0x2c]
mov ecx, eax
sub ecx, edx
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x30]
ja 0x4a567f
mov edx, dword [esp + 0x2c]
sub dword [esp + 0x18], edx
cmp ecx, dword [esp + 0x1c]
jae 0x4a52d8
mov edi, edi
mov ebx, edx
dec edx
test ebx, ebx
jle 0x4a52d8
mov ebx, dword [esp + 0x30]
mov bl, byte [ecx + ebx]
mov byte [eax], bl
inc ecx
inc eax
cmp ecx, dword [esp + 0x1c]
jb 0x4a52c0
test edx, edx
jle 0x4a52eb
sub ecx, eax
mov edi, edi
mov bl, byte [ecx + eax]
dec edx
mov byte [eax], bl
inc eax
test edx, edx
jg 0x4a52e0
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x18], 0
jg 0x4a4e80
jmp 0x4a55ba
test eax, eax
jle 0x4a55ba
cmp ebp, 0x10
jge 0x4a534f
mov eax, 0x10
sub eax, ebp
mov dword [esp + 0x2c], eax
mov eax, 0xf
sub eax, ebp
shr eax, 4
inc eax
mov ecx, eax
shl ecx, 4
add ebp, ecx
lea esp, [esp]
movzx edx, byte [esi + 1]
movzx ecx, byte [esi]
shl edx, 8
or edx, ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x2c], 0x10
shl edx, cl
add esi, 2
or edi, edx
dec eax
jne 0x4a5330
mov edx, edi
shr edx, 0x14
movzx eax, word [ebx + edx*2 + 0x164]
cmp eax, 0x290
jb 0x4a538d
mov ecx, 0x100000
shr ecx, 1
je 0x4a567f
mov edx, ecx
and edx, edi
neg edx
sbb edx, edx
add eax, eax
neg edx
or edx, eax
movzx eax, word [ebx + edx*2 + 0x164]
cmp eax, 0x290
jae 0x4a5368
movzx ecx, byte [eax + ebx + 0x2ba4]
shl edi, cl
sub ebp, ecx
cmp eax, 0x100
jge 0x4a53b9
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov byte [ecx + edx], al
inc ecx
dec dword [esp + 0x18]
mov dword [esp + 0x14], ecx
jmp 0x4a55af
add eax, 0xffffff00
mov edx, eax
and edx, 7
mov dword [esp + 0x28], eax
cmp edx, 7
jne 0x4a5469
cmp ebp, 0x10
jge 0x4a5415
mov edx, 0xf
sub edx, ebp
mov eax, 0x10
sub eax, ebp
shr edx, 4
inc edx
mov dword [esp + 0x2c], eax
mov eax, edx
shl eax, 4
add ebp, eax
movzx eax, byte [esi + 1]
movzx ecx, byte [esi]
shl eax, 8
or eax, ecx
mov ecx, dword [esp + 0x2c]
sub dword [esp + 0x2c], 0x10
shl eax, cl
add esi, 2
or edi, eax
dec edx
jne 0x4a53f2
mov eax, dword [esp + 0x28]
mov edx, edi
shr edx, 0x14
movzx edx, word [ebx + edx*2 + 0x2e74]
cmp edx, 0xfa
jb 0x4a545a
mov ecx, 0x100000
nop
shr ecx, 1
je 0x4a567f
mov eax, ecx
and eax, edi
neg eax
sbb eax, eax
add edx, edx
neg eax
or eax, edx
movzx edx, word [ebx + eax*2 + 0x2e74]
cmp edx, 0xfa
jae 0x4a5430
mov eax, dword [esp + 0x28]
movzx ecx, byte [edx + ebx + 0x525c]
shl edi, cl
sub ebp, ecx
add edx, 7
sar eax, 3
mov ebx, eax
add edx, 2
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], ebx
cmp ebx, 2
jbe 0x4a5529
cmp ebx, 3
je 0x4a5512
movzx eax, byte [ebx + 0x76132c]
cmp ebp, eax
jge 0x4a54d1
sub eax, ebp
dec eax
shr eax, 4
inc eax
mov edx, eax
mov ecx, 0x10
shl edx, 4
sub ecx, ebp
add ebp, edx
jmp 0x4a54b0
movzx edx, byte [esi + 1]
movzx ebx, byte [esi]
shl edx, 8
or edx, ebx
shl edx, cl
sub ecx, 0x10
add esi, 2
or edi, edx
dec eax
jne 0x4a54b0
mov ebx, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
movzx eax, byte [ebx + 0x76132c]
mov ecx, 0x20
sub ecx, eax
mov eax, edi
shr eax, cl
movzx ecx, byte [ebx + 0x76132c]
shl edi, cl
movzx ecx, byte [ebx + 0x76132c]
sub ebp, ecx
mov ecx, dword [ebx*4 + 0x922bd0]
lea ebx, [ecx + eax - 2]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x4a5552
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
mov ebx, 1
mov dword [esp + 0x24], eax
mov dword [esp + 0x20], ecx
jmp 0x4a5552
test ebx, ebx
jne 0x4a5533
mov ebx, dword [esp + 0x10]
jmp 0x4a5556
cmp ebx, 1
jne 0x4a5546
mov eax, dword [esp + 0x10]
mov ebx, dword [esp + 0x20]
mov dword [esp + 0x20], eax
jmp 0x4a5552
mov ecx, dword [esp + 0x10]
mov ebx, dword [esp + 0x24]
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], ebx
mov ecx, dword [esp + 0x1c]
add ecx, dword [esp + 0x14]
mov eax, ecx
sub eax, ebx
mov ebx, dword [esp + 0x14]
add ebx, edx
mov dword [esp + 0x14], ebx
cmp ebx, dword [esp + 0x30]
ja 0x4a567f
mov edx, dword [esp + 0x2c]
sub dword [esp + 0x18], edx
cmp eax, dword [esp + 0x1c]
jae 0x4a559c
mov ebx, edx
dec edx
test ebx, ebx
jle 0x4a559c
mov ebx, dword [esp + 0x30]
mov bl, byte [eax + ebx]
mov byte [ecx], bl
inc eax
inc ecx
cmp eax, dword [esp + 0x1c]
jb 0x4a5584
test edx, edx
jle 0x4a55ab
mov bl, byte [eax]
dec edx
mov byte [ecx], bl
inc ecx
inc eax
test edx, edx
jg 0x4a55a0
mov ebx, dword [esp + 0x4c]
cmp dword [esp + 0x18], 0
jg 0x4a5307
mov eax, dword [ebx + 0x2c]
mov dword [esp + 0x18], eax
test eax, eax
jg 0x4a4df0
cmp dword [esp + 0x34], 0
jg 0x4a4a70
cmp dword [esp + 0x34], 0
jne 0x4a567f
mov eax, dword [esp + 0x14]
test eax, eax
jne 0x4a55eb
mov eax, dword [esp + 0x30]
mov esi, dword [esp + 0x54]
mov edi, dword [esp + 0x50]
sub eax, esi
add eax, dword [esp + 0x1c]
push esi
push eax
push edi
call fcn.0065b3c0
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword [ebx + 0x10], eax
mov eax, dword [ebx + 0x30]
mov dword [ebx + 0xc], edx
mov edx, dword [esp + 0x30]
mov dword [ebx + 0x14], ecx
add esp, 0xc
lea ecx, [eax + 1]
mov dword [ebx + 0x18], edx
mov dword [ebx + 0x30], ecx
cmp eax, 0x8000
jae 0x4a5703
mov eax, dword [ebx + 0x34]
mov dword [esp + 0x4c], eax
test eax, eax
je 0x4a5703
cmp esi, 6
jle 0x4a5700
cmp dword [ebx + 0x3c], 0
je 0x4a5700
mov ebp, dword [ebx + 0x38]
lea edx, [edi + esi - 0xa]
lea eax, [esi + ebp]
mov ecx, edi
mov dword [ebx + 0x38], eax
cmp edi, edx
jae 0x4a5703
mov esi, ebp
neg esi
mov al, byte [ecx]
inc ecx
cmp al, 0xe8
je 0x4a5699
inc ebp
dec esi
jmp 0x4a56ee
pop edi
pop esi
pop ebp
mov eax, 2
pop ebx
add esp, 0x38
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x38
ret
movzx eax, byte [ecx + 3]
movzx edi, byte [ecx + 2]
shl eax, 8
or eax, edi
movzx edi, byte [ecx + 1]
shl eax, 8
or eax, edi
movzx edi, byte [ecx]
shl eax, 8
or eax, edi
cmp eax, esi
jl 0x4a56e5
mov edi, dword [esp + 0x4c]
cmp eax, edi
jge 0x4a56e5
test eax, eax
js 0x4a56cb
sub eax, ebp
jmp 0x4a56cd
add eax, edi
mov ebx, eax
sar ebx, 8
mov byte [ecx + 1], bl
mov ebx, eax
sar ebx, 0x10
mov byte [ecx], al
sar eax, 0x18
mov byte [ecx + 2], bl
mov byte [ecx + 3], al
add ecx, 4
add ebp, 5
sub esi, 5
cmp ecx, edx
jb 0x4a5671
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret
add dword [ebx + 0x38], esi
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x38
ret