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

Disassembly:
push ebp
mov ebp, esp
push edi
push esi
lea esi, [ebp - 0x1a]
push ebx
lea ebx, [ebp - 0x220]
mov eax, ebx
sub esp, 0x29c
mov edx, dword [ebp + 0xc]
lea esi, [esi]
movzx ecx, word [edx]
test cx, cx
je 0x70d8ba36
add eax, 2
add edx, 2
mov word [eax - 2], cx
cmp eax, esi
jne 0x70d8ba20
xor edx, edx
mov word [eax], dx
lea eax, [ebp - 0x21e]
jmp 0x70d8ba54
mov esi, 0x5f
mov word [eax - 2], si
add eax, 2
movzx edx, word [eax - 2]
cmp dx, 0x5c
je 0x70d8ba48
cmp dx, 0x2f
je 0x70d8ba48
cmp dx, 0x2e
je 0x70d8ba48
test dx, dx
jne 0x70d8ba51
mov eax, dword [ebp + 8]
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov eax, dword [eax + 0xc]
mov edi, dword [eax + 0x228]
test edi, edi
jne 0x70d8ba9a
jmp 0x70d8bad0
mov edi, dword [edi + 0x210]
test edi, edi
je 0x70d8bad0
mov dword [esp + 4], edi
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x70d8ba90
test byte [0x70d950bc], 8
jne 0x70d8bcc0
mov eax, dword [edi + 0x20c]
mov ebx, dword [ebp + 0x10]
mov dword [ebx], eax
mov eax, dword [edi + 0x208]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov dword [esp + 8], 0x214
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapAlloc]
mov esi, eax
mov eax, dword [ebp + 8]
sub esp, 0xc
mov dword [esp + 0x14], 0x2000
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 4], ebx
mov eax, dword [eax + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadImageW]
mov ecx, dword [ebp + 0x10]
xor edx, edx
mov dword [esi + 0x208], eax
sub esp, 0x18
mov dword [ecx], 0
test eax, eax
je 0x70d8bc35
lea edx, [ebp - 0x274]
mov dword [esp + 4], 0x54
mov dword [esp + 8], edx
mov dword [esp], eax
call dword [sym.imp.gdi32.dll_GetObjectW]
sub esp, 0xc
cmp eax, 0x54
jne 0x70d8bc30
cmp word [ebp - 0x262], 0x20
jne 0x70d8bc30
mov ecx, dword [ebp - 0x24c]
test ecx, ecx
jne 0x70d8bc30
mov edx, dword [ebp - 0x258]
imul edx, dword [ebp - 0x254]
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x280], edx
mov ecx, edx
test edx, edx
jle 0x70d8bc30
mov dword [ebp - 0x27c], esi
mov edi, dword [ebp + 0x10]
xor edx, edx
mov esi, ecx
jmp 0x70d8bbc9
inc edx
cmp esi, edx
je 0x70d8bd02
xor ecx, ecx
cmp byte [eax + edx*4 + 3], 0xff
setne cl
mov dword [edi], ecx
je 0x70d8bbc0
mov ecx, dword [ebp - 0x280]
mov esi, dword [ebp - 0x27c]
dec ecx
mov dword [ebp - 0x27c], ecx
lea esi, [esi]
movzx edx, byte [eax + 3]
movzx edi, byte [eax]
add eax, 4
dec dword [ebp - 0x27c]
inc edx
imul edi, edx
mov ecx, edi
movzx edi, byte [eax - 3]
mov byte [eax - 4], ch
imul edi, edx
mov ecx, edi
movzx edi, byte [eax - 2]
mov byte [eax - 3], ch
mov ecx, dword [ebp - 0x27c]
imul edx, edi
mov byte [eax - 2], dh
cmp ecx, 0xffffffff
jne 0x70d8bbf0
lea esi, [esi]
mov eax, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [esi + 0x20c], edx
xor eax, eax
lea esi, [esi]
movzx edx, word [ebx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x70d8bc40
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0xc]
mov edx, dword [eax + 0x228]
mov dword [esi + 0x210], edx
mov dword [eax + 0x228], esi
test byte [0x70d950bc], 8
jne 0x70d8bc80
mov eax, dword [esi + 0x208]
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov ebx, dword [esi + 0x208]
mov eax, esi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.new__p__s:__p_n
mov dword [esp + 8], str.MSSTYLES_LoadBitmap
mov dword [esp + 4], 0x70d950bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70d8bc71
mov ebx, dword [edi + 0x208]
mov eax, edi
call sym._wine_dbgstr_wn.constprop.0
mov dword [esp + 0x10], edi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.found__p__s:__p_n
mov dword [esp + 8], str.MSSTYLES_LoadBitmap
mov dword [esp + 4], 0x70d950bc
mov dword [esp], 3
call sym._wine_dbg_log.constprop.0_4
jmp 0x70d8bab7
mov esi, dword [ebp - 0x27c]
xor edx, edx
jmp 0x70d8bc35