Function at 0x61541c30
Capabilities:
Enumerate pe sections

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push edi
push esi
push ebx
push ecx
sub esp, 0xe8
mov edx, dword [ecx + 0x18]
mov eax, dword [ecx]
mov ebx, dword [ecx + 0xc]
mov esi, dword [ecx + 4]
mov dword [ebp - 0xa0], edx
mov edx, dword [ecx + 0x1c]
mov dword [ebp - 0x9c], eax
mov edi, dword [ecx + 0x14]
mov dword [ebp - 0xa4], ebx
mov eax, dword [ecx + 8]
mov ebx, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x20]
mov dword [ebp - 0xa8], edx
test byte [0x61576198], 8
jne 0x61541e50
mov eax, dword [ebp - 0x9c]
mov eax, dword [eax + 0x10]
test eax, eax
je 0x615421bb
mov eax, dword [ebp - 0x9c]
cmp dword [eax + 8], esi
jbe 0x61542128
mov eax, dword [eax + 0xc]
lea edx, [esi + esi*4]
lea esi, [eax + edx*4]
mov edx, dword [esi + 4]
test edx, edx
je 0x61541f48
cmp bx, 2
je 0x61542060
jbe 0x61541d28
cmp bx, 3
je 0x61541d3d
cmp bx, 4
jne 0x61541fc2
mov eax, dword [esi + 8]
movzx edx, byte [0x61576198]
and edx, 1
test al, 2
je 0x615421f6
mov esi, 0x80004001
test dl, dl
je 0x61541e3b
mov dword [esp + 0xc], str.call_put_n
mov dword [esp + 8], str.Builtin_Invoke
mov dword [esp + 4], 0x61576198
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x61541e3b
cmp bx, 1
jne 0x61541fc2
mov eax, dword [esi + 8]
test al, 3
jne 0x615420ba
mov eax, dword [edi + 8]
mov ecx, dword [esi + 0xc]
mov ebx, eax
sub ebx, dword [edi + 0xc]
mov dword [ebp - 0xa4], eax
cmp ecx, ebx
ja 0x61542132
mov eax, dword [esi + 0x10]
test eax, eax
cmove eax, ecx
cmp eax, ebx
jb 0x61542132
cmp ebx, 8
ja 0x61542008
lea eax, [ebp - 0x98]
mov dword [ebp - 0xac], eax
mov dword [ebp - 0xa8], eax
test ebx, ebx
je 0x615420f8
mov eax, dword [ebp - 0xa4]
mov edx, dword [ebp - 0xa8]
mov dword [ebp - 0xb0], esi
xor ecx, ecx
shl eax, 4
add eax, dword [edi]
jmp 0x61541dcb
mov edi, dword [eax - 0x10]
inc ecx
sub eax, 0x10
add edx, 0x10
mov dword [edx - 0x10], edi
mov edi, dword [eax + 4]
mov dword [edx - 0xc], edi
mov edi, dword [eax + 8]
mov dword [edx - 8], edi
mov edi, dword [eax + 0xc]
mov dword [edx - 4], edi
cmp ecx, ebx
jae 0x61541df8
cmp word [eax - 0x10], 0x400c
jne 0x61541da8
mov edi, dword [eax - 8]
inc ecx
sub eax, 0x10
add edx, 0x10
mov esi, dword [edi]
mov dword [edx - 0x10], esi
mov esi, dword [edi + 4]
mov dword [edx - 0xc], esi
mov esi, dword [edi + 8]
mov dword [edx - 8], esi
mov edi, dword [edi + 0xc]
mov dword [edx - 4], edi
cmp ecx, ebx
jb 0x61541dcb
mov eax, dword [ebp - 0xa0]
mov esi, dword [ebp - 0xb0]
mov ebx, dword [ebp - 0xa8]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call dword [esi + 4]
mov esi, eax
cmp ebx, dword [ebp - 0xac]
je 0x61541e3b
mov dword [esp], ebx
call dword [sym.imp.ucrtbase.dll_free]
lea esp, [ebp - 0x10]
mov eax, esi
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x24
movzx edx, bx
mov dword [ebp - 0xac], edx
test eax, eax
je 0x61542070
mov edx, eax
mov dword [ebp - 0xac], ecx
shr edx, 0x10
je 0x61542038
movzx edx, byte [eax + 0xf]
mov dword [esp + 0x2c], edx
movzx edx, byte [eax + 0xe]
mov dword [esp + 0x28], edx
movzx edx, byte [eax + 0xd]
mov dword [esp + 0x24], edx
movzx edx, byte [eax + 0xc]
mov dword [esp + 0x20], edx
movzx edx, byte [eax + 0xb]
mov dword [esp + 0x1c], edx
movzx edx, byte [eax + 0xa]
mov dword [esp + 0x18], edx
movzx edx, byte [eax + 9]
mov dword [esp + 0x14], edx
movzx edx, byte [eax + 8]
mov dword [esp + 0x10], edx
movzx edx, word [eax + 6]
mov dword [esp + 0xc], edx
movzx edx, word [eax + 4]
mov dword [esp + 8], edx
mov eax, dword [eax]
mov dword [esp], 0x6157872c
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0xac]
mov dword [esp + 0x30], ecx
mov ecx, dword [ebp - 0xa8]
mov dword [esp + 0x18], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp + 0x2c], ecx
mov ecx, dword [ebp - 0xa0]
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], ecx
movzx ecx, bx
mov dword [esp + 0x20], ecx
mov ecx, dword [ebp - 0xa4]
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], 0x61578804
mov dword [esp + 8], str.Builtin_Invoke
mov dword [esp + 4], 0x61576198
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0
jmp 0x61541c86
mov eax, dword [esi + 8]
test eax, eax
je 0x61542128
cmp bx, 3
je 0x61542080
ja 0x61541fb8
cmp bx, 1
je 0x61541d35
cmp bx, 2
jne 0x61541fc2
test al, 3
jne 0x61541d3d
mov esi, 0x80004005
test byte [0x61576198], 1
je 0x61541e3b
mov dword [esp + 0xc], str.property_does_not_support_DISPATCH_PROPERTYGET_n
mov dword [esp + 8], str.Builtin_Invoke
mov dword [esp + 4], 0x61576198
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x61541e3b
cmp bx, 4
je 0x61541cd9
movzx ebx, bx
mov esi, 0x80004001
test byte [0x61576198], 1
je 0x61541e3b
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.unsupported_flags__x_n
mov dword [esp + 8], str.Builtin_Invoke
mov dword [esp + 4], 0x61576198
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x61541e3b
mov eax, ebx
shl eax, 4
mov dword [esp], eax
call dword [sym.imp.ucrtbase.dll_malloc]
mov dword [ebp - 0xa8], eax
test eax, eax
je 0x6154222c
lea eax, [ebp - 0x98]
mov dword [ebp - 0xac], eax
jmp 0x61541d89
movzx eax, ax
mov dword [esp], 0x6157871d
mov dword [esp + 4], eax
call sym._wine_dbg_sprintf
mov ecx, dword [ebp - 0xac]
jmp 0x61541eda
mov eax, dword [esi + 8]
jmp 0x61541f6f
mov eax, 0x615786d3
jmp 0x61541eda
cmp eax, 1
jne 0x61541d3d
mov eax, dword [esi + 0xc]
mov edx, dword [esi + 0x10]
cmp eax, 3
je 0x615421a3
cmp eax, 8
je 0x6154216d
mov eax, dword [ebp - 0xa0]
mov ebx, 2
xor esi, esi
mov word [eax], bx
mov word [eax + 8], dx
jmp 0x61541e3b
mov esi, 0x80004005
test byte [0x61576198], 1
je 0x61541e3b
mov dword [esp + 0xc], str.Call_on_property_n
mov dword [esp + 8], str.Builtin_Invoke
mov dword [esp + 4], 0x61576198
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x61541e3b
mov eax, dword [ebp - 0xa0]
mov dword [esp + 0xc], eax
mov eax, dword [ebp - 0xa4]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xac]
mov dword [esp + 4], eax
mov eax, dword [ebp - 0x9c]
mov dword [esp], eax
call edx
mov esi, eax
jmp 0x61541e3b
mov esi, 0x80020003
jmp 0x61541e3b
mov esi, 0x800a01c2
test byte [0x61576198], 4
je 0x61541e3b
mov dword [esp + 0xc], str.invalid_number_of_arguments_n
mov dword [esp + 8], str.Builtin_Invoke
mov dword [esp + 4], 0x61576198
mov dword [esp], 2
call sym._wine_dbg_log.constprop.0
jmp 0x61541e3b
movzx eax, word [edx]
add edx, 2
mov dword [esp], edx
mov dword [esp + 4], eax
call dword [sym.imp.oleaut32.dll_SysAllocStringLen]
sub esp, 8
test eax, eax
je 0x6154222c
mov esi, dword [ebp - 0xa0]
mov edx, 8
mov word [esi], dx
mov dword [esi + 8], eax
xor esi, esi
jmp 0x61541e3b
mov eax, dword [ebp - 0xa0]
mov ecx, 3
xor esi, esi
mov word [eax], cx
mov dword [eax + 8], edx
jmp 0x61541e3b
mov esi, 0x8000ffff
test byte [0x61576198], 1
je 0x61541e3b
mov dword [esp + 0xc], str.NULL_context_n
mov dword [esp + 8], str.Builtin_Invoke
mov dword [esp + 4], 0x61576198
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x61541e3b
mov esi, 0x80004005
test dl, dl
je 0x61541e3b
mov dword [esp + 0xc], str.property_does_not_support_DISPATCH_PROPERTYPUT_n
mov dword [esp + 8], str.Builtin_Invoke
mov dword [esp + 4], 0x61576198
mov dword [esp], 0
call sym._wine_dbg_log.constprop.0
jmp 0x61541e3b
mov esi, 0x8007000e
jmp 0x61541e3b