Function at 0x64a76630
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, 0x58
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov esi, dword [ecx + 8]
mov edi, dword [ecx + 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ecx + 0xc]
mov dword [ebp - 0x20], eax
test byte [0x64ab50c0], 8
jne 0x64a767c8
test ebx, ebx
sete dl
test edi, edi
sete al
or al, dl
jne 0x64a76815
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x64a76815
test esi, esi
jle 0x64a76890
mov dword [esp + 8], 0x18
mov dword [esp + 4], 8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_HeapAlloc]
mov dword [ebp - 0x2c], eax
call eax
mov dword [edi], eax
sub esp, 0xc
mov ecx, eax
test eax, eax
je 0x64a76896
cmp esi, 1
je 0x64a768c8
mov dword [ebp - 0x24], esi
test byte [ebx + esi - 1], 7
jne 0x64a76840
mov dword [ebp - 0x28], 0
xor esi, esi
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], ecx
mov edx, dword fs:[0x18]
mov dword [esp + 8], eax
mov dword [esp + 4], 8
mov eax, dword [edx + 0x30]
mov dword [ebp - 0x34], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
mov dword [ecx + 8], eax
mov ecx, dword [edi]
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x24]
mov dword [esp + 4], 8
mov dword [esp + 8], ecx
mov edx, dword [ebp - 0x34]
mov eax, dword [edx + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x2c]
call eax
mov ecx, dword [ebp - 0x30]
sub esp, 0xc
mov dword [ecx + 0xc], eax
mov edx, dword [edi]
mov eax, dword [edx + 8]
test eax, eax
je 0x64a768e0
mov edx, dword [edx + 0xc]
test edx, edx
je 0x64a768e0
mov ecx, dword [ebp - 0x28]
mov dword [esp + 8], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [esp], eax
mov dword [esp + 4], ecx
call sym._memcpy
mov eax, dword [edi]
mov ecx, dword [ebp - 0x24]
mov eax, dword [eax + 0xc]
mov dword [esp + 8], ecx
mov dword [esp + 4], ebx
mov dword [esp], eax
call sym._memcpy
test esi, esi
jne 0x64a76830
mov eax, dword [edi]
mov dword [eax + 4], esi
mov eax, dword [edi]
mov dword [eax + 0x14], esi
mov esi, dword [ebp - 0x20]
mov eax, dword [edi]
mov dword [eax], esi
mov eax, dword [edi]
mov dword [eax + 0x10], 1
lea esp, [ebp - 0x10]
xor eax, eax
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov dword [esp + 0x20], edi
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], esi
mov dword [esp + 0x14], ebx
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], str.__p___p___d___d___p__n
mov dword [esp + 0x10], eax
mov dword [esp + 8], str.GdipCreatePath2
mov dword [esp + 4], 0x64ab50c0
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_5
test ebx, ebx
sete dl
test edi, edi
sete al
or al, dl
je 0x64a76677
lea esp, [ebp - 0x10]
mov eax, 2
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
mov eax, dword [edi]
mov eax, dword [eax + 0xc]
mov byte [eax], 0
jmp 0x64a76798
mov dword [ebp - 0x28], ecx
mov eax, 1
jmp 0x64a76857
add eax, 1
cmp esi, eax
jle 0x64a768b0
movzx edx, byte [ebx + eax]
mov ecx, eax
and edx, 7
cmp dl, 3
jne 0x64a76850
add eax, 2
cmp esi, eax
jle 0x64a76886
movzx edx, byte [ebx + ecx + 1]
and edx, 7
cmp dl, 3
jne 0x64a76886
movzx edx, byte [ebx + ecx + 2]
and edx, 7
cmp dl, 3
je 0x64a76850
mov ecx, dword [ebp - 0x28]
jmp 0x64a766d9
mov dword [edi], 0
mov eax, 3
lea esp, [ebp - 0x10]
pop ecx
pop ebx
pop esi
pop edi
pop ebp
lea esp, [ecx - 4]
ret 0x14
lea eax, [esi*8]
mov ecx, dword [ebp - 0x28]
mov dword [ebp - 0x28], eax
jmp 0x64a766e9
mov dword [ebp - 0x28], 8
mov dword [ebp - 0x24], 1
jmp 0x64a766e9
mov dword [esp + 8], eax
mov ebx, dword [sym.imp.kernel32.dll_HeapFree]
mov dword [esp + 4], 0
mov esi, dword fs:[0x18]
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [edi]
sub esp, 0xc
mov eax, dword [eax + 0xc]
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, dword [edi]
sub esp, 0xc
mov dword [esp + 8], eax
mov dword [esp + 4], 0
mov eax, dword [esi + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ebx
mov eax, 3
sub esp, 0xc
jmp 0x64a7689b