Function at 0x635bdc
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff7c
push ebx
push esi
push edi
mov dword [ebp - 4], edx
mov esi, dword [ebp + 0xc]
mov edi, eax
mov byte [ebp - 5], 0
cmp word [esi + 0xe], 0x10
mov ebx, ecx
jne 0x635c2b
cmp word [esi], 1
jne 0x635c09
mov byte [ebp - 5], 1
jmp 0x635c2b
cmp word [esi], 0xfffe
jne 0x635c2b
push 0x10
push 0x6fb5b8
lea eax, [esi + 0x18]
push eax
call fcn.0050d45c
add esp, 0xc
test eax, eax
jne 0x635c2b
mov byte [ebp - 5], 1
cmp byte [ebp - 5], 0
je 0x635c65
cmp word [esi + 2], 1
jne 0x635c53
mov edx, dword [ebp + 8]
cmp dword [edx + 4], 1
je 0x635c53
push ebx
push 1
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0062cba4
jmp 0x635c81
push ebx
push 0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 4]
mov eax, edi
call fcn.0062cba4
jmp 0x635c81
mov ecx, dword [ebp + 8]
mov eax, dword [ecx + 0xc]
imul ebx
mov edx, dword [ebp + 8]
imul dword [edx + 4]
push eax
mov ecx, dword [ebp - 4]
push ecx
push edi
call fcn.0050d130
add esp, 0xc
cmp word [esi + 2], 4
jne 0x635e08
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 1
jne 0x635e08
cmp word [esi + 0xe], 8
jne 0x635cdc
lea edx, [edi + ebx - 1]
lea eax, [edi + ebx*4 - 4]
mov dword [ebp - 0xc], edx
xor edx, edx
mov dword [ebp - 0x10], edx
cmp ebx, dword [ebp - 0x10]
jle 0x635e08
mov ecx, dword [ebp - 0xc]
mov dl, byte [ecx]
mov byte [eax + 3], dl
mov byte [eax + 2], dl
mov byte [eax + 1], dl
mov byte [eax], dl
sub eax, 4
dec dword [ebp - 0xc]
inc dword [ebp - 0x10]
cmp ebx, dword [ebp - 0x10]
jg 0x635cb9
jmp 0x635e08
cmp word [esi + 0xe], 0x10
jne 0x635d2d
lea eax, [edi + ebx*2 - 2]
mov dword [ebp - 0x14], eax
mov eax, ebx
shl eax, 2
add eax, eax
add eax, edi
add eax, 0xfffffff8
xor edx, edx
mov dword [ebp - 0x18], edx
cmp ebx, dword [ebp - 0x18]
jle 0x635e08
mov ecx, dword [ebp - 0x14]
mov dx, word [ecx]
mov word [eax + 6], dx
mov word [eax + 4], dx
mov word [eax + 2], dx
mov word [eax], dx
sub eax, 8
sub dword [ebp - 0x14], 2
inc dword [ebp - 0x18]
cmp ebx, dword [ebp - 0x18]
jg 0x635d04
jmp 0x635e08
cmp word [esi + 0xe], 0x18
jne 0x635dbe
mov ecx, ebx
lea eax, [ebx + ebx*2]
shl ecx, 2
add eax, edi
add eax, 0xfffffffd
mov dword [ebp - 0x1c], eax
lea eax, [ecx + ecx*2]
add eax, edi
add eax, 0xfffffff4
mov dword [ebp - 0x20], eax
xor edx, edx
mov dword [ebp - 0x24], edx
cmp ebx, dword [ebp - 0x24]
jle 0x635e08
mov ecx, dword [ebp - 0x20]
mov eax, dword [ebp - 0x1c]
mov dx, word [eax]
mov word [ecx + 9], dx
mov dl, byte [eax + 2]
mov byte [ecx + 0xb], dl
add ecx, 9
mov eax, dword [ebp - 0x20]
mov dx, word [ecx]
mov word [eax + 6], dx
mov dl, byte [ecx + 2]
mov byte [eax + 8], dl
lea ecx, [eax + 6]
mov eax, dword [ebp - 0x20]
mov dx, word [ecx]
mov word [eax + 3], dx
mov dl, byte [ecx + 2]
mov byte [eax + 5], dl
lea ecx, [eax + 3]
mov eax, dword [ebp - 0x20]
mov dx, word [ecx]
mov word [eax], dx
mov dl, byte [ecx + 2]
mov byte [eax + 2], dl
sub dword [ebp - 0x20], 0xc
sub dword [ebp - 0x1c], 3
inc dword [ebp - 0x24]
cmp ebx, dword [ebp - 0x24]
jg 0x635d61
jmp 0x635e08
cmp word [esi + 0xe], 0x20
jne 0x635e08
mov ecx, ebx
mov eax, ebx
shl eax, 2
shl ecx, 2
add ecx, edi
shl eax, 2
add ecx, 0xfffffffc
add eax, edi
mov dword [ebp - 0x28], ecx
add eax, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x2c], edx
cmp ebx, dword [ebp - 0x2c]
jle 0x635e08
mov ecx, dword [ebp - 0x28]
mov edx, dword [ecx]
mov dword [eax + 0xc], edx
mov dword [eax + 8], edx
mov dword [eax + 4], edx
mov dword [eax], edx
sub eax, 0x10
sub dword [ebp - 0x28], 4
inc dword [ebp - 0x2c]
cmp ebx, dword [ebp - 0x2c]
jg 0x635de9
cmp word [esi + 2], 4
jne 0x635fb1
mov eax, dword [ebp + 8]
cmp dword [eax + 4], 2
jne 0x635fb1
cmp word [esi + 0xe], 8
jne 0x635e6a
lea eax, [edi + ebx*4 - 4]
lea ecx, [edi + ebx*2 - 2]
mov dword [ebp - 0x30], ecx
xor edx, edx
mov dword [ebp - 0x34], edx
cmp ebx, dword [ebp - 0x34]
jle 0x635fb1
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx]
mov byte [eax + 2], dl
mov byte [eax], dl
mov ecx, dword [ebp - 0x30]
mov dl, byte [ecx + 1]
mov byte [eax + 3], dl
mov byte [eax + 1], dl
sub eax, 4
sub dword [ebp - 0x30], 2
inc dword [ebp - 0x34]
cmp ebx, dword [ebp - 0x34]
jg 0x635e40
jmp 0x635fb1
cmp word [esi + 0xe], 0x10
jne 0x635ec9
mov eax, ebx
add eax, eax
add eax, eax
add eax, edi
add eax, 0xfffffffc
mov dword [ebp - 0x38], eax
mov eax, ebx
shl eax, 2
add eax, eax
add eax, edi
add eax, 0xfffffff8
xor edx, edx
mov dword [ebp - 0x3c], edx
cmp ebx, dword [ebp - 0x3c]
jle 0x635fb1
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx]
mov word [eax + 4], dx
mov word [eax], dx
mov ecx, dword [ebp - 0x38]
mov dx, word [ecx + 2]
mov word [eax + 6], dx
mov word [eax + 2], dx
sub eax, 8
sub dword [ebp - 0x38], 4
inc dword [ebp - 0x3c]
cmp ebx, dword [ebp - 0x3c]
jg 0x635e99
jmp 0x635fb1
cmp word [esi + 0xe], 0x18
jne 0x635f5f
mov eax, ebx
add eax, eax
lea ecx, [eax + eax*2]
mov eax, ebx
shl eax, 2
add ecx, edi
add ecx, 0xfffffffa
mov dword [ebp - 0x40], ecx
lea edx, [eax + eax*2]
add edx, edi
add edx, 0xfffffff4
mov dword [ebp - 0x44], edx
xor ecx, ecx
mov dword [ebp - 0x48], ecx
cmp ebx, dword [ebp - 0x48]
jle 0x635fb1
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov cx, word [edx]
mov word [eax + 6], cx
mov cl, byte [edx + 2]
mov byte [eax + 8], cl
add eax, 6
mov edx, dword [ebp - 0x44]
mov cx, word [eax]
mov word [edx], cx
mov cl, byte [eax + 2]
mov byte [edx + 2], cl
mov eax, dword [ebp - 0x44]
mov edx, dword [ebp - 0x40]
mov cx, word [edx + 3]
mov word [eax + 9], cx
mov cl, byte [edx + 5]
mov byte [eax + 0xb], cl
add eax, 9
mov edx, dword [ebp - 0x44]
mov cx, word [eax]
mov word [edx + 3], cx
mov cl, byte [eax + 2]
mov byte [edx + 5], cl
sub dword [ebp - 0x44], 0xc
sub dword [ebp - 0x40], 6
inc dword [ebp - 0x48]
cmp ebx, dword [ebp - 0x48]
jg 0x635f01
jmp 0x635fb1
cmp word [esi + 0xe], 0x20
jne 0x635fb1
mov eax, ebx
add eax, eax
shl eax, 2
add eax, edi
add eax, 0xfffffff8
mov dword [ebp - 0x4c], eax
mov eax, ebx
shl eax, 2
shl eax, 2
add eax, edi
add eax, 0xfffffff0
xor edx, edx
mov dword [ebp - 0x50], edx
cmp ebx, dword [ebp - 0x50]
jle 0x635fb1
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx]
mov dword [eax + 8], edx
mov dword [eax], edx
mov ecx, dword [ebp - 0x4c]
mov edx, dword [ecx + 4]
mov dword [eax + 0xc], edx
mov dword [eax + 4], edx
sub eax, 0x10
sub dword [ebp - 0x4c], 8
inc dword [ebp - 0x50]
cmp ebx, dword [ebp - 0x50]
jg 0x635f8c
mov eax, dword [ebp + 8]
cmp dword [eax + 0x20], 0
jne 0x636180
mov ecx, dword [ebp + 8]
cmp dword [ecx + 4], 6
jne 0x636180
cmp word [esi + 2], 6
jne 0x636180
cmp word [esi + 0xe], 8
jne 0x63602d
mov eax, edi
xor edx, edx
mov dword [ebp - 0x54], edx
cmp ebx, dword [ebp - 0x54]
jle 0x636180
mov cl, byte [eax + 1]
mov byte [ebp - 0x55], cl
mov dl, byte [eax + 3]
mov byte [ebp - 0x56], dl
mov cl, byte [eax + 4]
mov byte [ebp - 0x57], cl
mov dl, byte [eax + 2]
mov byte [eax + 1], dl
mov cl, byte [ebp - 0x55]
mov byte [eax + 2], cl
mov dl, byte [eax + 5]
mov byte [eax + 3], dl
mov cl, byte [ebp - 0x56]
mov byte [eax + 4], cl
mov dl, byte [ebp - 0x57]
mov byte [eax + 5], dl
add eax, 6
inc dword [ebp - 0x54]
cmp ebx, dword [ebp - 0x54]
jg 0x635fed
jmp 0x636180
cmp word [esi + 0xe], 0x10
jne 0x636094
mov eax, edi
xor ecx, ecx
mov dword [ebp - 0x5c], ecx
cmp ebx, dword [ebp - 0x5c]
jle 0x636180
mov dx, word [eax + 2]
mov word [ebp - 0x5e], dx
mov cx, word [eax + 6]
mov word [ebp - 0x60], cx
mov dx, word [eax + 8]
mov word [ebp - 0x62], dx
mov cx, word [eax + 4]
mov word [eax + 2], cx
mov dx, word [ebp - 0x5e]
mov word [eax + 4], dx
mov cx, word [eax + 0xa]
mov word [eax + 6], cx
mov dx, word [ebp - 0x60]
mov word [eax + 8], dx
mov cx, word [ebp - 0x62]
mov word [eax + 0xa], cx
add eax, 0xc
inc dword [ebp - 0x5c]
cmp ebx, dword [ebp - 0x5c]
jg 0x636044
jmp 0x636180
cmp word [esi + 0xe], 0x18
jne 0x63612c
mov eax, edi
xor edx, edx
mov dword [ebp - 0x68], edx
cmp ebx, dword [ebp - 0x68]
jle 0x636180
mov cx, word [eax + 3]
mov word [ebp - 0x6b], cx
mov cl, byte [eax + 5]
mov byte [ebp - 0x69], cl
mov dx, word [eax + 9]
mov word [ebp - 0x6e], dx
mov dl, byte [eax + 0xb]
mov byte [ebp - 0x6c], dl
mov cx, word [eax + 0xc]
mov word [ebp - 0x71], cx
mov cl, byte [eax + 0xe]
mov byte [ebp - 0x6f], cl
mov dx, word [eax + 6]
mov word [eax + 3], dx
mov dl, byte [eax + 8]
mov byte [eax + 5], dl
mov cx, word [ebp - 0x6b]
mov word [eax + 6], cx
mov cl, byte [ebp - 0x69]
mov byte [eax + 8], cl
mov dx, word [eax + 0xf]
mov word [eax + 9], dx
mov dl, byte [eax + 0x11]
mov byte [eax + 0xb], dl
mov cx, word [ebp - 0x6e]
mov word [eax + 0xc], cx
mov cl, byte [ebp - 0x6c]
mov byte [eax + 0xe], cl
mov dx, word [ebp - 0x71]
mov word [eax + 0xf], dx
mov dl, byte [ebp - 0x6f]
mov byte [eax + 0x11], dl
add eax, 0x12
inc dword [ebp - 0x68]
cmp ebx, dword [ebp - 0x68]
jg 0x6360af
jmp 0x636180
cmp word [esi + 0xe], 0x20
jne 0x636180
mov eax, edi
xor ecx, ecx
mov dword [ebp - 0x78], ecx
cmp ebx, dword [ebp - 0x78]
jle 0x636180
mov edx, dword [eax + 4]
mov dword [ebp - 0x7c], edx
mov ecx, dword [eax + 0xc]
mov dword [ebp - 0x80], ecx
mov edx, dword [eax + 0x10]
mov dword [ebp - 0x84], edx
mov ecx, dword [eax + 8]
mov dword [eax + 4], ecx
mov edx, dword [ebp - 0x7c]
mov dword [eax + 8], edx
mov ecx, dword [eax + 0x14]
mov dword [eax + 0xc], ecx
mov edx, dword [ebp - 0x80]
mov dword [eax + 0x10], edx
mov ecx, dword [ebp - 0x84]
mov dword [eax + 0x14], ecx
add eax, 0x18
inc dword [ebp - 0x78]
cmp ebx, dword [ebp - 0x78]
jg 0x63613f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8