Function at 0x1004c330
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x2c
push ebx
push ebp
mov eax, edx
mov dword [esp + 0x28], ecx
push esi
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x30], eax
mov ebp, dword [eax + 0x20]
push edi
mov eax, dword [esi + 0xc]
cdq
and edx, 3
add eax, edx
sar eax, 2
test ebp, ebp
je 0x1004c49b
xor ecx, ecx
mov dword [esp + 0x2c], ecx
test eax, eax
jle 0x1004cb90
mov eax, dword [esi + 8]
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
nop word [eax + eax]
lea eax, [ecx*4]
xor ebx, ebx
mov ecx, dword [esi + 4]
add ecx, eax
mov dword [esp + 0x28], ebx
mov eax, dword [ebp + ecx*4 + 4]
mov edx, dword [ebp + ecx*4]
mov dword [esp + 0x24], eax
mov eax, dword [ebp + ecx*4 + 8]
mov ecx, dword [ebp + ecx*4 + 0xc]
mov dword [esp + 0x20], edx
mov dword [esp + 0x38], eax
mov dword [esp + 0x1c], ecx
test edi, edi
jle 0x1004c476
nop word [eax + eax]
mov eax, dword [esi]
mov ebp, dword [esp + 0x24]
lea eax, [eax + ebx*4]
mov ebx, dword [esp + 0x38]
lea edi, [eax + ecx]
add ebx, eax
lea ecx, [eax + edx]
add ebp, eax
movzx eax, byte [edi + 1]
movzx edx, byte [edi + 2]
add edx, eax
movzx eax, byte [ebp + 2]
add edx, eax
movzx eax, byte [ebp + 1]
add edx, eax
movzx eax, byte [ebx + 2]
add edx, eax
movzx eax, byte [ebx + 1]
add edx, eax
movzx eax, byte [ecx + 2]
add edx, eax
movzx eax, byte [ecx + 1]
add edx, eax
movzx eax, byte [ecx + 3]
add edx, eax
movzx eax, byte [ebp + 3]
add edx, eax
movzx eax, byte [ebx + 3]
add edx, eax
movzx eax, byte [edi + 3]
add edx, eax
movzx eax, byte [edi]
add edx, eax
movzx eax, byte [ecx]
movzx ecx, byte [ebp]
add edx, eax
movzx eax, byte [ebx]
add edx, 8
mov ebx, dword [esp + 0x28]
add edx, eax
mov eax, dword [esp + 0x30]
add ecx, edx
mov edx, dword [esp + 0x2c]
shr ecx, 4
mov eax, dword [eax + 0x20]
mov eax, dword [eax + edx*4]
mov byte [ebx + eax], cl
inc ebx
mov eax, dword [esi + 8]
mov ecx, dword [esp + 0x1c]
cdq
and edx, 3
mov dword [esp + 0x28], ebx
lea edi, [edx + eax]
mov edx, dword [esp + 0x20]
sar edi, 2
cmp ebx, edi
jl 0x1004c3c0
mov eax, dword [esp + 0x34]
mov ebp, dword [eax + 0x20]
mov eax, dword [esi + 0xc]
mov ecx, dword [esp + 0x2c]
cdq
inc ecx
and edx, 3
mov dword [esp + 0x2c], ecx
add eax, edx
sar eax, 2
cmp ecx, eax
jl 0x1004c380
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret
xor ebx, ebx
mov dword [esp + 0x2c], ebx
test eax, eax
jle 0x1004cb90
mov eax, dword [esi + 8]
cdq
and edx, 3
lea edi, [edx + eax]
sar edi, 2
nop word [eax + eax]
mov ecx, dword [esi + 4]
lea eax, [ebx*4]
add ecx, eax
mov eax, dword [esp + 0x34]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax + ecx*4]
mov edx, dword [eax + ecx*4 + 4]
mov ebp, dword [eax + ecx*4 + 8]
mov eax, dword [eax + ecx*4 + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x18], eax
mov dword [esp + 0x20], ebx
mov dword [esp + 0x24], edx
mov eax, dword [ecx + 0x10]
xor ecx, ecx
mov dword [esp + 0x28], ebp
cmp eax, 2
jne 0x1004c67b
mov dword [esp + 0x10], ecx
test edi, edi
jle 0x1004cb73
mov eax, dword [esi]
mov edi, dword [esp + 0x18]
shl ecx, 2
add eax, ecx
lea ebx, [ebx + eax*4]
lea edi, [edi + eax*4]
lea ecx, [eax*4 + 8]
mov dword [esp + 0x14], edi
lea edi, [eax*4]
lea edx, [eax*4 + 0xc]
add edi, ebp
mov dword [esp + 0x1c], edi
mov edi, dword [esp + 0x24]
lea ebp, [edi + eax*4]
mov eax, dword [esp + 0x18]
movzx edi, byte [ecx + eax]
movzx eax, byte [edx + eax]
add edi, eax
mov eax, dword [esp + 0x28]
movzx eax, byte [ecx + eax]
add edi, eax
mov eax, dword [esp + 0x24]
movzx eax, byte [ecx + eax]
add edi, eax
mov eax, dword [esp + 0x20]
movzx eax, byte [ecx + eax]
add edi, eax
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
movzx eax, byte [edx + eax]
add edi, eax
mov eax, dword [esp + 0x24]
movzx eax, byte [edx + eax]
add edi, eax
mov eax, dword [esp + 0x20]
movzx eax, byte [edx + eax]
mov edx, dword [esp + 0x14]
add edi, eax
movzx eax, byte [ebx + 4]
add edi, eax
movzx eax, byte [ebp + 4]
add edi, eax
movzx eax, byte [ecx + 4]
add edi, eax
movzx eax, byte [edx + 4]
add edi, eax
movzx eax, byte [ebp]
add edi, eax
movzx eax, byte [ecx]
movzx ecx, byte [ebx + 0xf]
add edi, eax
movzx eax, byte [edx]
movzx edx, byte [ebx]
add eax, 8
add edi, eax
movzx eax, byte [ebx + 0xb]
add ecx, eax
add edx, edi
movzx eax, byte [ebx + 7]
add ecx, eax
shr edx, 4
movzx eax, byte [ebx + 3]
mov ebx, dword [esp + 0x1c]
add ecx, eax
movzx eax, byte [ebp + 0xf]
add ecx, eax
movzx eax, byte [ebp + 0xb]
add ecx, eax
movzx eax, byte [ebp + 7]
add ecx, eax
movzx eax, byte [ebp + 3]
add ecx, eax
movzx eax, byte [ebx + 0xf]
add ecx, eax
movzx eax, byte [ebx + 0xb]
add ecx, eax
movzx eax, byte [ebx + 7]
add ecx, eax
movzx eax, byte [ebx + 3]
mov ebx, dword [esp + 0x14]
add ecx, eax
movzx eax, byte [ebx + 0xf]
add ecx, eax
mov ebp, dword [esp + 0x28]
movzx eax, byte [ebx + 0xb]
add ecx, eax
movzx eax, byte [ebx + 7]
add ecx, eax
movzx eax, byte [ebx + 3]
add eax, 8
mov ebx, dword [esp + 0x20]
add eax, ecx
mov ecx, dword [esp + 0x2c]
shl eax, 0x14
and eax, 0xff000000
or edx, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x10]
mov dword [eax + ecx*4], edx
inc ecx
mov eax, dword [esi + 8]
cdq
and edx, 3
mov dword [esp + 0x10], ecx
lea edi, [edx + eax]
sar edi, 2
cmp ecx, edi
jl 0x1004c510
jmp 0x1004cb73
mov dword [esp + 0x38], ecx
cmp eax, 3
jne 0x1004c8a6
test edi, edi
jle 0x1004cb73
mov eax, dword [esi]
shl ecx, 2
add eax, ecx
mov edi, dword [esp + 0x24]
mov ecx, dword [esp + 0x18]
lea ebp, [ecx + eax*4]
mov ecx, dword [esp + 0x28]
lea edx, [ecx + eax*4]
lea ecx, [edi + eax*4]
mov dword [esp + 0x10], edx
mov dword [esp + 0x14], ecx
lea edi, [eax*4 + 8]
lea ecx, [ebx + eax*4]
lea ebx, [eax*4 + 0xc]
mov dword [esp + 0x1c], ecx
movzx eax, byte [edx + 6]
movzx ecx, byte [edx + 0xa]
add ecx, eax
movzx eax, byte [edx + 2]
add ecx, eax
movzx eax, byte [ebp + 0xa]
add ecx, eax
movzx eax, byte [ebp + 6]
add ecx, eax
movzx eax, byte [ebp + 2]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0xe]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xe]
add ecx, eax
movzx eax, byte [edx + 0xe]
add ecx, eax
mov edx, dword [esp + 0x14]
movzx eax, byte [ebp + 0xe]
add ecx, eax
movzx eax, byte [edx + 0xa]
add ecx, eax
movzx eax, byte [edx + 6]
add ecx, eax
movzx eax, byte [edx + 2]
mov edx, dword [esp + 0x1c]
add ecx, eax
movzx eax, byte [edx + 0xa]
add ecx, eax
movzx eax, byte [edx + 6]
movzx edx, byte [edx + 2]
add ecx, eax
mov eax, dword [esp + 0x10]
add edx, 8
add edx, ecx
shl edx, 0xc
and edx, 0xffff00ff
movzx ecx, byte [eax + 0xd]
movzx eax, byte [eax + 9]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 1]
add ecx, eax
movzx eax, byte [ebp + 0xd]
add ecx, eax
movzx eax, byte [ebp + 9]
add ecx, eax
movzx eax, byte [ebp + 5]
add ecx, eax
movzx eax, byte [ebp + 1]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xd]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 9]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0xd]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 9]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 1]
add eax, 8
add eax, ecx
shl eax, 4
or edx, eax
mov eax, dword [esp + 0x28]
and edx, 0xffffff00
movzx ecx, byte [ebx + eax]
mov eax, dword [esp + 0x24]
movzx eax, byte [ebx + eax]
add ecx, eax
mov eax, dword [esp + 0x28]
movzx eax, byte [edi + eax]
add ecx, eax
mov eax, dword [esp + 0x20]
movzx eax, byte [ebx + eax]
add ecx, eax
mov eax, dword [esp + 0x24]
movzx eax, byte [edi + eax]
add ecx, eax
mov eax, dword [esp + 0x20]
movzx eax, byte [edi + eax]
add ecx, eax
mov eax, dword [esp + 0x18]
movzx eax, byte [edi + eax]
add ecx, eax
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
movzx eax, byte [ebx + eax]
mov ebx, dword [esp + 0x10]
add ecx, eax
movzx eax, byte [ebx + 4]
add ecx, eax
movzx eax, byte [ebp + 4]
add ecx, eax
movzx eax, byte [edi + 4]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 4]
add ecx, eax
movzx eax, byte [ebp]
add ecx, eax
movzx eax, byte [ebx]
add ecx, eax
mov ebx, dword [esp + 0x20]
movzx eax, byte [edi]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax]
add eax, 8
add eax, ecx
mov ecx, dword [esp + 0x2c]
shr eax, 4
or edx, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x38]
mov dword [eax + ecx*4], edx
inc ecx
mov eax, dword [esi + 8]
cdq
and edx, 3
mov dword [esp + 0x38], ecx
lea edi, [edx + eax]
sar edi, 2
cmp ecx, edi
jl 0x1004c690
jmp 0x1004cb73
test edi, edi
jle 0x1004cb73
nop
mov eax, dword [esi]
shl ecx, 2
add eax, ecx
mov esi, dword [esp + 0x18]
mov ecx, dword [esp + 0x18]
lea edx, [edx + eax*4]
lea ecx, [ecx + eax*4]
mov dword [esp + 0x1c], edx
lea ebp, [ebp + eax*4]
mov dword [esp + 0x14], ecx
lea ecx, [ebx + eax*4]
lea ebx, [eax*4 + 0xc]
mov dword [esp + 0x10], ecx
lea edi, [eax*4 + 8]
movzx ecx, byte [ebp + 0xf]
movzx eax, byte [esi + eax*4 + 0xf]
add ecx, eax
movzx eax, byte [ebp + 0xb]
add ecx, eax
movzx eax, byte [ebp + 7]
add ecx, eax
movzx eax, byte [ebp + 3]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0xb]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 7]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 3]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xb]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 7]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 3]
add ecx, eax
movzx eax, byte [edx + 0xb]
add ecx, eax
movzx eax, byte [edx + 7]
add ecx, eax
movzx eax, byte [edx + 3]
add ecx, eax
movzx edx, byte [edx + 0xf]
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0xf]
add eax, 8
add ecx, eax
movzx eax, byte [ebp + 0xa]
add edx, ecx
movzx ecx, byte [ebp + 0xe]
add ecx, eax
shl edx, 0x14
movzx eax, byte [ebp + 6]
and edx, 0xff00ffff
add ecx, eax
movzx eax, byte [ebp + 2]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0xe]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0xa]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 2]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xe]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xa]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 2]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0xe]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0xa]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 6]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 2]
add eax, 8
add eax, ecx
movzx ecx, byte [ebp + 0xd]
shl eax, 0xc
or edx, eax
movzx eax, byte [ebp + 9]
add ecx, eax
and edx, 0xffff00ff
movzx eax, byte [ebp + 5]
add ecx, eax
movzx eax, byte [ebp + 1]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 0xd]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 9]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [esp + 0x10]
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 0xd]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 9]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 1]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 0xd]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 9]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 5]
add ecx, eax
mov eax, dword [esp + 0x1c]
movzx eax, byte [eax + 1]
add eax, 8
add eax, ecx
shl eax, 4
or edx, eax
mov eax, dword [esp + 0x28]
and edx, 0xffffff00
movzx ecx, byte [edi + eax]
mov eax, dword [esp + 0x24]
movzx eax, byte [edi + eax]
add ecx, eax
mov eax, dword [esp + 0x20]
movzx eax, byte [edi + eax]
add ecx, eax
mov eax, esi
movzx eax, byte [edi + eax]
add ecx, eax
mov eax, esi
movzx eax, byte [ebx + eax]
add ecx, eax
mov edi, dword [esp + 0x10]
mov eax, dword [esp + 0x28]
mov esi, dword [esp + 0x40]
movzx eax, byte [ebx + eax]
add ecx, eax
mov eax, dword [esp + 0x24]
movzx eax, byte [ebx + eax]
add ecx, eax
mov eax, dword [esp + 0x20]
movzx eax, byte [ebx + eax]
add ecx, eax
mov ebx, dword [esp + 0x1c]
movzx eax, byte [ebp + 4]
add ecx, eax
movzx eax, byte [edi + 4]
add ecx, eax
mov eax, dword [esp + 0x14]
movzx eax, byte [eax + 4]
add ecx, eax
movzx eax, byte [ebx + 4]
add ecx, eax
movzx eax, byte [ebp]
add ecx, eax
mov ebp, dword [esp + 0x28]
movzx eax, byte [ebx]
add ecx, eax
mov ebx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
movzx eax, byte [eax]
add ecx, eax
movzx eax, byte [edi]
add eax, 8
add eax, ecx
mov ecx, dword [esp + 0x2c]
shr eax, 4
or edx, eax
mov eax, dword [esp + 0x30]
mov eax, dword [eax + 0x28]
mov eax, dword [eax + ecx*4]
mov ecx, dword [esp + 0x38]
mov dword [eax + ecx*4], edx
inc ecx
mov eax, dword [esi + 8]
cdq
and edx, 3
mov dword [esp + 0x38], ecx
lea edi, [edx + eax]
mov edx, dword [esp + 0x24]
sar edi, 2
cmp ecx, edi
jl 0x1004c8b0
mov eax, dword [esi + 0xc]
mov ebx, dword [esp + 0x2c]
cdq
inc ebx
and edx, 3
mov dword [esp + 0x2c], ebx
add eax, edx
sar eax, 2
cmp ebx, eax
jl 0x1004c4c0
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x2c
ret