Function at 0x10019fc0
Capabilities:
Enumerate pe sections

Disassembly:
movsx eax, word [esp + 8]
sub esp, 0x118
cmp eax, 0x209
push ebx
push esi
push edi
mov esi, ecx
jg 0x1001a230
je 0x1001a1f2
cmp eax, 0x1fa
jg 0x1001a196
je 0x1001a25e
mov ecx, eax
sub ecx, 0x102
je 0x1001a15d
sub ecx, 0x2b
je 0x1001a05d
dec ecx
jne 0x1001a3ae
mov eax, dword [esp + 0x130]
cmp word [eax + 2], 6
jne 0x1001a023
mov byte [esi + 0x18b], 1
jmp 0x1001a02a
mov byte [esi + 0x18b], 0
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
movsx eax, word [eax + 2]
push eax
push str.SetTextAlign
push str._14s____d_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
mov al, byte [esi + 0x190]
mov ebx, dword [esp + 0x130]
test al, al
je 0x1001a0a0
or eax, 0xffffffff
cmp word [esi + 0x18c], ax
jne 0x1001a086
mov cx, word [ebx]
mov word [esi + 0x18c], cx
jmp 0x1001a099
cmp word [esi + 0x18e], ax
jne 0x1001a099
mov dx, word [ebx]
mov word [esi + 0x18e], dx
mov byte [esi + 0x190], 0
mov edi, dword [esp + 0x134]
test edi, edi
je 0x1001a0f4
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
test eax, eax
je 0x1001a0ca
mov dword [eax + 4], 0
mov dword [eax], 0x10033460
mov ecx, eax
jmp 0x1001a0cc
xor ecx, ecx
mov eax, dword [esi + 0x104]
mov dword [esi + 0x114], ecx
push eax
push str.Arial
push edi
call sub.MFC42.DLL_CFont::CreatePointFont
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x114]
mov edx, dword [ecx]
jmp 0x1001a127
mov ax, word [ebx]
cmp ax, word [esi + 0x18c]
jne 0x1001a110
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x108]
mov edx, dword [ecx]
jmp 0x1001a127
cmp ax, word [esi + 0x18e]
jne 0x1001a12b
mov ecx, dword [esi + 0x104]
mov eax, dword [esi + 0x10c]
mov edx, dword [ecx]
push eax
call dword [edx + 0x30]
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
movsx ecx, word [ebx]
push ecx
push str.SelectObject
push str._14s____d_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
mov edx, dword [esp + 0x130]
movsx eax, word [edx]
push eax
push str.SetBkMode
push str._14s____d_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
mov ecx, eax
sub ecx, 0x1fb
je 0x1001a353
dec ecx
je 0x1001a53b
sub ecx, 5
jne 0x1001a3ae
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
mov eax, dword [esp + 0x130]
movsx ecx, word [eax + 2]
movsx edx, word [eax]
push ecx
push edx
push str.SetBkColor
push str._14s____d__d_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x14
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
mov eax, dword [esp + 0x130]
movsx ecx, word [eax + 2]
movsx edx, word [eax]
push ecx
push edx
push str.SetTextColor
push str._14s____d__d_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x14
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
cmp eax, 0x2fb
jg 0x1001a391
je 0x1001a353
mov ecx, eax
sub ecx, 0x20b
je 0x1001a315
dec ecx
je 0x1001a2ab
sub ecx, 0xee
jne 0x1001a3ae
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
mov eax, dword [esp + 0x130]
movsx ecx, word [eax + 8]
movsx edx, word [eax + 6]
push ecx
push edx
movsx ecx, word [eax + 4]
movsx edx, word [eax + 2]
movsx eax, word [eax]
push ecx
push edx
push eax
push str.CreatePen
push str._14s____d__d__d__d__d_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x20
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
mov edi, dword [esp + 0x130]
mov cx, word [edi]
push ecx
mov ecx, esi
call fcn.10019e00
mov dx, word [edi + 2]
mov ecx, esi
push edx
mov ebx, eax
call fcn.10019e30
mov edx, dword [esi + 0x170]
movsx ecx, bx
add edx, ecx
movsx eax, ax
mov dword [esi + 0x178], edx
mov edx, dword [esi + 0x174]
add edx, eax
mov dword [esi + 0x17c], edx
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
movsx edx, word [edi + 2]
push edx
movsx edx, word [edi]
push edx
push eax
push ecx
push str.SetWindowExt
push str._14s_____4d__4d_______d__d__n
jmp 0x1001a569
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
mov eax, dword [esp + 0x130]
movsx ecx, word [eax + 2]
movsx edx, word [eax]
push ecx
push edx
push str.SetWindowOrg
push str._14s_____4d__4d__n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x14
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
mov byte [esi + 0x190], 1
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
mov eax, dword [esp + 0x130]
movsx ecx, word [eax + 6]
movsx edx, word [eax + 4]
push ecx
push edx
movsx ecx, word [eax + 2]
movsx edx, word [eax]
push ecx
push edx
push str.CreateFont
push str._14s____d___d___d___d__..._n
jmp 0x1001a569
cmp eax, 0x2fc
je 0x1001a53b
cmp eax, 0x41b
je 0x1001a47d
cmp eax, 0x521
je 0x1001a3eb
cmp dword [esp + 0x128], 3
jle 0x1001a573
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
push eax
push str.Unknown
push str._14s_____x__n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x10
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
mov eax, dword [esp + 0x130]
push ebp
mov dx, word [eax + 2]
mov cx, word [eax]
mov word [esp + 0x24], dx
mov edx, dword [esp + 0x12c]
mov word [esp + 0x20], cx
mov bp, word [eax + edx*2 - 2]
lea ebx, [edx - 1]
cmp ebx, 2
jle 0x1001a451
lea ecx, [eax + 4]
lea edi, [esp + edx*2 + 0x21]
add ebx, 0xfffffffe
movsx eax, word [ecx]
and eax, 0x800000ff
jns 0x1001a433
dec eax
or eax, 0xffffff00
inc eax
mov byte [edi - 1], al
sub edi, 2
movsx eax, word [ecx]
cdq
and edx, 0xff
add ecx, 2
add eax, edx
sar eax, 8
mov byte [edi + 2], al
dec ebx
jne 0x1001a422
mov eax, dword [esp + 0x24]
lea edx, [esp + 0x28]
movsx ecx, bp
push ebp
push edx
mov byte [esp + ecx + 0x30], 0
mov ecx, dword [esp + 0x28]
push eax
push ecx
mov ecx, esi
call fcn.10019e60
pop ebp
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
cmp dword [esp + 0x128], 4
jne 0x1001a573
mov al, byte [esi + 0x18a]
test al, al
je 0x1001a528
mov edi, dword [esp + 0x130]
mov dx, word [edi + 6]
mov ax, word [edi + 4]
mov cx, word [edi + 2]
push edx
mov dx, word [edi]
push eax
push ecx
lea eax, [esp + 0x18]
push edx
push eax
mov ecx, esi
call fcn.10019f30
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x10]
push edx
mov edx, dword [esi + 0x104]
push eax
push ecx
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.GDI32.dll_Rectangle]
mov eax, dword [esi + 0x100]
test eax, eax
je 0x1001a528
movsx ecx, word [edi + 6]
movsx edx, word [edi + 4]
push ecx
push edx
movsx ecx, word [edi + 2]
movsx edx, word [edi]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x24]
push edx
mov edx, dword [esp + 0x24]
push ecx
push edx
push str.Rectangle
push str._14s_____4d__4d______4d__4d________6d__6d__6d__6d__n
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x2c
mov byte [esi + 0x18a], 1
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10
mov esi, dword [esi + 0x100]
test esi, esi
je 0x1001a573
mov eax, dword [esp + 0x130]
movsx ecx, word [eax + 6]
movsx edx, word [eax + 4]
push ecx
push edx
movsx ecx, word [eax + 2]
movsx edx, word [eax]
push ecx
push edx
push str.CreateBrush
push str._14s____d__d__d__d_n
push esi
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0x1c
pop edi
pop esi
pop ebx
add esp, 0x118
ret 0x10