Function at 0x10047165
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10075308
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0x3e0
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x54], 0xffffffff
mov dword [ebp - 0x118], 0xaed6b657
mov dword [ebp - 0xf0], 0x2530a9bc
mov dword [ebp - 0x1e8], 0xfff9
mov dword [ebp - 0x70], 0
mov dword [ebp - 0x234], 0xc5674fa7
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x100471d9
push 0xc75
push 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
cmp dword [ebp - 0x54], 0
je 0x100472da
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x368], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x2f4], eax
cmp dword [ebp - 0xf0], 1
jge 0x1004721f
cmp dword [ebp - 0x1e8], 0
je 0x1004721f
mov dword [ebp - 0x114], 1
jmp 0x10047226
and dword [ebp - 0x114], 0
mov eax, dword [ebp - 0x1e8]
imul eax, dword [ebp - 0x114]
test eax, eax
jne 0x10047249
mov eax, 0xffff
test eax, eax
jne 0x10047249
and dword [ebp - 0x190], 0
jmp 0x10047253
mov dword [ebp - 0x190], 1
cmp dword [ebp - 0x190], 1
jbe 0x1004726d
xor eax, eax
inc eax
je 0x1004726d
mov dword [ebp - 0x11c], 1
jmp 0x10047274
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0xf0]
cmp dword [ebp - 0x11c], eax
jl 0x1004728e
mov dword [ebp - 0x194], 1
jmp 0x10047295
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x194]
sub eax, dword [ebp - 0xf0]
cmp eax, dword [ebp - 0x70]
jge 0x100472b2
mov dword [ebp - 0x124], 1
jmp 0x100472b9
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x70]
cmp dword [ebp - 0x124], eax
jne 0x100472d0
mov dword [ebp - 0x1cc], 1
jmp 0x100472d7
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x54]
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x70]
mov dword [ebp - 0x314], eax
push 0xfffffffffffffff6
pop eax
test eax, eax
je 0x1004730e
mov eax, 0x2d38ca8c
test eax, eax
je 0x1004730e
cmp dword [ebp - 0x54], 0
je 0x1004730e
mov dword [ebp - 0x12c], 1
jmp 0x10047315
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 0x234], eax
push 2
lea ecx, [ebp - 0x344]
call fcn.1000f62f
and dword [ebp - 4], 0
mov dword [ebp - 0x78], 0xdf1febae
mov dword [ebp - 0xd0], 0
jmp 0x10047352
mov eax, dword [ebp - 0xd0]
inc eax
mov dword [ebp - 0xd0], eax
cmp dword [ebp - 0xd0], 2
jge 0x10047374
push dword [ebp - 0xd0]
lea ecx, [ebp - 0x344]
call fcn.1000f696
mov dword [eax], 7
jmp 0x10047345
mov dword [ebp - 0x78], 0
jmp 0x10047384
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 1
jg 0x100473c6
mov byte [ebp - 0x38], 0
movzx eax, byte [ebp - 0x38]
test eax, eax
je 0x100473c4
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0x1448
push 0x1859
push 0x2d
push 0x451
push 0x4e5
call dword [sym.imp.GDI32.dll_CreateFontA]
jmp 0x1004737d
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x344]
call fcn.1000f691
mov dword [ebp - 0x4c], 0x2304b25b
mov dword [ebp - 0x19c], 0xffff
mov dword [ebp - 0x1e4], 0xfffffff9
mov dword [ebp - 0x28c], 0x21705914
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x10047421
push 0
push 0
push 0x905
push 0x250
push 0
push 0x160d
call dword [sym.imp.GDI32.dll_GetCharacterPlacementW]
cmp dword [ebp - 0x4c], 0x59951ea6
jg 0x10047436
mov dword [ebp - 0x134], 1
jmp 0x1004743d
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x19c], eax
mov eax, dword [ebp - 0x19c]
cmp eax, dword [ebp - 0x134]
jle 0x10047460
mov dword [ebp - 0x13c], 1
jmp 0x10047467
and dword [ebp - 0x13c], 0
mov eax, dword [ebp - 0x1e4]
cmp dword [ebp - 0x1e4], eax
jg 0x10047481
mov dword [ebp - 0x1a4], 1
jmp 0x10047488
and dword [ebp - 0x1a4], 0
mov eax, dword [ebp - 0x13c]
sub eax, dword [ebp - 0x4c]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x4c]
sub eax, dword [ebp - 0x1a4]
mov dword [ebp - 0x28c], eax
mov dword [ebp - 0x80], 1
mov dword [ebp - 0xdc], 0
jmp 0x100474c3
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 3
jge 0x100474df
mov eax, dword [ebp - 0xdc]
mov dword [ebp + eax*4 - 0x3d8], 0xa6847dfa
jmp 0x100474b6
mov dword [ebp - 0x80], 2
jmp 0x100474ef
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 0
jl 0x10047510
mov byte [ebp - 0x21], 0
movzx eax, byte [ebp - 0x21]
test eax, eax
je 0x1004750e
push 0x2455
push 0
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
jmp 0x100474e8
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x1004752c
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [ebp - 0x2c4], 3
mov dword [ebp - 0x2c0], 3
mov dword [ebp - 0x2bc], 3
mov dword [ebp - 0x2b8], 3
lea ecx, [ebp - 0xe1]
call fcn.1000f6a5
push eax
lea eax, [ebp - 0x2b4]
push eax
lea eax, [ebp - 0x2c4]
push eax
lea ecx, [ebp - 0x39c]
call fcn.1000f6a8
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x394]
call fcn.1000f66b
mov dword [ebp - 4], 1
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x31c], 0x44ad72d7
mov dword [ebp - 0x324], 0xf44cacff
push 4
lea ecx, [ebp - 0x374]
call fcn.1000f62f
mov byte [ebp - 4], 2
mov dword [ebp - 0x2b0], 4
mov dword [ebp - 0x2ac], 4
mov dword [ebp - 0x2a8], 4
mov dword [ebp - 0x2a4], 4
lea ecx, [ebp - 0xf5]
call fcn.1000f6a5
push eax
lea eax, [ebp - 0x2a0]
push eax
lea eax, [ebp - 0x2b0]
push eax
lea ecx, [ebp - 0x3a4]
call fcn.1000f6a8
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x364]
call fcn.1000f66b
mov byte [ebp - 4], 3
mov dword [ebp - 0x64], 0
jmp 0x10047630
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 4
jge 0x10047649
push dword [ebp - 0x64]
lea ecx, [ebp - 0x374]
call fcn.1000f696
or dword [eax], 0xffffffff
jmp 0x10047629
mov dword [ebp - 0x88], 0
jmp 0x10047662
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 3
jg 0x1004772f
mov dword [ebp - 0x32c], 0x31d83293
mov dword [ebp - 0x334], 1
mov dword [ebp - 0x388], 0xffffffff
mov dword [ebp - 0x384], 0x4bedcc59
mov dword [ebp - 0x2f8], 0xe64e6dc6
push 3
lea ecx, [ebp - 0x354]
call fcn.1000f62f
mov byte [ebp - 4], 4
mov dword [ebp - 0x2fc], 0xffffffff
mov dword [ebp - 0xc4], 0
jmp 0x100476d5
mov eax, dword [ebp - 0xc4]
inc eax
mov dword [ebp - 0xc4], eax
cmp dword [ebp - 0xc4], 3
jge 0x100476f7
push dword [ebp - 0xc4]
lea ecx, [ebp - 0x354]
call fcn.1000f696
mov dword [eax], 0x308f4727
jmp 0x100476c8
push 1
lea ecx, [ebp - 0x364]
call fcn.1000f696
mov dword [ebp - 0x144], eax
mov eax, dword [ebp - 0x144]
mov eax, dword [eax]
dec eax
mov ecx, dword [ebp - 0x144]
mov dword [ecx], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x354]
call fcn.1000f691
jmp 0x10047655
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x364]
call fcn.1000f691
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x374]
call fcn.1000f691
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x394]
call fcn.1000f691
movzx eax, byte [0x10d30b68]
test eax, eax
je 0x1004777a
mov esi, 0x1061c78c
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
jmp 0x10048a26
mov dword [ebp - 0x2f0], 0x1061c78c
mov dword [ebp - 0x5c], 0x3d837bc7
mov dword [ebp - 0x154], 0xffffffff
mov dword [ebp - 0x1ac], 0xfffffffc
mov dword [ebp - 0x294], 0xd3ae
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x100477c9
push 0
push 0x1d14
push 0
push 0x261f
call dword [sym.imp.GDI32.dll_SetWinMetaFileBits]
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x5c], eax
jl 0x100477e6
mov dword [ebp - 0x1d4], 1
jmp 0x100477ed
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x5c]
imul eax, dword [ebp - 0x5c]
neg eax
imul eax, eax, 0xffff
cmp eax, 0x3e7e
jg 0x1004780f
mov dword [ebp - 0x14c], 1
jmp 0x10047816
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x1d4]
mov dword [ebp - 0x154], eax
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x1ac], eax
mov eax, dword [ebp - 0x1ac]
cmp dword [ebp - 0x154], eax
jge 0x10047848
mov dword [ebp - 0x1f8], 1
jmp 0x1004784f
and dword [ebp - 0x1f8], 0
mov eax, dword [ebp - 0x1f8]
mov dword [ebp - 0x294], eax
mov dword [ebp - 0x30c], 0x1061c790
mov dword [ebp - 0x14], 0xfffffffc
push 3
lea ecx, [ebp - 0x220]
call fcn.1000f62f
mov dword [ebp - 4], 5
mov dword [ebp - 0x50], 0xffff
mov dword [ebp - 0x1f0], 0x464f6128
mov dword [ebp - 0x90], 0
jmp 0x100478aa
mov eax, dword [ebp - 0x90]
inc eax
mov dword [ebp - 0x90], eax
cmp dword [ebp - 0x90], 3
jge 0x100478cc
push dword [ebp - 0x90]
lea ecx, [ebp - 0x220]
call fcn.1000f696
mov dword [eax], 1
jmp 0x1004789d
cmp dword [ebp - 0x14], 4
jne 0x10047985
mov dword [ebp - 0xd4], 0
jmp 0x100478ef
mov eax, dword [ebp - 0xd4]
inc eax
mov dword [ebp - 0xd4], eax
cmp dword [ebp - 0xd4], 4
jge 0x1004790b
mov eax, dword [ebp - 0xd4]
mov dword [ebp + eax*4 - 0x3b4], 0x59609c3f
jmp 0x100478e2
mov dword [ebp - 0x14], 0xfffffffd
jmp 0x1004791b
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jge 0x10047983
mov dword [ebp - 0x98], 0xce3e63e3
mov dword [ebp - 0x98], 0
jmp 0x10047944
mov eax, dword [ebp - 0x98]
inc eax
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 3
jg 0x10047970
mov byte [ebp - 0x37], 0
movzx eax, byte [ebp - 0x37]
test eax, eax
je 0x1004796e
push 0x6bf
push 0x1d80
push 0x1457
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
jmp 0x10047937
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x3b4], 0
je 0x10047981
jmp 0x10047914
jmp 0x10047914
jmp 0x100479b8
mov dword [ebp - 0x14], 4
jmp 0x10047995
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1c
jg 0x100479b8
mov dword [ebp - 0x2e0], 0xadb2bc40
mov dword [ebp - 0x300], 0x658edfe0
mov eax, dword [ebp - 0x50]
dec eax
mov dword [ebp - 0x50], eax
jmp 0x1004798e
mov dword [ebp - 0x14], 0xfffffffa
jmp 0x100479c8
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jle 0x10047c94
push 2
lea ecx, [ebp - 0x208]
call fcn.1000f62f
mov byte [ebp - 4], 6
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x100], 0xffffffff
mov dword [ebp - 0x224], 0x2aec7f51
mov dword [ebp - 0xcc], 0
jmp 0x10047a17
mov eax, dword [ebp - 0xcc]
inc eax
mov dword [ebp - 0xcc], eax
cmp dword [ebp - 0xcc], 2
jge 0x10047a36
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x208]
call fcn.1000f696
or dword [eax], 0xffffffff
jmp 0x10047a0a
xor eax, eax
jne 0x10047add
push 0
lea ecx, [ebp - 0x208]
call fcn.1000f696
cmp dword [eax], 0
je 0x10047a80
push 0
lea ecx, [ebp - 0x208]
call fcn.1000f696
mov esi, dword [ebp - 0x50]
imul esi, dword [eax]
push 0
lea ecx, [ebp - 0x208]
call fcn.1000f696
add esi, dword [eax]
je 0x10047a80
mov dword [ebp - 0x15c], 1
jmp 0x10047a87
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x15c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x100], eax
cmp dword [ebp - 0x100], 0xfffffff9
jg 0x10047aae
mov dword [ebp - 0x29c], 1
jmp 0x10047ab5
and dword [ebp - 0x29c], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x338], eax
push 1
lea ecx, [ebp - 0x220]
call fcn.1000f696
cmp dword [eax], 0
jne 0x10047add
xor eax, eax
jne 0x10047add
and dword [ebp - 0x1b4], 0
jmp 0x10047ae7
mov dword [ebp - 0x1b4], 1
push 0
lea ecx, [ebp - 0x208]
call fcn.1000f696
mov ecx, dword [ebp - 0x1b4]
cmp ecx, dword [eax]
jge 0x10047b0a
mov dword [ebp - 0x164], 1
jmp 0x10047b11
and dword [ebp - 0x164], 0
push 1
lea ecx, [ebp - 0x220]
call fcn.1000f696
mov eax, dword [eax]
cmp eax, dword [ebp - 0x164]
jle 0x10047b34
mov dword [ebp - 0x26c], 1
jmp 0x10047b3b
and dword [ebp - 0x26c], 0
push 1
lea ecx, [ebp - 0x220]
call fcn.1000f696
and dword [eax], 0
mov dword [ebp - 0x28], 0xfffffffa
jmp 0x10047b5b
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 9
jg 0x10047c80
mov dword [ebp - 0x40], 0x4a12
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x308], eax
cmp dword [ebp - 0x40], 0
jne 0x10047b8d
mov eax, 0x39f4802d
test eax, eax
jne 0x10047b8d
and dword [ebp - 0x1dc], 0
jmp 0x10047b97
mov dword [ebp - 0x1dc], 1
mov eax, dword [ebp - 0x14]
imul eax, dword [ebp - 0x1dc]
cmp dword [ebp - 0x40], eax
jne 0x10047bc1
push 1
lea ecx, [ebp - 0x220]
call fcn.1000f696
cmp dword [eax], 0
jne 0x10047bc1
and dword [ebp - 0x16c], 0
jmp 0x10047bcb
mov dword [ebp - 0x16c], 1
mov eax, dword [ebp - 0x40]
cmp dword [ebp - 0x16c], eax
jne 0x10047be2
mov dword [ebp - 0x1bc], 1
jmp 0x10047be9
and dword [ebp - 0x1bc], 0
push 0xfffffffffffffffd
pop eax
sub eax, dword [ebp - 0x1bc]
cmp eax, dword [ebp - 0x40]
je 0x10047c03
mov dword [ebp - 0x174], 1
jmp 0x10047c0a
and dword [ebp - 0x174], 0
mov eax, dword [ebp - 0x174]
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0
je 0x10047c31
cmp dword [ebp - 0x40], 0
je 0x10047c31
mov dword [ebp - 0x17c], 1
jmp 0x10047c38
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x100]
imul eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x17c]
jg 0x10047c56
mov dword [ebp - 0x238], 1
jmp 0x10047c5d
and dword [ebp - 0x238], 0
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x380], eax
push 0
lea ecx, [ebp - 0x208]
call fcn.1000f696
mov eax, dword [eax]
mov dword [ebp - 0x224], eax
jmp 0x10047b54
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x208]
call fcn.1000f691
jmp 0x100479c1
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x220]
call fcn.1000f691
mov byte [0x10d30b68], 1
mov dword [ebp - 0xa0], 0xf6af1124
mov dword [ebp - 0xa0], 0
jmp 0x10047ccd
mov eax, dword [ebp - 0xa0]
dec eax
mov dword [ebp - 0xa0], eax
cmp dword [ebp - 0xa0], 0xffffffea
je 0x10047d05
mov dword [ebp - 0x288], 0xfff6
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x10047cf8
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_HeapCreate]
cmp dword [ebp - 0x288], 0
je 0x10047d03
jmp 0x10047d05
jmp 0x10047cc0
xor eax, eax
inc eax
imul eax, eax, 0x148
add eax, 0x1061c508
mov dword [ebp - 0x140], eax
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x298], 0xffff
mov dword [ebp - 0x23c], 0x2321
cmp dword [ebp - 0x23c], 0xb4a
jge 0x10047e77
and dword [ebp - 0x20], 0
and dword [ebp - 0xe8], 0
lea eax, [ebp - 0xe8]
push eax
lea eax, [ebp - 0x20]
push eax
push 0x10008bfc
call fcn.1005cc6b
add esp, 0xc
xor ecx, ecx
mov eax, dword [ebp - 0x20]
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.1005839b
pop ecx
mov dword [ebp - 0x270], eax
mov eax, dword [ebp - 0x270]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xe8]
cdq
idiv dword [ebp - 0x20]
mov dword [ebp - 0x244], eax
and dword [ebp - 0xb8], 0
jmp 0x10047db7
mov eax, dword [ebp - 0xb8]
inc eax
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0x20]
jge 0x10047dd9
mov eax, dword [ebp - 0xb8]
mov ecx, dword [ebp - 0xb0]
mov edx, dword [ebp - 0x244]
mov dword [ecx + eax*4], edx
jmp 0x10047daa
push 4
pop eax
imul ecx, eax, 0
mov eax, dword [ebp - 0xe8]
cdq
idiv dword [ebp - 0x20]
mov eax, dword [ebp - 0xb0]
add edx, dword [eax + ecx]
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xb0]
mov dword [ecx + eax], edx
and dword [ebp - 0xa8], 0
jmp 0x10047e17
mov eax, dword [ebp - 0xa8]
inc eax
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0xa8]
cmp eax, dword [ebp - 0x20]
jge 0x10047e77
and dword [ebp - 0xc0], 0
jmp 0x10047e38
mov eax, dword [ebp - 0xc0]
inc eax
mov dword [ebp - 0xc0], eax
mov eax, dword [ebp - 0xc0]
cmp eax, dword [ebp - 0x20]
jge 0x10047e6a
mov eax, dword [ebp - 0xa8]
add eax, dword [ebp - 0xc0]
cdq
idiv dword [ebp - 0x20]
mov eax, dword [ebp - 0xb0]
push dword [eax + edx*4]
push 0x10007ab4
call fcn.1005d2b3
pop ecx
pop ecx
jmp 0x10047e2b
push 0x10007ab0
call fcn.1005d2b3
pop ecx
jmp 0x10047e0a
mov dword [ebp - 0xc8], 0
jmp 0x10047e90
mov eax, dword [ebp - 0xc8]
inc eax
mov dword [ebp - 0xc8], eax
cmp dword [ebp - 0xc8], 2
jge 0x10047eac
mov eax, dword [ebp - 0xc8]
mov dword [ebp + eax*4 - 0x2ec], 5
jmp 0x10047e83
mov dword [ebp - 0x1c], 0
jmp 0x10047ebc
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10047ed2
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2ec], 0x1f2c29a
jmp 0x10047eb5
mov dword [ebp - 0x1c], 0xffffffe6
jmp 0x10047ee2
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xffffffed
jl 0x10047f4b
push 2
lea ecx, [ebp - 0x2d0]
call fcn.1000f62f
mov dword [ebp - 4], 7
mov dword [ebp - 0x68], 0
jmp 0x10047f0c
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 2
jge 0x10047f25
push dword [ebp - 0x68]
lea ecx, [ebp - 0x2d0]
call fcn.1000f696
or dword [eax], 0xffffffff
jmp 0x10047f05
push 0
lea ecx, [ebp - 0x2d0]
call fcn.1000f696
mov eax, dword [eax]
mov dword [ebp - 0x298], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2d0]
call fcn.1000f691
jmp 0x10047edb
xor eax, eax
inc eax
imul eax, eax, 0x1c
add eax, 0x1061c508
mov dword [ebp - 0xf4], eax
mov dword [ebp - 0x1c4], 0x63ce
mov dword [ebp - 0x27c], 0x10008c04
cmp dword [ebp - 0x1c4], 0x6702
jle 0x10048063
and dword [ebp - 0x84], 0
jmp 0x10047f96
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 0x78ae
jge 0x10048056
and dword [ebp - 0x7c], 0
jmp 0x10047fb3
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0x5be0
jge 0x10048051
and dword [ebp - 0x6c], 0
jmp 0x10047fcd
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 0x81c
jge 0x1004804c
and dword [ebp - 0x74], 0
jmp 0x10047fe3
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 0xb5f
jge 0x10048047
mov eax, dword [ebp - 0x6c]
imul eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x7c]
and eax, dword [ebp - 0x84]
cdq
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], edx
push dword [ebp - 0x274]
push dword [ebp - 0x278]
lea ecx, [ebp - 0x3cc]
call fcn.1000ab1b
pop ecx
pop ecx
mov dword [ebp - 0x24c], eax
mov ecx, dword [ebp - 0x24c]
call fcn.1000f3b7
push eax
call fcn.1005d2b3
pop ecx
lea ecx, [ebp - 0x3cc]
call fcn.1000f3ad
jmp 0x10047fdc
jmp 0x10047fc6
jmp 0x10047fac
jmp 0x10047f89
push 0
push 0x1279
call dword [sym.imp.GDI32.dll_SetLayout]
mov dword [ebp - 4], 8
cmp dword [ebp - 0x1c4], 0x6058
jge 0x10048082
push dword [ebp - 0x27c]
call fcn.1005d2b3
pop ecx
jmp 0x1004809e
or dword [ebp - 4], 0xffffffff
jmp 0x100480a8
mov dword [ebp - 0x44], 0
mov dword [ebp - 0x268], 0x1009d434
mov dword [ebp - 0x264], 0x1009d434
mov dword [ebp - 0x260], 0x1009d434
mov dword [ebp - 0x25c], 0x1009d434
mov dword [ebp - 0x310], 0xfffffff6
mov dword [ebp - 0x138], 0x6bc044b0
mov dword [ebp - 0x348], 0xfffffffa
mov dword [ebp - 0x254], 7
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x44], 0xfffffff3
jmp 0x10048119
mov eax, dword [ebp - 0x44]
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0xfffffff9
je 0x10048366
mov dword [ebp - 0x318], 0x4c38b6b0
mov dword [ebp - 0x378], 0x552bf338
mov dword [ebp - 0x320], 0x54671013
mov dword [ebp - 0x358], 0x351a938
mov dword [ebp - 0x94], 2
push 2
lea ecx, [ebp - 0x2dc]
call fcn.1000f62f
mov dword [ebp - 4], 0xa
mov dword [ebp - 0xec], 0xbed5
mov dword [ebp - 0x8c], 0
jmp 0x1004818c
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 2
jge 0x100481ae
push dword [ebp - 0x8c]
lea ecx, [ebp - 0x2dc]
call fcn.1000f696
mov dword [eax], 0xdbf0cf86
jmp 0x1004817f
push 4
pop eax
shl eax, 1
mov esi, dword [ebp + eax - 0x268]
push 0
lea ecx, [ebp - 0x2dc]
call fcn.1000f696
mov eax, dword [eax]
sub eax, dword [ebp - 0x138]
cmp esi, eax
jle 0x100481df
mov dword [ebp - 0x184], 1
jmp 0x100481e6
and dword [ebp - 0x184], 0
imul eax, dword [ebp - 0x184], 0xe428
test eax, eax
jne 0x10048206
cmp dword [ebp - 0x94], 0
jne 0x10048206
and dword [ebp - 0x18c], 0
jmp 0x10048210
mov dword [ebp - 0x18c], 1
mov eax, dword [ebp - 0x18c]
add eax, 0x7a30
jne 0x10048236
cmp dword [ebp - 0x94], 0
jne 0x10048236
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x268], 0
je 0x10048247
xor eax, eax
inc eax
je 0x10048247
mov dword [ebp - 0x10c], 1
jmp 0x1004824e
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 0xfff8
ja 0x10048266
mov dword [ebp - 0x110], 1
jmp 0x1004826d
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
add eax, 0xffff
cmp eax, dword [ebp - 0x254]
jle 0x1004828c
mov dword [ebp - 0x108], 1
jmp 0x10048293
and dword [ebp - 0x108], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x268]
cmp dword [ebp - 0x108], eax
jge 0x100482b4
mov dword [ebp - 0x120], 1
jmp 0x100482bb
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [ebp - 0xec]
sub ecx, dword [ebp - 0x120]
add eax, ecx
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x22c], eax
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x94]
add ecx, dword [ebp - 0x290]
sub ecx, dword [ebp + eax - 0x268]
mov dword [ebp - 0x230], ecx
mov eax, dword [ebp - 0xec]
dec eax
mov dword [ebp - 0xec], eax
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp - 0x230]
jg 0x10048320
mov dword [ebp - 0x128], 1
jmp 0x10048327
and dword [ebp - 0x128], 0
cmp dword [ebp - 0x128], 0x60fc
je 0x1004833f
mov dword [ebp - 0x130], 1
jmp 0x10048346
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2dc]
call fcn.1000f691
jmp 0x10048112
mov eax, dword [ebp - 0x140]
mov dword [0x1061c78c], eax
mov eax, dword [ebp - 0xf4]
mov dword [0x1061c790], eax
mov dword [ebp - 0x328], 0xfffa
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1004839e
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetHandleInformation]
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x100483b2
push 0
call dword [sym.imp.GDI32.dll_CreatePenIndirect]
push 4
pop eax
imul eax, eax, 0
push 4
pop ecx
imul ecx, ecx, 0
mov edx, dword [ebp - 0xf4]
mov edx, dword [edx + eax]
mov eax, dword [ebp - 0x140]
mov ecx, dword [eax + ecx]
call fcn.10047124
mov dword [ebp - 0x250], eax
mov dword [ebp - 0xe0], 0x5653
push 3
lea ecx, [ebp - 0x214]
call fcn.1000f62f
mov dword [ebp - 4], 0xb
mov dword [ebp - 0x248], 0xe34edf6b
mov dword [ebp - 0x9c], 0
jmp 0x1004841c
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 3
jge 0x1004843e
push dword [ebp - 0x9c]
lea ecx, [ebp - 0x214]
call fcn.1000f696
mov dword [eax], 0xfffffff8
jmp 0x1004840f
mov byte [ebp - 0x34], 0
mov dword [ebp - 0x148], 0x41ef
mov dword [ebp - 0x240], 0x10008c70
cmp dword [ebp - 0x148], 0x44b6
jle 0x10048570
and dword [ebp - 0xd8], 0
jmp 0x1004847c
mov eax, dword [ebp - 0xd8]
inc eax
mov dword [ebp - 0xd8], eax
cmp dword [ebp - 0xd8], 0x4945
jge 0x10048570
and dword [ebp - 0xa4], 0
jmp 0x100484a2
mov eax, dword [ebp - 0xa4]
inc eax
mov dword [ebp - 0xa4], eax
cmp dword [ebp - 0xa4], 0x1470
jge 0x1004856b
and dword [ebp - 0xac], 0
jmp 0x100484c8
mov eax, dword [ebp - 0xac]
inc eax
mov dword [ebp - 0xac], eax
cmp dword [ebp - 0xac], 0x5437
jge 0x10048566
and dword [ebp - 0xb4], 0
jmp 0x100484ee
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0x273d
jge 0x10048561
mov eax, dword [ebp - 0xa4]
mov ecx, dword [ebp - 0xac]
sar eax, cl
mov ecx, dword [ebp - 0xb4]
shl eax, cl
xor eax, dword [ebp - 0xd8]
cdq
mov dword [ebp - 0x284], eax
mov dword [ebp - 0x280], edx
push dword [ebp - 0x280]
push dword [ebp - 0x284]
lea ecx, [ebp - 0x3f0]
call fcn.1000ab1b
pop ecx
pop ecx
mov dword [ebp - 0x228], eax
mov ecx, dword [ebp - 0x228]
call fcn.1000f3b7
push eax
call fcn.1005d2b3
pop ecx
lea ecx, [ebp - 0x3f0]
call fcn.1000f3ad
jmp 0x100484e1
jmp 0x100484bb
jmp 0x10048495
jmp 0x1004846f
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x1004858f
push 0
push 0x1d8e
push 0x1cd0
push 0x12e2
call dword [sym.imp.USER32.dll_SetDlgItemInt]
mov byte [ebp - 4], 0xc
cmp dword [ebp - 0x148], 0x3fe7
jge 0x100485ab
push dword [ebp - 0x240]
call fcn.1005d2b3
pop ecx
jmp 0x100485c7
mov dword [ebp - 4], 0xb
jmp 0x100485d7
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0xe0], eax
jne 0x100485f1
mov dword [ebp - 0x150], 1
jmp 0x100485f8
and dword [ebp - 0x150], 0
mov eax, dword [ebp - 0xe0]
add eax, dword [ebp - 0x150]
jne 0x10048635
push 2
lea ecx, [ebp - 0x214]
call fcn.1000f696
push 2
lea ecx, [ebp - 0x214]
call fcn.1000f696
mov eax, 0x7647f1a9
add eax, 0x3267e6aa
jne 0x10048635
and dword [ebp - 0x158], 0
jmp 0x1004863f
mov dword [ebp - 0x158], 1
mov eax, dword [ebp - 0xe0]
cmp dword [ebp - 0x158], eax
jge 0x10048659
mov dword [ebp - 0x160], 1
jmp 0x10048660
and dword [ebp - 0x160], 0
push 2
lea ecx, [ebp - 0x214]
call fcn.1000f696
mov ecx, dword [ebp - 0x160]
imul ecx, dword [eax]
imul esi, ecx, 3
push 2
lea ecx, [ebp - 0x214]
call fcn.1000f696
imul esi, dword [eax]
mov dword [ebp - 0x248], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x214]
call fcn.1000f691
push dword [ebp - 0xf4]
mov edx, 0x1061c734
mov ecx, dword [ebp - 0x250]
call fcn.10047130
pop ecx
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x104], 0x8664a116
mov dword [ebp - 0xfc], 0xd3e5
mov dword [ebp - 0x58], 0
jmp 0x100486e0
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 5
je 0x10048a18
mov dword [ebp - 0x30], 8
mov dword [ebp - 0x1e0], 0xffffffff
mov dword [ebp - 0x30], 0
jmp 0x1004870b
mov eax, dword [ebp - 0x30]
dec eax
mov dword [ebp - 0x30], eax
cmp dword [ebp - 0x30], 0xffffffe9
jle 0x10048a13
mov dword [ebp - 0x18], 0x6d4f2887
mov dword [ebp - 0xbc], 0
jmp 0x10048735
mov eax, dword [ebp - 0xbc]
inc eax
mov dword [ebp - 0xbc], eax
cmp dword [ebp - 0xbc], 1
jge 0x1004874e
mov eax, dword [ebp - 0xbc]
mov dword [ebp + eax*4 - 0x60], 0xfffffff6
jmp 0x10048728
mov dword [ebp - 0x18], 0
jmp 0x1004875e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x1d
jle 0x10048853
mov dword [ebp - 0x48], 4
mov dword [ebp - 0x170], 1
mov dword [ebp - 0x48], 0
jmp 0x10048789
mov eax, dword [ebp - 0x48]
dec eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 0
jl 0x1004884e
mov dword [ebp - 0x258], 0xfffffffd
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x60], 0
je 0x100487bd
push 0xfffffffffffffff9
pop eax
test eax, eax
je 0x100487bd
mov dword [ebp - 0x168], 1
jmp 0x100487c4
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp + eax*4 - 0x60]
cmp dword [ebp - 0x168], eax
jle 0x100487df
mov dword [ebp - 0x178], 1
jmp 0x100487e6
and dword [ebp - 0x178], 0
imul eax, dword [ebp - 0x58], 0xfff7
mov dword [ebp - 0x170], eax
mov eax, dword [ebp - 0x48]
mov eax, dword [ebp + eax*4 - 0x60]
add eax, dword [ebp - 0x170]
cmp eax, dword [ebp - 0x178]
jge 0x10048814
mov dword [ebp - 0x180], 1
jmp 0x1004881b
and dword [ebp - 0x180], 0
cmp dword [ebp - 0x180], 0xfffffffc
jne 0x10048830
mov dword [ebp - 0x188], 1
jmp 0x10048837
and dword [ebp - 0x188], 0
mov eax, dword [ebp - 0x188]
sub eax, dword [ebp - 0x104]
mov dword [ebp - 0x258], eax
jmp 0x10048782
jmp 0x10048757
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x37c], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x330], eax
imul eax, dword [ebp - 0x18], 0x6ac1
test eax, eax
jne 0x1004887c
mov dword [ebp - 0x198], 1
jmp 0x10048883
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x1e0]
cmp dword [ebp - 0x198], eax
jg 0x100488a3
cmp dword [ebp - 0xfc], 0
jne 0x100488a3
and dword [ebp - 0x1a0], 0
jmp 0x100488ad
mov dword [ebp - 0x1a0], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp eax, dword [ebp - 0x1a0]
je 0x100488cb
mov dword [ebp - 0x1a8], 1
jmp 0x100488d2
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1a8], eax
jle 0x100488e9
mov dword [ebp - 0x1b0], 1
jmp 0x100488f0
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0xfc]
cmp dword [ebp - 0x1b0], eax
je 0x1004890a
mov dword [ebp - 0x1b8], 1
jmp 0x10048911
and dword [ebp - 0x1b8], 0
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x1b8]
jg 0x10048928
mov dword [ebp - 0x1c0], 1
jmp 0x1004892f
and dword [ebp - 0x1c0], 0
mov eax, dword [ebp - 0x104]
cmp dword [ebp - 0x1c0], eax
jle 0x10048949
mov dword [ebp - 0x1c8], 1
jmp 0x10048950
and dword [ebp - 0x1c8], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x1c8], eax
jne 0x10048967
mov dword [ebp - 0x1d0], 1
jmp 0x1004896e
and dword [ebp - 0x1d0], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x1d0]
cmp eax, 0xffffffff
jb 0x10048989
mov dword [ebp - 0x1d8], 1
jmp 0x10048990
and dword [ebp - 0x1d8], 0
mov eax, dword [ebp - 0x1d8]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
add eax, dword [ebp - 0x30]
imul eax, dword [ebp - 0xfc]
cmp eax, dword [ebp - 0x1e0]
jg 0x100489ba
mov dword [ebp - 0x1ec], 1
jmp 0x100489c1
and dword [ebp - 0x1ec], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x60]
cmp dword [ebp - 0x1ec], eax
jl 0x100489df
mov dword [ebp - 0x1f4], 1
jmp 0x100489e6
and dword [ebp - 0x1f4], 0
cmp dword [ebp - 0x1f4], 0xfffffffa
jne 0x100489fb
mov dword [ebp - 0x1fc], 1
jmp 0x10048a02
and dword [ebp - 0x1fc], 0
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x104], eax
jmp 0x10048704
jmp 0x100486d9
mov esi, 0x1061c78c
mov edi, dword [ebp + 8]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret