Function at 0x1006e7a7
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x100e436c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push ebp
mov ebp, dword [esp + 0x150]
push esi
push edi
push ebp
call fcn.100307e0
add esp, 4
mov esi, eax
mov dword [esp + 0x4c], esi
push 0
push 0
push 0x7e2
call fcn.1005d840
mov eax, dword [esi + 0x24c]
test eax, eax
je 0x1006f298
mov ecx, esi
call fcn.1004fa20
mov eax, dword [esi + 0x25c]
test eax, eax
jne 0x1006e800
mov eax, dword [esi + 0x24c]
push eax
call dword [sym.imp.GDI32.dll_StartPage]
test eax, eax
jge 0x1006e7ef
mov ecx, esi
call fcn.1004fcb0
jmp 0x1006f298
mov ecx, esi
mov dword [esi + 0x25c], 1
call fcn.1004fa20
mov eax, dword [esp + 0x15c]
cmp eax, 0xc
jl 0x1006e818
cmp eax, 0xe
jg 0x1006e818
mov eax, 1
jmp 0x1006e81a
xor eax, eax
push eax
mov ecx, esi
call fcn.1004fa40
mov ecx, dword [esi + 0x9c]
mov edi, dword [esi + 0x98]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0x50]
mov dword [esp + 0x64], edi
call fcn.1002f960
mov edx, dword [esp + 0x15c]
mov dword [esp + 0x14c], 0
lea ebx, [esi + 0x248]
lea eax, [edx - 1]
cmp eax, 0xe
ja case.default.0x1006e86b
xor ecx, ecx
mov cl, byte [eax + 0x1006f2e0]
jmp dword [ecx*4 + 0x1006f2c4]
mov ecx, dword [ebp + 0x24]
mov eax, dword [ebp + 0x18]
mov esi, dword [esp + 0x2c]
mov ebp, dword [ebp + 0xc]
mov edx, dword [ebx + 4]
add eax, esi
add ebp, edi
push ecx
push eax
push ebp
push edx
call dword [sym.imp.GDI32.dll_SetPixelV]
jmp case.default.0x1006e86b
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 0x24]
mov ebp, dword [ebp + 0x30]
add ecx, edx
add eax, edi
push ecx
push eax
lea eax, [esp + 0x24]
push eax
mov ecx, ebx
add esi, edi
add ebp, edx
call fcn.100da4ab
push ebp
push esi
mov ecx, ebx
call fcn.100da4f7
jmp case.default.0x1006e86b
mov ecx, dword [ebp + 0xc]
mov esi, dword [esp + 0x2c]
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x24]
add ecx, edi
add edx, esi
mov dword [esp + 0x1c], ecx
mov ecx, dword [ebp + 0x30]
add ecx, esi
add eax, edi
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x20], edx
mov dword [esp + 0x24], eax
call fcn.100dc16d
mov eax, dword [esp + 0x15c]
cmp eax, 3
jne 0x1006e929
mov edx, dword [esp + 0x28]
mov eax, dword [esp + 0x24]
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [esp + 0x20]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Ellipse]
jmp case.default.0x1006e86b
cmp eax, 7
jne 0x1006e951
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
push ecx
mov ecx, dword [esp + 0x20]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Rectangle]
jmp case.default.0x1006e86b
cmp eax, 9
jne 0x1006e9c8
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x1c]
push 2
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x28]
cmp ecx, eax
jne 0x1006e978
inc eax
mov dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
cmp ecx, eax
jne 0x1006e989
inc eax
mov dword [esp + 0x24], eax
mov eax, dword [ebx + 8]
lea edx, [esp + 0x1c]
push 2
push edx
push eax
call dword [sym.imp.GDI32.dll_DPtoLP]
mov ecx, dword [ebx + 8]
push 2
push ecx
call dword [sym.imp.GDI32.dll_GetCurrentObject]
push eax
call fcn.100da951
test eax, eax
je 0x1006e9b3
mov eax, dword [eax + 4]
push eax
mov eax, dword [ebx + 4]
lea edx, [esp + 0x20]
push edx
push eax
call dword [sym.imp.USER32.dll_FillRect]
jmp case.default.0x1006e86b
cmp eax, 0xa
mov eax, dword [ebp + 0x3c]
jne 0x1006ea0d
cmp dword [esp + 0x154], 7
jl 0x1006e9e6
mov ecx, dword [ebp + 0x50]
test ecx, ecx
je 0x1006e9e6
mov ebp, dword [ebp + 0x48]
jmp 0x1006e9e8
mov ebp, eax
mov ecx, dword [esp + 0x28]
mov edx, dword [esp + 0x24]
push ebp
push eax
mov eax, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x28]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_RoundRect]
jmp case.default.0x1006e86b
mov ecx, dword [ebp + 0x48]
mov edx, dword [ebp + 0x54]
mov ebp, dword [ebp + 0x60]
add ecx, esi
add ebp, esi
mov esi, dword [esp + 0x15c]
add eax, edi
add edx, edi
sub esi, 4
je 0x1006ea82
dec esi
je 0x1006ea5b
dec esi
jne case.default.0x1006e86b
push ebp
push edx
mov edx, dword [esp + 0x28]
push ecx
mov ecx, dword [esp + 0x30]
push eax
mov eax, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [ebx + 4]
push edx
push eax
push ecx
call dword [sym.imp.GDI32.dll_Pie]
jmp case.default.0x1006e86b
push ebp
push edx
mov edx, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x2c]
push eax
mov eax, dword [esp + 0x34]
push edx
mov edx, dword [esp + 0x30]
push eax
mov eax, dword [ebx + 4]
push ecx
push edx
push eax
call dword [sym.imp.GDI32.dll_Chord]
jmp case.default.0x1006e86b
push ebp
push edx
mov edx, dword [esp + 0x2c]
push ecx
mov ecx, dword [esp + 0x34]
push eax
mov eax, dword [esp + 0x30]
push ecx
mov ecx, dword [esp + 0x30]
push edx
mov edx, dword [ebx + 4]
push eax
push ecx
push edx
call dword [sym.imp.GDI32.dll_Arc]
jmp case.default.0x1006e86b
mov ecx, dword [ebp + 0x18]
mov edx, dword [esp + 0x2c]
mov eax, dword [ebp + 0xc]
add ecx, edx
mov edx, dword [ebp + 0x24]
add eax, edi
mov dword [esp + 0x38], ecx
mov dword [esp + 0x40], edx
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x34]
mov dword [esp + 0x34], eax
mov eax, dword [ebp + 0x30]
push 1
push ecx
push edx
mov dword [esp + 0x50], eax
call dword [sym.imp.GDI32.dll_LPtoDP]
lea eax, [esp + 0x40]
mov ecx, ebx
push eax
call fcn.100da5ec
mov edx, dword [ebx]
push 1
mov ecx, ebx
call dword [edx + 0x34]
mov eax, dword [ebp + 0x44]
test eax, eax
jne 0x1006eb04
mov dword [esp + 0x18], 2
jmp 0x1006eb2e
mov eax, dword [ebp + 0x3c]
cmp eax, 8
jg 0x1006eb20
cmp eax, 1
jge 0x1006eb1b
mov dword [esp + 0x18], 1
jmp 0x1006eb2e
cmp eax, 8
jle 0x1006eb2a
mov dword [esp + 0x18], 8
jmp 0x1006eb2e
mov dword [esp + 0x18], eax
mov esi, dword [esp + 0x154]
sub esi, 6
test esi, esi
jle 0x1006eb54
add ebp, 0x48
mov edi, esi
mov eax, dword [ebp]
lea ecx, [esp + 0x50]
push eax
call fcn.1002fbf0
add ebp, 0xc
dec edi
jne 0x1006eb41
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 0x1c], eax
add ecx, eax
mov eax, dword [esp + 0x38]
mov dword [esp + 0x20], eax
add edx, eax
lea eax, [esp + 0x1c]
mov dword [esp + 0x24], ecx
push eax
mov dword [esp + 0x2c], edx
call dword [sym.imp.USER32.dll_IsRectEmpty]
test eax, eax
jne case.default.0x1006e86b
lea ecx, [esp + 0x70]
call fcn.100206d0
mov eax, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov ecx, dword [esp + 0x18]
push 0xcc0020
neg eax
sbb eax, eax
push esi
and eax, edx
lea edx, [esp + 0x24]
push eax
push ecx
push 0
push edx
push ebx
lea ecx, [esp + 0x8c]
mov byte [esp + 0x168], 1
call fcn.10021650
mov dword [esp + 0x70], 0x100ea378
mov esi, 0x100e8bd0
lea ecx, [esp + 0xe8]
mov byte [esp + 0x14c], 2
mov dword [esp + 0xe8], esi
call fcn.1002fb60
lea ecx, [esp + 0xc8]
mov byte [esp + 0x14c], 0
mov dword [esp + 0xc8], esi
call fcn.1002fb60
jmp case.default.0x1006e86b
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x48]
push eax
push ecx
call fcn.10060c70
mov ecx, eax
mov eax, dword [esp + 0x50]
cdq
sub eax, edx
add esp, 8
mov esi, eax
mov eax, dword [ebp + 0x20]
sar esi, 1
test eax, eax
je 0x1006ec40
mov ebp, dword [ebp + 0x18]
cmp esi, ebp
jl 0x1006ec40
mov esi, ebp
cmp esi, 1
jle case.default.0x1006e86b
mov ebp, dword [esp + 0x2c]
test edi, edi
jne 0x1006ec66
test ebp, ebp
jne 0x1006ec66
mov edx, dword [ebx + 4]
push esi
push ecx
push edx
call dword [sym.imp.GDI32.dll_Polygon]
jmp case.default.0x1006e86b
lea eax, [esi*8]
push eax
push ecx
lea ecx, [esp + 0x58]
call fcn.10030100
mov ecx, dword [esp + 0x60]
mov edx, dword [esp + 0x58]
mov eax, ecx
neg eax
sbb eax, eax
and eax, edx
test esi, esi
jle 0x1006eca8
mov ecx, esi
mov edx, dword [eax]
add eax, 4
add edx, edi
mov dword [eax - 4], edx
mov edx, dword [eax]
add edx, ebp
mov dword [eax], edx
add eax, 4
dec ecx
jne 0x1006ec8e
mov ecx, dword [esp + 0x60]
mov ebp, dword [esp + 0x58]
push esi
neg ecx
sbb ecx, ecx
and ecx, ebp
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_Polygon]
jmp case.default.0x1006e86b
mov eax, dword [ebp + 0xc]
push 0
push eax
push 0x7e5
mov dword [esp + 0x54], eax
call fcn.1005d840
test eax, eax
je case.default.0x1006e86b
cmp dword [esp + 0x154], 8
jl 0x1006ecff
mov eax, dword [ebp + 0x5c]
test eax, eax
je 0x1006ecff
mov eax, dword [ebp + 0x54]
mov dword [esp + 0x3c], 1
test eax, eax
jne 0x1006ed07
mov dword [esp + 0x3c], 0
mov eax, dword [ebp + 0x50]
test eax, eax
je 0x1006ed16
mov esi, dword [ebp + 0x48]
cmp esi, 1
jne 0x1006ed1d
mov esi, 0xcc0020
jmp 0x1006ed4b
cmp esi, 2
jne 0x1006ed29
mov esi, 0x330008
jmp 0x1006ed4b
cmp esi, 3
jne 0x1006ed35
mov esi, 0x660046
jmp 0x1006ed4b
cmp esi, 4
jne 0x1006ed41
mov esi, 0xee0086
jmp 0x1006ed4b
cmp esi, 5
jne 0x1006ed4b
mov esi, 0x8800c6
mov edx, dword [ebp + 0x18]
mov eax, dword [ebp + 0x24]
add edx, edi
mov ecx, dword [ebp + 0x38]
mov dword [esp + 0x34], edx
mov edx, dword [esp + 0x2c]
add eax, edx
mov dword [esp + 0x38], eax
xor eax, eax
cmp ecx, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
je 0x1006ed79
mov ecx, dword [ebp + 0x30]
mov dword [esp + 0x10], ecx
cmp dword [ebp + 0x44], eax
je 0x1006ed85
mov edx, dword [ebp + 0x3c]
mov dword [esp + 0x14], edx
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x34]
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
lea edx, [esp + 0x10]
mov ecx, ebx
push edx
call fcn.100da5ec
mov eax, dword [ebx]
push 1
mov ecx, ebx
call dword [eax + 0x34]
mov eax, dword [ebp + 0x38]
test eax, eax
jne 0x1006edba
mov dword [esp + 0x10], 0xffffffff
mov eax, dword [ebp + 0x44]
test eax, eax
jne 0x1006edc9
mov dword [esp + 0x14], 0xffffffff
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x3c]
push esi
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x58]
push ecx
push edx
push ebx
push eax
call fcn.1008eed0
add esp, 0x20
jmp case.default.0x1006e86b
mov ecx, dword [esi + 0x240]
mov edx, dword [esi + 0x244]
add esi, 0x240
mov dword [esp + 0x10], ecx
mov ecx, dword [ebx + 8]
mov esi, dword [sym.imp.GDI32.dll_DPtoLP]
lea eax, [esp + 0x10]
push 1
push eax
push ecx
mov dword [esp + 0x20], edx
call esi
cmp dword [esp + 0x15c], 0xe
jne 0x1006ee67
mov eax, dword [ebp + 0x14]
test eax, eax
je 0x1006ee3b
mov edx, dword [ebp + 0xc]
mov dword [esp + 0x10], edx
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x1006ee49
mov eax, dword [ebp + 0x18]
mov dword [esp + 0x14], eax
mov edx, dword [ebx + 8]
lea ecx, [esp + 0x10]
push 1
push ecx
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x10]
push 1
push eax
push ecx
call esi
mov esi, dword [esp + 0x4c]
mov ecx, ebx
mov dword [esp + 0x34], 0
mov edx, dword [esi + 0xb8]
mov eax, dword [esi + 0xc8]
mov edi, dword [esi + 0xc0]
sub edx, eax
lea eax, [esp + 0x34]
sub edx, edi
push eax
mov dword [esp + 0x3c], edx
call fcn.100da655
mov ecx, dword [esi + 0xa4]
mov edi, dword [esi + 0x9c]
mov edx, dword [esp + 0x38]
add ecx, edi
sub edx, ecx
mov edi, 0x10108388
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x38], edx
lea edx, [esp + 0x70]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
lea edx, [esp + 0x68]
rep movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x70]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
dec ecx
push edx
push ecx
mov ecx, dword [ebx + 8]
lea eax, [esp + 0x78]
push eax
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov ecx, dword [esp + 0x154]
mov eax, dword [esp + 0x15c]
dec ecx
cmp eax, 0xe
mov dword [esp + 0x154], ecx
jne 0x1006ef21
mov eax, ecx
sub eax, 2
mov dword [esp + 0x154], eax
mov eax, dword [esp + 0x154]
mov dword [esp + 0x48], 0
test eax, eax
jle 0x1006f245
mov eax, dword [esp + 0x15c]
mov edi, dword [esp + 0x4c]
sub eax, 0xe
neg eax
sbb eax, eax
and al, 0xfe
add eax, 3
lea edx, [eax + eax*2]
lea eax, [ebp + edx*4 + 8]
mov dword [esp + 0x18], eax
mov ecx, dword [0x10118248]
mov dword [esp + 0x3c], ecx
mov esi, dword [esp + 0x18]
mov byte [esp + 0x14c], 3
mov edx, dword [esi]
push edx
call fcn.100570f0
add esp, 4
cmp eax, 1
jne 0x1006ef95
mov ecx, esi
lea eax, [esp + 0x70]
add ecx, 0xfffffff8
push eax
push ecx
call fcn.100649c0
add esp, 8
jmp 0x1006f001
mov eax, dword [esi]
cmp eax, reloc.WS2_32.dll_connect
jne 0x1006efb5
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x3c]
mov eax, dword [edx - 8]
push eax
call fcn.100d7034
mov esi, dword [esp + 0x3c]
jmp 0x1006f005
cmp eax, reloc.OLEAUT32.dll_SysReAllocString
jne 0x1006efd3
mov edx, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
mov eax, dword [edx - 8]
push eax
call fcn.10015fe0
add esp, 8
jmp 0x1006f001
cmp eax, reloc.WS2_32.dll_closesocket
jne 0x1006eff5
mov eax, dword [esp + 0x18]
lea ecx, [esp + 0x70]
push ecx
mov edx, dword [eax - 4]
mov eax, dword [eax - 8]
push edx
push eax
call fcn.10015270
add esp, 0xc
jmp 0x1006f001
test eax, eax
jne 0x1006f211
mov byte [esp + 0x70], al
lea esi, [esp + 0x70]
test esi, esi
je 0x1006f211
mov al, byte [esi]
test al, al
jne 0x1006f031
cmp dword [esp + 0x15c], 0xc
jne 0x1006f211
mov ecx, dword [esp + 0x6c]
xor ebp, ebp
mov dword [esp + 0x44], ecx
mov dword [esp + 0x40], ebp
jmp 0x1006f09e
mov ebp, esi
cmp al, 0xd
je 0x1006f043
cmp al, 0xa
je 0x1006f043
mov al, byte [ebp + 1]
inc ebp
test al, al
jne 0x1006f033
mov al, byte [ebp]
test al, al
je 0x1006f054
mov byte [esp + 0x33], al
mov byte [ebp], 0
jmp 0x1006f056
xor ebp, ebp
cmp byte [esi], 0
jne 0x1006f06d
mov edx, dword [esp + 0x6c]
mov dword [esp + 0x40], 0
mov dword [esp + 0x44], edx
jmp 0x1006f09e
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
lea eax, [esp + 0x1c]
dec ecx
push eax
push ecx
mov ecx, dword [ebx + 8]
push esi
push ecx
call dword [sym.imp.GDI32.dll_GetTextExtentPoint32A]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov edi, dword [esp + 0x4c]
mov dword [esp + 0x40], edx
mov dword [esp + 0x44], eax
push 0
push 0
push 0x7e2
call fcn.1005d840
mov eax, dword [edi + 0x24c]
test eax, eax
je 0x1006f2b1
cmp dword [esp + 0x15c], 0xc
jne 0x1006f167
mov eax, dword [esp + 0x14]
test eax, eax
jle 0x1006f167
mov ecx, dword [esp + 0x44]
add ecx, eax
mov eax, dword [esp + 0x38]
cmp ecx, eax
jle 0x1006f167
mov ecx, dword [edi + 0xa8]
mov dword [esp + 0x14], 0
inc ecx
mov dword [edi + 0xa8], ecx
mov ecx, edi
call fcn.1004fc70
mov edx, dword [ebx + 4]
push edx
call dword [sym.imp.GDI32.dll_EndPage]
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_StartPage]
mov ecx, edi
call fcn.1004fa20
push 1
mov ecx, edi
call fcn.1004fa40
mov eax, dword [edi + 0xf4]
test eax, eax
je 0x1006f167
mov edx, dword [edi + 0xa8]
lea ecx, [esp + 0x110]
push ecx
push edx
call fcn.10014ab0
add esp, 8
lea eax, [esp + 0x110]
lea ecx, [edi + 0x134]
push eax
call fcn.100d65fe
mov ecx, dword [edi + 0x150]
push ecx
call dword [sym.imp.USER32.dll_UpdateWindow]
cmp byte [esi], 0
je 0x1006f19b
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
mov edx, dword [ebx]
repne scasb al, byte es:[edi]
mov eax, dword [esp + 0x14]
not ecx
dec ecx
push ecx
mov ecx, dword [esp + 0x30]
add eax, ecx
mov ecx, dword [esp + 0x68]
push esi
push eax
mov eax, dword [esp + 0x1c]
add eax, ecx
mov ecx, ebx
push eax
call dword [edx + 0x5c]
mov edi, dword [esp + 0x4c]
test ebp, ebp
jne 0x1006f1a9
cmp dword [esp + 0x15c], 0xc
jne 0x1006f203
mov edx, dword [esp + 0x44]
mov ecx, dword [esp + 0x14]
add ecx, edx
lea eax, [esp + 0x10]
mov dword [esp + 0x14], ecx
mov ecx, dword [ebx + 8]
push 1
push eax
push ecx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esp + 0x14]
mov eax, dword [ebx + 8]
lea edx, [esp + 0x10]
push 1
add ecx, 2
push edx
push eax
mov dword [esp + 0x20], ecx
call dword [sym.imp.GDI32.dll_DPtoLP]
test ebp, ebp
je 0x1006f211
mov cl, byte [esp + 0x33]
mov byte [ebp], cl
mov al, byte [ebp + 1]
inc ebp
cmp al, 0xa
jne 0x1006f1f8
inc ebp
test ebp, ebp
mov esi, ebp
je 0x1006f211
jmp 0x1006f00d
mov edx, dword [esp + 0x40]
mov eax, dword [esp + 0x10]
add eax, edx
mov dword [esp + 0x10], eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x14c], 0
call fcn.100d6ef7
mov eax, dword [esp + 0x48]
mov edx, dword [esp + 0x18]
mov ecx, dword [esp + 0x154]
inc eax
add edx, 0xc
cmp eax, ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x18], edx
jl 0x1006ef5a
cmp dword [esp + 0x15c], 0xe
je case.default.0x1006e86b
mov edx, dword [esp + 0x4c]
mov ecx, dword [esp + 0x10]
push 1
lea eax, [edx + 0x240]
push eax
mov dword [eax], ecx
mov ecx, dword [esp + 0x1c]
mov dword [eax + 4], ecx
mov edx, dword [ebx + 8]
push edx
call dword [sym.imp.GDI32.dll_LPtoDP]
mov ecx, dword [esp + 0x4c]
call fcn.1004fc70
lea ecx, [esp + 0x50]
mov dword [esp + 0x14c], 0xffffffff
mov dword [esp + 0x50], 0x100e8bd0
call fcn.1002fb60
mov ecx, dword [esp + 0x144]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x140
ret
lea ecx, [esp + 0x3c]
mov byte [esp + 0x14c], 0
call fcn.100d6ef7
jmp 0x1006f27c