Function at 0x466970
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x20
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [edi - 0xbc]
mov dword [esp + 8], eax
mov edx, dword [eax]
mov eax, dword [ebp + 0x10]
movzx esi, word [eax + 6]
shl esi, 4
add esi, edx
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
jne 0x4669be
movzx esi, cx
shl esi, 4
add esi, edx
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4669a6
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x20000000
jne 0x4669e8
nop dword [eax]
movzx esi, cx
shl esi, 4
add esi, edx
mov ecx, dword [esi]
mov eax, ecx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x4669d0
and ecx, 0xf0000000
cmp ecx, 0x60000000
jne 0x466ddf
mov eax, dword [edi + 0x64]
mov ecx, edi
movzx eax, word [eax]
mov dword [edi + 0x7a], 0x45050015
mov word [edi + 0x78], ax
call fcn.0045b770
mov edx, dword [esi]
mov edi, dword [esp + 8]
mov dword [esp + 0x10], eax
nop dword [eax]
movzx ecx, dx
shl ecx, 4
add ecx, dword [edi]
mov dword [esp + 0x14], ecx
mov edx, dword [ecx]
mov eax, edx
and eax, 0xf0000000
cmp eax, 0x80000000
je 0x466a20
push ecx
push edi
call fcn.004677b0
mov dword [esp + 0x14], eax
mov eax, dword [ebp + 0x10]
mov dword [esp + 0x2c], 0
mov ecx, dword [eax + 8]
lea eax, [esp + 0x28]
push eax
mov eax, edi
shr ecx, 2
mov edi, dword [ebp + 8]
mov dword [esp + 0x2c], ecx
push dword [eax + 0x18]
push dword [edi + 0x54]
call fcn.004108f0
add esp, 0x14
cmp dword [eax + 4], 0xfffffffd
je 0x466de7
mov eax, dword [esp + 0x14]
mov eax, dword [eax]
shr eax, 0x1c
cmp eax, 4
jne 0x466aa0
mov eax, dword [ebp + 0xc]
mov dword [esp + 0xc], 0
mov dword [eax + 4], 0
jmp 0x466abd
test eax, eax
je 0x466ab2
cmp eax, 2
je 0x466ab2
cmp eax, 5
jne 0x466def
cmp dword [esp + 0xc], 0xa
je 0x466def
test dword [esi], 0x830000
je 0x466afa
mov eax, dword [esp + 8]
mov edx, esi
mov ecx, edi
sub edx, dword [eax]
sar edx, 4
call fcn.00451e80
mov ecx, 0x6400
movzx eax, ax
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x10]
mov word [edi + 0x78], cx
mov ecx, edi
mov word [edi + 0x7a], ax
call fcn.0045b770
mov dword [esp + 0x10], eax
push esi
push dword [esp + 0xc]
push dword [ebp + 0xc]
push edi
call fcn.00466e00
movzx ecx, ax
add esp, 0x10
mov eax, dword [esp + 0xc]
movzx eax, ax
mov word [edi + 0x78], cx
mov ecx, dword [esp + 0x10]
mov dword [esp + 8], eax
or eax, 0x6300
mov word [edi + 0x7a], cx
mov ecx, edi
mov word [edi + 0x7c], ax
call fcn.0045b770
mov edx, eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x10], edx
mov eax, dword [eax]
mov ecx, eax
and ecx, 0xf8000000
mov dword [esp + 0x1c], eax
cmp ecx, 0x8000000
jne 0x466c8a
mov edx, dword [edi + 0x54]
mov dword [esp + 0xc], edx
mov eax, dword [edx + 0x10]
mov dword [esp + 0x14], eax
mov esi, dword [eax - 4]
mov ecx, esi
and ecx, 3
jne 0x466b97
mov eax, dword [esi - 4]
and eax, 0xff000000
cmp eax, 0x1000000
jne 0x466b97
mov eax, dword [edi + 0x64]
mov edx, 0x7fff
mov dword [eax], edx
lea eax, [ecx + 1]
mov byte [edi + 0x75], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [edx + 0x14]
mov dword [esp + 8], eax
mov eax, dword [edi + 0x58]
mov dword [esp + 0x1c], eax
mov eax, dword [edi + 0x64]
mov eax, dword [eax - 4]
mov dword [esp + 0x18], eax
test ecx, ecx
jne 0x466def
cmp dword [edi + 0xb8], ecx
jle 0x466def
mov ecx, dword [esp + 0x14]
mov dword [edi + 0x58], esi
movzx edi, byte [esi - 3]
inc edi
mov dword [edx + 0x14], ecx
lea eax, [edi*8]
sub ecx, eax
lea esi, [edi*4]
mov dword [edx + 0x10], ecx
mov ecx, dword [ebp + 8]
push ecx
mov eax, dword [ecx + 0x64]
mov dword [eax - 4], 0x1007ffe
sub dword [ecx + 0x64], esi
sub dword [ecx + 0x70], edi
dec dword [ecx + 0xb8]
mov dword [ecx + 0x6c], edi
call fcn.004394d0
mov eax, dword [esp + 0x10]
add esp, 4
mov ecx, dword [esp + 0x14]
xor edx, edx
mov dword [eax + 0x10], ecx
mov ecx, dword [esp + 8]
mov dword [eax + 0x14], ecx
mov ecx, dword [ebp + 8]
add dword [ecx + 0x64], esi
mov eax, dword [ecx + 0x64]
add dword [ecx + 0x70], edi
inc dword [ecx + 0xb8]
mov edi, dword [ebp + 8]
mov dword [ecx + 0x6c], 1
mov ecx, dword [esp + 0x18]
mov dword [eax - 4], ecx
mov ecx, edi
mov eax, dword [esp + 0x1c]
mov dword [edi + 0x58], eax
call fcn.00451e80
movzx eax, ax
mov ecx, 0x990
mov word [edi + 0x7a], ax
mov edx, 0x2007ffd
mov eax, dword [edi + 0x64]
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x10]
mov word [edi + 0x78], cx
mov dword [edi + 0x130], 3
mov dword [eax], edx
mov eax, 1
mov byte [edi + 0x75], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [esp + 0xc]
cmp eax, 5
je 0x466d8e
cmp eax, 0x15
je 0x466d8e
cmp eax, 0x16
je 0x466d8e
mov ecx, dword [esp + 0x1c]
and ecx, 0xf0000000
cmp ecx, 0x50000000
je 0x466d8e
cmp eax, 0xd
je 0x466d57
cmp eax, 0x14
je 0x466d57
cmp eax, 0xf
je 0x466d20
cmp eax, 0x11
je 0x466d20
cmp eax, 0x10
je 0x466ce9
cmp eax, 0x12
jne 0x466dcb
mov eax, 0x5b13
mov word [edi + 0x78], dx
mov word [edi + 0x7c], ax
mov ecx, edi
mov eax, dword [esp + 8]
or eax, 0x260
mov word [edi + 0x7a], ax
call fcn.0045b770
mov edx, eax
mov eax, dword [edi + 0x64]
mov dword [eax], edx
mov eax, 1
mov byte [edi + 0x75], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5b13
mov word [edi + 0x78], dx
mov word [edi + 0x7c], ax
mov ecx, edi
mov eax, dword [esp + 8]
or eax, 0xa60
mov word [edi + 0x7a], ax
call fcn.0045b770
mov edx, eax
mov eax, dword [edi + 0x64]
mov dword [eax], edx
mov eax, 1
mov byte [edi + 0x75], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, 0x5b0e
mov word [edi + 0x78], dx
mov word [edi + 0x7c], ax
mov ecx, edi
mov eax, dword [esp + 8]
or eax, 0x1c0
mov word [edi + 0x7a], ax
call fcn.0045b770
mov edx, eax
mov eax, dword [edi + 0x64]
mov dword [eax], edx
mov eax, 1
mov byte [edi + 0x75], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
movzx edx, word [esi]
mov ecx, edi
call fcn.00451e80
mov ecx, 0x548a
mov word [edi + 0x78], ax
mov word [edi + 0x7c], cx
mov ecx, dword [esp + 0x10]
mov word [edi + 0x7a], cx
mov ecx, edi
call fcn.0045b770
mov edx, eax
mov eax, dword [esp + 0xc]
cmp eax, 0x15
je 0x466dc4
cmp eax, 0x16
jne 0x466dcb
mov byte [edi + 0x134], 1
mov eax, dword [edi + 0x64]
mov dword [eax], edx
mov eax, 1
mov byte [edi + 0x75], 1
pop edi
pop esi
mov esp, ebp
pop ebp
ret
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret
push 5
push edi
call fcn.00414ce0
push 0x17
push edi
call fcn.00414ce0
int3