Function at 0x446510
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
mov eax, dword [esp + 0x24]
push ebx
push ebp
push esi
mov ecx, dword [eax + 0x208]
push edi
mov edi, dword [eax]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edi
test byte [edi + 0xc], 1
je 0x44653b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x3c]
mov ebp, dword [esp + 0x38]
mov ebx, dword [ebp + 8]
lea esi, [eax*8]
sub esi, eax
mov eax, dword [esp + 0x40]
shl esi, 3
test eax, eax
mov edx, dword [esi + ebx + 0x20]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x28], edx
mov edx, dword [esi + ebx + 0x18]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], edx
je 0x446580
test eax, eax
je 0x446594
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
test eax, eax
je 0x446594
cmp word [ebx], 1
jle 0x446594
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov ecx, dword [edx + 0x28]
mov eax, dword [edx + 8]
test ecx, ecx
je 0x4465ae
cmp dword [ebp + 0x28], 0
je 0x4465ae
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
cmp dword [edx + 0x2c], 0
je 0x4465be
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
cmp dword [ebp + 0x24], 0
je 0x4465d2
test ecx, ecx
je 0x4465d2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
cmp word [eax], 0
jne 0x4465e2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
test byte [edx + 6], 1
je 0x4465f2
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
test ecx, ecx
je 0x44660e
cmp word [ebx], 1
jg 0x446604
mov eax, dword [esp + 0x40]
test eax, eax
je 0x44660e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov ax, word [ebp + 6]
and ax, 1
mov word [esp + 0x38], ax
je 0x44662f
mov eax, dword [esp + 0x44]
test eax, eax
je 0x44662f
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x446647
mov eax, dword [edx + 0x18]
test eax, eax
je 0x446647
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x40]
test eax, eax
je 0x446660
mov eax, dword [edx + 0x18]
test eax, eax
je 0x446660
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
test ecx, ecx
je 0x44668b
mov eax, dword [ebp + 0xc]
test eax, eax
je 0x446675
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
test ecx, ecx
je 0x44668b
cmp word [esp + 0x38], 0
je 0x44668b
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov cl, byte [esi + ebx + 0x1d]
lea eax, [esi + ebx + 0x1d]
test cl, 0x20
mov dword [esp + 0x24], eax
je 0x4466a6
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [edx + 0x1c]
test eax, eax
je 0x446724
mov eax, dword [edx + 0x18]
test eax, eax
je 0x4466be
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x20
ret
mov eax, dword [esp + 0x40]
test eax, eax
jne 0x4466b4
cmp word [esp + 0x38], 0
jne 0x4466b4
cmp word [ebx], 1
jne 0x4466b4
test edx, edx
mov eax, edx
je 0x446701
mov dl, 5
test byte [eax + 6], dl
jne 0x4466b4
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x4466ee
cmp byte [eax + 4], 0x71
jne 0x4466b4
mov eax, dword [eax + 8]
test eax, eax
je 0x4466b4
cmp word [eax], 1
jne 0x4466b4
mov eax, ecx
test eax, eax
jne 0x4466dc
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x446724
mov edx, dword [eax]
xor ecx, ecx
test edx, edx
jle 0x446724
mov eax, dword [eax + 0xc]
add eax, 0xe
cmp word [eax], 0
je 0x4466b4
inc ecx
add eax, 0x14
cmp ecx, edx
jl 0x446716
mov eax, dword [esp + 0x34]
mov ecx, dword [esi + ebx + 0xc]
push 0
push 0
push 0
push 0x15
push eax
mov dword [eax + 0x208], ecx
call fcn.00437f50
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x30]
mov ecx, dword [esp + 0x24]
add esp, 0x14
mov dword [eax + 0x208], edx
mov eax, dword [ecx + 0x1c]
test eax, eax
mov dword [esp + 0x10], eax
je 0x4467d7
mov eax, dword [ebp + 0x1c]
mov edx, dword [ebp + 0x28]
mov esi, dword [ebp + 0x18]
mov dword [esp + 0x38], eax
xor eax, eax
mov dword [esp + 0x1c], edx
push eax
push ebp
push edi
mov dword [ebp + 0x18], eax
mov dword [ebp + 8], eax
mov dword [ebp + 0x1c], eax
mov dword [ebp + 0x28], eax
call fcn.00437830
mov ecx, dword [esp + 0x28]
add esp, 0xc
test eax, eax
mov dword [ebp + 0x28], ecx
mov dword [ebp + 0x18], esi
mov dword [ebp + 8], ebx
mov byte [ebp + 4], 0x71
mov dword [ebp + 0x24], 0
jne 0x4467ac
mov eax, dword [esp + 0x38]
jmp 0x4467ba
mov edx, dword [esp + 0x38]
mov dword [eax + 0x24], 0
mov dword [eax + 0x1c], edx
mov dword [ebp + 0x1c], eax
mov al, byte [edi + 0x1e]
test al, al
jne 0x446af3
mov eax, dword [esp + 0x10]
mov eax, dword [eax + 0x1c]
test eax, eax
mov dword [esp + 0x10], eax
jne 0x446760
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + ebx + 8]
mov esi, dword [eax + ebx + 0x18]
push ecx
push edi
mov dword [esp + 0x34], esi
mov dword [esp + 0x18], esi
call fcn.00408e50
mov edx, dword [esp + 0x1c]
mov eax, dword [edx + ebx + 0xc]
push eax
push edi
call fcn.00408e50
mov ecx, dword [esp + 0x24]
mov edx, dword [ecx + ebx + 0x10]
push edx
push edi
call fcn.00408e50
mov eax, dword [esp + 0x2c]
xor ecx, ecx
add esp, 0x18
mov dword [eax + ebx + 8], ecx
mov dword [eax + ebx + 0xc], ecx
mov dword [eax + ebx + 0x10], ecx
mov dword [eax + ebx + 0x18], ecx
lea ebx, [eax + ebx + 0x14]
mov eax, dword [ebx]
cmp eax, ecx
je 0x446869
mov cx, word [eax + 0x20]
cmp cx, 1
jne 0x44685e
mov edx, dword [esp + 0x34]
mov ecx, dword [edx + 0x1a8]
test ecx, ecx
jne 0x44684d
mov ecx, edx
mov edx, dword [ecx + 0x224]
mov dword [eax + 0x48], edx
mov dword [ecx + 0x224], eax
jmp 0x446863
dec ecx
mov word [eax + 0x20], cx
mov dword [ebx], 0
test ebp, ebp
je 0x446ae5
mov eax, dword [esi + 8]
mov ebx, dword [ebp + 8]
mov dword [esp + 0x1c], eax
mov byte [esp + 0x34], 0
movsx eax, word [eax]
test ebx, ebx
mov dword [esp + 0x38], eax
je 0x446897
mov ecx, dword [esp + 0x24]
mov dl, byte [ecx]
mov byte [esp + 0x34], dl
jmp 0x4468b3
push 0
push 0
push 0
push edi
call fcn.0043b030
mov ebx, eax
add esp, 0x10
test ebx, ebx
mov dword [ebp + 8], eax
je 0x446ae5
cmp dword [esp + 0x38], 1
jle 0x4468e0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x38]
inc eax
dec ecx
push eax
push ecx
push ebx
push edi
call fcn.0043b0d0
mov ebx, eax
add esp, 0x10
mov dword [ebp + 8], ebx
mov al, byte [edi + 0x1e]
test al, al
jne 0x446ae5
mov eax, dword [esp + 0x38]
test eax, eax
jle 0x44695b
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x14]
add edx, 8
mov dword [esp + 0x1c], edx
mov edx, dword [esp + 0x38]
lea ecx, [eax + ebx + 8]
mov dword [esp + 0x38], edx
mov dword [esp + 0x18], ecx
mov edi, dword [esp + 0x18]
mov ecx, dword [esp + 0x20]
mov eax, dword [edi + 0x20]
push eax
push ecx
call fcn.0042d3c0
mov esi, dword [esp + 0x24]
mov edx, dword [esp + 0x24]
mov ecx, 0xe
xor eax, eax
rep movsd dword es:[edi], dword [esi]
mov esi, dword [esp + 0x20]
mov ecx, 0xe
mov edi, edx
add esp, 8
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x38]
add esi, 0x38
add edx, 0x38
dec eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edx
mov dword [esp + 0x38], eax
jne 0x446907
mov esi, dword [esp + 0x10]
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
mov al, byte [esp + 0x34]
mov byte [edx + ebx + 0x1d], al
mov ebx, dword [ebp]
xor eax, eax
mov ecx, dword [ebx]
mov dword [esp + 0x38], eax
cmp ecx, eax
jle 0x4469bc
mov dword [esp + 0x34], eax
mov ecx, dword [ebx + 0xc]
add eax, ecx
mov ecx, dword [eax + 4]
test ecx, ecx
jne 0x4469a2
mov eax, dword [eax + 8]
test eax, eax
je 0x4469a2
push eax
push edi
call fcn.004199d0
mov edx, dword [ebx + 0xc]
mov ecx, dword [esp + 0x3c]
add esp, 8
mov dword [ecx + edx + 4], eax
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x34]
mov edx, dword [ebx]
inc ecx
add eax, 0x14
cmp ecx, edx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x34], eax
jl 0x44697a
mov edx, dword [esi]
mov ebx, dword [esp + 0x28]
mov eax, dword [ebp]
push edx
push ebx
push eax
push edi
call fcn.00446be0
mov eax, dword [esp + 0x50]
add esp, 0x10
test eax, eax
je 0x4469fb
mov ecx, dword [esi]
mov edx, dword [ebp + 0x10]
push ecx
push ebx
push edx
push edi
call fcn.00446be0
mov eax, dword [esi]
mov ecx, dword [ebp + 0x14]
push eax
push ebx
push ecx
push edi
call fcn.00446b00
add esp, 0x20
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x18]
test eax, eax
je 0x446a0e
mov dword [ebp + 0x18], eax
mov dword [esi + 0x18], 0
jmp 0x446a23
mov eax, dword [ebp + 0x18]
test eax, eax
je 0x446a23
mov edx, dword [esi]
push edx
push ebx
push eax
push edi
call fcn.00446be0
add esp, 0x10
mov eax, dword [esi + 0xc]
test eax, eax
je 0x446a3c
push 0
push eax
push edi
call fcn.004373a0
add esp, 0xc
mov dword [esp + 0x34], eax
jmp 0x446a44
mov dword [esp + 0x34], 0
mov eax, dword [esp + 0x44]
test eax, eax
je 0x446a95
mov eax, dword [ebp + 0xc]
mov ecx, dword [esp + 0x34]
mov dword [ebp + 0x14], eax
mov dword [ebp + 0xc], ecx
mov edx, dword [esi]
push edx
push ebx
push eax
push edi
call fcn.00446b00
mov dword [ebp + 0x14], eax
mov ecx, dword [esi + 0x14]
push 0
push ecx
push edi
call fcn.004373a0
mov edx, dword [ebp + 0x14]
push eax
push edx
push edi
call fcn.00438eb0
mov dword [ebp + 0x14], eax
mov eax, dword [esi + 0x10]
push 0
push eax
push edi
call fcn.00437740
add esp, 0x34
mov dword [ebp + 0x10], eax
jmp 0x446ab8
mov ecx, dword [esi]
mov edx, dword [ebp + 0xc]
push ecx
push ebx
push edx
push edi
call fcn.00446b00
mov ecx, dword [esp + 0x44]
mov dword [ebp + 0xc], eax
push ecx
push eax
push edi
call fcn.00438eb0
add esp, 0x1c
mov dword [ebp + 0xc], eax
mov dl, byte [esi + 6]
and edx, 1
or word [ebp + 6], dx
mov eax, dword [esi + 0x28]
test eax, eax
je 0x446ad3
mov dword [ebp + 0x28], eax
mov dword [esi + 0x28], 0
mov ebp, dword [ebp + 0x1c]
mov esi, dword [esi + 0x1c]
test ebp, ebp
mov dword [esp + 0x10], esi
jne 0x446871
mov eax, dword [esp + 0x2c]
push eax
push edi
call fcn.0042d290
add esp, 8
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x20
ret