Function at 0x453040
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov edi, dword [eax + 4]
mov ecx, edi
mov edx, dword [esp + 0x28]
imul ecx, dword [esp + 0x2c]
mov eax, dword [eax]
add ecx, edx
mov dword [esp + 0x10], eax
mov ebp, dword [esp + 0x1c]
lea ecx, [eax + ecx*4]
mov eax, dword [esp + 0x18]
mov ebx, edi
mov dword [esp + 0x24], edi
mov esi, dword [eax + 4]
mov eax, dword [eax]
mov edx, esi
mov dword [esp + 0x18], eax
imul edx, dword [esp + 0x20]
add edx, ebp
mov ebp, dword [esp + 0x30]
sub ebx, ebp
lea eax, [eax + edx*4]
mov edx, esi
sub edx, ebp
mov ebp, dword [esp + 0x38]
add edx, edx
cmp ebp, 0xfffffffd
jne 0x4530d2
mov ebp, dword [esp + 0x34]
mov eax, dword [esp + 0x2c]
sub ebp, 2
inc eax
imul eax, edi
mov ecx, dword [esp + 0x28]
mov dword [esp + 0x34], ebp
add eax, ecx
mov ecx, dword [esp + 0x10]
mov ebp, dword [esp + 0x1c]
lea ecx, [ecx + eax*4]
mov eax, dword [esp + 0x20]
add eax, 2
imul eax, esi
add eax, ebp
mov ebp, dword [esp + 0x18]
lea eax, [ebp + eax*4]
mov ebp, dword [esp + 0x3c]
cmp ebp, 0x80
jne 0x453221
cmp dword [esp + 0x40], 0x80
jne 0x45321d
cmp dword [esp + 0x44], 0x80
jne 0x45321d
cmp dword [esp + 0x38], 0xfffffffd
jne 0x4531c8
mov ebp, dword [esp + 0x34]
test ebp, ebp
jle 0x45348e
shl edx, 2
mov dword [esp + 0x38], edx
lea edx, [ebx*4]
mov ebx, dword [esp + 0x30]
mov dword [esp + 0x34], edx
mov dword [esp + 0x2c], ebp
test ebx, ebx
jle 0x4531a2
shl edi, 2
mov edx, ecx
mov dword [esp + 0x3c], ebx
sub edx, edi
mov ebx, dword [ecx]
mov ebp, dword [edx]
add eax, 8
add ecx, 4
lea ebx, [ebp + ebx*2]
mov ebp, dword [ecx - 8]
add ebx, ebp
add edx, 4
mov dword [eax - 8], ebx
mov ebx, dword [ecx - 4]
mov ebp, dword [edx - 4]
lea ebx, [ebp + ebx*2]
mov ebp, dword [ecx]
add ebx, ebp
mov dword [eax - 4], ebx
mov ebx, dword [ecx - 4]
mov ebp, dword [ecx - 8]
lea ebx, [ebp + ebx*2]
mov ebp, dword [edi + ecx - 4]
add ebx, ebp
mov dword [eax + esi*4 - 8], ebx
mov ebx, dword [ecx - 4]
mov ebp, dword [ecx]
lea ebx, [ebp + ebx*2]
mov ebp, dword [edi + ecx - 4]
add ebx, ebp
mov dword [eax + esi*4 - 4], ebx
mov ebx, dword [esp + 0x3c]
dec ebx
mov dword [esp + 0x3c], ebx
jne 0x45313e
mov ebx, dword [esp + 0x30]
mov edi, dword [esp + 0x24]
mov edx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
add eax, edx
mov edx, dword [esp + 0x2c]
add ecx, ebp
dec edx
mov dword [esp + 0x2c], edx
jne 0x45312f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
mov edi, dword [esp + 0x34]
test edi, edi
jle 0x45348e
lea ebp, [edx*4]
lea edx, [ebx*4]
mov dword [esp + 0x34], edx
mov ebx, edi
mov edi, dword [esp + 0x30]
test edi, edi
jle 0x453207
mov edx, dword [ecx]
add ecx, 4
mov dword [eax], edx
mov dword [eax + 4], edx
mov dword [eax + esi*4], edx
mov dword [eax + esi*4 + 4], edx
add eax, 8
dec edi
jne 0x4531f0
mov edi, dword [esp + 0x34]
add eax, ebp
add ecx, edi
dec ebx
jne 0x4531e8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
mov ebp, dword [esp + 0x3c]
mov edi, dword [esp + 0x40]
shl edi, 9
add edi, 0x59e650
shl ebp, 0xa
mov dword [esp + 0x3c], edi
mov edi, dword [esp + 0x44]
add ebp, 0x54e650
mov dword [esp + 0x2c], ebp
mov ebp, dword [esp + 0x38]
shl edi, 8
add edi, 0x58e650
cmp ebp, 0xfffffffd
mov ebp, dword [esp + 0x34]
jne 0x4533f8
test ebp, ebp
jle 0x45348e
shl edx, 2
mov dword [esp + 0x38], edx
lea edx, [ebx*4]
mov dword [esp + 0x1c], ebp
mov ebp, dword [esp + 0x30]
mov dword [esp + 0x34], edx
test ebp, ebp
jle 0x4533d2
mov edx, dword [esp + 0x24]
mov dword [esp + 0x20], ebp
lea ebx, [edx*4]
mov edx, ecx
sub edx, ebx
mov dword [esp + 0x28], edx
mov ebx, dword [ecx]
mov ebp, dword [ecx - 4]
mov dword [esp + 0x40], ecx
lea ebx, [ebp + ebx*2]
mov ebp, dword [edx]
add ebx, ebp
mov dword [eax], ebx
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
lea ebx, [ebp + ebx*2]
mov ebp, dword [edx]
add ebx, ebp
mov dword [eax + 4], ebx
mov edx, dword [ecx]
mov ebx, dword [ecx - 4]
lea ebx, [ebx + edx*2]
mov edx, dword [esp + 0x24]
shl edx, 2
add ebx, dword [edx + ecx]
mov dword [eax + esi*4], ebx
mov ebx, dword [ecx]
mov ebp, dword [ecx + 4]
lea ebx, [ebp + ebx*2]
mov ebp, dword [edx + ecx]
add ebx, ebp
mov ebp, dword [esp + 0x3c]
xor edx, edx
mov dword [eax + esi*4 + 4], ebx
mov dl, byte [eax + 1]
xor ebx, ebx
xor ecx, ecx
mov bx, word [ebp + edx*2]
mov ebp, dword [esp + 0x2c]
xor edx, edx
mov dl, byte [eax + 2]
add ebx, dword [ebp + edx*4]
xor edx, edx
mov dl, byte [eax]
mov ebp, dword [esp + 0x3c]
mov cl, byte [edx + edi]
mov edx, ecx
add ebx, edx
xor edx, edx
mov dl, byte [eax + 5]
mov dword [eax], ebx
xor ebx, ebx
mov bx, word [ebp + edx*2]
mov ebp, dword [esp + 0x2c]
xor edx, edx
mov dl, byte [eax + 6]
mov ecx, dword [ebp + edx*4]
xor edx, edx
mov dl, byte [eax + 4]
add ebx, ecx
xor ecx, ecx
mov ebp, dword [esp + 0x3c]
mov cl, byte [edx + edi]
mov edx, ecx
xor ecx, ecx
add ebx, edx
xor edx, edx
mov dword [eax + 4], ebx
mov dl, byte [eax + esi*4 + 1]
xor ebx, ebx
mov bx, word [ebp + edx*2]
xor edx, edx
mov dl, byte [eax + esi*4]
mov ebp, dword [esp + 0x2c]
mov cl, byte [edx + edi]
mov edx, ecx
add ebx, edx
xor edx, edx
mov dl, byte [eax + esi*4 + 2]
mov ecx, dword [ebp + edx*4]
mov ebp, dword [esp + 0x3c]
add ebx, ecx
xor edx, edx
mov dl, byte [eax + esi*4 + 5]
mov dword [eax + esi*4], ebx
xor ebx, ebx
mov bx, word [ebp + edx*2]
mov ebp, dword [esp + 0x2c]
xor edx, edx
mov dl, byte [eax + esi*4 + 6]
add eax, 8
mov ecx, dword [ebp + edx*4]
xor edx, edx
mov dl, byte [eax + esi*4 - 4]
add ebx, ecx
xor ecx, ecx
mov cl, byte [edx + edi]
mov edx, ecx
mov ecx, dword [esp + 0x40]
add ebx, edx
mov edx, dword [esp + 0x28]
mov dword [eax + esi*4 - 4], ebx
mov ebx, dword [esp + 0x20]
add ecx, 4
add edx, 4
dec ebx
mov dword [esp + 0x28], edx
mov dword [esp + 0x20], ebx
jne 0x45329e
mov ebp, dword [esp + 0x30]
mov edx, dword [esp + 0x38]
mov ebx, dword [esp + 0x34]
add eax, edx
mov edx, dword [esp + 0x1c]
add ecx, ebx
dec edx
mov dword [esp + 0x1c], edx
jne 0x45327f
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret
test ebp, ebp
jle 0x45348e
shl edx, 2
mov dword [esp + 0x38], edx
lea edx, [ebx*4]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x20], ebp
test edx, edx
jle 0x453477
mov dword [esp + 0x28], edx
mov ebp, dword [esp + 0x3c]
xor edx, edx
mov dl, byte [ecx + 1]
xor ebx, ebx
mov dword [esp + 0x1c], ecx
add eax, 8
mov bx, word [ebp + edx*2]
mov ebp, dword [esp + 0x2c]
xor edx, edx
mov dl, byte [ecx + 2]
add ebx, dword [ebp + edx*4]
xor edx, edx
mov dl, byte [ecx]
xor ecx, ecx
mov cl, byte [edx + edi]
mov edx, ecx
mov ecx, dword [esp + 0x1c]
add edx, ebx
add ecx, 4
mov dword [eax - 8], edx
mov dword [eax - 4], edx
mov dword [eax + esi*4 - 8], edx
mov dword [eax + esi*4 - 4], edx
mov edx, dword [esp + 0x28]
dec edx
mov dword [esp + 0x28], edx
jne 0x453422
mov edx, dword [esp + 0x30]
mov ebx, dword [esp + 0x38]
mov ebp, dword [esp + 0x34]
add eax, ebx
mov ebx, dword [esp + 0x20]
add ecx, ebp
dec ebx
mov dword [esp + 0x20], ebx
jne 0x45341a
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
pop ecx
ret