Function at 0x7ac3b390
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov eax, dword fs:[0x18]
mov ebp, esp
push edi
push esi
push ebx
sub esp, 0x12c
mov dword [ebp - 0x100], eax
mov ebx, dword [ebp + 0x18]
mov dword [esp + 8], 0x12098
mov esi, dword [ebp + 0xc]
mov dword [esp + 4], 8
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 - 0x104], eax
call eax
mov dword [ebx + 4], 0
mov dword [eax], ebx
sub esp, 0xc
mov edi, eax
mov dword [eax + 0x11014], 1
mov dword [eax + 0x1202c], 0x44000000
mov byte [eax + 0x12094], 1
test esi, 2
jne 0x7ac3b570
test esi, 5
jne 0x7ac3b460
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, edi
call fcn.7ac392b0
mov ebx, dword [edi + 0x1008]
test byte [0x7ac41020], 8
jne 0x7ac3b5f6
mov dword [esp + 8], edi
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 esi
mov eax, ebx
sub esp, 0xc
lea esp, [ebp - 0xc]
pop ebx
pop esi
pop edi
pop ebp
ret
mov eax, dword [ebp + 0x10]
mov ebx, dword [eax + 4]
test ebx, ebx
je 0x7ac3b411
mov eax, esi
mov ecx, esi
shr eax, 0x10
and ecx, 0x20
cmove eax, ecx
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x7ac3bc15
mov eax, dword [ebp + 0x10]
and esi, 0x10
mov dword [ebp - 0xf4], edi
mov dword [ebp - 0xf8], esi
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0xf0], 0
mov edx, dword [eax + 8]
mov dword [ebp - 0x108], 0
jmp 0x7ac3b51e
test byte [ebx + 0x16], 0x10
je 0x7ac3b531
mov eax, dword [ebp - 0xf8]
test eax, eax
je 0x7ac3b940
mov eax, dword [ebp - 0xf4]
mov ecx, 4
mov edx, 0x7ac4d828
call fcn.7ac393c0
mov dword [ebp - 0xec], eax
nop
mov dword [esp], ebx
sub edi, esi
call fcn.7ac2adc0
mov ecx, dword [ebp - 0xec]
xor edx, edx
mov ebx, eax
test ecx, ecx
setne cl
test eax, eax
setne al
test cl, al
je 0x7ac3b9c8
test edi, edi
je 0x7ac3b9c8
mov esi, dword [ebx + 0xc]
mov eax, dword [ebp + 8]
sub esi, edx
cmp esi, edi
cmovg esi, edi
test byte [eax + 4], 1
je 0x7ac3b4c0
mov eax, dword [ebx + 4]
mov ecx, dword [ebx + 8]
mov eax, dword [eax + 0xbc]
add ecx, edx
mov eax, dword [eax]
lea eax, [eax + ecx*2]
mov ecx, dword [ebp - 0xf8]
test ecx, ecx
je 0x7ac3b780
mov edx, eax
mov eax, dword [ebp - 0xf4]
lea ecx, [esi + esi]
call fcn.7ac393c0
mov dword [ebp - 0xec], eax
jmp 0x7ac3b4f0
mov eax, dword [ebp + 0x10]
mov edx, dword [eax + 4]
mov ecx, dword [eax]
mov eax, dword [eax + 8]
mov dword [esp + 0xc], 1
mov dword [ebp - 0xd4], edx
mov dword [ebp - 0xd0], eax
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc8], edx
mov dword [esp + 8], eax
lea eax, [ebp - 0xcc]
mov dword [esp + 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd8], ecx
mov dword [esp], eax
mov dword [ebp - 0xcc], ecx
call fcn.7ac02610
mov edx, esi
mov eax, edi
call fcn.7ac39530
test eax, eax
jne 0x7ac3b628
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [edi]
mov eax, dword [eax + 4]
test eax, eax
je 0x7ac3b417
mov ebx, dword [edi + 0x1008]
test byte [0x7ac41020], 8
je 0x7ac3b431
mov dword [esp + 0x10], ebx
mov dword [esp + 0xc], str.total_length___lu_n
mov dword [esp + 8], 0x7ac4d85c
mov dword [esp + 4], 0x7ac41020
mov dword [esp], 3
call fcn.7ac39250
jmp 0x7ac3b431
mov eax, dword [ebp - 0xc8]
mov esi, dword [ebp - 0xd4]
mov dword [ebp - 0xec], 0
mov dword [ebp - 0xf0], eax
jmp 0x7ac3b677
mov eax, dword [esi + 4]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xf0], esi
je 0x7ac3ba00
mov dword [esp], esi
call fcn.7ac2adc0
mov esi, eax
test eax, eax
je 0x7ac3ba00
mov ebx, dword [esi]
mov eax, edi
mov edx, ebx
call fcn.7ac38d90
mov edx, dword [ebx + 4]
test edx, 0x40000000
je 0x7ac3b697
test byte [ebx + 0xb], 0x40
je 0x7ac3b870
and edx, 0x4000000
je 0x7ac3b6a9
test byte [ebx + 0xb], 4
je 0x7ac3b8d8
mov eax, dword [esi + 4]
cmp eax, dword [ebp - 0xec]
je 0x7ac3b659
cmp word [eax + 8], 0
jne 0x7ac3b858
mov dword [esp], eax
call fcn.7ac14710
mov edx, eax
test eax, eax
je 0x7ac3b650
lea ecx, [edx + 0x10]
lea eax, [eax + 8]
mov dword [ebp - 0xec], esi
mov dword [ebp - 0x68], ecx
lea ecx, [edx + 0x18]
add edx, 0x20
lea ebx, [ebp - 0x6c]
mov dword [ebp - 0x64], ecx
mov dword [ebp - 0x60], edx
mov ecx, dword [eax]
test ecx, ecx
jg 0x7ac3b70a
lea esi, [esi]
add ebx, 4
lea eax, [ebp - 0x5c]
cmp eax, ebx
je 0x7ac3b770
mov eax, dword [ebx]
mov ecx, dword [eax]
test ecx, ecx
jle 0x7ac3b6f8
mov edx, dword [edi + 0x11014]
mov ecx, dword [eax + 4]
cmp edx, 1
jbe 0x7ac3bb25
mov eax, 1
lea esi, [esi]
cmp ecx, dword [edi + eax*4 + 0x11018]
je 0x7ac3b6f8
add eax, 1
mov esi, eax
cmp eax, edx
jne 0x7ac3b728
cmp eax, 0x400
setne byte [ebp - 0xf4]
cmp esi, edx
jne 0x7ac3b6f8
cmp byte [ebp - 0xf4], 0
je 0x7ac3b6f8
mov dword [edi + eax*4 + 0x11018], ecx
add edx, 1
add ebx, 4
lea eax, [ebp - 0x5c]
mov dword [edi + 0x11014], edx
cmp eax, ebx
jne 0x7ac3b702
lea esi, [esi]
mov esi, dword [ebp - 0xec]
jmp 0x7ac3b650
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xfc]
mov dword [ebp - 0xec], edx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x14], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0xc], esi
mov dword [esp + 4], 0
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov edx, dword [ebp - 0xec]
sub esp, 0x20
cmp eax, dword [ebp - 0x108]
mov ecx, eax
jg 0x7ac3b960
mov eax, dword [ebp - 0xf0]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x1c], 0
mov dword [esp + 0x18], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0xc], esi
mov eax, dword [ebx + 4]
add edx, dword [ebx + 8]
mov dword [ebp - 0xec], ecx
mov eax, dword [eax + 0xbc]
mov ecx, dword [ebp - 0xfc]
mov eax, dword [eax]
mov dword [esp], ecx
mov dword [esp + 4], 0
lea eax, [eax + edx*2]
mov dword [esp + 8], eax
call dword [sym.imp.kernel32.dll_WideCharToMultiByte]
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0xf0]
mov eax, dword [ebp - 0xf4]
sub esp, 0x20
call fcn.7ac393c0
mov dword [ebp - 0xec], eax
jmp 0x7ac3b4f0
mov edx, dword [eax + 0x100]
mov eax, edi
call fcn.7ac38d90
mov eax, dword [esi + 4]
jmp 0x7ac3b6bf
mov ecx, dword [ebx + 0x14]
mov eax, dword [edi + 0x11014]
mov dword [ebp - 0xfc], ecx
mov dword [ebp - 0xf4], eax
cmp eax, 1
jbe 0x7ac3bc3a
mov dword [ebp - 0xfc], ebx
mov eax, 1
mov ebx, dword [ebp - 0xf4]
mov dword [ebp - 0xf8], esi
jmp 0x7ac3b8bb
add eax, 1
cmp eax, ebx
je 0x7ac3bac0
cmp ecx, dword [edi + eax*4 + 0x11018]
jne 0x7ac3b8b0
mov esi, dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xfc]
jmp 0x7ac3b697
mov edx, dword [edi + 0x11014]
mov ecx, dword [ebx + 0x60]
cmp edx, 1
jbe 0x7ac3bc24
mov eax, 1
nop
cmp ecx, dword [edi + eax*4 + 0x11018]
je 0x7ac3b6a9
add eax, 1
mov ebx, eax
cmp eax, edx
jne 0x7ac3b8f0
cmp eax, 0x400
setne byte [ebp - 0xf4]
cmp edx, ebx
jne 0x7ac3b6a9
cmp byte [ebp - 0xf4], 0
je 0x7ac3b6a9
add edx, 1
mov dword [edi + eax*4 + 0x11018], ecx
mov dword [edi + 0x11014], edx
jmp 0x7ac3b6a9
mov eax, dword [ebp - 0xf4]
mov ecx, 2
mov edx, 0x7ac4d82e
call fcn.7ac393c0
mov dword [ebp - 0xec], eax
jmp 0x7ac3b4f0
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0x10c], edx
test eax, eax
je 0x7ac3bb3b
mov eax, dword [ebp - 0xf0]
mov dword [esp + 0xc], ecx
mov dword [esp + 4], 0
mov dword [esp + 8], eax
mov eax, dword [ebp - 0x100]
mov dword [ebp - 0xec], ecx
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call dword [sym.imp.kernel32.dll_HeapReAlloc]
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0xf0], eax
sub esp, 0x10
mov dword [ebp - 0x108], ecx
jmp 0x7ac3b7dc
mov edi, dword [ebp - 0xf4]
mov esi, dword [ebp - 0xf0]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov dword [esp + 8], esi
mov eax, dword [eax + 0x30]
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call esi
sub esp, 0xc
jmp 0x7ac3b5d6
mov dword [esp + 4], 0x7ac4d734
mov dword [esp], edi
call fcn.7ac394c0
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
je 0x7ac3b5d6
mov edx, dword [edi + 0x1010]
xor ebx, ebx
test edx, edx
jne 0x7ac3ba92
jmp 0x7ac3bb84
mov dword [esp + 0xc], eax
mov dword [esp + 8], ebx
mov dword [esp + 4], str._f_u_fcharset_u
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
je 0x7ac3b5d0
mov edx, dword [edi + ebx*8 + 0x1018]
mov ecx, 0xffffffff
mov eax, edi
call fcn.7ac3a300
test eax, eax
je 0x7ac3b5d0
mov dword [esp + 4], 0x7ac4d75b
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
je 0x7ac3b5d0
add ebx, 1
cmp ebx, dword [edi + 0x1010]
jae 0x7ac3bb84
movzx eax, byte [edi + ebx*8 + 0x1014]
cmp al, 1
jne 0x7ac3ba30
mov dword [esp + 8], ebx
mov dword [esp + 4], str._f_u
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
jne 0x7ac3ba50
jmp 0x7ac3b5d0
cmp eax, 0x400
mov esi, dword [ebp - 0xf8]
mov ebx, dword [ebp - 0xfc]
mov dword [ebp - 0xfc], ecx
setne byte [ebp - 0x100]
mov ecx, eax
mov dword [ebp - 0xf8], ecx
mov ecx, dword [ebp - 0xf4]
cmp dword [ebp - 0xf8], ecx
jne 0x7ac3b697
cmp byte [ebp - 0x100], 0
je 0x7ac3b697
mov edx, dword [ebp - 0xfc]
mov dword [edi + eax*4 + 0x11018], edx
mov eax, ecx
add eax, 1
mov dword [edi + 0x11014], eax
mov edx, dword [ebx + 4]
jmp 0x7ac3b697
mov byte [ebp - 0xf4], 1
mov esi, 1
mov eax, 1
jmp 0x7ac3b746
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0xec], ecx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0x104]
call eax
mov ecx, dword [ebp - 0xec]
mov edx, dword [ebp - 0x10c]
mov dword [ebp - 0xf0], eax
sub esp, 0xc
mov dword [ebp - 0x108], ecx
jmp 0x7ac3b7dc
mov dword [esp + 4], 0x7ac4d73e
mov dword [esp], edi
call fcn.7ac394c0
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
je 0x7ac3b5d6
mov dword [esp + 4], str.colortbl_
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
je 0x7ac3b5d6
cmp dword [edi + 0x11014], 1
mov ebx, 1
ja 0x7ac3bbdb
jmp 0x7ac3bc50
add ebx, 1
cmp ebx, dword [edi + 0x11014]
jae 0x7ac3bc50
mov eax, dword [edi + ebx*4 + 0x11018]
mov dword [esp + 4], str._red_ugreen_u_blue_u_
mov dword [esp], edi
mov edx, eax
shr edx, 0x10
movzx edx, dl
mov dword [esp + 0x10], edx
movzx edx, ah
movzx eax, al
mov dword [esp + 0xc], edx
mov dword [esp + 8], eax
call fcn.7ac394c0
test eax, eax
jne 0x7ac3bbd0
jmp 0x7ac3b5d0
mov dword [ebp - 0xf0], 0
jmp 0x7ac3b9ce
mov byte [ebp - 0xf4], 1
mov ebx, 1
mov eax, 1
jmp 0x7ac3b912
mov byte [ebp - 0x100], 1
mov ecx, 1
mov eax, 1
jmp 0x7ac3bae0
mov dword [esp + 4], 0x7ac4d73e
mov dword [esp], edi
call fcn.7ac394c0
mov esi, dword [sym.imp.kernel32.dll_HeapFree]
test eax, eax
je 0x7ac3b5d6
mov dword [esp + 4], str.generator_Wine_Riched20_2.0__r_n
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
je 0x7ac3b5d6
mov dword [ebp - 0xf4], esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0xec], 0
jmp 0x7ac3bd28
mov edx, dword [ebp - 0xd8]
mov eax, dword [edx + 0xe8]
and eax, 0x18
mov dword [ebp - 0xf0], eax
jne 0x7ac3bcfe
mov eax, dword [ebx + 0x14]
test al, 1
jne 0x7ac3be10
test al, 2
je 0x7ac3bdd0
test byte [esi + 4], 1
je 0x7ac3bce0
mov dword [esp], edx
call fcn.7ac146f0
test eax, eax
jne 0x7ac3c02a
mov dword [esp + 4], str._tab
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
je 0x7ac3bdfd
mov ebx, dword [ebp - 0xd4]
cmp dword [ebp - 0xc8], ebx
je 0x7ac3bdaa
lea eax, [ebp - 0xd8]
mov dword [esp + 4], 1
mov dword [esp], eax
call fcn.7ac2ac60
test eax, eax
je 0x7ac3bdaa
mov ebx, dword [ebp - 0xd8]
cmp ebx, dword [ebp - 0xec]
je 0x7ac3bd4f
mov ecx, ebx
mov edx, edi
mov eax, esi
call fcn.7ac3a820
test eax, eax
je 0x7ac3bdfd
mov dword [ebp - 0xec], ebx
mov ebx, dword [ebp - 0xd4]
cmp ebx, dword [ebp - 0xc8]
je 0x7ac3bda0
test byte [0x7ac41020], 8
je 0x7ac3bca0
mov eax, dword [ebx + 0x14]
mov dword [esp + 0xc], str.flags__xh_n
mov dword [esp + 8], 0x7ac4dbfc
mov dword [esp + 0x10], eax
mov dword [esp + 4], 0x7ac41020
mov dword [esp], 3
call fcn.7ac39250
mov ebx, dword [ebp - 0xd4]
jmp 0x7ac3bca0
mov eax, dword [ebp - 0xc4]
test eax, eax
jne 0x7ac3bd5d
mov ecx, 2
mov edx, 0x7ac4d7a8
mov eax, edi
mov esi, dword [ebp - 0xf4]
call fcn.7ac393c0
jmp 0x7ac3b5d6
test al, 4
je 0x7ac3bfa8
cmp dword [edi + 0x12020], 1
jbe 0x7ac3c02a
mov dword [esp + 4], str._nestcell
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
jne 0x7ac3bcf8
mov esi, dword [ebp - 0xf4]
jmp 0x7ac3b5d6
mov eax, 0xe
lea ecx, [ebp - 0xdc]
mov dword [ebp - 0xb0], 0
mov word [ebp - 0xb4], ax
mov eax, dword [ebx + 0x28]
mov dword [ebp - 0xac], 1
mov dword [ebp - 0xa8], 0xffffffff
mov eax, dword [eax + 0x20]
mov dword [ebp - 0xa4], 0x40
mov dword [ebp - 0xc0], 0
mov dword [ebp - 0xbc], 0
mov dword [ebp - 0xb8], 0
mov edx, dword [eax]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0x7ac53fd8
mov dword [esp], eax
call dword [edx]
sub esp, 0xc
test eax, eax
js 0x7ac3bdfd
mov ecx, dword [esi]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov dword [esp + 4], esi
mov dword [esp + 8], eax
mov dword [ebp - 0xfc], eax
lea eax, [ebp - 0xa0]
mov dword [esp], eax
call fcn.7ac054f0
mov eax, dword [ebp - 0xdc]
lea edx, [ebp - 0xb4]
mov ecx, dword [eax]
mov dword [esp + 4], edx
mov dword [esp], eax
call dword [ecx + 0x14]
lea edx, [ebp - 0xb4]
sub esp, 8
test eax, eax
jne 0x7ac3c050
mov eax, dword [ebp - 0xdc]
mov ecx, dword [eax]
lea eax, [ebp - 0xc0]
mov dword [esp + 4], edx
mov dword [ebp - 0x100], eax
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xdc]
mov dword [esp], eax
call dword [ecx + 0xc]
sub esp, 0xc
test eax, eax
js 0x7ac3bf14
cmp dword [ebp - 0xc0], 0x40
je 0x7ac3c0b8
mov dword [ebp - 0xf8], 0
lea eax, [ebp - 0xa0]
mov dword [esp], eax
call fcn.7ac055d0
mov ecx, dword [esi]
mov edx, dword [ebp - 0xfc]
mov eax, dword [ecx]
mov dword [esp], edx
call dword [eax + 0x10]
mov ecx, dword [ebp - 0xf8]
sub esp, 4
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
mov dword [esp], eax
mov eax, dword [ebp - 0xf4]
call eax
mov eax, dword [ebp - 0x100]
sub esp, 0xc
mov dword [esp], eax
call dword [sym.imp.ole32.dll_ReleaseStgMedium]
mov eax, dword [ebp - 0xdc]
sub esp, 4
mov edx, dword [eax]
mov dword [esp], eax
call dword [edx + 8]
mov eax, dword [ebp - 0xf0]
sub esp, 4
test eax, eax
jne 0x7ac3bcf8
jmp 0x7ac3bdfd
test eax, 0x100000
jne 0x7ac3c061
test eax, 0x200000
jne 0x7ac3c308
mov edx, dword [ebx]
test byte [0x7ac41020], 8
jne 0x7ac3c328
mov eax, edi
call fcn.7ac39c20
test eax, eax
je 0x7ac3bdfd
mov edx, dword [ebp - 0xd4]
mov ecx, dword [ebp - 0xc4]
cmp edx, dword [ebp - 0xc8]
je 0x7ac3bff3
mov ecx, dword [edx + 0xc]
mov ebx, dword [edx + 4]
mov eax, dword [ebp - 0xd0]
mov ebx, dword [ebx + 0xbc]
sub ecx, eax
add eax, dword [edx + 8]
mov edx, dword [ebx]
lea edx, [edx + eax*2]
mov eax, edi
call fcn.7ac3a300
test eax, eax
je 0x7ac3bdfd
mov dword [ebp - 0xd0], 0
jmp 0x7ac3bcf8
mov dword [esp + 4], str.cell
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
jne 0x7ac3bcf8
jmp 0x7ac3bdfd
lea eax, [ebp - 0xc0]
mov dword [ebp - 0x100], eax
jmp 0x7ac3bf14
mov edx, dword [ebx]
mov eax, edi
call fcn.7ac39c20
test eax, eax
je 0x7ac3bdfd
mov eax, dword [ebp - 0xd8]
mov dword [esp], eax
call fcn.7ac146f0
test eax, eax
je 0x7ac3c097
mov eax, dword [ebp - 0xd8]
test byte [eax + 0xe8], 0x1c
je 0x7ac3c35d
mov dword [esp + 4], str.par_r_n
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
jne 0x7ac3bcf8
jmp 0x7ac3bdfd
mov eax, dword [ebp - 0xbc]
mov dword [esp + 8], 0
mov dword [esp + 4], 0
mov dword [esp], eax
mov eax, dword [sym.imp.gdi32.dll_GetEnhMetaFileBits]
mov dword [ebp - 0x108], eax
call eax
sub esp, 0xc
mov edx, eax
cmp eax, 0x57
jbe 0x7ac3bf14
mov dword [esp + 8], edx
mov ecx, dword [ebp - 0x104]
mov dword [esp + 4], 0
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov dword [ebp - 0x10c], edx
mov eax, dword [eax + 0x18]
mov dword [esp], eax
call ecx
sub esp, 0xc
test eax, eax
je 0x7ac3bf14
mov dword [ebp - 0xf8], eax
mov edx, dword [ebp - 0x10c]
mov dword [esp + 8], eax
mov eax, dword [ebp - 0xbc]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [ebp - 0x108]
call eax
mov dword [ebp - 0x108], eax
sub esp, 0xc
cmp eax, 0x57
jbe 0x7ac3bf1e
mov ecx, dword [ebp - 0xf8]
mov eax, dword [ecx + 0x50]
imul eax, dword [ebp - 0x84]
lea eax, [eax + eax*4]
add eax, eax
mov dword [esp + 8], eax
imul eax, dword [ecx + 0x48], 0xfe
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x20]
sub eax, dword [ecx + 0x18]
mov dword [esp], eax
mov eax, dword [sym.imp.kernel32.dll_MulDiv]
mov dword [ebp - 0xf0], eax
call eax
mov ecx, dword [ebp - 0xf8]
mov dword [ebp - 0x10c], eax
sub esp, 0xc
mov eax, dword [ecx + 0x54]
imul eax, dword [ebp - 0x80]
lea eax, [eax + eax*4]
add eax, eax
mov dword [esp + 8], eax
imul eax, dword [ecx + 0x4c], 0xfe
mov dword [esp + 4], eax
mov eax, dword [ecx + 0x24]
sub eax, dword [ecx + 0x1c]
mov dword [esp], eax
mov eax, dword [ebp - 0xf0]
call eax
sub esp, 0xc
mov dword [ebp - 0x114], eax
mov dword [esp + 8], 0xfe
mov dword [esp + 4], 0x90
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x2c]
mov dword [esp], eax
mov eax, dword [ebp - 0xf0]
call eax
sub esp, 0xc
mov dword [ebp - 0x110], eax
mov dword [esp + 8], 0xfe
mov dword [esp + 4], 0x90
mov eax, dword [ebx + 0x28]
mov eax, dword [eax + 0x30]
mov dword [esp], eax
mov eax, dword [ebp - 0xf0]
call eax
mov edx, dword [ebp - 0x110]
mov ecx, dword [ebp - 0x114]
sub esp, 0xc
mov dword [esp + 0x14], eax
mov eax, dword [ebp - 0x10c]
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], ecx
mov dword [esp + 8], eax
mov dword [esp + 4], str._shppictpictemfblippicw_dpich_dpicwgoal_dpichgoal_d_n
mov dword [esp], edi
call fcn.7ac394c0
mov dword [ebp - 0xf0], eax
test eax, eax
je 0x7ac3bf1e
mov ecx, dword [ebp - 0xf8]
mov dword [ebp + 8], esi
mov esi, ecx
mov eax, dword [ebp - 0x108]
mov ebx, 0x28
cmp eax, 0x28
cmovbe ebx, eax
xor eax, eax
lea esi, [esi]
movzx ecx, byte [esi + eax]
mov edx, ecx
and ecx, 0xf
shr dl, 4
movzx edx, dl
movzx edx, byte [edx + 0x7ac4d9f0]
mov byte [ebp + eax*2 - 0x6c], dl
movzx edx, byte [ecx + 0x7ac4d9f0]
mov byte [ebp + eax*2 - 0x6b], dl
add eax, 1
cmp ebx, eax
jne 0x7ac3c288
lea eax, [ebx + ebx]
lea edx, [ebp - 0x6c]
add esi, ebx
mov byte [ebp + eax - 0x6c], 0xa
lea ecx, [eax + 1]
mov eax, edi
call fcn.7ac393c0
test eax, eax
je 0x7ac3c37a
sub dword [ebp - 0x108], ebx
jne 0x7ac3c26e
mov dword [esp + 4], 0x7ac4d845
mov esi, dword [ebp + 8]
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
setne al
movzx eax, al
mov dword [ebp - 0xf0], eax
jmp 0x7ac3bf1e
mov dword [esp + 4], str.line_r_n
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
jne 0x7ac3bcf8
jmp 0x7ac3bdfd
mov dword [esp + 0x10], edx
mov dword [esp + 0xc], str.style__p_n
mov dword [esp + 8], 0x7ac4dbfc
mov dword [esp + 4], 0x7ac41020
mov dword [esp], 3
call fcn.7ac39250
mov eax, dword [ebp - 0xd4]
mov edx, dword [eax]
jmp 0x7ac3bfcd
mov dword [esp + 4], str._row_r_n
mov dword [esp], edi
call fcn.7ac394c0
test eax, eax
jne 0x7ac3bcf8
jmp 0x7ac3bdfd
mov dword [ebp - 0xf0], eax
mov esi, dword [ebp + 8]
jmp 0x7ac3bf1e