Function at 0x6900e160
Capabilities:
Access peb ldr_data
Get process heap flags

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, 0x38
test byte [0x6907a028], 8
mov ebx, dword [ecx]
mov edx, dword [ecx + 4]
jne 0x6900e380
test ebx, ebx
je 0x6900e3bd
test edx, edx
je 0x6900e3bd
mov dword [ebp - 0x1c], edx
mov ecx, dword [ebx]
mov eax, dword fs:[0x18]
test ecx, ecx
je 0x6900e2e8
mov edi, 0x38
mov dword [esp + 8], edi
mov esi, 8
mov edi, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [esp + 4], esi
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1c]
mov dword [edx], eax
sub esp, 0xc
test eax, eax
mov esi, eax
je 0x6900e490
mov ecx, dword [ebx]
xor eax, eax
test ecx, ecx
jne 0x6900e2c0
mov ecx, dword [ebx + eax]
mov dword [esi + eax], ecx
add eax, 4
cmp eax, 0x2c
jb 0x6900e1ea
mov dword [ebp - 0x1c], edx
mov eax, dword [ebx + 4]
mov ecx, dword fs:[0x18]
mov dword [ebp - 0x20], ecx
shl eax, 3
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x20]
mov dword [esi + 8], eax
mov eax, dword [ebx + 4]
sub esp, 0xc
mov esi, dword [edx]
mov dword [esp + 8], eax
mov eax, 8
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call edi
mov edx, dword [ebp - 0x1c]
mov dword [esi + 0xc], eax
mov eax, dword [edx]
sub esp, 0xc
mov ecx, dword [eax + 0xc]
mov edi, dword [eax + 8]
test ecx, ecx
je 0x6900e300
test edi, edi
je 0x6900e300
mov eax, dword [ebx + 4]
mov esi, dword [ebx + 8]
lea ecx, [eax*8]
cmp ecx, 8
jae 0x6900e410
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 4]
mov eax, dword [edx]
mov esi, dword [ebx + 0xc]
cmp ecx, 8
mov edi, dword [eax + 0xc]
jae 0x6900e3d8
rep movsb byte es:[edi], byte [esi]
xor ebx, ebx
test byte [0x6907a028], 8
jne 0x6900e450
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov ecx, dword [ebx + eax]
mov dword [esi + eax], ecx
add eax, 4
cmp eax, 0x38
jae 0x6900e1f8
mov ecx, dword [ebx + eax]
mov dword [esi + eax], ecx
add eax, 4
cmp eax, 0x38
jb 0x6900e2c0
jmp 0x6900e1f8
mov edx, 0x2c
mov dword [esp + 8], edx
jmp 0x6900e1b2
mov eax, dword [eax + 4]
test eax, eax
je 0x6900e26d
mov dword [esp + 8], edi
xor ebx, ebx
xor edi, edi
mov dword [esp + 4], ebx
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov esi, dword fs:[0x18]
mov dword [ebp - 0x1c], edx
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
sub esp, 0xc
mov eax, dword [eax + 0xc]
mov dword [esp + 4], edi
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx]
sub esp, 0xc
mov dword [esp + 8], eax
xor eax, eax
mov dword [esp + 4], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov ebx, 3
sub esp, 0xc
jmp 0x6900e2aa
mov eax, 0x6907a028
mov esi, 0x6907d151
mov dword [esp + 0x14], edx
mov edi, str.GdipCloneCustomLineCap
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], esi
mov dword [esp + 8], edi
mov dword [esp + 4], eax
mov dword [esp], 3
mov dword [ebp - 0x1c], edx
call sym._wine_dbg_log.constprop.0_1
test ebx, ebx
mov edx, dword [ebp - 0x1c]
jne 0x6900e18e
lea esp, [ebp - 0x10]
mov ebx, 2
pop ecx
mov eax, ebx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
test edi, 1
jne 0x6900e4a0
test edi, 2
jne 0x6900e4b0
test edi, 4
je 0x6900e299
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6900e299
test edi, 1
jne 0x6900e4e0
test edi, 2
jne 0x6900e4c8
test edi, 4
je 0x6900e283
mov eax, dword [esi]
add edi, 4
add esi, 4
sub ecx, 4
mov dword [edi - 4], eax
jmp 0x6900e283
mov eax, dword [edx]
mov ecx, 0x6907a028
mov edx, str.GdipCloneCustomLineCap
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp], 3
mov dword [esp + 0x10], eax
mov eax, 0x6907d15b
mov dword [esp + 0xc], eax
call sym._wine_dbg_log.constprop.0_1
lea esp, [ebp - 0x10]
mov eax, ebx
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 8
mov ebx, 3
jmp 0x6900e2aa
movzx eax, byte [esi]
inc edi
inc esi
dec ecx
mov byte [edi - 1], al
jmp 0x6900e3e4
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6900e3f0
movzx eax, word [esi]
add edi, 2
add esi, 2
sub ecx, 2
mov word [edi - 2], ax
jmp 0x6900e428
movzx eax, byte [esi]
inc edi
inc esi
dec ecx
mov byte [edi - 1], al
jmp 0x6900e41c