Function at 0x453810
Capabilities:
Enumerate pe sections

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0x14]
push ebp
mov ax, word [ebx + 6]
and eax, 0x1000
test ax, ax
je 0x45383f
mov ecx, dword [esp + 0x10]
push ecx
call fcn.00453620
add esp, 4
test ax, ax
jne 0x45383f
pop ebp
mov ax, 2
pop ebx
pop ecx
ret
push 0x2f0
push 1
call fcn.00444c10
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x45385c
pop ebp
mov ax, 1
pop ebx
pop ecx
ret
push esi
push edi
push ebp
mov dword [ebp], fcn.00450750
mov dword [ebp + 4], fcn.00450f20
mov dword [ebp + 8], fcn.00451250
mov dword [ebp + 0xc], fcn.004530d0
mov dword [ebp + 0x10], 0x4b17d0
call fcn.004543b0
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
lea edi, [ebp + 0x1c8]
mov ecx, 0x17
mov esi, ebx
mov byte [ebp + 0x22e], 0
mov dword [ebp + 0x1b8], edx
add esp, 4
rep movsd dword es:[edi], dword [esi]
xor ecx, ecx
mov dword [ebp + 0x224], eax
cmp eax, ecx
mov word [ebp + 0x22a], cx
je 0x4538c7
mov byte [eax + 0x244], cl
mov byte [ebp + 0x2b0], 0
mov ax, word [ebx + 6]
mov edx, eax
mov word [ebp + 0x290], ax
and edx, 0x800
test dx, dx
je 0x4538f2
or eax, 0xffff8000
mov word [ebp + 0x290], ax
mov ax, word [ebx + 0x24]
mov dword [esp + 0x10], ecx
mov word [ebp + 0x292], ax
mov dx, word [ebx + 0x26]
mov word [ebp + 0x294], dx
mov eax, dword [ebx + 0xc]
mov dword [ebp + 0x29c], eax
mov edx, dword [ebx + 0x10]
mov dword [ebp + 0x2a0], edx
mov eax, dword [ebx + 0x14]
mov dword [ebp + 0x2a4], eax
mov dx, word [ebx + 0x18]
mov word [ebp + 0x296], dx
mov ax, word [ebx + 0x1a]
mov word [ebp + 0x298], ax
mov dx, word [ebx + 0x2e]
mov word [ebp + 0x29a], dx
mov byte [ebp + 0x2b0], 0
mov eax, dword [ebx + 8]
mov dword [ebp + 0x2ac], 1
mov dword [ebp + 0x2a8], eax
mov eax, dword [ebp + 0x210]
cmp eax, ecx
je 0x45397b
push 1
push eax
call fcn.00444c10
add esp, 8
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x18]
mov esi, dword [esp + 0x1c]
push 0x20
push ecx
mov dword [ebp + 0x1c0], esi
call fcn.004592a0
mov edi, eax
add esp, 8
test edi, edi
mov dword [esp + 0x20], edi
je 0x453a48
movsx edx, word [ebp + 0x1ca]
push esi
push edx
push ebp
push edi
call fcn.00453b10
mov esi, eax
add esp, 0x10
cmp si, 2
jne 0x453a33
cmp word [ebp + 0x1ca], 0xffff
jne 0x453a33
mov ax, word [ebx + 6]
and eax, 0x1000
test ax, ax
jne 0x453a33
xor edi, edi
call fcn.004532f0
test eax, eax
jle 0x453a2f
mov dword [esp + 0x18], edi
mov eax, dword [0x532c10]
mov ecx, dword [esp + 0x18]
mov edx, dword [ecx + eax + 0x14]
test edx, edx
je 0x453a17
cmp dword [ecx + eax], 0
je 0x453a17
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x20]
push ecx
push edi
push ebp
push edx
call fcn.00453b10
mov esi, eax
add esp, 0x10
cmp si, 2
jne 0x453a2f
mov edx, dword [esp + 0x18]
inc edi
add edx, 0x10c
mov dword [esp + 0x18], edx
call fcn.004532f0
cmp edi, eax
jl 0x4539e4
mov edi, dword [esp + 0x20]
mov eax, dword [edi + 0x204]
push edi
mov dword [esp + 0x1c], eax
call fcn.00459460
add esp, 4
jmp 0x453a4d
mov esi, 3
mov eax, dword [esp + 0x24]
test eax, eax
je 0x453a64
mov ecx, dword [ebp + 0x2ac]
mov edx, dword [esp + 0x18]
mov dword [eax + 0x20], ecx
mov dword [eax], edx
mov eax, dword [esp + 0x10]
test eax, eax
je 0x453a75
push eax
call fcn.00444e68
add esp, 4
cmp si, 4
je 0x453a81
cmp si, 0xa
jne 0x453ae8
mov bx, word [ebx + 6]
mov eax, ebx
and eax, 0x400
test ax, ax
je 0x453ae8
test bl, 1
je 0x453ad4
cmp si, 0xa
jne 0x453ac2
push 0x523d14
push 0x521240
call fcn.00445953
add esp, 8
xor esi, esi
push ebp
call fcn.00444e68
add esp, 4
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0x523ce8
push 0x521240
call fcn.00445953
add esp, 8
push ebp
xor esi, esi
call fcn.00444e68
add esp, 4
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
test si, si
je 0x453afa
mov ecx, dword [esp + 0x1c]
push ecx
call fcn.00450710
add esp, 4
push ebp
call fcn.00444e68
add esp, 4
mov ax, si
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret