Function at 0x46dde0
Capabilities:
Enumerate pe sections

Disassembly:
sub esp, 0x20
push edi
mov edi, dword [esp + 0x28]
test edi, edi
je 0x46e25e
test dword [edi], 0x8000
je 0x46e25e
mov edx, dword [edi + 8]
movzx eax, word [edx + 0xc]
test ax, ax
je 0x46e25e
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 [0x7eefc8]
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 0x46de65
lea eax, [edx*8]
push eax
push 0
push eax
call fcn.0047f870
add esp, 4
push eax
call fcn.0052b3e0
mov edx, dword [esp + 0x1c]
add esp, 0xc
mov ecx, dword [esp + 0x14]
mov dword [esp + 0x1c], eax
jmp 0x46de6d
mov dword [esp + 0x1c], 0
cmp dword [esp + 0x3c], 0
je 0x46df11
movzx eax, word [ecx + 0x3e]
test ax, ax
je 0x46df11
mov esi, dword [ecx + 0x14]
mov ebx, eax
mov ebp, dword [esp + 0x1c]
nop
cmp word [esi + 4], 1
jne 0x46df05
movzx edx, word [esi + 8]
movzx eax, word [esi + 6]
add edx, eax
test dword [edi], 0x8000
je 0x46df01
test edx, edx
je 0x46df01
mov eax, dword [edi + 8]
cmp edx, dword [eax + 4]
ja 0x46df01
mov eax, dword [eax]
lea ecx, [edx + edx*2]
lea eax, [eax + ecx*8]
add eax, 0xffffffe8
je 0x46df01
push dword [esi]
lea edi, [edx*8]
push eax
call fcn.00467c60
mov edx, dword [esp + 0x18]
add esp, 8
test eax, eax
je 0x46def1
mov eax, 3
dec edx
mov word [edi + ebp - 2], ax
mov edi, dword [esp + 0x34]
mov dword [esp + 0x10], edx
jmp 0x46df05
mov eax, 1
mov word [edi + ebp - 2], ax
mov edi, dword [esp + 0x34]
jmp 0x46df05
mov edx, dword [esp + 0x10]
add esi, 0xc
sub ebx, 1
jne 0x46de90
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 0x46e0ec
test edi, edi
je 0x46e0ec
cmp dword [esi], 0
je 0x46e082
mov ax, word [esp + 0x38]
test ax, ax
je 0x46df59
test word [esi + 0x16], ax
je 0x46e082
movzx edx, word [ecx + 0x34]
cmp bp, dx
je 0x46df6c
cmp bp, word [esi + 0x14]
jne 0x46e07e
mov ecx, dword [esi + 8]
cmp ecx, 0x7bc360
je 0x46df7f
cmp ecx, 0x7bc370
jne 0x46df82
mov ecx, dword [esi + 0xc]
cmp ecx, 0x7bc2b0
je 0x46df96
cmp ecx, 0x7bc2a0
jne 0x46e07a
xor eax, eax
cmp ecx, 0x7bc2b0
sete al
add eax, 2
movzx ebp, ax
cmp word [esp + 0x18], dx
jne 0x46dfb4
movzx eax, word [esi + 0x1a]
jmp 0x46dfb8
mov eax, dword [esp + 0x2c]
movzx edi, word [esi + 0x18]
add edi, eax
je 0x46dfc6
cmp edi, dword [esp + 0x28]
jbe 0x46dfdc
push 0
push str.__objGetIVars__
push 0
push 0x232d
call fcn.0044a4a0
add esp, 0x10
mov eax, dword [esp + 0x1c]
movzx edx, word [eax + edi*8 - 2]
cmp dx, bp
jae 0x46e072
mov eax, dword [esp + 0x34]
test dword [eax], 0x8000
je 0x46e047
test edi, edi
je 0x46e047
mov eax, dword [eax + 8]
cmp edi, dword [eax + 4]
ja 0x46e047
mov eax, dword [eax]
lea ecx, [edi + edi*2]
lea eax, [eax + ecx*8]
add eax, 0xffffffe8
je 0x46e047
test dx, dx
jne 0x46e020
test dword [eax], 0xfffbffff
je 0x46e047
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 0x46e04c
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 0x46e082
dec edx
mov dword [esp + 0x10], edx
jmp 0x46e082
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 0x46e0e0
mov ax, bx
add ebx, 0xffff
test ax, ax
je 0x46e0e0
mov ecx, dword [ecx + 0x2c]
movzx eax, bx
cmp bp, word [ecx + eax*4]
jne 0x46e0b6
mov ax, bx
add ebx, 0xffff
test ax, ax
je 0x46e0ec
movzx eax, bx
movzx ebp, word [ecx + eax*4]
movzx eax, word [ecx + eax*4 + 2]
mov dword [esp + 0x2c], eax
mov eax, dword [0x7eefc8]
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 0x46df34
xor ebx, ebx
push ebx
call fcn.00465e10
push dword [esp + 0x28]
mov esi, eax
push esi
mov dword [esp + 0x2c], esi
call fcn.00461310
mov edi, 1
add esp, 0xc
cmp dword [esp + 0x28], edi
jb 0x46e240
mov ebp, dword [esp + 0x1c]
xor ecx, ecx
mov dword [esp + 0x10], 0x18
cmp ebx, dword [esp + 0x24]
jae 0x46e240
mov eax, dword [ebp]
test eax, eax
je 0x46e22d
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 0x46e168
test ebx, ebx
je 0x46e168
mov eax, dword [esi + 8]
cmp ebx, dword [eax + 4]
ja 0x46e168
mov esi, dword [eax]
add esi, 0xffffffe8
add esi, ecx
jmp 0x46e16a
xor esi, esi
push 2
push esi
call fcn.00461310
mov ecx, dword [esp + 0x1c]
add esp, 8
movzx eax, word [ebp + 4]
cmp ax, word [ecx + 0x34]
je 0x46e1bf
mov ecx, eax
mov eax, dword [0x7eefc8]
push 0
push dword [esp + 0x30]
mov eax, dword [eax + ecx*4]
push 0x70d21c
push dword [eax]
push 0
call fcn.004e9b40
add esp, 0x14
test dword [esi], 0x8000
je 0x46e1de
mov ecx, dword [esi + 8]
cmp dword [ecx + 4], 1
jb 0x46e1de
push eax
push dword [ecx]
call fcn.00468a60
jmp 0x46e1db
test dword [esi], 0x8000
je 0x46e1de
mov eax, dword [esi + 8]
cmp dword [eax + 4], 1
jb 0x46e1de
push dword [esp + 0x2c]
push dword [eax]
call fcn.00468870
add esp, 8
mov eax, dword [esp + 0x34]
test dword [eax], 0x8000
je 0x46e203
test edi, edi
je 0x46e203
mov eax, dword [eax + 8]
cmp edi, dword [eax + 4]
ja 0x46e203
mov ecx, dword [esp + 0x10]
mov eax, dword [eax]
add ecx, 0xffffffe8
add ecx, eax
jmp 0x46e205
xor ecx, ecx
test dword [esi], 0x8000
je 0x46e225
mov eax, dword [esi + 8]
cmp dword [eax + 4], 2
jb 0x46e225
mov eax, dword [eax]
push ecx
add eax, 0x18
push eax
call fcn.00467a50
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 0x46e124
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x46e254
add eax, 0xfffffffc
push eax
call fcn.0045fc40
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