Function at 0x100058d0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10217b37
mov eax, dword fs:[0]
push eax
sub esp, 0x3d8
mov eax, dword [0x102bff3c]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov dword [ebp - 0x2b4], ebx
mov edx, dword [ebp + 8]
push 0
push 0
push 0
push str.DISPLAY
mov dword [ebp - 0x2ac], edx
call dword [sym.imp.GDI32.dll_CreateDCW]
mov edi, eax
mov dword [ebp - 0x2a8], edi
test edi, edi
jne 0x1000593c
call dword [sym.imp.KERNEL32.dll_GetLastError]
or eax, 0x80070000
jmp 0x1000764f
push 0x1f4
lea eax, [ebp - 0x2a4]
push 0
push eax
call fcn.101d1720
add esp, 0xc
mov dword [ebp - 0x2a4], 0x1f4
lea eax, [ebp - 0x2a4]
push 0
push eax
push 0x1f4
push 0x29
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
test eax, eax
jne 0x10005992
call dword [sym.imp.KERNEL32.dll_GetLastError]
push edi
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
or esi, 0x80070000
mov eax, esi
jmp 0x1000764f
mov eax, dword [ebx + 0x50]
mov esi, dword [sym.imp.GDI32.dll_DeleteObject]
test eax, eax
je 0x100059a9
push eax
call esi
mov dword [ebx + 0x50], 0
mov edi, dword [sym.imp.GDI32.dll_CreateFontIndirectW]
lea eax, [ebp - 0x10c]
push eax
call edi
mov dword [ebx + 0x50], eax
test eax, eax
jne 0x100059e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebp - 0x2a8]
mov esi, eax
call dword [sym.imp.GDI32.dll_DeleteDC]
or esi, 0x80070000
mov eax, esi
jmp 0x1000764f
mov eax, dword [ebx + 0xd4]
test eax, eax
je 0x100059f7
push eax
call esi
mov dword [ebx + 0xd4], 0
fild dword [ebp - 0x10c]
fstp qword [ebp - 0x2f4]
fld qword [ebp - 0x2f4]
fmul qword [0x1028a7e0]
call fcn.101b7aa0
mov dword [ebp - 0x10c], eax
lea eax, [ebp - 0x10c]
push eax
call edi
mov dword [ebx + 0xd4], eax
test eax, eax
je 0x100059bf
push dword [ebx + 0x50]
push dword [ebp - 0x2a8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov edx, dword [ebx + 0x44]
mov edi, dword [ebx + 0x2a0]
mov dword [ebp - 0x2c4], eax
lea eax, [ebx + 0x2a0]
mov dword [ebp - 0x2f8], eax
mov ecx, dword [edx + 0x10]
and edi, ecx
neg edi
sbb edi, edi
neg edi
test dword [ebx + 0x2ac], ecx
je 0x10005a6b
inc edi
test dword [ebx + 0x2b8], ecx
je 0x10005a74
inc edi
test dword [ebx + 0x2c4], ecx
je 0x10005a7d
inc edi
test dword [ebx + 0x2d0], ecx
je 0x10005a86
inc edi
test dword [ebx + 0x2dc], ecx
je 0x10005a8f
inc edi
test byte [edx + 0xc], 0x10
jne 0x10005a9e
mov eax, dword [edx + 0x24]
test eax, eax
je 0x10005a9e
add edi, eax
mov dword [ebp - 0x300], 0
test edi, edi
jne 0x10005abc
cmp dword [edx + 0x24], edi
jne 0x10005abc
mov edi, 1
mov dword [ebp - 0x300], edi
push 2
push dword [edx + 4]
call dword [sym.imp.USER32.dll_MonitorFromWindow]
lea ecx, [ebp - 0xac]
mov dword [ebp - 0xac], 0x28
push ecx
push eax
call dword [sym.imp.USER32.dll_GetMonitorInfoW]
test eax, eax
je 0x10005af1
mov eax, dword [ebp - 0xa0]
sub eax, dword [ebp - 0xa8]
jmp 0x10005af9
push 0
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cdq
sub eax, edx
sar eax, 1
lea esi, [eax + 0x50]
call dword [sym.imp.USER32.dll_GetDialogBaseUnits]
mov ecx, eax
mov dword [ebp - 0x2c0], eax
shr ecx, 0x10
mov dword [ebp - 0x2cc], ecx
mov ecx, dword [ebx + 0x44]
mov ecx, dword [ecx + 0x5c]
test ecx, ecx
je 0x10005b2b
movsx esi, ax
imul esi, ecx
shr esi, 3
cmp dword [ebx + 0x9c], 0
lea eax, [esi - 0x14]
mov dword [ebp - 0x2c8], eax
je 0x10005b46
sub eax, 0x20
mov dword [ebp - 0x2c8], eax
lea ecx, [ebp - 0x2fc]
mov dword [ebp - 0x2e0], 0xffffffff
push ecx
lea ecx, [ebp - 0x2dc]
mov dword [ebp - 0x2e8], 0xffffffff
push ecx
lea esi, [ebx + 0x8c]
mov dword [ebp - 0x2fc], 0xffffffff
lea ecx, [ebp - 0x2e8]
mov dword [esi], 0
push esi
push ecx
lea ecx, [ebp - 0x2e0]
mov dword [ebp - 0x2dc], 0
push ecx
push eax
push dword [ebp - 0x2a8]
mov ecx, ebx
call fcn.10005230
mov ecx, dword [ebp - 0x2e0]
mov eax, dword [esi]
add ecx, 8
mov esi, dword [ebp - 0x2c8]
inc eax
imul ecx, edi
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebx + 0x1c4]
sub ecx, 8
mov eax, dword [eax - 0xc]
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2f0], eax
cmp ecx, esi
jle 0x10005be5
lea esi, [ecx + 0x14]
mov dword [ebp - 0x2c8], esi
push dword [ebx + 0xd4]
mov edi, dword [ebp - 0x2a8]
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xc50
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push dword [ebx + 0xa4]
push edi
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
call edi
mov eax, dword [ebp - 0x1c]
push dword [ebx + 0x50]
sub eax, dword [ebp - 0x24]
push dword [ebp - 0x2a8]
mov dword [ebp - 0x2b0], eax
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call dword [sym.imp.GDI32.dll_SelectObject]
push 0xc50
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push dword [ebx + 0x18c]
push dword [ebp - 0x2a8]
call edi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2b0]
jle 0x10005c82
mov dword [ebp - 0x2b0], eax
push 0xc50
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0xffffffffffffffff
push dword [ebx + 0x238]
mov dword [ebp - 0x20], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call edi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2b0]
jle 0x10005cc3
mov dword [ebp - 0x2b0], eax
push 0x450
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0xffffffffffffffff
push dword [ebx + 0x1c4]
mov dword [ebp - 0x20], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call edi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2b0]
jle 0x10005d04
mov dword [ebp - 0x2b0], eax
push 0xc50
lea eax, [ebp - 0x24]
mov dword [ebp - 0x24], 0
push eax
push 0xffffffffffffffff
push dword [ebx + 0x154]
mov dword [ebp - 0x20], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x18], esi
call edi
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 0x24]
cmp eax, dword [ebp - 0x2b0]
jg 0x10005d45
mov eax, dword [ebp - 0x2b0]
inc eax
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebx + 0x44]
test byte [eax + 0xc], 0x10
je 0x10006141
xor edi, edi
mov dword [ebp - 0x2d0], edi
cmp dword [eax + 0x24], edi
jbe 0x1000613b
lea ebx, [ebx]
call fcn.100687ac
test eax, eax
je 0x100064a8
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x10005d93
lock inc dword [eax + 0x14]
lea esi, [eax + 8]
jmp 0x10005d99
mov ecx, eax
call edx
mov esi, eax
add esi, 0x10
mov dword [ebp - 0x2bc], esi
mov dword [ebp - 4], 0
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx + 0x28]
mov edx, dword [eax + edi*8 + 4]
test edx, edx
je 0x10005e17
mov eax, edx
shr eax, 0x10
test eax, eax
jne 0x10005de7
movzx eax, dx
push eax
push dword [ecx + 8]
lea ecx, [ebp - 0x2bc]
call fcn.1000d2a0
test eax, eax
jne 0x10005e0c
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x2bc]
jmp 0x10005ea0
mov ecx, edx
lea esi, [ecx + 2]
lea esp, [esp]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10005df0
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2bc]
call fcn.1000d6e0
mov esi, dword [ebp - 0x2bc]
jmp 0x10005ea0
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x10005ea0
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x10005e43
cmp dword [esi - 8], 0
jl 0x1000649e
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x10005ea0
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10005e7e
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10005e7a
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10005e7a
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10005e7e
mov ecx, edx
call esi
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10005e93
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
jmp 0x10005e97
mov ecx, edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x2bc], esi
cmp dword [esi - 0xc], 0
jl 0x100060ae
push 0x10288aa0
push esi
call fcn.101d309b
mov edi, eax
add esp, 8
test edi, edi
je 0x100060ae
sub edi, esi
sar edi, 1
cmp edi, 0xffffffff
je 0x100060ae
push edi
lea eax, [ebp - 0x2e4]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.1000c740
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x2bc]
mov eax, dword [esi - 0xc]
sub eax, edi
dec eax
push eax
lea eax, [ebp - 0x2d8]
push eax
call fcn.1000c910
push dword [ebx + 0xd4]
mov edi, dword [ebp - 0x2c8]
push dword [ebp - 0x2a8]
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov ebx, dword [ebp - 0x2e4]
lea eax, [ebp - 0x24]
push 0x460
push eax
push 0xffffffffffffffff
push ebx
push dword [ebp - 0x2a8]
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
add ecx, 0x14
mov eax, dword [edx + 0x44]
test byte [eax + 0xc], 0x20
jne 0x10005f64
add ecx, 0x1a
cmp ecx, dword [ebp - 0x2b0]
jle 0x10005f72
mov dword [ebp - 0x2b0], ecx
push dword [edx + 0x50]
mov dword [ebp - 0x24], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.GDI32.dll_SelectObject]
mov edi, dword [ebp - 0x2d8]
lea eax, [ebp - 0x24]
push 0xc50
push eax
push 0xffffffffffffffff
push edi
push dword [ebp - 0x2a8]
call dword [sym.imp.USER32.dll_DrawTextW]
mov eax, dword [ebp - 0x2b4]
mov ecx, dword [ebp - 0x1c]
sub ecx, dword [ebp - 0x24]
add ecx, 0x14
mov eax, dword [eax + 0x44]
test byte [eax + 0xc], 0x20
jne 0x10005fce
add ecx, 0x1a
cmp ecx, dword [ebp - 0x2b0]
jle 0x10005fdc
mov dword [ebp - 0x2b0], ecx
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x1000601b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006019
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10006019
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
push 0
push dword [ecx + 4]
call edi
jmp 0x10006021
call edx
mov edi, dword [sym.imp.KERNEL32.dll_HeapFree]
mov byte [ebp - 4], 0
add ebx, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [ebx + 0xc], eax
dec eax
test eax, eax
jg 0x1000605a
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x100060aa
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x100060aa
push 0
push dword [ecx + 4]
call edi
mov ebx, dword [ebp - 0x2b4]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000611c
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x1000611a
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x1000611a
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1000611c
call edx
jmp 0x1000605a
push dword [ebx + 0xd4]
mov eax, dword [ebp - 0x2c8]
mov edi, dword [ebp - 0x2a8]
push edi
mov dword [ebp - 0x24], 0
mov dword [ebp - 0x20], 0
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.GDI32.dll_SelectObject]
push 0x460
lea eax, [ebp - 0x24]
push eax
push 0xffffffffffffffff
push esi
push edi
call dword [sym.imp.USER32.dll_DrawTextW]
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebx + 0x44]
sub ecx, dword [ebp - 0x24]
add ecx, 0x14
test byte [eax + 0xc], 0x20
jne 0x10006103
add ecx, 0x1a
cmp ecx, dword [ebp - 0x2b0]
jle 0x10006060
mov dword [ebp - 0x2b0], ecx
jmp 0x10006060
call edx
mov edi, dword [ebp - 0x2d0]
mov eax, dword [ebx + 0x44]
inc edi
mov dword [ebp - 0x2d0], edi
cmp edi, dword [eax + 0x24]
jb 0x10005d70
mov esi, dword [ebp - 0x2c8]
mov edi, dword [sym.imp.USER32.dll_DrawTextW]
push dword [ebx + 0xd4]
push dword [ebp - 0x2a8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x2b0]
push 0xc50
mov dword [ebp - 0x6c], eax
mov dword [ebp - 0x68], eax
lea eax, [ebp - 0x74]
push eax
push 0xffffffffffffffff
push dword [ebx + 0xa4]
mov dword [ebp - 0x74], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x70], 0
call edi
push dword [ebx + 0x50]
inc dword [ebp - 0x68]
push dword [ebp - 0x2a8]
call dword [sym.imp.GDI32.dll_SelectObject]
mov eax, dword [ebp - 0x2b0]
push 0xc50
mov dword [ebp - 0x5c], eax
mov dword [ebp - 0x58], eax
lea eax, [ebp - 0x64]
push eax
push 0xffffffffffffffff
push dword [ebx + 0x18c]
mov dword [ebp - 0x64], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x60], 0
call edi
mov eax, dword [ebp - 0x2b0]
inc dword [ebp - 0x58]
push 0xc50
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
lea eax, [ebp - 0x34]
push eax
push 0xffffffffffffffff
push dword [ebx + 0x238]
mov dword [ebp - 0x34], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x30], 0
call edi
inc dword [ebp - 0x28]
lea eax, [ebp - 0x54]
push 0x450
push eax
push 0xffffffffffffffff
push dword [ebx + 0x1c4]
mov dword [ebp - 0x54], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x50], 0
mov dword [ebp - 0x4c], esi
mov dword [ebp - 0x48], esi
call edi
inc dword [ebp - 0x48]
lea eax, [ebp - 0x44]
push 0xc50
push eax
push 0xffffffffffffffff
push dword [ebx + 0x154]
mov dword [ebp - 0x44], 0
push dword [ebp - 0x2a8]
mov dword [ebp - 0x40], 0
mov dword [ebp - 0x3c], esi
mov dword [ebp - 0x38], esi
call edi
mov edi, dword [ebp - 0x2ac]
xor eax, eax
inc dword [ebp - 0x38]
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov dword [edi + 0xc], 5
mov dword [ebx + 0x2e], eax
mov word [ebx + 0x2c], ax
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x24], 0x90c00080
test dword [eax + 0xc], 0x1000
je 0x100062a8
mov dword [ebx + 0x24], 0x90c00880
test dword [eax + 0xc], 0x8000
je 0x100062b8
or dword [ebx + 0x24], 0x20000
test byte [eax + 0xc], 8
jne 0x100062c4
test byte [eax + 0x10], 8
je 0x100062cb
or dword [ebx + 0x24], 0x80000
mov eax, dword [eax + 0xc]
and eax, 0x2000
neg eax
sbb eax, eax
xor esi, esi
and eax, 0x3000
mov dword [ebx + 0x28], eax
cmp dword [ebx + 0x94], esi
jle 0x10006332
lea esp, [esp]
test esi, esi
js 0x100064b2
cmp esi, dword [ebx + 0x94]
jge 0x100064b2
mov eax, dword [ebx + 0x90]
mov edi, dword [eax + esi*4]
test edi, edi
je 0x10006323
mov ecx, edi
call fcn.10005140
push 0x30
push edi
call fcn.101b6b17
add esp, 8
inc esi
cmp esi, dword [ebx + 0x94]
jl 0x100062f0
mov edi, dword [ebp - 0x2ac]
mov eax, dword [ebx + 0x90]
test eax, eax
je 0x1000634f
push eax
call fcn.101d0c16
add esp, 4
mov dword [ebx + 0x90], 0
mov dword [ebx + 0x94], 0
mov edx, 0xa
mov dword [ebx + 0x98], 0
mov eax, dword [ebx + 0x44]
mov dword [ebx + 0x58], 0xffffffff
mov dword [ebx + 0xd8], 0xffffffff
mov dword [ebx + 0x1c0], 0xffffffff
mov dword [ebx + 0x11c], 0xffffffff
mov dword [ebx + 0x5c], 0xffffffff
mov dword [ebx + 0x64], 0xffffffff
mov dword [ebx + 0x6c], 0xffffffff
mov dword [ebx + 0x184], 0xffffffff
mov dword [ebx + 0x110], 0xffffffff
mov dword [ebx + 0xa0], 0xffffffff
mov dword [ebx + 0x118], 0xffffffff
mov dword [ebx + 0x1f8], 0xffffffff
mov dword [ebx + 0x1fc], 0xffffffff
mov eax, dword [eax + 0xc]
shr eax, 7
and eax, 1
mov dword [ebp - 0x2b4], edx
cmp dword [ebx + 0x9c], 0
mov dword [ebx + 0x200], eax
mov dword [ebp - 0x2e4], 0
je 0x100064ce
mov ecx, dword [ebp - 0x2b8]
mov eax, ecx
add dword [edi + 8], 0x25
mov edi, 0x2e
push 0
push 0
push dword [ebp - 0x2cc]
mov dword [ebx + 0xa0], ecx
inc ecx
push dword [ebp - 0x2c0]
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x310]
push 0x10288a8c
push ecx
push eax
push 3
mov ecx, ebx
mov dword [ebp - 0x2e4], edi
mov dword [ebp - 0x310], edx
mov dword [ebp - 0x30c], 0xe
mov dword [ebp - 0x308], 0x2a
mov dword [ebp - 0x304], edi
call fcn.10007670
mov esi, eax
test esi, esi
jns 0x100064c3
push dword [ebp - 0x2c4]
mov ebx, dword [ebp - 0x2a8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, esi
jmp 0x1000764f
push 0x80070057
call fcn.1000dd70
push 0x80004005
call fcn.1000dd70
push 0
push 0
push 1
push 0xc000008c
call dword [sym.imp.KERNEL32.dll_RaiseException]
mov edx, 0x34
mov dword [ebp - 0x2b4], edx
mov edi, dword [ebp - 0x2b0]
mov esi, dword [ebp - 0x2ac]
add edi, edx
mov ecx, dword [ebp - 0x2dc]
add ecx, 0x14
mov dword [ebp - 0x2bc], edi
lea eax, [edi + 0xa]
mov dword [esi + 8], eax
cmp eax, ecx
jg 0x100064f8
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0xa4]
cmp dword [eax - 0xc], 0
je 0x10006594
add dword [esi + 0xc], 5
mov eax, dword [ebp - 0x2b8]
mov ecx, eax
push 0
push 0
push dword [ebp - 0x2cc]
mov dword [ebx + 0xd8], eax
inc eax
push dword [ebp - 0x2c0]
mov dword [ebp - 0x2b8], eax
mov eax, dword [esi + 0xc]
mov esi, eax
push dword [ebx + 0xa4]
sub esi, dword [ebp - 0x70]
add esi, dword [ebp - 0x68]
mov dword [ebp - 0x31c], eax
lea eax, [ebp - 0x320]
push eax
push ecx
push 3
mov ecx, ebx
mov dword [ebp - 0x320], edx
mov dword [ebp - 0x318], edi
mov dword [ebp - 0x314], esi
call fcn.10007670
mov edi, eax
test edi, edi
js 0x10007633
mov ecx, dword [ebp - 0x2ac]
mov edx, dword [ebp - 0x2b4]
mov edi, dword [ebp - 0x2bc]
cmp esi, dword [ecx + 0xc]
jl 0x10006596
lea eax, [esi + 5]
mov dword [ecx + 0xc], eax
jmp 0x10006596
mov ecx, esi
mov eax, dword [ebx + 0x188]
cmp dword [eax - 0xc], 0
je 0x1000663a
mov eax, dword [ecx + 0xc]
add eax, 5
mov dword [ebp - 0x330], edx
mov dword [ecx + 0xc], eax
mov esi, eax
mov ecx, dword [ebp - 0x2b8]
sub esi, dword [ebp - 0x60]
add esi, dword [ebp - 0x58]
push 0
push 0
push dword [ebp - 0x2cc]
mov dword [ebp - 0x32c], eax
mov eax, ecx
push dword [ebp - 0x2c0]
mov dword [ebx + 0x184], ecx
inc ecx
push dword [ebx + 0x188]
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x330]
push ecx
push eax
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [ebp - 0x328], edi
mov dword [ebp - 0x324], esi
mov eax, dword [eax + 0xc]
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 3
add eax, 3
push eax
call fcn.10007670
mov edi, eax
test edi, edi
js 0x10007633
mov ecx, dword [ebp - 0x2ac]
cmp esi, dword [ecx + 0xc]
jl 0x1000663a
lea eax, [esi + 5]
mov dword [ecx + 0xc], eax
mov esi, dword [ebx + 0x234]
cmp dword [esi - 0xc], 0
je 0x10006708
mov edx, dword [ebx + 0x44]
test byte [edx + 0xc], 0x40
jne 0x10006708
mov eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0x2b4]
add eax, 5
mov edi, eax
mov dword [ebp - 0x33c], eax
mov eax, dword [ebp - 0x2bc]
sub edi, dword [ebp - 0x30]
add edi, dword [ebp - 0x28]
mov dword [ebp - 0x338], eax
mov eax, dword [ebp - 0x2b8]
mov dword [ebx + 0x1f8], eax
mov dword [ebp - 0x340], ecx
mov ecx, eax
inc eax
mov dword [ebp - 0x334], edi
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebx + 0x200]
neg eax
sbb eax, eax
and eax, 0xf0000000
add eax, 0x10000000
push eax
push 0
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x340]
push dword [ebp - 0x2c0]
push esi
push eax
mov eax, dword [edx + 0xc]
and al, 1
movzx eax, al
neg eax
push ecx
sbb eax, eax
mov ecx, ebx
and eax, 3
add eax, 3
push eax
call fcn.10007670
mov esi, eax
test esi, esi
js 0x1000647d
cmp dword [ebx + 0x200], 0
mov ecx, dword [ebp - 0x2ac]
je 0x10006708
cmp edi, dword [ecx + 0xc]
jl 0x10006708
lea eax, [edi + 5]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x44]
test dword [eax + 0xc], 0x600
je 0x100067af
mov ecx, dword [ecx + 0xc]
mov edx, dword [ebp - 0x2ac]
add ecx, 5
mov dword [ebp - 0x34c], ecx
push 0
mov eax, dword [edx + 8]
lea edi, [ecx + 0xe]
sub eax, 0xa
mov dword [edx + 0xc], ecx
mov dword [ebp - 0x348], eax
mov eax, dword [ebp - 0x2b8]
mov ecx, eax
mov dword [ebx + 0x110], eax
inc eax
mov edx, dword [ebp - 0x2b4]
mov dword [ebp - 0x2b8], eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x350], edx
mov dword [ebp - 0x344], edi
mov eax, dword [eax + 0xc]
shr eax, 7
and eax, 8
push eax
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x350]
push dword [ebp - 0x2c0]
push 0x10288a8c
push eax
push ecx
push 5
mov ecx, ebx
call fcn.10007670
mov esi, eax
test esi, esi
js 0x1000647d
mov ecx, dword [ebp - 0x2ac]
cmp edi, dword [ecx + 0xc]
jl 0x100067af
lea eax, [edi + 5]
mov dword [ecx + 0xc], eax
mov eax, dword [ebx + 0x44]
xor edi, edi
mov dword [ebp - 0x2d0], edi
cmp dword [eax + 0x30], edi
jbe 0x10006a28
test edi, edi
jne 0x100067cb
add dword [ecx + 0xc], 5
mov eax, dword [ebp - 0x2c8]
mov dword [ebp - 0x84], 0
mov dword [ebp - 0x80], 0
mov dword [ebp - 0x7c], eax
mov dword [ebp - 0x78], eax
call fcn.100687ac
test eax, eax
je 0x100064a8
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x1000680b
lock inc dword [eax + 0x14]
lea esi, [eax + 8]
jmp 0x10006811
mov ecx, eax
call edx
mov esi, eax
add esi, 0x10
mov dword [ebp - 0x2d4], esi
mov dword [ebp - 4], 2
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx + 0x34]
mov edx, dword [eax + edi*8 + 4]
test edx, edx
je 0x1000688b
mov eax, edx
shr eax, 0x10
test eax, eax
jne 0x1000685f
movzx eax, dx
push eax
push dword [ecx + 8]
lea ecx, [ebp - 0x2d4]
call fcn.1000d2a0
test eax, eax
jne 0x10006880
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, dword [ebp - 0x2d4]
jmp 0x10006914
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006864
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2d4]
call fcn.1000d6e0
mov esi, dword [ebp - 0x2d4]
jmp 0x10006914
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x10006914
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x100068b7
cmp dword [esi - 8], 0
jl 0x1000649e
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x10006914
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x100068f2
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x100068ee
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x100068ee
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x100068f2
mov ecx, edx
call esi
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006907
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
jmp 0x1000690b
mov ecx, edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x2d4], esi
push 0x440
lea eax, [ebp - 0x84]
push eax
push 0xffffffffffffffff
push esi
push dword [ebp - 0x2a8]
call dword [sym.imp.USER32.dll_DrawTextW]
mov edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x2b4]
add eax, 0xa
mov dword [ebp - 0x3a0], eax
mov ecx, dword [edx + 0xc]
mov edi, ecx
sub edi, dword [ebp - 0x80]
mov eax, dword [ebp - 0x2bc]
add edi, dword [ebp - 0x78]
mov dword [ebp - 0x398], eax
mov dword [ebp - 0x39c], ecx
mov ecx, dword [ebp - 0x2d0]
mov eax, ecx
neg eax
mov dword [ebp - 0x394], edi
push 0
sbb eax, eax
and eax, 0xfffe0000
add eax, 0x20000
push eax
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x3a0]
push dword [ebp - 0x2c0]
push esi
push eax
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x34]
push dword [eax + ecx*8]
mov ecx, ebx
push 7
call fcn.10007670
mov dword [ebp - 0x2d8], eax
test eax, eax
js 0x10006a71
mov ecx, dword [ebp - 0x2ac]
cmp edi, dword [ecx + 0xc]
jl 0x100069c5
lea eax, [edi + 5]
mov dword [ecx + 0xc], eax
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10006a0f
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006a07
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10006a07
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10006a09
call edx
mov ecx, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2d0]
mov eax, dword [ebx + 0x44]
inc edi
mov dword [ebp - 0x2d0], edi
cmp edi, dword [eax + 0x30]
jb 0x100067c3
mov eax, dword [ebx + 0x44]
test byte [eax + 0xc], 0x10
je 0x10006d23
xor esi, esi
mov dword [ebp - 0x2d0], esi
cmp dword [eax + 0x24], esi
jbe 0x10006d1f
test esi, esi
jne 0x10006a4e
add dword [ecx + 0xc], 5
call fcn.100687ac
test eax, eax
je 0x100064a8
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x10006ae3
lock inc dword [eax + 0x14]
add eax, 8
jmp 0x10006ae7
push dword [ebp - 0x2c4]
mov ebx, dword [ebp - 0x2a8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10006ad8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006ad6
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10006ad6
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x2d8]
jmp 0x1000764f
call edx
mov eax, dword [ebp - 0x2d8]
jmp 0x1000764f
mov ecx, eax
call edx
add eax, 0x10
mov dword [ebp - 0x2c8], eax
mov dword [ebp - 4], 3
mov edx, dword [ebx + 0x44]
mov ecx, dword [edx + 0x28]
mov esi, dword [ecx + esi*8 + 4]
test esi, esi
je 0x10006b61
mov eax, esi
shr eax, 0x10
test eax, eax
jne 0x10006b33
movzx eax, si
lea ecx, [ebp - 0x2c8]
push eax
push dword [edx + 8]
call fcn.1000d2a0
test eax, eax
jne 0x10006bea
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10006bea
mov ecx, esi
lea edx, [ecx + 2]
jmp 0x10006b40
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006b40
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x2c8]
call fcn.1000d6e0
jmp 0x10006bea
cmp dword [eax - 0xc], 0
lea ecx, [eax - 0x10]
mov esi, dword [ecx]
je 0x10006bea
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x10006b8d
cmp dword [eax - 8], 0
jl 0x1000649e
xor ecx, ecx
mov dword [eax - 0xc], 0
mov word [eax], cx
jmp 0x10006bea
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10006bc8
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006bc4
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov edi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10006bc4
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10006bc8
mov ecx, edx
call edi
mov eax, dword [esi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006bdd
lock inc dword [esi + 0x14]
lea eax, [esi + 8]
jmp 0x10006be1
mov ecx, esi
call edx
add eax, 0x10
mov dword [ebp - 0x2c8], eax
mov eax, dword [ebx + 0x44]
mov ecx, dword [ebp - 0x2b0]
add ecx, 0xffffffec
mov dword [ebp - 0x2ec], 0
mov eax, dword [eax + 0xc]
shr eax, 5
not eax
test al, 1
je 0x10006c0f
sub ecx, 0x1a
lea eax, [ebp - 0x2ec]
push eax
push ecx
lea eax, [ebp - 0x2c8]
push eax
push dword [ebx + 0x50]
push dword [ebx + 0xd4]
push dword [ebp - 0x2a8]
call fcn.100056a0
mov eax, dword [ebp - 0x2b4]
mov esi, dword [ebp - 0x2c8]
mov edx, dword [ebp - 0x2ac]
mov edi, dword [ebp - 0x2ec]
push 0
push 0x14b
push dword [ebp - 0x2cc]
mov ecx, dword [edx + 0xc]
add edi, ecx
push dword [ebp - 0x2c0]
mov dword [ebp - 0x360], eax
mov eax, dword [ebp - 0x2bc]
mov dword [ebp - 0x358], eax
lea eax, [ebp - 0x360]
push esi
push eax
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x35c], ecx
mov ecx, dword [ebp - 0x2d0]
mov dword [ebp - 0x354], edi
mov eax, dword [eax + 0x28]
push dword [eax + ecx*8]
mov ecx, ebx
push 1
call fcn.10007670
mov dword [ebp - 0x2d8], eax
test eax, eax
js 0x10006a71
mov ecx, dword [ebp - 0x2ac]
cmp edi, dword [ecx + 0xc]
jl 0x10006cbc
mov dword [ecx + 0xc], edi
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10006d06
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006cfe
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10006cfe
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10006d00
call edx
mov ecx, dword [ebp - 0x2ac]
mov esi, dword [ebp - 0x2d0]
mov eax, dword [ebx + 0x44]
inc esi
mov dword [ebp - 0x2d0], esi
cmp esi, dword [eax + 0x24]
jb 0x10006a46
add dword [ecx + 0xc], 5
mov eax, dword [ebp - 0x2e4]
cmp eax, dword [ecx + 0xc]
jl 0x10006d34
add eax, 5
mov dword [ecx + 0xc], eax
mov eax, dword [ecx + 0xc]
xor edi, edi
mov esi, dword [ebp - 0x2e8]
add eax, 5
mov edx, dword [ebp - 0x2ac]
mov dword [ecx + 0xc], eax
mov dword [ebx + 0x5c], eax
mov ecx, dword [ecx + 0xc]
add ecx, 0xa
mov dword [ebp - 0x2d4], edi
mov dword [edx + 0xc], ecx
mov edx, dword [edx + 8]
sub edx, dword [ebp - 0x2dc]
lea eax, [ecx + esi]
mov dword [ebp - 0x2ec], ecx
mov dword [ebp - 0x2c8], eax
sub edx, 0xa
mov eax, dword [ebx + 0x44]
mov dword [ebp - 0x2b4], edx
test byte [eax + 0xc], 0x10
jne 0x1000710e
mov dword [ebp - 0x2d0], edi
cmp dword [eax + 0x24], edi
jbe 0x1000710c
lea eax, [ecx + esi]
mov dword [ebp - 0x36c], ecx
mov dword [ebp - 0x364], eax
lea esp, [esp]
mov eax, dword [ebp - 0x2e0]
add eax, edx
mov dword [ebp - 0x370], edx
mov dword [ebp - 0x368], eax
call fcn.100687ac
test eax, eax
je 0x100064a8
mov ecx, dword [eax]
mov edx, dword [ecx + 0xc]
cmp ecx, vtable.ATL::CAtlStringMgr.0
jne 0x10006de7
lock inc dword [eax + 0x14]
lea esi, [eax + 8]
jmp 0x10006ded
mov ecx, eax
call edx
mov esi, eax
add esi, 0x10
mov dword [ebp - 0x2b0], esi
mov dword [ebp - 4], 4
mov ecx, dword [ebx + 0x44]
mov eax, dword [ecx + 0x28]
mov edx, dword [eax + edi*8 + 4]
mov edi, dword [ecx + 8]
mov dword [ebp - 0x2dc], edi
test edx, edx
je 0x10006f57
mov eax, edx
shr eax, 0x10
test eax, eax
jne 0x10006f23
movzx eax, dx
mov dword [ebp - 0x2e4], eax
shr eax, 4
inc eax
push 6
movzx eax, ax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0x2d8], eax
test eax, eax
je 0x10006f18
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10006f18
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
test edi, edi
je 0x10006f18
push dword [ebp - 0x2d8]
push dword [ebp - 0x2dc]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp - 0x2e4]
lea edx, [eax + edi]
and ecx, 0xf
jbe 0x10006ea6
mov edi, edi
cmp edi, edx
jae 0x10006f18
movzx eax, word [edi]
lea edi, [edi + eax*2]
add edi, 2
sub ecx, 1
jne 0x10006e90
cmp edi, edx
jae 0x10006f18
movzx eax, word [edi]
test ax, ax
je 0x10006f18
mov edx, eax
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, edx
or eax, ecx
mov dword [ebp - 0x2dc], edx
jge 0x10006ee3
push edx
lea ecx, [ebp - 0x2b0]
call fcn.1000d510
mov esi, dword [ebp - 0x2b0]
mov edx, dword [ebp - 0x2dc]
movzx ecx, word [edi]
lea eax, [edi + 2]
push ecx
push eax
push edx
push esi
call fcn.101dd2a7
push eax
call fcn.1000d1c0
mov eax, dword [ebp - 0x2dc]
add esp, 0x14
cmp eax, dword [esi - 8]
jg 0x1000649e
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
jmp 0x10006fe0
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x10006fe0
mov ecx, edx
lea esi, [ecx + 2]
jmp 0x10006f30
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006f30
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2b0]
call fcn.1000d6e0
mov esi, dword [ebp - 0x2b0]
jmp 0x10006fe0
cmp dword [esi - 0xc], 0
lea ecx, [esi - 0x10]
mov edi, dword [ecx]
je 0x10006fe0
cmp dword [ecx + 0xc], 0
lea edx, [ecx + 0xc]
jge 0x10006f83
cmp dword [esi - 8], 0
jl 0x1000649e
xor eax, eax
mov dword [esi - 0xc], 0
mov word [esi], ax
jmp 0x10006fe0
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x10006fbe
mov edx, dword [ecx]
push ecx
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006fba
mov edx, dword [edx + 4]
mov eax, dword [edx]
mov esi, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10006fba
push 0
push dword [edx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x10006fbe
mov ecx, edx
call esi
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10006fd3
lock inc dword [edi + 0x14]
lea eax, [edi + 8]
jmp 0x10006fd7
mov ecx, edi
call edx
lea esi, [eax + 0x10]
mov dword [ebp - 0x2b0], esi
mov ecx, dword [ebp - 0x2d0]
lea eax, [ebp - 0x370]
push 0
push 0
push dword [ebp - 0x2cc]
push dword [ebp - 0x2c0]
push esi
push eax
mov eax, dword [ebx + 0x44]
mov eax, dword [eax + 0x28]
push dword [eax + ecx*8]
mov ecx, ebx
push 1
call fcn.10007670
mov edi, eax
test edi, edi
js 0x100070a2
mov eax, dword [ebp - 0x2e0]
add esi, 0xfffffff0
mov edx, dword [ebp - 0x2b4]
add eax, 8
inc dword [ebp - 0x2d4]
add edx, eax
mov dword [ebp - 0x2b4], edx
or eax, 0xffffffff
mov dword [ebp - 4], 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10007081
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10007079
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10007079
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1000707b
call edx
mov edx, dword [ebp - 0x2b4]
mov edi, dword [ebp - 0x2d0]
mov eax, dword [ebx + 0x44]
inc edi
mov dword [ebp - 0x2d0], edi
cmp edi, dword [eax + 0x24]
jb 0x10006db0
mov edi, dword [ebp - 0x2d4]
jmp 0x1000710e
push dword [ebp - 0x2c4]
mov ebx, dword [ebp - 0x2a8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov dword [ebp - 4], 0xffffffff
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x1000764d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CAtlStringMgr.0
jne 0x10007105
mov ecx, dword [ecx + 4]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
cmp eax, vtable.ATL::CWin32Heap.0
jne 0x10007105
push 0
push dword [ecx + 4]
call dword [sym.imp.KERNEL32.dll_HeapFree]
jmp 0x1000764d
call edx
jmp 0x1000764d
xor edi, edi
xor esi, esi
lea eax, [ebx + 0x2a0]
mov ecx, dword [eax]
mov eax, dword [ebx + 0x44]
test dword [eax + 0x10], ecx
jne 0x10007136
cmp ecx, 1
jne 0x100071c1
cmp dword [ebp - 0x300], 0
je 0x100071c1
mov eax, dword [ebp - 0x2e0]
mov ecx, dword [ebp - 0x2ec]
add eax, edx
push 0
mov dword [ebp - 0x378], eax
mov eax, dword [ebp - 0x2e8]
push 0x20000
push dword [ebp - 0x2cc]
add eax, ecx
mov dword [ebp - 0x37c], ecx
push dword [ebp - 0x2c0]
mov dword [ebp - 0x374], eax
lea ecx, [ebp - 0x380]
mov eax, dword [ebp - 0x2f8]
mov dword [ebp - 0x380], edx
push dword [eax - 4]
push ecx
push dword [eax + 4]
mov ecx, ebx
push 1
call fcn.10007670
mov edi, eax
test edi, edi
js 0x10007633
mov edi, dword [ebp - 0x2d4]
mov eax, dword [ebp - 0x2e0]
inc edi
mov edx, dword [ebp - 0x2b4]
add eax, 8
add edx, eax
mov dword [ebp - 0x2d4], edi
mov dword [ebp - 0x2b4], edx
mov eax, dword [ebp - 0x2f8]
inc esi
add eax, 0xc
mov dword [ebp - 0x2f8], eax
cmp esi, 6
jb 0x10007116
xor ecx, ecx
test edi, edi
setne cl
test edi, edi
mov edi, dword [ebp - 0x2ac]
je 0x100071fc
mov eax, dword [ebp - 0x2c8]
cmp eax, dword [edi + 0xc]
jl 0x100071fc
add eax, 5
mov dword [edi + 0xc], eax
mov eax, dword [ebx + 0x234]
cmp dword [eax - 0xc], 0
je 0x100072aa
mov eax, dword [ebp - 0x2fc]
mov ecx, dword [edi + 0xc]
add eax, 0xa
mov esi, dword [ebp - 0x2e8]
mov dword [ebp - 0x388], eax
add esi, ecx
mov eax, dword [ebp - 0x2b8]
mov dword [ebx + 0x1fc], eax
inc eax
mov dword [ebp - 0x2b8], eax
xor eax, eax
cmp dword [ebx + 0x200], eax
push 0
push 0
push dword [ebp - 0x2cc]
setne al
mov dword [ebp - 0x38c], ecx
push dword [ebp - 0x2c0]
mov ecx, ebx
mov dword [ebp - 0x390], 0xa
mov dword [ebp - 0x384], esi
lea eax, [eax*4 + 0x244]
push dword [eax + ebx]
lea eax, [ebp - 0x390]
push eax
push dword [ebx + 0x1fc]
push 1
call fcn.10007670
mov edi, eax
test edi, edi
js 0x10007633
mov edi, dword [ebp - 0x2ac]
mov ecx, 1
cmp esi, dword [edi + 0xc]
jl 0x100072aa
lea eax, [esi + 5]
mov dword [edi + 0xc], eax
cmp dword [ebp - 0x2f0], 0
je 0x1000733b
mov esi, dword [edi + 0xc]
mov ecx, dword [ebp - 0x2b8]
mov eax, dword [ebp - 0x2bc]
push 0
push 0
push dword [ebp - 0x2cc]
mov dword [ebx + 0x1c0], ecx
push dword [ebp - 0x2c0]
mov dword [ebp - 0x3d8], eax
mov eax, ecx
push dword [ebx + 0x1c4]
inc ecx
mov dword [ebp - 0x3dc], esi
sub esi, dword [ebp - 0x50]
add esi, dword [ebp - 0x48]
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x3e0]
push ecx
push eax
push 4
mov ecx, ebx
mov dword [ebp - 0x3e0], 0xa
mov dword [ebp - 0x3d4], esi
call fcn.10007670
mov edi, eax
test edi, edi
js 0x10007633
mov edi, dword [ebp - 0x2ac]
cmp esi, dword [edi + 0xc]
jl 0x10007346
lea eax, [esi + 5]
mov dword [edi + 0xc], eax
jmp 0x10007346
test ecx, ecx
jne 0x10007346
mov dword [ebx + 0x5c], 0xffffffff
cmp dword [ebx + 0x114], 0
jne 0x1000735f
mov eax, dword [ebx + 0x150]
cmp dword [eax - 0xc], 0
je 0x100074e2
mov eax, dword [edi + 0xc]
add eax, 5
mov dword [edi + 0xc], eax
cmp dword [ebx + 0x5c], 0xffffffff
jne 0x10007373
mov dword [ebx + 0x5c], eax
jmp 0x10007376
mov dword [ebx + 0x64], eax
mov esi, dword [edi + 0xc]
mov eax, 0xa
add esi, 0xa
mov dword [edi + 0xc], esi
mov edi, dword [ebp - 0x38]
sub edi, dword [ebp - 0x40]
cmp dword [ebx + 0x114], 0
je 0x10007457
xor eax, eax
cmp edi, 0x10
jle 0x100073a6
lea eax, [edi - 0x10]
cdq
sub eax, edx
sar eax, 1
push 0
add eax, esi
mov dword [ebp - 0x3b0], 0xa
push 0
push dword [ebp - 0x2cc]
mov dword [ebp - 0x3ac], eax
push dword [ebp - 0x2c0]
lea ecx, [eax + 0x10]
mov dword [ebp - 0x3a8], 0x1a
mov dword [ebp - 0x2d8], ecx
mov dword [ebp - 0x3a4], ecx
mov ecx, dword [ebp - 0x2b8]
mov eax, ecx
mov dword [ebx + 0x118], ecx
inc ecx
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x3b0]
push 0x10288a8c
push ecx
push eax
push 3
mov ecx, ebx
call fcn.10007670
mov dword [ebp - 0x2f0], eax
test eax, eax
jns 0x1000743b
push dword [ebp - 0x2c4]
mov ebx, dword [ebp - 0x2a8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, dword [ebp - 0x2f0]
jmp 0x1000764f
mov edx, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x2d8]
cmp eax, dword [edx + 0xc]
jl 0x10007452
add eax, 5
mov dword [edx + 0xc], eax
mov eax, 0x1f
mov ecx, dword [ebp - 0x2b8]
push 0
mov dword [ebp - 0x3c0], eax
mov eax, dword [ebp - 0x2bc]
push 0
push dword [ebp - 0x2cc]
mov dword [ebp - 0x3b8], eax
mov eax, ecx
push dword [ebp - 0x2c0]
mov dword [ebx + 0x11c], ecx
inc ecx
push dword [ebx + 0x150]
mov dword [ebp - 0x2b8], ecx
lea ecx, [ebp - 0x3c0]
push ecx
push eax
mov eax, dword [ebx + 0x44]
mov ecx, ebx
mov dword [ebp - 0x3bc], esi
add esi, edi
mov dword [ebp - 0x3b4], esi
mov eax, dword [eax + 0xc]
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 3
add eax, 3
push eax
call fcn.10007670
mov edi, eax
test edi, edi
js 0x10007633
mov edi, dword [ebp - 0x2ac]
cmp esi, dword [edi + 0xc]
jl 0x100074e2
lea eax, [esi + 5]
mov dword [edi + 0xc], eax
mov edx, dword [ebx + 0x234]
cmp dword [edx - 0xc], 0
je 0x100075c7
mov ecx, dword [ebx + 0x44]
test byte [ecx + 0xc], 0x40
je 0x100075c7
mov edi, dword [edi + 0xc]
mov eax, dword [ebp - 0x2bc]
add edi, 0xf
mov dword [ebp - 0x3c8], eax
mov esi, edi
sub esi, dword [ebp - 0x30]
mov eax, dword [ebp - 0x2b8]
add esi, dword [ebp - 0x28]
mov dword [ebx + 0x1f8], eax
mov eax, dword [ebx + 0x200]
neg eax
mov dword [ebp - 0x3d0], 0xa
mov dword [ebp - 0x3cc], edi
sbb eax, eax
mov dword [ebp - 0x3c4], esi
and eax, 0xf0000000
add eax, 0x10000000
push eax
push 0
push dword [ebp - 0x2cc]
lea eax, [ebp - 0x3d0]
push dword [ebp - 0x2c0]
push edx
push eax
mov eax, dword [ecx + 0xc]
mov ecx, ebx
push dword [ebp - 0x2b8]
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 3
add eax, 3
push eax
call fcn.10007670
mov dword [ebp - 0x2f0], eax
test eax, eax
js 0x10007416
cmp dword [ebx + 0x200], 0
je 0x100075c1
cmp dword [ebx + 0x64], 0xffffffff
lea eax, [edi - 0xa]
jne 0x100075ab
mov dword [ebx + 0x64], eax
jmp 0x100075ae
mov dword [ebx + 0x6c], eax
mov edi, dword [ebp - 0x2ac]
cmp esi, dword [edi + 0xc]
jl 0x100075c7
lea eax, [esi + 5]
mov dword [edi + 0xc], eax
jmp 0x100075c7
mov edi, dword [ebp - 0x2ac]
mov eax, dword [ebp - 0x2c0]
movsx esi, ax
mov eax, dword [edi]
shl eax, 2
cdq
idiv esi
add dword [edi + 0xc], 5
mov word [ebx + 0x2e], ax
mov eax, dword [ebp - 0x2cc]
movsx ecx, ax
mov eax, dword [edi + 4]
shl eax, 3
cdq
idiv ecx
push dword [ebp - 0x2c4]
mov word [ebx + 0x30], ax
mov eax, dword [edi + 8]
sub eax, dword [edi]
shl eax, 2
cdq
idiv esi
mov word [ebx + 0x32], ax
mov eax, dword [edi + 0xc]
sub eax, dword [edi + 4]
shl eax, 3
cdq
idiv ecx
mov word [ebx + 0x34], ax
mov ebx, dword [ebp - 0x2a8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
xor eax, eax
jmp 0x1000764f
push dword [ebp - 0x2c4]
mov ebx, dword [ebp - 0x2a8]
push ebx
call dword [sym.imp.GDI32.dll_SelectObject]
push ebx
call dword [sym.imp.GDI32.dll_DeleteDC]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.101b70aa
mov esp, ebp
pop ebp
ret 4