Function at 0x45ee80
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push edi
mov edi, dword [esp + 0x28]
test edi, edi
je 0x45f2fe
test dword [edi], 0x8000
je 0x45f2fe
mov edx, dword [edi + 8]
movzx eax, word [edx + 0xc]
test ax, ax
je 0x45f2fe
mov edx, dword [edx + 4]
mov dword [esp + 4], edx
mov dword [esp + 0x1c], edx
mov dword [esp + 0x18], 0
push ebx
push ebp
mov ebp, eax
mov eax, dword [0x7ee410]
movzx ecx, bp
mov dword [esp + 0x14], ebp
push esi
mov ecx, dword [eax + ecx*4]
mov dword [esp + 0x14], ecx
test edx, edx
je 0x45ef05
lea eax, [edx*8]
push eax
push 0
push eax
call fcn.00470460
add esp, 4
push eax
call fcn.004dc1a0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jmp 0x45ef0d
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x3c], 0
je 0x45efb1
movzx eax, word [ecx + 0x3e]
test ax, ax
je 0x45efb1
mov esi, dword [ecx + 0x14]
mov ebx, eax
mov ebp, dword [esp + 0x1c]
nop
cmp word [esi + 4], 1
jne 0x45efa5
movzx edx, word [esi + 8]
movzx eax, word [esi + 6]
add edx, eax
test dword [edi], 0x8000
je 0x45efa1
test edx, edx
je 0x45efa1
mov eax, dword [edi + 8]
cmp edx, dword [eax + 4]
ja 0x45efa1
mov eax, dword [eax]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
add eax, 0xffffffe8
je 0x45efa1
push dword [esi]
lea edi, [edx*8]
push eax
call fcn.00458d00
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x45ef91
mov eax, 3
dec edx
mov word [edi + ebp - 2], ax
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], edx
jmp 0x45efa5
mov eax, 1
mov word [edi + ebp - 2], ax
mov edi, dword [esp + 0x34]
jmp 0x45efa5
mov edx, dword [esp + 0x10]
add esi, 0xc
sub ebx, 1
jne 0x45ef30
mov ebp, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x2c], 0
movzx edi, word [ecx + 0x54]
movzx ebx, word [ecx + 0x44]
mov esi, dword [ecx + 8]
mov dword [esp + 0x20], edi
test edx, edx
je 0x45f18c
test edi, edi
je 0x45f18c
cmp dword [esi], 0
je 0x45f122
mov ax, word [esp + 0x38]
test ax, ax
je 0x45eff9
test word [esi + 0x16], ax
je 0x45f122
movzx edx, word [ecx + 0x34]
cmp bp, dx
je 0x45f00c
cmp bp, word [esi + 0x14]
jne 0x45f11e
mov ecx, dword [esi + 8]
cmp ecx, 0x7b8ed8
je 0x45f01f
cmp ecx, 0x7b8ee8
jne 0x45f022
mov ecx, dword [esi + 0xc]
cmp ecx, 0x7b8e28
je 0x45f036
cmp ecx, 0x7b8e18
jne 0x45f11a
xor eax, eax
cmp ecx, 0x7b8e28
sete al
add eax, 2
movzx ebp, ax
cmp word [esp + 0x18], dx
jne 0x45f054
movzx eax, word [esi + 0x1a]
jmp 0x45f058
mov eax, dword [esp + 0x2c]
movzx edi, word [esi + 0x18]
add edi, eax
je 0x45f066
cmp edi, dword [esp + 0x28]
jbe 0x45f07c
push 0
push str.__objGetIVars__
push 0
push 0x232d
call fcn.00448c10
add esp, 0x10
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + edi*8 - 2]
cmp dx, bp
jae 0x45f112
mov eax, dword [esp + 0x34]
test dword [eax], 0x8000
je 0x45f0e7
test edi, edi
je 0x45f0e7
mov eax, dword [eax + 8]
cmp edi, dword [eax + 4]
ja 0x45f0e7
mov eax, dword [eax]
lea ecx, [edi + edi*2]
lea eax, [eax + ecx*8]
add eax, 0xffffffe8
je 0x45f0e7
test dx, dx
jne 0x45f0c0
test dword [eax], 0xfffbffff
je 0x45f0e7
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x18]
mov ecx, dword [edx + edi*8 - 8]
test ecx, ecx
mov word [edx + edi*8 - 4], ax
mov dword [edx + edi*8 - 8], esi
mov edx, dword [esp + 0x24]
lea eax, [edx + 1]
cmovne eax, edx
mov dword [esp + 0x24], eax
jmp 0x45f0ec
mov ebp, 3
mov eax, dword [esp + 0x1c]
cmp bp, 3
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x14]
mov word [eax + edi*8 - 2], bp
mov edi, dword [esp + 0x20]
mov ebp, dword [esp + 0x18]
jne 0x45f122
dec edx
mov dword [esp + 0x10], edx
jmp 0x45f122
mov ebp, dword [esp + 0x18]
mov edi, dword [esp + 0x20]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
add esi, 0x20
sub edi, 1
mov dword [esp + 0x20], edi
jne 0x45f180
mov ax, bx
add ebx, 0xffff
test ax, ax
je 0x45f180
mov ecx, dword [ecx + 0x2c]
movzx eax, bx
cmp bp, word [ecx + eax*4]
jne 0x45f156
mov ax, bx
add ebx, 0xffff
test ax, ax
je 0x45f18c
movzx eax, bx
movzx ebp, word [ecx + eax*4]
movzx eax, word [ecx + eax*4 + 2]
mov dword [esp + 0x2c], eax
mov eax, dword [0x7ee410]
movzx ecx, bp
mov dword [esp + 0x18], ebp
mov eax, dword [eax + ecx*4]
movzx edi, word [eax + 0x54]
mov esi, dword [eax + 8]
mov dword [esp + 0x20], edi
mov ecx, dword [esp + 0x14]
test edx, edx
jne 0x45efd4
xor ebx, ebx
push ebx
call fcn.00456eb0
push dword [esp + 0x28]
mov esi, eax
push esi
mov dword [esp + 0x2c], esi
call fcn.004523b0
mov edi, 1
add esp, 0xc
cmp dword [esp + 0x28], edi
jb 0x45f2e0
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x10], 0x18
cmp ebx, dword [esp + 0x24]
jae 0x45f2e0
mov eax, dword [ebp]
test eax, eax
je 0x45f2cd
mov eax, dword [eax]
add ecx, 0x18
inc ebx
mov dword [esp + 0x18], ecx
test dword [esi], 0x8000
mov eax, dword [eax]
mov eax, dword [eax]
mov dword [esp + 0x2c], eax
je 0x45f208
test ebx, ebx
je 0x45f208
mov eax, dword [esi + 8]
cmp ebx, dword [eax + 4]
ja 0x45f208
mov esi, dword [eax]
add esi, 0xffffffe8
add esi, ecx
jmp 0x45f20a
xor esi, esi
push 2
push esi
call fcn.004523b0
mov ecx, dword [esp + 0x1c]
add esp, 8
movzx eax, word [ebp + 4]
cmp ax, word [ecx + 0x34]
je 0x45f25f
mov ecx, eax
mov eax, dword [0x7ee410]
push 0
push dword [esp + 0x30]
mov eax, dword [eax + ecx*4]
push 0x6cccb8
push dword [eax]
push 0
call fcn.004c9280
add esp, 0x14
test dword [esi], 0x8000
je 0x45f27e
mov ecx, dword [esi + 8]
cmp dword [ecx + 4], 1
jb 0x45f27e
push eax
push dword [ecx]
call fcn.00459b00
jmp 0x45f27b
test dword [esi], 0x8000
je 0x45f27e
mov eax, dword [esi + 8]
cmp dword [eax + 4], 1
jb 0x45f27e
push dword [esp + 0x2c]
push dword [eax]
call fcn.00459910
add esp, 8
mov eax, dword [esp + 0x34]
test dword [eax], 0x8000
je 0x45f2a3
test edi, edi
je 0x45f2a3
mov eax, dword [eax + 8]
cmp edi, dword [eax + 4]
ja 0x45f2a3
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
add ecx, 0xffffffe8
add ecx, eax
jmp 0x45f2a5
xor ecx, ecx
test dword [esi], 0x8000
je 0x45f2c5
mov eax, dword [esi + 8]
cmp dword [eax + 4], 2
jb 0x45f2c5
mov eax, dword [eax]
push ecx
add eax, 0x18
push eax
call fcn.00458af0
add esp, 8
mov esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
add dword [esp + 0x10], 0x18
inc edi
add ebp, 8
cmp edi, dword [esp + 0x28]
jbe 0x45f1c4
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x45f2f4
add eax, 0xfffffffc
push eax
call fcn.00450ce0
add esp, 4
mov eax, esi
pop esi
pop ebp
pop ebx
pop edi
add esp, 0x20
ret
xor eax, eax
pop edi
add esp, 0x20
ret