Function at 0x536d40
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x110
push ebx
mov ebx, dword [esp + 0x118]
push ebp
push esi
mov al, byte [ebx + 4]
push edi
xor edi, edi
test al, 1
mov dword [esp + 0x10], edi
je 0x536d92
cmp dword [ebx + 0x20], edi
jne 0x536d92
mov esi, dword [esp + 0x12c]
push esi
push ebx
call fcn.00534f30
add esp, 8
test eax, eax
jne 0x536d99
lea eax, [esi + 0x3f3e]
mov dword [ebx + 0x20], 0x45
mov dword [ebx + 0x3e], eax
mov dword [esp + 0x10], 1
jmp 0x536d99
mov esi, dword [esp + 0x12c]
mov edx, dword [ebx + 0x46]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [0x7da868]
test byte [esi + 0xdf1], 0x80
je 0x536dea
cmp word [esi + 0xdf4], 0xffff
mov ax, word [esi + 0xdf2]
jne 0x536dcc
mov word [esi + 0xdf4], ax
jmp 0x536dd5
cmp ax, word [esi + 0xdf6]
je 0x536de3
mov word [esi + 0xdf6], ax
mov word [esi + 0xdfa], di
inc word [esi + 0xdfa]
mov eax, dword [ebx + 0x20]
mov ecx, dword [ebx + 0x24]
add eax, ecx
mov ecx, dword [ebx + 0x18]
lea ebp, [eax + ecx + 0x2e]
mov eax, dword [esi + 0x96]
cmp eax, 0xffffffff
mov dword [esp + 0x18], ebp
je 0x536fb8
cmp dword [esi + 0xe0c], edi
jne 0x536fb8
push esi
call fcn.00533a60
add esp, 4
cmp eax, ebp
jge 0x536e3e
mov edx, dword [esp + 0x128]
push esi
push edx
call fcn.00533aa0
add esp, 8
cmp eax, edi
jne 0x537135
inc ebp
push ebp
call fcn.0063ecc2
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x536f9b
mov dword [ebp], 0x2014b50
mov ax, word [ebx]
mov word [ebp + 4], ax
mov cx, word [ebx + 2]
mov word [ebp + 6], cx
mov dx, word [ebx + 4]
mov word [ebp + 8], dx
mov ax, word [ebx + 6]
mov word [ebp + 0xa], ax
mov ecx, dword [ebx + 8]
mov dword [ebp + 0xc], ecx
mov edx, dword [ebx + 0xc]
mov dword [ebp + 0x10], edx
mov eax, dword [ebx + 0x10]
mov dword [ebp + 0x14], eax
mov ecx, dword [ebx + 0x14]
mov dword [ebp + 0x18], ecx
mov dx, word [ebx + 0x18]
mov word [ebp + 0x1c], dx
mov ax, word [ebx + 0x20]
mov word [ebp + 0x1e], ax
mov cx, word [ebx + 0x24]
mov word [ebp + 0x20], cx
mov dx, word [ebx + 0x28]
mov word [ebp + 0x22], dx
mov ax, word [ebx + 0x2a]
mov word [ebp + 0x24], ax
mov ecx, dword [ebx + 0x2e]
mov dword [ebp + 0x26], ecx
mov edx, dword [ebx + 0x32]
mov dword [ebp + 0x2a], edx
mov ecx, dword [ebx + 0x18]
mov eax, ecx
lea esi, [esp + 0x1c]
lea edi, [ebp + 0x2e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jbe 0x536efb
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x3e]
mov eax, ecx
lea edi, [edx + ebp + 0x2e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x536f1f
mov edx, dword [ebx + 0x20]
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x42]
add edx, ebp
lea edi, [edx + eax + 0x2e]
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x12c]
mov esi, dword [esp + 0x18]
lea eax, [esp + 0x14]
push 0
mov edx, dword [ecx + 0x96]
push eax
push esi
push ebp
push edx
call dword [0x7da4bc]
test eax, eax
je 0x536f73
cmp dword [esp + 0x14], esi
jne 0x536f73
push ebp
call fcn.0063ed8c
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x537109
pop edi
pop esi
mov dword [ebx + 0x3e], 0
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x536f82
mov dword [ebx + 0x3e], 0
push ebp
call fcn.0063ed8c
add esp, 4
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret
cmp dword [esp + 0x10], edi
je 0x537130
mov dword [ebx + 0x3e], edi
pop edi
pop esi
pop ebp
mov eax, 0xa
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x128]
push esi
push ebp
push eax
push edi
call fcn.005332d0
add esp, 0x10
test eax, eax
je 0x536fe9
mov eax, dword [esi + 0x8e]
pop edi
neg eax
sbb eax, eax
pop esi
and al, 0xf6
pop ebp
add eax, 0x13
pop ebx
add esp, 0x110
ret
inc ebp
push ebp
call fcn.0063ecc2
mov ebp, eax
add esp, 4
cmp ebp, edi
je 0x537127
mov dword [ebp], 0x2014b50
mov cx, word [ebx]
mov word [ebp + 4], cx
mov dx, word [ebx + 2]
mov word [ebp + 6], dx
mov ax, word [ebx + 4]
mov word [ebp + 8], ax
mov cx, word [ebx + 6]
mov word [ebp + 0xa], cx
mov edx, dword [ebx + 8]
mov dword [ebp + 0xc], edx
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0x10], eax
mov ecx, dword [ebx + 0x10]
mov dword [ebp + 0x14], ecx
mov edx, dword [ebx + 0x14]
mov dword [ebp + 0x18], edx
mov ax, word [ebx + 0x18]
mov word [ebp + 0x1c], ax
mov cx, word [ebx + 0x20]
mov word [ebp + 0x1e], cx
mov dx, word [ebx + 0x24]
mov word [ebp + 0x20], dx
mov ax, word [ebx + 0x28]
mov word [ebp + 0x22], ax
mov cx, word [ebx + 0x2a]
mov word [ebp + 0x24], cx
mov edx, dword [ebx + 0x2e]
mov dword [ebp + 0x26], edx
mov eax, dword [ebx + 0x32]
mov dword [ebp + 0x2a], eax
mov ecx, dword [ebx + 0x18]
mov edx, ecx
lea esi, [esp + 0x1c]
lea edi, [ebp + 0x2e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x20]
test ecx, ecx
jbe 0x5370a6
mov eax, dword [ebx + 0x18]
mov esi, dword [ebx + 0x3e]
mov edx, ecx
lea edi, [eax + ebp + 0x2e]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 0x24]
test ecx, ecx
jbe 0x5370ca
mov eax, dword [ebx + 0x20]
mov edx, dword [ebx + 0x18]
mov esi, dword [ebx + 0x42]
add eax, ebp
lea edi, [eax + edx + 0x2e]
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edx, dword [esp + 0x128]
mov esi, dword [esp + 0x18]
lea ecx, [esp + 0x14]
push 0
mov eax, dword [edx]
push ecx
push esi
push ebp
push eax
call dword [0x7da4bc]
test eax, eax
je 0x537116
cmp dword [esp + 0x14], esi
jne 0x537116
push ebp
call fcn.0063ed8c
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
je 0x537109
mov dword [ebx + 0x3e], 0
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x110
ret
mov eax, dword [esp + 0x10]
test eax, eax
je 0x536f82
jmp 0x536f7b
cmp dword [esp + 0x10], edi
je 0x537130
mov dword [ebx + 0x3e], edi
mov eax, 0xa
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret