Function at 0x433940
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x14
push ebp
push esi
mov esi, dword [esp + 0x24]
xor ebp, ebp
push edi
mov edi, dword [esp + 0x3c]
mov eax, dword [esi + 0x54]
mov dword [esp + 0xc], ecx
cmp eax, ebp
mov dword [esp + 0x10], ebp
jle 0x433ae6
push ebx
mov ebx, dword [esp + 0x3c]
mov eax, dword [esp + 0x30]
mov ecx, dword [eax]
mov edx, dword [eax + 4]
mov eax, dword [eax + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esi + 0x5c]
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x50]
mov dword [esp + 0x20], eax
lea eax, [ecx + ebp]
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [eax + 0x14]
push ecx
mov ecx, dword [eax + 0x10]
push edx
xor edx, edx
mov dx, word [eax + 2]
push ecx
mov ecx, dword [esp + 0x30]
lea eax, [esp + 0x38]
push edx
push eax
push esi
call fcn.00433810
mov ecx, dword [edi]
mov word [ebx + ecx*2], ax
mov edx, dword [esi + 0x5c]
mov ecx, dword [esp + 0x50]
lea eax, [edx + ebp]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [eax + 0x1c]
push edx
mov edx, dword [eax + 0x18]
push ecx
xor ecx, ecx
mov cx, word [eax + 4]
push edx
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push esi
call fcn.00433810
mov ecx, dword [edi]
mov word [ebx + ecx*2 + 2], ax
mov edx, dword [esi + 0x5c]
mov ecx, dword [esp + 0x50]
lea eax, [edx + ebp]
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x4c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x44]
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [eax + 0x24]
push edx
mov edx, dword [eax + 0x20]
push ecx
push edx
xor ecx, ecx
lea edx, [esp + 0x38]
mov cx, word [eax + 6]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push esi
call fcn.00433810
mov ecx, dword [edi]
mov word [ebx + ecx*2 + 4], ax
mov edx, dword [esi + 0x5c]
test byte [edx + ebp], 0x80
mov eax, dword [edi]
jne 0x433ac9
mov cx, word [ebx + eax*2]
mov word [ebx + eax*2 + 6], cx
mov eax, dword [edi]
mov ecx, dword [esp + 0x50]
mov dx, word [ebx + eax*2 + 4]
push ecx
mov ecx, dword [esp + 0x4c]
mov word [ebx + eax*2 + 8], dx
mov edx, dword [esp + 0x50]
mov eax, dword [esi + 0x5c]
push edx
mov edx, dword [esp + 0x4c]
push ecx
mov ecx, dword [esp + 0x44]
add eax, ebp
push edx
mov edx, dword [esp + 0x44]
push ecx
mov ecx, dword [eax + 0x2c]
push edx
mov edx, dword [eax + 0x28]
push ecx
xor ecx, ecx
push edx
mov cx, word [eax + 8]
lea edx, [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x34]
push edx
push esi
call fcn.00433810
mov ecx, dword [edi]
mov word [ebx + ecx*2 + 0xa], ax
mov eax, dword [edi]
add eax, 6
jmp 0x433acc
add eax, 3
mov dword [edi], eax
mov eax, dword [esp + 0x14]
mov ecx, dword [esi + 0x54]
inc eax
add ebp, 0x30
cmp eax, ecx
mov dword [esp + 0x14], eax
jl 0x433968
pop ebx
mov edx, dword [esp + 0x44]
mov eax, dword [edi]
pop edi
pop esi
cmp eax, edx
pop ebp
jle 0x433b00
push str.Index_Cache_overflow_increase_RSEGMENTCACHE_INDEX_MAX
call fcn.00431ca0
add esp, 4
add esp, 0x14
ret 0x2c