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

Disassembly:
push ebp
push edi
push esi
push ebx
sub esp, 0x29c
lea ebx, [esp + 0x88]
mov edi, dword [esp + 0x2b0]
mov edx, dword [esp + 0x2b4]
lea esi, [esp + 0x28e]
mov eax, ebx
jmp 0x70d8dbce
add eax, 2
add edx, 2
mov word [eax - 2], cx
cmp eax, esi
je 0x70d8dbd6
movzx ecx, word [edx]
test cx, cx
jne 0x70d8dbc0
xor ecx, ecx
mov word [eax], cx
mov eax, ebx
movzx edx, word [eax]
cmp dx, 0x5c
je 0x70d8dbf2
cmp dx, 0x2f
je 0x70d8dbf2
cmp dx, 0x2e
jne 0x70d8dc10
mov edx, 0x5f
add eax, 2
mov word [eax - 2], dx
movzx edx, word [eax]
cmp dx, 0x5c
jne 0x70d8dbe6
jmp 0x70d8dbf2
test dx, dx
je 0x70d8dc20
add eax, 2
jmp 0x70d8dbdd
mov eax, dword [edi + 0xc]
mov esi, dword [sym.imp.kernel32.dll_lstrcmpiW]
mov ebp, dword [eax + 0x228]
test ebp, ebp
jne 0x70d8dc42
jmp 0x70d8dc88
mov ebp, dword [ebp + 0x210]
test ebp, ebp
je 0x70d8dc88
mov dword [esp + 4], ebp
mov dword [esp], ebx
call esi
sub esp, 8
test eax, eax
jne 0x70d8dc38
test byte [0x70d95058], 8
jne 0x70d8de70
mov eax, dword [ebp + 0x20c]
mov edi, dword [esp + 0x2b8]
mov ebp, dword [ebp + 0x208]
mov dword [edi], eax
add esp, 0x29c
mov eax, ebp
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]
sub esp, 0xc
mov esi, eax
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 [edi + 8]
mov dword [esp], eax
call dword [sym.imp.user32.dll_LoadImageW]
sub esp, 0x18
mov ebp, eax
mov dword [esi + 0x208], eax
mov eax, dword [esp + 0x2b8]
mov dword [eax], 0
xor eax, eax
test ebp, ebp
je 0x70d8dddf
lea eax, [esp + 0x34]
mov dword [esp + 4], 0x54
mov dword [esp + 8], eax
mov dword [esp], ebp
call dword [sym.imp.gdi32.dll_GetObjectW]
sub esp, 0xc
cmp eax, 0x54
jne 0x70d8ddd0
cmp word [esp + 0x46], 0x20
jne 0x70d8ddd0
mov eax, dword [esp + 0x5c]
test eax, eax
jne 0x70d8ddd0
mov ecx, dword [esp + 0x54]
imul ecx, dword [esp + 0x50]
mov eax, dword [esp + 0x48]
test ecx, ecx
mov ebp, ecx
jle 0x70d8ddd0
mov dword [esp + 0x2c], esi
xor edx, edx
mov esi, dword [esp + 0x2b8]
jmp 0x70d8dd73
add edx, 1
cmp edx, ebp
je 0x70d8deb2
xor ecx, ecx
cmp byte [eax + edx*4 + 3], 0xff
setne cl
mov dword [esi], ecx
je 0x70d8dd68
lea ecx, [ebp - 1]
mov esi, dword [esp + 0x2c]
mov dword [esp + 0x2c], ecx
lea esi, [esi]
movzx edx, byte [eax + 3]
add eax, 4
movzx ebp, byte [eax - 4]
sub dword [esp + 0x2c], 1
add edx, 1
imul ebp, edx
mov ecx, ebp
movzx ebp, byte [eax - 3]
mov byte [eax - 4], ch
imul ebp, edx
mov ecx, ebp
movzx ebp, byte [eax - 2]
mov byte [eax - 3], ch
mov ecx, dword [esp + 0x2c]
imul edx, ebp
mov byte [eax - 2], dh
cmp ecx, 0xffffffff
jne 0x70d8dd90
lea esi, [esi]
mov eax, dword [esp + 0x2b8]
mov ebp, dword [esi + 0x208]
mov eax, dword [eax]
mov dword [esi + 0x20c], eax
xor eax, eax
lea esi, [esi]
nop
movzx edx, word [ebx + eax]
mov word [esi + eax], dx
add eax, 2
test dx, dx
jne 0x70d8ddf0
mov eax, dword [edi + 0xc]
mov edx, dword [eax + 0x228]
mov dword [esi + 0x210], edx
mov dword [eax + 0x228], esi
test byte [0x70d95058], 8
je 0x70d8dc74
mov eax, esi
call fcn.70d8b780
mov dword [esp + 0x18], ebp
mov dword [esp + 0x10], esi
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], 0x70d95058
mov dword [esp], 3
call fcn.70d8bad0
mov ebp, dword [esi + 0x208]
add esp, 0x29c
pop ebx
pop esi
pop edi
mov eax, ebp
pop ebp
ret
mov ebx, dword [ebp + 0x208]
mov eax, ebp
call fcn.70d8b780
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
mov dword [esp + 0xc], str.found__p__s:__p_n
mov dword [esp + 0x18], ebx
mov dword [esp + 8], str.MSSTYLES_LoadBitmap
mov dword [esp + 4], 0x70d95058
mov dword [esp], 3
call fcn.70d8bad0
jmp 0x70d8dc5f
mov esi, dword [esp + 0x2c]
xor eax, eax
mov ebp, dword [esi + 0x208]
jmp 0x70d8dddf