Function at 0x45a0d0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff0
sub esp, 0x74
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
xor edi, edi
cmp word [esi + 4], di
je 0x45a0ec
add word [esi + 6], 1
mov ecx, dword [esi + 0xc]
mov eax, dword [ecx]
mov eax, dword [eax + 0x2c]
lea edx, [esp + 0x38]
push edx
call eax
mov ecx, dword [esi + 0x10]
cmp ecx, edi
mov eax, dword [esi + 0x14]
mov edx, dword [esi + 0x18]
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], eax
mov dword [esp + 0x58], edx
je 0x45a11e
mov dword [esp + 0x5c], ecx
mov cx, word [ecx + 0x10]
jmp 0x45a12b
mov ecx, dword [esp + 0x48]
mov dword [esp + 0x5c], ecx
mov cx, word [esp + 0x4c]
mov word [esp + 0x60], cx
mov cl, byte [esi + 0x1c]
mov bl, 7
mov byte [esp + 0x63], cl
cmp byte [eax + 0xd8], bl
je 0x45a16f
cmp byte [edx + 0xd8], bl
je 0x45a169
mov ecx, dword [eax + 0xb8]
cmp ecx, dword [edx + 0xb8]
je 0x45a169
push edx
mov edx, dword [eax + 8]
push eax
push edx
call fcn.0044a340
mov eax, dword [esp + 0x60]
add esp, 0xc
cmp byte [eax + 0xd8], bl
sete al
mov byte [esp + 0x6a], al
movzx eax, al
mov ebx, dword [esp + eax*4 + 0x54]
mov eax, dword [ebx + 0xb8]
mov dword [esi + 8], eax
add dword [eax + 0x1c], 1
mov ecx, dword [esp + 0x5c]
movzx eax, word [ecx]
cmp eax, 1
mov dword [esp + 0x28], ebx
mov byte [esp + 0x6b], 1
mov byte [esp + 0x62], 0
jne 0x45a1d6
mov ecx, dword [esi + 0xc]
mov byte [esp + 0x62], 2
mov edx, dword [ecx]
mov edx, dword [edx + 0x24]
lea eax, [esp + 0x1b]
push eax
call edx
cmp byte [eax], 0
je 0x45a1c2
or byte [esp + 0x62], 4
mov eax, dword [esi]
mov edx, dword [eax + 0x18]
mov ecx, esi
call edx
test eax, eax
sete al
mov byte [esp + 0x6b], al
jmp 0x45a1e0
cmp eax, 0x14
jne 0x45a1e0
mov byte [esp + 0x62], 2
mov eax, dword [esi + 0x10]
cmp eax, edi
je 0x45a1f9
lea ecx, [esp + 0x38]
push ecx
push eax
call fcn.00464d50
add esp, 8
or byte [esp + 0x62], al
mov ecx, dword [esi + 8]
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x54]
push esi
mov word [esp + 0x6e], di
mov word [esp + 0x70], di
mov word [esp + 0x6c], di
mov dword [esi + 0x28], edx
call fcn.0044b870
movzx eax, word [ebx + 0x9c]
add ebx, 0x98
movzx ecx, ax
xor edx, edx
cmp ecx, edi
mov dword [esp + 0x20], eax
mov dword [esp + 0x1c], edx
jle 0x45a291
mov edi, dword [ebx]
add edi, 0x13
mov al, byte [edi]
mov cl, byte [esp + 0x63]
cmp al, cl
ja 0x45a289
jne 0x45a27a
mov ecx, dword [edi - 0xf]
mov eax, dword [ecx + 0xc0]
mov ecx, dword [esp + 0x54]
mov ecx, dword [ecx + 0xc0]
cmp eax, ecx
ja 0x45a289
jne 0x45a27a
mov eax, dword [edi - 0xb]
mov ecx, dword [eax + 0xc0]
mov eax, dword [esp + 0x58]
cmp ecx, dword [eax + 0xc0]
ja 0x45a289
movzx eax, word [esp + 0x20]
add edx, 1
add edi, 0x30
cmp edx, eax
jl 0x45a240
mov eax, dword [esp + 0x20]
mov dword [esp + 0x1c], edx
mov cx, word [ebx + 6]
and cx, 0x3fff
cmp ax, cx
lea eax, [esp + 0x50]
push eax
sbb edi, edi
push edx
mov ecx, ebx
and edi, edx
call fcn.0045a580
movzx ecx, word [ebx + 4]
cmp edi, ecx
mov edx, edi
jge 0x45a2d8
lea ecx, [edi + edi*2]
shl ecx, 4
mov edi, edi
mov eax, dword [ebx]
mov edi, dword [eax + ecx]
add eax, ecx
mov dword [edi + 0x28], eax
movzx eax, word [ebx + 4]
add edx, 1
add ecx, 0x30
cmp edx, eax
jl 0x45a2c0
mov edi, dword [esi + 0x28]
mov ecx, dword [edi]
mov ecx, dword [ecx + 0xc]
mov edx, dword [ecx]
mov edx, dword [edx + 0x14]
lea eax, [esp + 0x30]
push eax
movzx eax, byte [esi + 0x1d]
push eax
mov dword [esp + 0x28], edi
call edx
mov eax, dword [esp + 0x30]
add eax, 0xf
and eax, 0xfffffff0
mov dword [esp + 0x30], eax
mov word [edi + 0x20], ax
je 0x45a46d
mov edi, dword [esp + 0x28]
mov ecx, dword [edi + 0xac]
mov esi, dword [edi + 0xb0]
mov edx, dword [edi + 0xb4]
add edi, 0xac
mov dword [esp + 0x28], ecx
lea ecx, [esi + eax]
and edx, 0x3fffffff
cmp edx, ecx
jge 0x45a34a
push 1
push ecx
push edi
call fcn.004026b0
mov eax, dword [esp + 0x3c]
add esp, 0xc
add esi, eax
mov eax, dword [esp + 0x1c]
mov dword [edi + 4], esi
mov esi, dword [edi]
mov edx, esi
sub edx, dword [esp + 0x28]
test eax, eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x28], 0
jle 0x45a39f
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov eax, dword [ebx]
add eax, dword [esp + 0x1c]
mov ecx, dword [eax + 0x1c]
test ecx, ecx
je 0x45a393
movzx esi, word [eax + 0x20]
add ecx, edx
mov dword [eax + 0x1c], ecx
add esi, ecx
add dword [esp + 0x1c], 0x30
sub dword [esp + 0x24], 1
jne 0x45a37b
mov eax, dword [esp + 0x20]
movzx eax, word [eax + 0x20]
mov ecx, dword [edi + 4]
sub ecx, eax
sub ecx, esi
add ecx, dword [edi]
add eax, esi
push ecx
push esi
push eax
call fcn.00406230
mov eax, dword [esp + 0x2c]
movzx edx, word [eax + 0x20]
mov ecx, dword [esp + 0x34]
mov edi, dword [esp + 0x38]
mov dword [eax + 0x1c], esi
movzx eax, word [ebx + 4]
add ecx, 1
add esp, 0xc
add edi, edx
cmp ecx, eax
jge 0x45a406
lea esi, [ecx + ecx*2]
shl esi, 4
mov eax, dword [ebx]
mov edx, dword [eax + esi + 0x1c]
add eax, esi
test edx, edx
je 0x45a3f3
add edx, edi
jmp 0x45a3f5
xor edx, edx
mov dword [eax + 0x1c], edx
movzx edx, word [ebx + 4]
add ecx, 1
add esi, 0x30
cmp ecx, edx
jl 0x45a3e3
mov esi, dword [ebp + 0xc]
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
mov ecx, dword [eax + 0xc]
movzx eax, word [edi + 0x20]
mov edx, dword [ecx]
mov edx, dword [edx + 0x1c]
push eax
mov eax, dword [edi + 0x1c]
push eax
push esi
call edx
movzx eax, byte [edi + 0x1a]
mov ecx, 2
sub ecx, eax
mov eax, dword [edi + ecx*4]
mov dx, word [eax + 0xa4]
mov word [edi + 0x22], dx
lea edi, [eax + 0xa0]
mov eax, dword [edi + 8]
and eax, 0x3fffffff
cmp dword [edi + 4], eax
jne 0x45a45a
push 4
push edi
call fcn.00402730
add esp, 8
mov ecx, dword [edi + 4]
mov edx, dword [edi]
mov dword [edx + ecx*4], esi
add dword [edi + 4], 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov dword [edi + 0x1c], 0
jmp 0x45a40d