Function at 0x468530
Capabilities:
Enumerate pe sections

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4eb528
push eax
mov dword fs:[0], esp
sub esp, 0x48
push ebx
push ebp
push esi
mov esi, dword [esp + 0x64]
push edi
mov ebx, ecx
push esi
call fcn.0046e070
test eax, eax
jne 0x468564
or eax, 0xffffffff
jmp 0x4689e6
lea ebp, [ebx + 0x40]
lea eax, [esp + 0x1c]
push esi
push eax
mov ecx, ebp
call fcn.00416560
mov eax, dword [esp + 0x28]
xor edi, edi
cmp eax, 5
mov dword [esp + 0x60], edi
jne 0x46858f
push 1
push esi
mov ecx, ebx
call fcn.00463af0
mov esi, eax
lea ecx, [esp + 0x1c]
mov dword [esp + 0x60], 0xffffffff
call fcn.004ba050
mov ecx, dword [ebx + 0x48]
xor eax, eax
cmp ecx, edi
jle 0x4685bd
xor ecx, ecx
mov edx, dword [ebx + 0x44]
inc eax
mov dword [ecx + edx + 0x10], edi
mov edx, dword [ebx + 0x48]
add ecx, 0x14
cmp eax, edx
jl 0x4685ab
push 0xffffffffffffffff
push edi
mov edi, dword [esp + 0x74]
mov ecx, edi
call fcn.004163d0
mov ax, word [ebx + 6]
mov dword [esp + 0x68], 0xffffffff
cmp ax, 2
jne 0x4688b8
mov eax, dword [ebx + 0x48]
mov dword [esp + 0x68], esi
cmp esi, eax
jge 0x468619
mov ecx, dword [esp + 0x68]
sub esp, 0x14
mov eax, esp
mov dword [esp + 0x2c], esp
push ecx
push eax
mov ecx, ebp
call fcn.00416560
mov ecx, edi
call fcn.00416650
mov eax, dword [esp + 0x68]
mov ecx, dword [ebx + 0x48]
inc eax
cmp eax, ecx
mov dword [esp + 0x68], eax
jl 0x4685ec
lea edx, [esp + 0x44]
push 0
push edx
mov ecx, edi
call fcn.00416560
mov eax, dword [esp + 0x50]
mov dword [esp + 0x60], 1
cmp eax, 6
jne 0x4686d3
lea eax, [esp + 0x30]
push 2
push eax
mov ecx, edi
call fcn.00416560
mov eax, dword [esp + 0x3c]
mov byte [esp + 0x60], 2
cmp eax, 6
je 0x4686c5
cmp eax, 7
je 0x4686c5
mov eax, dword [edi + 8]
mov ecx, dword [edi + 4]
sub eax, 2
add ecx, 0x14
mov dword [esp + 0x14], eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x10], 0
jmp 0x46867f
mov ecx, dword [esp + 0x68]
mov edx, dword [ecx]
push 0
call dword [edx]
mov eax, dword [esp + 0x68]
add eax, 0x14
mov dword [esp + 0x68], eax
mov eax, dword [esp + 0x10]
mov ecx, eax
dec eax
test ecx, ecx
mov dword [esp + 0x10], eax
jne 0x46867b
mov ecx, dword [esp + 0x14]
test ecx, ecx
je 0x4686c2
mov eax, dword [edi + 4]
lea edx, [ecx + ecx*4]
shl edx, 2
lea ecx, [eax + 0x28]
push edx
add eax, 0x14
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
dec dword [edi + 8]
lea ecx, [esp + 0x30]
mov byte [esp + 0x60], 1
call fcn.004ba050
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], 0xffffffff
call fcn.004ba050
mov edx, dword [edi + 4]
lea eax, [esp + 0x44]
push esi
push eax
mov ecx, ebp
mov dword [edx + 0xc], 0
call fcn.00416560
mov ecx, dword [eax + 0xc]
mov edi, 6
cmp ecx, edi
lea ecx, [esp + 0x44]
sete byte [esp + 0x68]
call fcn.004ba050
mov al, byte [esp + 0x68]
test al, al
je 0x46882b
lea ecx, [esi - 2]
lea edx, [esp + 0x44]
push ecx
push edx
mov ecx, ebp
call fcn.00416560
mov ecx, dword [eax + 0xc]
cmp ecx, 7
lea ecx, [esp + 0x44]
sete byte [esp + 0x68]
call fcn.004ba050
mov al, byte [esp + 0x68]
test al, al
je 0x4687d0
mov eax, dword [ebx + 0x44]
lea edx, [esi + esi*4]
shl edx, 2
mov ecx, edx
mov dword [esp + 0x14], edx
mov dword [eax + edx - 0x1c], edi
mov edi, dword [ebx + 0x48]
mov eax, dword [ebp + 8]
add ecx, dword [ebp + 4]
sub edi, esi
sub eax, edi
mov dword [esp + 0x68], ecx
sub eax, esi
test edi, edi
mov dword [esp + 0x18], eax
je 0x4687ad
lea edx, [edi]
mov dword [esp + 0x10], edx
jmp 0x468789
mov ecx, dword [esp + 0x68]
mov eax, dword [ecx]
push 0
call dword [eax]
mov ecx, dword [esp + 0x68]
mov eax, dword [esp + 0x10]
add ecx, 0x14
dec eax
mov dword [esp + 0x68], ecx
mov dword [esp + 0x10], eax
jne 0x468785
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x18]
test eax, eax
je 0x4688a2
mov ecx, dword [ebp + 4]
lea eax, [eax + eax*4]
shl eax, 2
add esi, edi
push eax
lea eax, [esi + esi*4]
lea eax, [ecx + eax*4]
add ecx, edx
push eax
push ecx
jmp 0x468899
mov edi, dword [ebx + 0x48]
mov eax, dword [ebp + 8]
lea ecx, [esi + 2]
sub edi, esi
sub edi, 2
sub eax, ecx
lea edx, [ecx + ecx*4]
sub eax, edi
shl edx, 2
mov esi, edx
mov dword [esp + 0x10], ecx
add esi, dword [ebp + 4]
mov dword [esp + 0x14], eax
test edi, edi
mov dword [esp + 0x18], edx
je 0x468825
lea ecx, [edi]
mov dword [esp + 0x68], ecx
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x68]
add esi, 0x14
dec eax
mov dword [esp + 0x68], eax
jne 0x468803
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4688a2
jmp 0x468882
mov edi, dword [ebx + 0x48]
mov eax, dword [ebp + 8]
lea ecx, [esi + 1]
sub edi, esi
dec edi
sub eax, ecx
lea edx, [ecx + ecx*4]
sub eax, edi
shl edx, 2
mov esi, edx
mov dword [esp + 0x10], ecx
add esi, dword [ebp + 4]
mov dword [esp + 0x14], eax
test edi, edi
mov dword [esp + 0x18], edx
je 0x46887e
lea ecx, [edi]
mov dword [esp + 0x68], ecx
mov edx, dword [esi]
push 0
mov ecx, esi
call dword [edx]
mov eax, dword [esp + 0x68]
add esi, 0x14
dec eax
mov dword [esp + 0x68], eax
jne 0x46885c
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
test eax, eax
je 0x4688a2
mov esi, dword [ebp + 4]
lea eax, [eax + eax*4]
shl eax, 2
push eax
lea eax, [ecx + edi]
lea ecx, [eax + eax*4]
lea eax, [esi + ecx*4]
add esi, edx
push eax
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [esp + 0x68], 1
sub eax, edi
mov edi, dword [esp + 0x6c]
mov dword [ebp + 8], eax
jmp 0x4688f3
cmp ax, 1
jne 0x4688c8
push esi
mov ecx, ebx
call fcn.00468a00
jmp 0x4688e5
cmp ax, 3
jne 0x4688d7
mov ecx, ebx
call fcn.004691f0
jmp 0x4688e5
cmp ax, 0x1e
jne 0x4688f3
push esi
mov ecx, ebx
call fcn.00469840
mov word [ebx + 6], 2
mov dword [esp + 0x68], 0
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
cmp eax, ecx
je 0x46894d
xor esi, esi
test eax, eax
je 0x468938
lea ecx, [eax + eax*4]
shl ecx, 2
push ecx
call sub.MFC42.DLL_operatornew
mov ecx, dword [edi + 8]
mov esi, dword [edi + 4]
mov edi, eax
add esp, 4
lea ecx, [ecx + ecx*4]
mov dword [esp + 0x18], eax
shl ecx, 2
mov edx, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x6c]
mov esi, eax
mov eax, dword [edi + 4]
push eax
call sub.MFC42.DLL_operatordelete
mov ecx, dword [edi + 8]
add esp, 4
mov dword [edi + 4], esi
mov dword [edi + 0xc], ecx
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp eax, ecx
je 0x4689a5
xor esi, esi
test eax, eax
je 0x468990
lea edx, [eax + eax*4]
shl edx, 2
push edx
call sub.MFC42.DLL_operatornew
mov ecx, dword [ebp + 8]
mov esi, dword [ebp + 4]
mov dword [esp + 0x70], eax
mov edi, eax
lea ecx, [ecx + ecx*4]
add esp, 4
shl ecx, 2
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x6c]
mov ecx, dword [ebp + 4]
push ecx
call sub.MFC42.DLL_operatordelete
mov edx, dword [ebp + 8]
add esp, 4
mov dword [ebp + 4], esi
mov dword [ebp + 0xc], edx
mov word [ebx + 0xc], 0
mov ax, word [ebx + 0x48]
dec ax
lea edx, [esp + 0x30]
mov word [ebx + 0xe], ax
mov ecx, dword [ebx + 0x48]
dec ecx
push ecx
push edx
mov ecx, ebp
call fcn.00416560
cmp dword [esp + 0x3c], 0xa
jne 0x4689d9
mov ax, word [ebx + 0x48]
sub ax, 2
mov word [ebx + 0xe], ax
lea ecx, [esp + 0x30]
call fcn.004ba050
mov eax, dword [esp + 0x68]
mov ecx, dword [esp + 0x58]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x54
ret 8