Function at 0x43d510
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 8], 0
call fcn.004367c0
cmp dword [ebp + 0xc], 0
mov byte [ebp - 1], al
jbe 0x43d7ad
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 8]
jmp 0x43d543
mov al, byte [ebp - 1]
test al, al
je 0x43d54c
movzx ebx, word [edi]
jmp 0x43d556
mov cx, word [edi]
rol cx, 8
movzx ebx, cx
test al, al
je 0x43d563
movzx edx, word [edi + 2]
mov dword [ebp + 0x14], edx
jmp 0x43d571
mov ax, word [edi + 2]
rol ax, 8
movzx ecx, ax
mov dword [ebp + 0x14], ecx
cmp byte [ebp + 0x18], 0
je 0x43d59c
mov edx, dword [esi]
mov edx, dword [edx + 0x34]
movzx eax, bx
push eax
push str.ExtraHeaderId
mov ecx, esi
call edx
movzx ecx, word [ebp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push ecx
push str.ExtraHeaderLen
mov ecx, esi
call edx
add dword [ebp - 8], 4
cmp bx, 1
jne 0x43d673
mov ecx, dword [ebp + 0x14]
mov eax, dword [ebp + 0x10]
cmp cx, 8
jb 0x43d5ee
movzx edx, byte [edi + 4]
mov byte [eax + 0x30], dl
movzx edx, byte [edi + 5]
mov byte [eax + 0x31], dl
movzx edx, byte [edi + 6]
mov byte [eax + 0x32], dl
movzx edx, byte [edi + 7]
mov byte [eax + 0x33], dl
movzx edx, byte [edi + 8]
mov byte [eax + 0x34], dl
movzx edx, byte [edi + 9]
mov byte [eax + 0x35], dl
movzx edx, byte [edi + 0xa]
mov byte [eax + 0x36], dl
movzx edx, byte [edi + 0xb]
mov byte [eax + 0x37], dl
cmp cx, 0x10
jb 0x43d62c
movzx edx, byte [edi + 0xc]
mov byte [eax + 0x28], dl
movzx edx, byte [edi + 0xd]
mov byte [eax + 0x29], dl
movzx edx, byte [edi + 0xe]
mov byte [eax + 0x2a], dl
movzx edx, byte [edi + 0xf]
mov byte [eax + 0x2b], dl
movzx edx, byte [edi + 0x10]
mov byte [eax + 0x2c], dl
movzx edx, byte [edi + 0x11]
mov byte [eax + 0x2d], dl
movzx edx, byte [edi + 0x12]
mov byte [eax + 0x2e], dl
movzx edx, byte [edi + 0x13]
mov byte [eax + 0x2f], dl
cmp cx, 0x18
jb 0x43d791
movzx ecx, byte [edi + 0x14]
mov byte [eax + 0x38], cl
movzx edx, byte [edi + 0x15]
mov byte [eax + 0x39], dl
movzx ecx, byte [edi + 0x16]
mov byte [eax + 0x3a], cl
movzx edx, byte [edi + 0x17]
mov byte [eax + 0x3b], dl
movzx ecx, byte [edi + 0x18]
mov byte [eax + 0x3c], cl
movzx edx, byte [edi + 0x19]
mov byte [eax + 0x3d], dl
movzx ecx, byte [edi + 0x1a]
mov byte [eax + 0x3e], cl
movzx edx, byte [edi + 0x1b]
mov byte [eax + 0x3f], dl
jmp 0x43d791
mov eax, 0x7075
cmp bx, ax
jne 0x43d6d3
mov ebx, dword [ebp + 0x1c]
test ebx, ebx
je 0x43d791
add ebx, 0xc8
mov ecx, ebx
call fcn.00405ea0
movzx ecx, word [ebp + 0x14]
sub ecx, 5
push ecx
lea edx, [edi + 9]
push edx
mov ecx, ebx
call fcn.00406390
cmp byte [ebp + 0x18], 0
je 0x43d791
mov eax, dword [esi]
mov ecx, ebx
mov dword [ebp + 8], eax
call fcn.00405cb0
push eax
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x28]
push str.unicodeFilename
mov ecx, esi
call eax
jmp 0x43d791
cmp bx, 0x17
jne 0x43d791
cmp byte [ebp + 0x18], 0
je 0x43d6f1
mov edx, dword [esi]
mov eax, dword [edx + 0x14]
push str.Strong_Encryption_Header__0x0017_
mov ecx, esi
call eax
cmp byte [ebp - 1], 0
je 0x43d70f
movzx edx, word [edi + 6]
movzx ecx, word [edi + 8]
movzx eax, word [edi + 4]
movzx ebx, word [edi + 0xa]
mov dword [ebp + 8], edx
mov dword [ebp - 0xc], ecx
jmp 0x43d741
mov cx, word [edi + 4]
rol cx, 8
movzx eax, cx
mov cx, word [edi + 6]
rol cx, 8
movzx edx, cx
mov dword [ebp + 8], edx
mov dx, word [edi + 8]
rol dx, 8
movzx ecx, dx
mov dx, word [edi + 0xa]
rol dx, 8
mov dword [ebp - 0xc], ecx
movzx ebx, dx
cmp byte [ebp + 0x18], 0
je 0x43d791
mov edx, dword [esi]
mov edx, dword [edx + 0x2c]
movzx eax, ax
push eax
push str.Format
mov ecx, esi
call edx
movzx ecx, word [ebp + 8]
mov eax, dword [esi]
mov edx, dword [eax + 0x34]
push ecx
push str.AlgId
mov ecx, esi
call edx
movzx ecx, word [ebp - 0xc]
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
push ecx
push str.Bitlen
mov ecx, esi
call edx
mov eax, dword [esi]
mov edx, dword [eax + 0x2c]
movzx ecx, bx
push ecx
push str.Flags
mov ecx, esi
call edx
movzx eax, word [ebp + 0x14]
mov ecx, dword [ebp - 8]
add ecx, eax
mov dword [ebp - 8], ecx
lea edi, [edi + eax + 4]
cmp ecx, dword [ebp + 0xc]
jb 0x43d540
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x18