Function at 0x10041079
Capabilities:
Check os version
Create pipe
Get disk information
Get thread local storage value
Parse pe header
Resolve function by parsing pe exports
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1006a816
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
sub esp, 0xe4c
push ebx
push esi
push edi
mov dword [ebp - 0x10], esp
cmp dword [ebp + 0x10], 0
jbe 0x100410c0
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100410c0
movzx eax, word [ebp + 0x10]
push eax
push dword [ebp + 8]
call fcn.1003be70
pop ecx
pop ecx
jmp 0x10047845
mov dword [ebp - 0x158], 0xb26bdde0
mov dword [ebp - 0x260], 0
jmp 0x100410e3
mov eax, dword [ebp - 0x260]
inc eax
mov dword [ebp - 0x260], eax
cmp dword [ebp - 0x260], 3
jge 0x100410ff
mov eax, dword [ebp - 0x260]
mov dword [ebp + eax*4 - 0xd50], 0xed15de05
jmp 0x100410d6
mov dword [ebp - 0x158], 0xfffffffa
jmp 0x10041118
mov eax, dword [ebp - 0x158]
dec eax
mov dword [ebp - 0x158], eax
cmp dword [ebp - 0x158], 0xffffffef
jne 0x10041153
mov byte [ebp - 0x11f], 0
movzx eax, byte [ebp - 0x11f]
test eax, eax
je 0x10041139
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov eax, dword [ebp - 0x158]
add eax, 0xb99
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xd50], eax
jmp 0x1004110b
cmp dword [ebp + 0x10], 0
jne 0x10045496
mov dword [ebp - 0x344], 9
mov dword [ebp - 0x384], 0xa733e34b
mov dword [ebp - 0x88c], 0x6f8b8ae5
mov dword [ebp - 0xc34], 0xb8bffbef
mov dword [ebp - 0x304], 0
mov dword [ebp - 0x918], 0xa75a592c
mov dword [ebp - 0x750], 0xfffffffc
mov dword [ebp - 0x89c], 0xffffffff
mov dword [ebp - 0x7a0], 1
mov dword [ebp - 0x760], 0xfc36fe5
mov dword [ebp - 0x8a4], 4
mov dword [ebp - 0x894], 0xfc5c3c3a
mov dword [ebp - 0xbc4], 5
mov dword [ebp - 0x314], 0xfffffffe
mov dword [ebp - 0x920], 0xffffffff
mov dword [ebp - 0x2cc], 0xfffffffe
mov dword [ebp - 0x30c], 0x79a9
mov dword [ebp - 0x7c], 0
jmp 0x10041217
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 1
jge 0x1004122d
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0x84c], 9
jmp 0x10041210
mov dword [ebp - 0x7c], 0
jmp 0x1004123d
mov eax, dword [ebp - 0x7c]
inc eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 3
jge 0x10041253
mov eax, dword [ebp - 0x7c]
mov dword [ebp + eax*4 - 0xbfc], 0x62b50098
jmp 0x10041236
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0x344], eax
mov eax, dword [ebp - 0x2cc]
dec eax
mov dword [ebp - 0x2cc], eax
cmp dword [ebp - 0x2cc], 0xfffffff7
je 0x10041281
mov dword [ebp - 0x788], 1
jmp 0x10041288
and dword [ebp - 0x788], 0
mov eax, dword [ebp - 0x88c]
mov dword [ebp - 0x428], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x428]
mov dword [ebp + eax - 0x84c], ecx
mov eax, dword [ebp - 0x894]
add eax, dword [ebp - 0x428]
cmp eax, dword [ebp - 0x314]
je 0x100412cd
cmp dword [ebp - 0x314], 0
jne 0x100412cd
and dword [ebp - 0x758], 0
jmp 0x100412d7
mov dword [ebp - 0x758], 1
mov eax, dword [ebp - 0x758]
mov dword [ebp - 0x89c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0xbfc]
mov dword [ebp - 0x760], eax
mov eax, dword [ebp - 0x304]
sub eax, dword [ebp - 0x30c]
mov ecx, dword [ebp - 0x760]
imul ecx, eax
cmp ecx, 0xfffffff7
jg 0x1004131c
mov dword [ebp - 0x780], 1
jmp 0x10041323
and dword [ebp - 0x780], 0
imul eax, dword [ebp - 0x780], 0xffff
cmp eax, 0xffffffff
je 0x1004133e
mov dword [ebp - 0x790], 1
jmp 0x10041345
and dword [ebp - 0x790], 0
mov eax, dword [ebp - 0x788]
cmp eax, dword [ebp - 0x790]
jge 0x1004135f
mov dword [ebp - 0x798], 1
jmp 0x10041366
and dword [ebp - 0x798], 0
mov eax, dword [ebp - 0x798]
mov dword [ebp - 0x7a0], eax
mov eax, dword [ebp - 0x7a0]
add eax, dword [ebp - 0x8a4]
mov dword [ebp - 0x304], eax
mov eax, dword [ebp - 0x304]
cmp eax, dword [ebp - 0x30c]
jg 0x1004139e
mov dword [ebp - 0x7a8], 1
jmp 0x100413a5
and dword [ebp - 0x7a8], 0
mov eax, dword [ebp - 0x7a8]
mov dword [ebp - 0x918], eax
mov eax, 0xb996
cmp eax, 0xc09
je 0x100413c9
mov dword [ebp - 0x7ec], 1
jmp 0x100413d0
and dword [ebp - 0x7ec], 0
mov eax, dword [ebp - 0x30c]
cmp dword [ebp - 0x7ec], eax
jne 0x100413ea
mov dword [ebp - 0x7f4], 1
jmp 0x100413f1
and dword [ebp - 0x7f4], 0
mov eax, dword [ebp - 0x314]
cmp dword [ebp - 0x7f4], eax
jge 0x1004140b
mov dword [ebp - 0x7e8], 1
jmp 0x10041412
and dword [ebp - 0x7e8], 0
mov eax, dword [ebp - 0x920]
cmp dword [ebp - 0x7e8], eax
jg 0x1004142c
mov dword [ebp - 0x928], 1
jmp 0x10041433
and dword [ebp - 0x928], 0
mov eax, dword [ebp - 0x344]
mov dword [ebp - 0xcc8], eax
mov dword [ebp - 0x384], 0xf961dfa2
mov eax, dword [ebp - 0x384]
mov dword [ebp - 0x750], eax
mov eax, dword [ebp - 0x750]
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0xbfc], eax
mov edx, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
call fcn.10033430
mov dword [ebp - 0x1c0], eax
mov dword [ebp - 0x6dc], 0x33e
mov dword [ebp - 0x938], 0x10008938
cmp dword [ebp - 0x6dc], 0x3db
jle 0x1004153d
and dword [ebp - 0x2a0], 0
jmp 0x100414b3
mov eax, dword [ebp - 0x2a0]
inc eax
mov dword [ebp - 0x2a0], eax
cmp dword [ebp - 0x2a0], 0x442e
jge 0x1004153d
and dword [ebp - 0x2a4], 0
jmp 0x100414d5
mov eax, dword [ebp - 0x2a4]
inc eax
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x2a4], 0x684b
jge 0x10041538
mov eax, dword [ebp - 0x2a0]
or eax, dword [ebp - 0x2a4]
cdq
mov dword [ebp - 0x8b0], eax
mov dword [ebp - 0x8ac], edx
push dword [ebp - 0x8ac]
push dword [ebp - 0x8b0]
lea ecx, [ebp - 0xe34]
call fcn.1000a20e
pop ecx
pop ecx
mov dword [ebp - 0x930], eax
mov ecx, dword [ebp - 0x930]
call fcn.1001622c
push eax
call fcn.10050d73
pop ecx
lea ecx, [ebp - 0xe34]
call fcn.10016222
jmp 0x100414c8
jmp 0x100414a6
and dword [ebp - 4], 0
cmp dword [ebp - 0x6dc], 0x1b
jge 0x10041556
push dword [ebp - 0x938]
call fcn.10050d73
pop ecx
jmp 0x10041572
or dword [ebp - 4], 0xffffffff
jmp 0x1004157c
mov dword [ebp - 0x5c], 0x5e17ca00
mov dword [ebp - 0x15c], 0x72b90f99
mov dword [ebp - 0xd4], 0xe022
push 1
lea ecx, [ebp - 0x2b4]
call fcn.10016555
mov dword [ebp - 4], 2
mov dword [ebp - 0xb0], 0x9338886a
mov dword [ebp - 0x38c], 0x67b0
mov dword [ebp - 0x940], 0x10008968
cmp dword [ebp - 0x38c], 0x6ae5
jle 0x1004164c
and dword [ebp - 0x1c4], 0
jmp 0x100415eb
mov eax, dword [ebp - 0x1c4]
inc eax
mov dword [ebp - 0x1c4], eax
cmp dword [ebp - 0x1c4], 0x5e7d
jge 0x1004164c
and dword [ebp - 0x244], 0
jmp 0x1004160d
mov eax, dword [ebp - 0x244]
inc eax
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0x3638
jge 0x1004164a
mov eax, dword [ebp - 0x1c4]
and eax, dword [ebp - 0x244]
cdq
mov dword [ebp - 0x8bc], eax
mov dword [ebp - 0x8b8], edx
push dword [ebp - 0x8b8]
push dword [ebp - 0x8bc]
mov ecx, 0x10611838
call fcn.1001624c
jmp 0x10041600
jmp 0x100415de
mov dword [ebp - 0x3bc], 0xb924e19c
mov byte [ebp - 4], 3
cmp dword [ebp - 0x38c], 0x651d
jge 0x10041676
mov edx, dword [ebp - 0x940]
mov ecx, 0x10611838
call fcn.10019248
jmp 0x10041692
mov dword [ebp - 4], 2
jmp 0x100416a2
mov dword [ebp - 0x960], 0x39b7b3fa
mov dword [ebp - 0x968], 0xfffffff7
mov dword [ebp - 0x1cc], 0
jmp 0x100416cf
mov eax, dword [ebp - 0x1cc]
inc eax
mov dword [ebp - 0x1cc], eax
cmp dword [ebp - 0x1cc], 1
jge 0x100416f1
push dword [ebp - 0x1cc]
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
mov dword [eax], 0xfffffff8
jmp 0x100416c2
cmp dword [ebp - 0x5c], 0
jne 0x10041836
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xbcc], eax
mov eax, dword [ebp - 0x5c]
sub eax, 4
jne 0x1004171e
cmp dword [ebp - 0x15c], 0
jne 0x1004171e
and dword [ebp - 0x5c4], 0
jmp 0x10041728
mov dword [ebp - 0x5c4], 1
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x5c4], eax
jle 0x10041742
mov dword [ebp - 0x330], 1
jmp 0x10041749
and dword [ebp - 0x330], 0
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
mov ecx, dword [ebp - 0x330]
mov dword [eax], ecx
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x330], eax
jg 0x10041775
mov dword [ebp - 0x394], 1
jmp 0x1004177c
and dword [ebp - 0x394], 0
mov eax, dword [ebp - 0xd4]
cmp dword [ebp - 0x394], eax
jge 0x10041796
mov dword [ebp - 0x770], 1
jmp 0x1004179d
and dword [ebp - 0x770], 0
mov eax, dword [ebp - 0x770]
add eax, 0x98f0
cmp eax, dword [ebp - 0x5c]
jne 0x100417b9
mov dword [ebp - 0x39c], 1
jmp 0x100417c0
and dword [ebp - 0x39c], 0
mov eax, dword [ebp - 0x39c]
neg eax
jne 0x100417d1
cmp dword [ebp - 0xd4], 0
mov esi, dword [ebp - 0x15c]
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
cmp dword [eax], esi
jl 0x100417f4
mov dword [ebp - 0x5cc], 1
jmp 0x100417fb
and dword [ebp - 0x5cc], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x5cc], eax
jg 0x10041815
mov dword [ebp - 0x3a4], 1
jmp 0x1004181c
and dword [ebp - 0x3a4], 0
imul eax, dword [ebp - 0x3a4], 0x56ce
mov ecx, dword [ebp - 0x5c]
sub ecx, eax
jne 0x10041836
and dword [ebp - 0x6e4], 0
jmp 0x10041840
mov dword [ebp - 0x6e4], 1
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x6e4], eax
jge 0x1004186f
mov byte [ebp - 0xc1], 0
movzx eax, byte [ebp - 0xc1]
test eax, eax
je 0x1004186d
push 0
push 0x107e
call dword [sym.imp.USER32.dll_MapDialogRect]
jmp 0x100418c1
mov dword [ebp - 0x948], 0x834ab462
mov dword [ebp - 0x24c], 0
jmp 0x10041892
mov eax, dword [ebp - 0x24c]
inc eax
mov dword [ebp - 0x24c], eax
cmp dword [ebp - 0x24c], 2
jge 0x100418ae
mov eax, dword [ebp - 0x24c]
mov dword [ebp + eax*4 - 0xc24], 0x5cf0
jmp 0x10041885
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xc24]
mov dword [ebp - 0x948], eax
mov eax, 0xcd1ac8c6
test eax, eax
je 0x10041b20
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0xcf8], eax
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
cmp dword [eax], 9
jae 0x100418f5
mov dword [ebp - 0x3ac], 1
jmp 0x100418fc
and dword [ebp - 0x3ac], 0
mov eax, dword [ebp - 0x3ac]
sub eax, 8
jne 0x10041910
cmp dword [ebp - 0xd4], 0
jne 0x1004192b
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
cmp dword [eax], 0
jne 0x1004192b
and dword [ebp - 0x5d4], 0
jmp 0x10041935
mov dword [ebp - 0x5d4], 1
mov eax, dword [ebp - 0x5d4]
sub eax, 0x432313bb
cmp eax, dword [ebp - 0x5c]
jge 0x10041951
mov dword [ebp - 0x3b4], 1
jmp 0x10041958
and dword [ebp - 0x3b4], 0
cmp dword [ebp - 0x3b4], 0x4d7aeb8f
jg 0x10041979
cmp dword [ebp - 0x15c], 0
je 0x10041979
mov dword [ebp - 0x950], 1
jmp 0x10041980
and dword [ebp - 0x950], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xbd4], eax
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
cmp dword [eax], 0
je 0x100419b1
push 6
pop eax
test eax, eax
je 0x100419b1
mov dword [ebp - 0x7cc], 1
jmp 0x100419b8
and dword [ebp - 0x7cc], 0
mov eax, dword [ebp - 0x7cc]
mov dword [ebp - 0x3bc], eax
mov eax, dword [ebp - 0x3bc]
cmp eax, dword [ebp - 0xb0]
jl 0x100419de
mov dword [ebp - 0x5dc], 1
jmp 0x100419e5
and dword [ebp - 0x5dc], 0
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
mov ecx, dword [ebp - 0x5dc]
cmp ecx, dword [eax]
jle 0x10041a08
mov dword [ebp - 0x3c4], 1
jmp 0x10041a0f
and dword [ebp - 0x3c4], 0
mov eax, dword [ebp - 0x5c]
cmp dword [ebp - 0x3c4], eax
je 0x10041a26
mov dword [ebp - 0x958], 1
jmp 0x10041a2d
and dword [ebp - 0x958], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0xc14], eax
mov eax, dword [ebp - 0x960]
mov dword [ebp - 0xbdc], eax
mov eax, dword [ebp - 0xd4]
cmp eax, dword [ebp - 0xd4]
jne 0x10041a65
cmp dword [ebp - 0x968], 0
jne 0x10041a65
and dword [ebp - 0x6ec], 0
jmp 0x10041a6f
mov dword [ebp - 0x6ec], 1
cmp dword [ebp - 0x6ec], 6
je 0x10041a84
mov dword [ebp - 0x3cc], 1
jmp 0x10041a8b
and dword [ebp - 0x3cc], 0
mov eax, dword [ebp - 0x3cc]
add eax, 9
cmp dword [ebp - 0xd4], eax
jg 0x10041aba
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
cmp dword [eax], 0
je 0x10041aba
mov dword [ebp - 0x5e4], 1
jmp 0x10041ac1
and dword [ebp - 0x5e4], 0
cmp dword [ebp - 0x5e4], 0xfc8ecea6
jne 0x10041ad9
mov dword [ebp - 0x3d4], 1
jmp 0x10041ae0
and dword [ebp - 0x3d4], 0
mov eax, dword [ebp - 0xb0]
cmp dword [ebp - 0x3d4], eax
jne 0x10041afa
mov dword [ebp - 0x77c], 1
jmp 0x10041b01
and dword [ebp - 0x77c], 0
mov eax, dword [ebp - 0x77c]
sub eax, dword [ebp - 0xb0]
add eax, 0x780915d2
je 0x10041b20
mov dword [ebp - 0x3dc], 1
jmp 0x10041b27
and dword [ebp - 0x3dc], 0
mov eax, dword [ebp - 0x15c]
cmp dword [ebp - 0x3dc], eax
jne 0x10041b41
mov dword [ebp - 0x5ec], 1
jmp 0x10041b48
and dword [ebp - 0x5ec], 0
mov esi, dword [ebp - 0xb0]
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
mov edi, dword [eax]
sub edi, dword [ebp - 0x5ec]
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
add edi, dword [eax]
cmp edi, esi
jne 0x10041b82
mov dword [ebp - 0x3e4], 1
jmp 0x10041b89
and dword [ebp - 0x3e4], 0
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
mov ecx, dword [ebp - 0x3e4]
cmp ecx, dword [eax]
jge 0x10041bac
mov dword [ebp - 0x6f4], 1
jmp 0x10041bb3
and dword [ebp - 0x6f4], 0
mov eax, dword [ebp - 0x6f4]
sub eax, dword [ebp - 0x15c]
mov esi, dword [ebp - 0x5c]
push 0
lea ecx, [ebp - 0x2b4]
call fcn.100165f3
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2b4]
call fcn.100165d7
cmp dword [0x10616ea8], 0
jne 0x10045344
push 2
lea ecx, [ebp - 0xc10]
call fcn.10016555
mov dword [ebp - 4], 5
mov dword [ebp - 0x254], 5
mov dword [ebp - 0x1d4], 0
jmp 0x10041c24
mov eax, dword [ebp - 0x1d4]
inc eax
mov dword [ebp - 0x1d4], eax
cmp dword [ebp - 0x1d4], 2
jge 0x10041c43
push dword [ebp - 0x1d4]
lea ecx, [ebp - 0xc10]
call fcn.100165f3
and dword [eax], 0
jmp 0x10041c17
mov dword [ebp - 0x254], 0
jmp 0x10041c5c
mov eax, dword [ebp - 0x254]
inc eax
mov dword [ebp - 0x254], eax
cmp dword [ebp - 0x254], 1
jg 0x10041c88
mov byte [ebp - 0xc3], 0
movzx eax, byte [ebp - 0xc3]
test eax, eax
je 0x10041c86
push 1
push 0
push 0x1096
call dword [sym.imp.USER32.dll_InvalidateRect]
jmp 0x10041c4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc10]
call fcn.100165d7
mov dword [ebp - 0x970], 0xc7f9
lea eax, [ebp - 0x970]
push eax
call fcn.1003be41
pop ecx
mov dword [ebp - 0x410], eax
mov dword [ebp - 0x178], 0xb7c7ce53
push 2
lea ecx, [ebp - 0x814]
call fcn.10016555
mov dword [ebp - 4], 6
mov dword [ebp - 0x9d8], 0x3ab1943c
mov dword [ebp - 0x34], 0
jmp 0x10041cec
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jge 0x10041d02
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xad8], 1
jmp 0x10041ce5
mov dword [ebp - 0x34], 0
jmp 0x10041d12
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 2
jge 0x10041d2e
push dword [ebp - 0x34]
lea ecx, [ebp - 0x814]
call fcn.100165f3
mov dword [eax], 0x1188
jmp 0x10041d0b
mov dword [ebp - 0x34], 0
jmp 0x10041d3e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 1
jge 0x10041d54
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0xc18], 0xfffffffb
jmp 0x10041d37
mov dword [ebp - 0x178], 2
jmp 0x10041d6d
mov eax, dword [ebp - 0x178]
dec eax
mov dword [ebp - 0x178], eax
cmp dword [ebp - 0x178], 0
jl 0x10041e05
mov dword [ebp - 0xbe4], 2
mov dword [ebp - 0xaf8], 0x8f0aa6e6
push 4
lea ecx, [ebp - 0xc40]
call fcn.10016555
mov byte [ebp - 4], 7
mov dword [ebp - 0x3ec], 1
mov dword [ebp - 0x1dc], 0
jmp 0x10041dc2
mov eax, dword [ebp - 0x1dc]
inc eax
mov dword [ebp - 0x1dc], eax
cmp dword [ebp - 0x1dc], 4
jge 0x10041de4
push dword [ebp - 0x1dc]
lea ecx, [ebp - 0xc40]
call fcn.100165f3
mov dword [eax], 8
jmp 0x10041db5
mov eax, dword [ebp - 0x3ec]
inc eax
mov dword [ebp - 0x3ec], eax
mov byte [ebp - 4], 6
lea ecx, [ebp - 0xc40]
call fcn.100165d7
jmp 0x10041d60
cmp dword [ebp - 0x178], 0xb43d
je 0x10041e2f
push 0
lea ecx, [ebp - 0x814]
call fcn.100165f3
cmp dword [eax], 0
je 0x10041e2f
mov dword [ebp - 0x5f4], 1
jmp 0x10041e36
and dword [ebp - 0x5f4], 0
mov eax, dword [ebp - 0x9d8]
mov dword [ebp - 0xb00], eax
push 0
lea ecx, [ebp - 0x814]
call fcn.100165f3
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xad8]
cmp dword [ebp - 0x5f4], eax
jle 0x10041e82
push 0
lea ecx, [ebp - 0x814]
call fcn.100165f3
cmp dword [eax], 0
je 0x10041e82
mov dword [ebp - 0x3f4], 1
jmp 0x10041e89
and dword [ebp - 0x3f4], 0
push 0
lea ecx, [ebp - 0x814]
call fcn.100165f3
mov eax, dword [eax]
cmp eax, dword [ebp - 0x3f4]
jne 0x10041eac
mov dword [ebp - 0x7dc], 1
jmp 0x10041eb3
and dword [ebp - 0x7dc], 0
cmp dword [ebp - 0x7dc], 8
jge 0x10041ec8
mov dword [ebp - 0x3fc], 1
jmp 0x10041ecf
and dword [ebp - 0x3fc], 0
cmp dword [ebp - 0x3fc], 1
jl 0x10041ee4
mov dword [ebp - 0x5fc], 1
jmp 0x10041eeb
and dword [ebp - 0x5fc], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0xad8]
cmp dword [ebp - 0x5fc], eax
jne 0x10041f0b
mov dword [ebp - 0x404], 1
jmp 0x10041f12
and dword [ebp - 0x404], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x404]
mov dword [ebp + eax - 0xad8], ecx
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x814]
call fcn.100165d7
mov dword [ebp - 0xb08], 0x8a8f
mov dword [ebp - 0xb10], 2
mov dword [ebp - 0xb18], 0x85c6f1bf
mov dword [ebp - 0xb20], 0xceafd94f
mov dword [ebp - 0xb28], 3
mov dword [ebp - 0xb30], 0x34d00693
mov dword [ebp - 0xb38], 0xffffffff
mov dword [ebp - 0xb40], 0x7a98815
mov dword [ebp - 0xb48], 1
mov dword [ebp - 0xb50], 1
mov dword [ebp - 0xb58], 1
mov dword [ebp - 0xb60], 0x9393dda3
mov dword [ebp - 0xb68], 5
mov dword [ebp - 0xb70], 0xffffffff
mov dword [ebp - 0xb78], 0x4456e348
mov dword [ebp - 0x6fc], 0x5d3c095b
mov dword [ebp - 0x8c], 0
jmp 0x10041fec
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 1
jge 0x10042008
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0xb80], 0xaced45b0
jmp 0x10041fdf
mov dword [ebp - 0x8c], 0
jmp 0x10042021
mov eax, dword [ebp - 0x8c]
inc eax
mov dword [ebp - 0x8c], eax
cmp dword [ebp - 0x8c], 2
jge 0x1004203d
mov eax, dword [ebp - 0x8c]
mov dword [ebp + eax*4 - 0xde4], 0xa19820b2
jmp 0x10042014
mov eax, dword [ebp - 0x6fc]
inc eax
mov dword [ebp - 0x6fc], eax
mov byte [ebp - 0x198], 0xa
mov byte [ebp - 0x197], 0x98
mov byte [ebp - 0x196], 0xb
mov byte [ebp - 0x195], 0x3d
mov byte [ebp - 0x194], 0
mov byte [ebp - 0x193], 0x3f
mov byte [ebp - 0x192], 5
mov byte [ebp - 0x191], 0x35
mov byte [ebp - 0x190], 6
mov byte [ebp - 0x18f], 1
mov byte [ebp - 0x18e], 1
mov byte [ebp - 0x18d], 0x16
mov byte [ebp - 0x18c], 3
mov byte [ebp - 0x18b], 0x33
mov byte [ebp - 0x18a], 7
mov byte [ebp - 0x189], 0x3f
mov byte [ebp - 0x188], 2
mov byte [ebp - 0x187], 0x1d
mov byte [ebp - 0x186], 9
mov byte [ebp - 0x185], 0x1a
mov byte [ebp - 0x184], 0xc
mov byte [ebp - 0x183], 0x39
mov byte [ebp - 0x182], 8
mov byte [ebp - 0x181], 0x38
mov byte [ebp - 0x180], 4
mov byte [ebp - 0x17f], 0xa
mov dword [ebp - 0xdc], 2
mov dword [ebp - 0x60c], 0xbc1b0fe2
mov dword [ebp - 0xb88], 0xffffffff
mov dword [ebp - 0x424], 0x4a6e8f59
mov dword [ebp - 0xb90], 0x48aee511
mov dword [ebp - 0x25c], 0
jmp 0x1004214b
mov eax, dword [ebp - 0x25c]
inc eax
mov dword [ebp - 0x25c], eax
cmp dword [ebp - 0x25c], 2
jge 0x10042167
mov eax, dword [ebp - 0x25c]
mov dword [ebp + eax*4 - 0x2bc], 0xb7cefa9d
jmp 0x1004213e
mov dword [ebp - 0xdc], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2bc]
sub eax, dword [ebp - 0xdc]
je 0x100421a2
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2bc], 1
ja 0x100421a2
mov dword [ebp - 0x40c], 1
jmp 0x100421a9
and dword [ebp - 0x40c], 0
mov eax, dword [ebp - 0x40c]
neg eax
cmp eax, 0xbefa
jne 0x100421c4
mov dword [ebp - 0x604], 1
jmp 0x100421cb
and dword [ebp - 0x604], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2bc]
cmp eax, dword [ebp - 0x604]
jne 0x100421ec
mov dword [ebp - 0x414], 1
jmp 0x100421f3
and dword [ebp - 0x414], 0
mov eax, dword [ebp - 0x414]
neg eax
cmp eax, 0x2c6eed1e
jne 0x1004220e
mov dword [ebp - 0x784], 1
jmp 0x10042215
and dword [ebp - 0x784], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2bc]
cmp dword [ebp - 0x784], eax
jge 0x1004225e
mov byte [ebp - 0xc5], 0
movzx eax, byte [ebp - 0xc5]
test eax, eax
je 0x10042259
push 0
push 0
push 0
push 0x2a2
push 0x1dda
push 0
push 0x1863
call dword [sym.imp.GDI32.dll_GetTextExtentExPointA]
jmp 0x10042345
mov dword [ebp - 0x41c], 0xfffffffe
mov dword [ebp - 0xdc], 0xffffffed
jmp 0x10042281
mov eax, dword [ebp - 0xdc]
inc eax
mov dword [ebp - 0xdc], eax
cmp dword [ebp - 0xdc], 0xfffffffe
jge 0x10042338
push 3
lea ecx, [ebp - 0xacc]
call fcn.10016555
mov dword [ebp - 4], 8
mov dword [ebp - 0x9ec], 0xfffffffa
mov dword [ebp - 0x1e4], 0
jmp 0x100422c5
mov eax, dword [ebp - 0x1e4]
inc eax
mov dword [ebp - 0x1e4], eax
cmp dword [ebp - 0x1e4], 3
jge 0x100422e7
push dword [ebp - 0x1e4]
lea ecx, [ebp - 0xacc]
call fcn.100165f3
mov dword [eax], 0x641b44ad
jmp 0x100422b8
push 1
lea ecx, [ebp - 0xacc]
call fcn.100165f3
mov eax, dword [eax]
mov dword [ebp - 0x9ec], eax
mov byte [ebp - 0xc7], 0
movzx eax, byte [ebp - 0xc7]
test eax, eax
je 0x10042324
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeA]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xacc]
call fcn.100165d7
jmp 0x10042274
mov eax, dword [ebp - 0x41c]
dec eax
mov dword [ebp - 0x41c], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2bc]
mov dword [ebp - 0xb98], eax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0xba0], eax
mov dword [ebp - 0x60c], 1
mov eax, dword [ebp - 0x60c]
mov dword [ebp - 0xba8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2bc]
mov dword [ebp - 0xbb0], eax
mov eax, 0x232c
test eax, eax
jne 0x100423af
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x2bc], 0
jne 0x100423af
and dword [ebp - 0x9e8], 0
jmp 0x100423b9
mov dword [ebp - 0x9e8], 1
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0xbb8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x2bc]
mov dword [ebp - 0xdc], eax
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x198]
and eax, 0xdd
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x198]
or ecx, 0xdd
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x198]
mov byte [ebp + eax - 0x848], cl
mov dword [ebp - 0x60], 2
and dword [ebp - 0x310], 0
jmp 0x1004242e
mov eax, dword [ebp - 0x60]
inc eax
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 0x1a
jae 0x100424c5
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x310]
movzx eax, byte [ebp + eax - 0x19a]
movsx eax, byte [ebp + eax - 0x848]
mov ecx, dword [ebp - 0x60]
movzx ecx, byte [ebp + ecx - 0x197]
and ecx, eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x310]
movzx eax, byte [ebp + eax - 0x19a]
movsx eax, byte [ebp + eax - 0x848]
mov edx, dword [ebp - 0x60]
movzx edx, byte [ebp + edx - 0x197]
and edx, eax
mov eax, dword [ebp - 0x60]
sub eax, dword [ebp - 0x310]
movzx eax, byte [ebp + eax - 0x19a]
movsx eax, byte [ebp + eax - 0x848]
mov esi, dword [ebp - 0x60]
movzx ebx, byte [ebp + esi - 0x197]
add ebx, eax
sub ebx, edx
sub ebx, ecx
mov eax, dword [ebp - 0x60]
movzx eax, byte [ebp + eax - 0x198]
mov byte [ebp + eax - 0x848], bl
jmp 0x10042426
mov dword [ebp - 0x160], 0xb26bdde0
mov dword [ebp - 0x264], 0
jmp 0x100424e8
mov eax, dword [ebp - 0x264]
inc eax
mov dword [ebp - 0x264], eax
cmp dword [ebp - 0x264], 3
jge 0x10042504
mov eax, dword [ebp - 0x264]
mov dword [ebp + eax*4 - 0xda4], 0xed15de05
jmp 0x100424db
mov dword [ebp - 0x160], 0xfffffffa
jmp 0x1004251d
mov eax, dword [ebp - 0x160]
dec eax
mov dword [ebp - 0x160], eax
cmp dword [ebp - 0x160], 0xffffffef
jne 0x10042558
mov byte [ebp - 0xc9], 0
movzx eax, byte [ebp - 0xc9]
test eax, eax
je 0x1004253e
call dword [sym.imp.USER32.dll_CreatePopupMenu]
mov eax, dword [ebp - 0x160]
add eax, 0xb99
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xda4], eax
jmp 0x10042510
xor eax, eax
inc eax
imul eax, eax, 0xd
mov byte [ebp + eax - 0x848], 0
mov dword [ebp - 0xe4], 0x97f6af11
mov dword [ebp - 0x26c], 0x7d19fa5
push 4
lea ecx, [ebp - 0xa90]
call fcn.10016555
mov dword [ebp - 4], 9
mov dword [ebp - 0x1ec], 0
jmp 0x100425a7
mov eax, dword [ebp - 0x1ec]
inc eax
mov dword [ebp - 0x1ec], eax
cmp dword [ebp - 0x1ec], 4
jge 0x100425c6
push dword [ebp - 0x1ec]
lea ecx, [ebp - 0xa90]
call fcn.100165f3
or dword [eax], 0xffffffff
jmp 0x1004259a
mov dword [ebp - 0xe4], 0xfffffff6
jmp 0x100425df
mov eax, dword [ebp - 0xe4]
inc eax
mov dword [ebp - 0xe4], eax
cmp dword [ebp - 0xe4], 0x1d
jne 0x10042839
mov dword [ebp - 0x338], 0xffffffff
push 1
lea ecx, [ebp - 0x838]
call fcn.10016555
mov byte [ebp - 4], 0xa
mov dword [ebp - 0xa8], 0x226c312f
mov dword [ebp - 0x74], 0
jmp 0x10042621
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x1004263d
push dword [ebp - 0x74]
lea ecx, [ebp - 0x838]
call fcn.100165f3
mov dword [eax], 0x91df82
jmp 0x1004261a
mov dword [ebp - 0x74], 0
jmp 0x1004264d
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 3
jge 0x10042663
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0xd98], 8
jmp 0x10042646
cmp dword [ebp - 0x338], 0xffffffff
jbe 0x10042678
mov dword [ebp - 0x7e4], 1
jmp 0x1004267f
and dword [ebp - 0x7e4], 0
mov eax, dword [ebp - 0xe4]
mov dword [ebp - 0x704], eax
push 0
lea ecx, [ebp - 0x838]
call fcn.100165f3
mov ecx, dword [ebp - 0x704]
mov dword [eax], ecx
mov eax, dword [ebp - 0x704]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0
jne 0x100427ca
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0xbc0], eax
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0xbc8], eax
push 0
lea ecx, [ebp - 0x838]
call fcn.100165f3
cmp dword [eax], 1
jbe 0x100426ef
mov dword [ebp - 0x42c], 1
jmp 0x100426f6
and dword [ebp - 0x42c], 0
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x42c], eax
je 0x10042710
mov dword [ebp - 0x614], 1
jmp 0x10042717
and dword [ebp - 0x614], 0
mov eax, dword [ebp - 0xa8]
cmp dword [ebp - 0x614], eax
jge 0x1004272c
cmp dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x338]
mov dword [ebp - 0xa8], eax
cmp dword [ebp - 0xa8], 0xfffffff7
jle 0x1004274d
mov dword [ebp - 0x434], 1
jmp 0x10042754
and dword [ebp - 0x434], 0
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x434], eax
jl 0x1004276e
mov dword [ebp - 0x2d8], 1
jmp 0x10042775
and dword [ebp - 0x2d8], 0
push 0
lea ecx, [ebp - 0x838]
call fcn.100165f3
mov ecx, dword [ebp - 0x2d8]
mov dword [eax], ecx
push 3
lea ecx, [ebp - 0xa90]
call fcn.100165f3
mov ecx, dword [ebp - 0x2d8]
mov dword [eax], ecx
mov eax, dword [ebp - 0x26c]
mov dword [ebp - 0xbd0], eax
mov eax, dword [ebp - 0x26c]
sub eax, dword [ebp - 0x26c]
mov ecx, dword [ebp - 0x338]
sub ecx, eax
jne 0x100427ca
and dword [ebp - 0x43c], 0
jmp 0x100427d4
mov dword [ebp - 0x43c], 1
mov eax, dword [ebp - 0x7e4]
cmp eax, dword [ebp - 0x43c]
je 0x100427ee
mov dword [ebp - 0x61c], 1
jmp 0x100427f5
and dword [ebp - 0x61c], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x61c]
mov dword [ebp + eax - 0xd98], ecx
cmp dword [ebp - 0xa8], 0
je 0x10042825
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x838]
call fcn.100165d7
jmp 0x100425d2
mov byte [ebp - 4], 9
lea ecx, [ebp - 0x838]
call fcn.100165d7
jmp 0x100425d2
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa90]
call fcn.100165d7
lea eax, [ebp - 0x848]
push eax
lea ecx, [ebp - 0xe04]
call fcn.10048347
mov dword [ebp - 0x9bc], eax
mov eax, dword [ebp - 0x9bc]
mov dword [ebp - 0x964], eax
mov dword [ebp - 4], 0xb
mov edx, dword [ebp - 0x410]
mov ecx, dword [ebp - 0x964]
call fcn.10033430
mov dword [0x10616ea8], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xe04]
call fcn.100164c2
and dword [ebp - 0x274], 0
jmp 0x100428ae
mov eax, dword [ebp - 0x274]
inc eax
mov dword [ebp - 0x274], eax
cmp dword [ebp - 0x274], 0xe
jae 0x10042970
mov dword [ebp - 0xbd8], 0
mov dword [ebp - 0x1f4], 0
jmp 0x100428de
mov eax, dword [ebp - 0x1f4]
inc eax
mov dword [ebp - 0x1f4], eax
cmp dword [ebp - 0x1f4], 1
jge 0x100428fa
mov eax, dword [ebp - 0x1f4]
mov dword [ebp + eax*4 - 0x9b4], 0xc506d444
jmp 0x100428d1
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x9b4], 6
push 6
pop eax
cmp eax, 7
jbe 0x1004292f
mov byte [ebp - 0xfd], 0
movzx eax, byte [ebp - 0xfd]
test eax, eax
je 0x1004292d
push 0
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
jmp 0x1004295d
mov byte [ebp - 0xcb], 0
movzx eax, byte [ebp - 0xcb]
test eax, eax
je 0x1004295d
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
mov eax, dword [ebp - 0x274]
mov byte [ebp + eax - 0x848], 0
jmp 0x100428a1
mov dword [ebp - 0xb8], 0x6f37
mov dword [ebp - 0x2e0], 0x524f2047
mov dword [ebp - 0x318], 0xeec8
mov dword [ebp - 0x1fc], 0x64c9
push 2
lea ecx, [ebp - 0xae4]
call fcn.10016555
mov dword [ebp - 4], 0xc
mov dword [ebp - 0x78], 0
jmp 0x100429bc
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x100429d2
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0xbf0], 8
jmp 0x100429b5
mov dword [ebp - 0x78], 0
jmp 0x100429e2
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x100429fe
push dword [ebp - 0x78]
lea ecx, [ebp - 0xae4]
call fcn.100165f3
mov dword [eax], 3
jmp 0x100429db
cmp dword [ebp - 0xb8], 0
jne 0x10042a19
mov eax, 0xdf94
test eax, eax
jne 0x10042a19
and dword [ebp - 0x884], 0
jmp 0x10042a23
mov dword [ebp - 0x884], 1
mov dword [ebp - 0x2e0], 0
mov eax, dword [ebp - 0x2e0]
mov dword [ebp - 0xbe0], eax
mov eax, dword [ebp - 0xb8]
cmp eax, dword [ebp - 0xb8]
jne 0x10042a53
mov dword [ebp - 0x444], 1
jmp 0x10042a5a
and dword [ebp - 0x444], 0
mov eax, dword [ebp - 0x444]
mov dword [ebp - 0x318], eax
mov eax, dword [ebp - 0x318]
cmp eax, dword [ebp - 0xb8]
je 0x10042a80
mov dword [ebp - 0x70c], 1
jmp 0x10042a87
and dword [ebp - 0x70c], 0
mov eax, dword [ebp - 0xb8]
add eax, dword [ebp - 0x70c]
jne 0x10042aa7
cmp dword [ebp - 0x2e0], 0
jne 0x10042aa7
and dword [ebp - 0x44c], 0
jmp 0x10042ab1
mov dword [ebp - 0x44c], 1
mov eax, dword [ebp - 0x1fc]
imul eax, dword [ebp - 0x44c]
cmp eax, dword [ebp - 0xb8]
je 0x10042ad8
cmp dword [ebp - 0xb8], 0
jne 0x10042ad8
and dword [ebp - 0x624], 0
jmp 0x10042ae2
mov dword [ebp - 0x624], 1
mov eax, dword [ebp - 0x624]
sub eax, 3
cmp eax, dword [ebp - 0x1fc]
je 0x10042aff
mov dword [ebp - 0x858], 1
jmp 0x10042b06
and dword [ebp - 0x858], 0
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xbe8], eax
cmp dword [ebp - 0x1fc], 1
ja 0x10042b27
mov dword [ebp - 0x454], 1
jmp 0x10042b2e
and dword [ebp - 0x454], 0
mov eax, dword [ebp - 0x1fc]
cmp dword [ebp - 0x454], eax
jge 0x10042b48
mov dword [ebp - 0x78c], 1
jmp 0x10042b4f
and dword [ebp - 0x78c], 0
mov eax, dword [ebp - 0x78c]
neg eax
mov dword [ebp - 0x944], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x944]
mov dword [ebp + eax - 0xbf0], ecx
mov esi, dword [ebp - 0x318]
push 1
lea ecx, [ebp - 0xae4]
call fcn.100165f3
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xae4]
call fcn.100165d7
mov dword [ebp - 0xcdc], 0xec0ae971
mov byte [ebp - 0xcd], 0
movzx eax, byte [ebp - 0xcd]
test eax, eax
je 0x10042bc0
push 0x14bd
push 0x1623
call dword [sym.imp.GDI32.dll_SetPolyFillMode]
mov byte [ebp - 0x122], 0
movzx eax, byte [ebp - 0x122]
test eax, eax
je 0x10042bda
push 0
call dword [sym.imp.USER32.dll_RegisterClassA]
mov dword [ebp - 0x50], 6
mov dword [ebp - 0x64], 1
mov dword [ebp - 0x644], 0xffffffff
mov dword [ebp - 0x170], 0x324067bc
mov dword [ebp - 0x27c], 0
jmp 0x10042c15
mov eax, dword [ebp - 0x27c]
inc eax
mov dword [ebp - 0x27c], eax
cmp dword [ebp - 0x27c], 3
jge 0x10042c31
mov eax, dword [ebp - 0x27c]
mov dword [ebp + eax*4 - 0x324], 0xec2e0cf5
jmp 0x10042c08
mov dword [ebp - 0x50], 0
jmp 0x10042c41
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 2
jg 0x10042f86
mov dword [ebp - 0xec], 0
mov dword [ebp - 0x9c], 1
mov dword [ebp - 0x474], 0xffffffff
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x324]
mov dword [ebp - 0xce4], eax
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x324], 0
jne 0x10042d5f
push 4
pop eax
shl eax, 1
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x324]
cmp ecx, dword [ebp + eax - 0x324]
je 0x10042cbd
mov eax, dword [ebp - 0x50]
cmp dword [ebp + eax*4 - 0x324], 0
je 0x10042cbd
mov dword [ebp - 0x860], 1
jmp 0x10042cc4
and dword [ebp - 0x860], 0
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x324], 0
je 0x10042cef
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x324], 0
je 0x10042cef
mov dword [ebp - 0x45c], 1
jmp 0x10042cf6
and dword [ebp - 0x45c], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x324]
cmp dword [ebp - 0x45c], eax
jle 0x10042d14
mov dword [ebp - 0x62c], 1
jmp 0x10042d1b
and dword [ebp - 0x62c], 0
cmp dword [ebp - 0x62c], 0x7153413f
je 0x10042d33
mov dword [ebp - 0x464], 1
jmp 0x10042d3a
and dword [ebp - 0x464], 0
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 0
jne 0x10042d5f
push 6
pop eax
test eax, eax
jne 0x10042d5f
and dword [ebp - 0x714], 0
jmp 0x10042d69
mov dword [ebp - 0x714], 1
mov eax, dword [ebp - 0x50]
cmp eax, dword [ebp - 0x714]
jge 0x10042d80
mov dword [ebp - 0x46c], 1
jmp 0x10042d87
and dword [ebp - 0x46c], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x324]
cmp dword [ebp - 0x46c], eax
jne 0x10042da5
mov dword [ebp - 0x634], 1
jmp 0x10042dac
and dword [ebp - 0x634], 0
mov eax, dword [ebp - 0x634]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x474], eax
mov eax, dword [ebp - 0x474]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x64]
cmp eax, dword [ebp - 0x50]
jl 0x10042de1
mov dword [ebp - 0x7d8], 1
jmp 0x10042de8
and dword [ebp - 0x7d8], 0
mov eax, dword [ebp - 0x50]
mov eax, dword [ebp + eax*4 - 0x324]
imul eax, dword [ebp - 0x7d8]
cmp eax, 0xfffffff9
jl 0x10042e0a
mov dword [ebp - 0x47c], 1
jmp 0x10042e11
and dword [ebp - 0x47c], 0
cmp dword [ebp - 0x47c], 0xfffffff7
jge 0x10042e26
mov dword [ebp - 0x63c], 1
jmp 0x10042e2d
and dword [ebp - 0x63c], 0
cmp dword [ebp - 0x63c], 0x3585
jge 0x10042e45
mov dword [ebp - 0x484], 1
jmp 0x10042e4c
and dword [ebp - 0x484], 0
mov eax, dword [ebp - 0x484]
mov dword [ebp - 0x644], eax
mov eax, 0x51fe
test eax, eax
jne 0x10042e73
cmp dword [ebp - 0xec], 0
jne 0x10042e73
and dword [ebp - 0x71c], 0
jmp 0x10042e7d
mov dword [ebp - 0x71c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x324]
cmp dword [ebp - 0x71c], eax
jne 0x10042e9e
mov dword [ebp - 0x48c], 1
jmp 0x10042ea5
and dword [ebp - 0x48c], 0
mov eax, dword [ebp - 0x48c]
mov dword [ebp - 0x170], eax
mov dword [ebp - 0xec], 0
jmp 0x10042eca
mov eax, dword [ebp - 0xec]
inc eax
mov dword [ebp - 0xec], eax
cmp dword [ebp - 0xec], 2
jg 0x10042f81
mov dword [ebp - 0x868], 0
mov dword [ebp - 0x9c], 0
jmp 0x10042efa
mov eax, dword [ebp - 0x9c]
inc eax
mov dword [ebp - 0x9c], eax
cmp dword [ebp - 0x9c], 2
jg 0x10042f2e
mov byte [ebp - 0xc0], 0
movzx eax, byte [ebp - 0xc0]
test eax, eax
je 0x10042f2c
push 0x1ea9
push 0
push 0x224a
push 0x2fc
call dword [sym.imp.USER32.dll_SystemParametersInfoW]
jmp 0x10042eed
mov dword [ebp - 0x64], 2
jmp 0x10042f3e
mov eax, dword [ebp - 0x64]
dec eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0
jl 0x10042f7c
mov dword [ebp - 0x9c8], 0xaed0
mov dword [ebp - 0x94c], 9
mov eax, dword [ebp - 0x9c8]
cmp eax, dword [ebp - 0x868]
mov dword [ebp - 0x9c], 0x395f87b7
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 0x94c], eax
jmp 0x10042f37
jmp 0x10042ebd
jmp 0x10042c3a
mov dword [ebp - 0x64], 0xffffffe3
jmp 0x10042f96
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 0xfffffff5
jle 0x10042fe7
mov dword [ebp - 0x170], 0
jmp 0x10042fb5
mov eax, dword [ebp - 0x170]
inc eax
mov dword [ebp - 0x170], eax
cmp dword [ebp - 0x170], 2
jg 0x10042fda
mov byte [ebp - 0xf5], 0
movzx eax, byte [ebp - 0xf5]
test eax, eax
je 0x10042fd8
push 0
call dword [sym.imp.COMDLG32.dll_GetOpenFileNameW]
jmp 0x10042fa8
cmp dword [ebp - 0x644], 0
je 0x10042fe5
jmp 0x10042f8f
jmp 0x10042f8f
mov byte [ebp - 0x1b8], 6
mov byte [ebp - 0x1b7], 0x1c
mov byte [ebp - 0x1b6], 8
mov byte [ebp - 0x1b5], 0x3f
mov byte [ebp - 0x1b4], 0xc
mov byte [ebp - 0x1b3], 0x1c
mov byte [ebp - 0x1b2], 4
mov byte [ebp - 0x1b1], 7
mov byte [ebp - 0x1b0], 7
mov byte [ebp - 0x1af], 6
mov byte [ebp - 0x1ae], 0xd
mov byte [ebp - 0x1ad], 0x25
mov byte [ebp - 0x1ac], 3
mov byte [ebp - 0x1ab], 0x36
mov byte [ebp - 0x1aa], 1
mov byte [ebp - 0x1a9], 0x73
mov byte [ebp - 0x1a8], 0xb
mov byte [ebp - 0x1a7], 0x12
mov byte [ebp - 0x1a6], 0xa
mov byte [ebp - 0x1a5], 0x16
mov byte [ebp - 0x1a4], 1
mov byte [ebp - 0x1a3], 0x17
mov byte [ebp - 0x1a2], 0
mov byte [ebp - 0x1a1], 0x31
mov byte [ebp - 0x1a0], 2
mov byte [ebp - 0x19f], 0x26
mov byte [ebp - 0x19e], 5
mov byte [ebp - 0x19d], 0
mov byte [ebp - 0x19c], 9
mov byte [ebp - 0x19b], 6
push 1
lea ecx, [ebp - 0xc50]
call fcn.10016555
mov dword [ebp - 4], 0xd
push 1
lea ecx, [ebp - 0x980]
call fcn.10016555
mov byte [ebp - 4], 0xe
mov dword [ebp - 0xcec], 0x8974b66
mov dword [ebp - 0x80], 0
jmp 0x100430f8
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x10043111
push dword [ebp - 0x80]
lea ecx, [ebp - 0xc50]
call fcn.100165f3
and dword [eax], 0
jmp 0x100430f1
mov dword [ebp - 0x80], 0
jmp 0x10043121
mov eax, dword [ebp - 0x80]
inc eax
mov dword [ebp - 0x80], eax
cmp dword [ebp - 0x80], 1
jge 0x1004313d
push dword [ebp - 0x80]
lea ecx, [ebp - 0x980]
call fcn.100165f3
mov dword [eax], 0x60f57a7c
jmp 0x1004311a
push 0
lea ecx, [ebp - 0x980]
call fcn.100165f3
and dword [eax], 0
jmp 0x10043173
push 0
lea ecx, [ebp - 0x980]
call fcn.100165f3
mov dword [ebp - 0x494], eax
mov eax, dword [ebp - 0x494]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x494]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x980]
call fcn.100165f3
cmp dword [eax], 0
jg 0x100431b0
mov byte [ebp - 0x124], 0
movzx eax, byte [ebp - 0x124]
test eax, eax
je 0x100431ae
push 0x10b9
push 0
push 0x1362
push 0x20e8
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
jmp 0x1004314f
mov byte [ebp - 4], 0xd
lea ecx, [ebp - 0x980]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc50]
call fcn.100165d7
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x1b8]
and eax, 0x4c
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x1b8]
or ecx, 0x4c
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x1b8]
mov byte [ebp + eax - 0x9fc], cl
mov dword [ebp - 0x2c], 0
push 2
lea ecx, [ebp - 0x7b8]
call fcn.10016555
mov dword [ebp - 4], 0xf
mov dword [ebp - 0x2e8], 0xd1c58bdf
mov dword [ebp - 0x88], 0
jmp 0x10043245
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 2
jge 0x10043267
push dword [ebp - 0x88]
lea ecx, [ebp - 0x7b8]
call fcn.100165f3
mov dword [eax], 0x697e780c
jmp 0x10043238
mov dword [ebp - 0x88], 0
jmp 0x10043280
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
cmp dword [ebp - 0x88], 3
jge 0x1004329c
mov eax, dword [ebp - 0x88]
mov dword [ebp + eax*4 - 0xd74], 0xef2b5d06
jmp 0x10043273
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x2c]
je 0x100432b0
mov dword [ebp - 0x4a4], 1
jmp 0x100432b7
and dword [ebp - 0x4a4], 0
cmp dword [ebp - 0x2c], 0xfffffffe
jg 0x100432c9
mov dword [ebp - 0x49c], 1
jmp 0x100432d0
and dword [ebp - 0x49c], 0
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x794], eax
push 1
lea ecx, [ebp - 0x7b8]
call fcn.100165f3
mov ecx, dword [ebp - 0x794]
mov dword [eax], ecx
mov eax, dword [ebp - 0x794]
add eax, dword [ebp - 0x49c]
cmp eax, dword [ebp - 0x2e8]
jne 0x1004330e
mov dword [ebp - 0x870], 1
jmp 0x10043315
and dword [ebp - 0x870], 0
cmp dword [ebp - 0x2c], 0
je 0x10043339
push 1
lea ecx, [ebp - 0x7b8]
call fcn.100165f3
cmp dword [eax], 0
je 0x10043339
mov dword [ebp - 0x9d0], 1
jmp 0x10043340
and dword [ebp - 0x9d0], 0
cmp dword [ebp - 0x2c], 0x8b15e314
jae 0x10043355
mov dword [ebp - 0x64c], 1
jmp 0x1004335c
and dword [ebp - 0x64c], 0
mov eax, dword [ebp - 0x2c]
cmp eax, dword [ebp - 0x64c]
jne 0x10043373
mov dword [ebp - 0x724], 1
jmp 0x1004337a
and dword [ebp - 0x724], 0
mov eax, dword [ebp - 0x4a4]
cmp eax, dword [ebp - 0x724]
jle 0x100434ff
mov dword [ebp - 0x4ac], 8
mov dword [ebp - 0x32c], 0xffffffff
mov dword [ebp - 0x4c4], 0x540ee1d4
mov dword [ebp - 0x654], 0xbb402848
mov dword [ebp - 0x7f8], 0xdaf0b56f
mov dword [ebp - 0x4b4], 0
mov eax, dword [ebp - 0x32c]
dec eax
mov dword [ebp - 0x32c], eax
push 3
pop eax
test eax, eax
je 0x10043431
push 9
pop eax
test eax, eax
je 0x100433fc
mov eax, dword [ebp - 0x4ac]
add eax, dword [ebp - 0x4ac]
mov dword [ebp - 0x654], eax
cmp dword [ebp - 0x654], 0
mov eax, dword [ebp - 0x7f8]
mov dword [ebp - 0x4b4], eax
mov eax, dword [ebp - 0x4b4]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
add eax, dword [ebp - 0x2e8]
imul eax, dword [ebp - 0x7f8]
test eax, eax
je 0x10043431
mov dword [ebp - 0x4bc], 1
jmp 0x10043438
and dword [ebp - 0x4bc], 0
mov eax, dword [ebp - 0x4bc]
sub eax, dword [ebp - 0x2e8]
neg eax
je 0x1004345a
cmp dword [ebp - 0x2c], 0
je 0x1004345a
mov dword [ebp - 0x65c], 1
jmp 0x10043461
and dword [ebp - 0x65c], 0
push 1
lea ecx, [ebp - 0x7b8]
call fcn.100165f3
mov ecx, dword [ebp - 0x65c]
cmp ecx, dword [eax]
jge 0x10043484
mov dword [ebp - 0x72c], 1
jmp 0x1004348b
and dword [ebp - 0x72c], 0
push 0
lea ecx, [ebp - 0x7b8]
call fcn.100165f3
mov eax, dword [eax]
mov dword [ebp - 0x4c4], eax
mov eax, dword [ebp - 0x4c4]
add eax, dword [ebp - 0x72c]
mov esi, dword [ebp - 0x32c]
add esi, eax
push 1
lea ecx, [ebp - 0x7b8]
call fcn.100165f3
cmp esi, dword [eax]
jge 0x100434e1
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xd74], 0
je 0x100434e1
mov dword [ebp - 0x4cc], 1
jmp 0x100434e8
and dword [ebp - 0x4cc], 0
push 1
lea ecx, [ebp - 0x7b8]
call fcn.100165f3
mov ecx, dword [ebp - 0x4cc]
mov dword [eax], ecx
jmp 0x1004354f
mov dword [ebp - 0x878], 0x615a0349
mov dword [ebp - 0x2c], 3
jmp 0x10043519
mov eax, dword [ebp - 0x2c]
dec eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0xffffffe9
jge 0x1004354f
mov dword [ebp - 0x878], 1
mov byte [ebp - 0xc8], 0
movzx eax, byte [ebp - 0xc8]
test eax, eax
je 0x1004354d
push 0x1fbf
push 0
push 0x1e90
call dword [sym.imp.GDI32.dll_Polyline]
jmp 0x10043512
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7b8]
call fcn.100165d7
mov dword [ebp - 0x48], 2
and dword [ebp - 0x2a8], 0
jmp 0x10043576
cmp dword [ebp - 0x48], 0x1e
jae 0x10044b90
mov dword [ebp - 0x954], 0xffffffff
mov dword [ebp - 0x204], 0
jmp 0x100435a3
mov eax, dword [ebp - 0x204]
inc eax
mov dword [ebp - 0x204], eax
cmp dword [ebp - 0x204], 2
jge 0x100435bf
mov eax, dword [ebp - 0x204]
mov dword [ebp + eax*4 - 0x76c], 0x110c93b4
jmp 0x10043596
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x76c], 0xffffffec
jmp 0x100435ed
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x76c], 9
jle 0x10043626
mov byte [ebp - 0xc4], 0
movzx eax, byte [ebp - 0xc4]
test eax, eax
je 0x10043624
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x76c], 1
mov dword [ebp - 0x954], 1
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x1b8]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x48], eax
jne 0x100444de
mov dword [ebp - 0x144], 8
mov dword [ebp - 0x238], 0
jmp 0x10044bb3
mov eax, dword [ebp - 0x238]
inc eax
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 1
jge 0x10044bcf
mov eax, dword [ebp - 0x238]
mov dword [ebp + eax*4 - 0x900], 0x99ff
jmp 0x10044ba6
mov dword [ebp - 0x144], 0
jmp 0x10044be8
cmp dword [ebp - 0x144], 1
jge 0x10044c04
mov eax, dword [ebp - 0x144]
mov dword [ebp + eax*4 - 0x900], 0x667a
jmp 0x10044bdb
mov byte [ebp - 0xbd], 0
movzx eax, byte [ebp - 0xbd]
test eax, eax
je 0x10044c24
mov eax, dword [0x10616ea8]
cmp eax, dword [ebp - 0x1c0]
je 0x10045362
mov eax, dword [0x1061700c]
cmp eax, dword [ebp - 0x1c0]
jne 0x10045496
push 2
lea ecx, [ebp - 0x7c8]
call fcn.10016555
mov dword [ebp - 4], 0x19
mov dword [ebp - 0x6c], 0
jmp 0x10045386
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x1004539c
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0xa38], 0xc93b4e1a
jmp 0x1004537f
mov dword [ebp - 0x6c], 0
jmp 0x100453ac
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 2
jge 0x100453c8
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
mov dword [eax], 0x643cdf98
jmp 0x100453a5
push 1
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
and dword [eax], 0
jmp 0x100453fe
push 1
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
mov dword [ebp - 0x4c8], eax
mov eax, dword [ebp - 0x4c8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x4c8]
mov dword [ecx], eax
push 1
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
cmp dword [eax], 2
jg 0x1004546f
push 1
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
mov eax, dword [eax]
mov eax, dword [ebp + eax*4 - 0xa38]
mov dword [ebp - 0xb44], eax
push 1
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
mov eax, dword [eax]
mov esi, dword [ebp + eax*4 - 0xa38]
push 1
lea ecx, [ebp - 0x7c8]
call fcn.100165f3
mov eax, dword [eax]
mov dword [ebp + eax*4 - 0xa38], esi
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0xa38], 0
je 0x1004546a
jmp 0x1004546f
jmp 0x100453da
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x7c8]
call fcn.100165d7
mov ecx, dword [ebp + 0xc]
call fcn.1001622c
push eax
push dword [ebp + 8]
call fcn.1003be70
pop ecx
pop ecx
jmp 0x10047845
mov eax, dword [ebp + 8]
mov dword [ebp - 0x280], eax
mov dword [ebp - 0x8ec], 0x1852
mov dword [ebp - 0x128], 0x9beb0647
mov dword [ebp - 0x4e8], 0x8a527335
mov eax, dword [ebp - 0x8ec]
mov dword [ebp - 0x128], eax
mov dword [ebp - 0x128], 0xfffffff0
jmp 0x100454e2
mov eax, dword [ebp - 0x128]
inc eax
mov dword [ebp - 0x128], eax
cmp dword [ebp - 0x128], 0xb
jge 0x10045576
mov dword [ebp - 0x96c], 0xed680444
mov dword [ebp - 0x4d0], 1
mov dword [ebp - 0x8f4], 0
mov dword [ebp - 0x4d0], 0xffff
mov eax, dword [ebp - 0x128]
cmp eax, dword [ebp - 0x4d0]
jl 0x10045531
mov dword [ebp - 0x4d8], 1
jmp 0x10045538
and dword [ebp - 0x4d8], 0
mov eax, dword [ebp - 0x96c]
cmp eax, dword [ebp - 0x4d8]
jg 0x10045552
mov dword [ebp - 0x4e0], 1
jmp 0x10045559
and dword [ebp - 0x4e0], 0
mov eax, dword [ebp - 0x4e0]
mov dword [ebp - 0x4e8], eax
mov eax, dword [ebp - 0x4e8]
mov dword [ebp - 0x8f4], eax
jmp 0x100454d5
cmp dword [ebp - 0x280], 0
je 0x100474a0
mov eax, dword [ebp - 0x280]
movzx eax, word [eax]
cmp eax, 0x5a4d
jne 0x100474a0
mov eax, dword [ebp - 0x280]
mov ecx, dword [ebp - 0x280]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x174], ecx
mov dword [ebp - 0x40], 0x7e8edf1f
push 1
lea ecx, [ebp - 0xa14]
call fcn.10016555
mov dword [ebp - 4], 0x1a
mov dword [ebp - 0x4f8], 5
push 1
lea ecx, [ebp - 0x350]
call fcn.10016555
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x140], 0xa0193208
mov dword [ebp - 0x528], 0xb35b6890
mov dword [ebp - 0x984], 0xfffffffc
mov dword [ebp - 0x70], 0
jmp 0x10045610
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x1004562c
push dword [ebp - 0x70]
lea ecx, [ebp - 0xa14]
call fcn.100165f3
mov dword [eax], 0xb7928fbc
jmp 0x10045609
mov dword [ebp - 0x70], 0
jmp 0x1004563c
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x10045658
push dword [ebp - 0x70]
lea ecx, [ebp - 0x350]
call fcn.100165f3
mov dword [eax], 0xd6a5
jmp 0x10045635
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xd2c], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x40]
jle 0x10045675
mov dword [ebp - 0x340], 1
jmp 0x1004567c
and dword [ebp - 0x340], 0
cmp dword [ebp - 0x40], 0
je 0x10045759
mov eax, dword [ebp - 0x40]
add eax, 0x41a62a96
jne 0x100456a2
mov eax, 0xe468a07c
test eax, eax
jne 0x100456a2
and dword [ebp - 0x4f0], 0
jmp 0x100456ac
mov dword [ebp - 0x4f0], 1
mov eax, dword [ebp - 0x4f0]
mov dword [ebp - 0x4f8], eax
cmp dword [ebp - 0x4f8], 0
jne 0x100456d0
cmp dword [ebp - 0x40], 0
jne 0x100456d0
and dword [ebp - 0x500], 0
jmp 0x100456da
mov dword [ebp - 0x500], 1
cmp dword [ebp - 0x500], 0
jae 0x100456ef
mov dword [ebp - 0x508], 1
jmp 0x100456f6
and dword [ebp - 0x508], 0
cmp dword [ebp - 0x508], 0xfffd
jae 0x1004570e
mov dword [ebp - 0x510], 1
jmp 0x10045715
and dword [ebp - 0x510], 0
push 0
lea ecx, [ebp - 0x350]
call fcn.100165f3
mov ecx, dword [ebp - 0x510]
cmp ecx, dword [eax]
jle 0x10045738
mov dword [ebp - 0x9cc], 1
jmp 0x1004573f
and dword [ebp - 0x9cc], 0
push 0
lea ecx, [ebp - 0x350]
call fcn.100165f3
push 0
lea ecx, [ebp - 0x350]
call fcn.100165f3
push 0
lea ecx, [ebp - 0xa14]
call fcn.100165f3
mov ecx, dword [ebp - 0x340]
mov dword [eax], ecx
push 0
lea ecx, [ebp - 0x350]
call fcn.100165f3
mov ecx, dword [ebp - 0x340]
cmp ecx, dword [eax]
jle 0x10045791
mov dword [ebp - 0x518], 1
jmp 0x10045798
and dword [ebp - 0x518], 0
push 0
lea ecx, [ebp - 0x350]
call fcn.100165f3
mov ecx, dword [ebp - 0x518]
cmp ecx, dword [eax]
je 0x100457bb
mov dword [ebp - 0x520], 1
jmp 0x100457c2
and dword [ebp - 0x520], 0
mov eax, dword [ebp - 0x520]
mov dword [ebp - 0x140], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x528], eax
cmp dword [ebp - 0x528], 0
jne 0x100457fb
mov dword [ebp - 0x530], 0x3eaa3e8f
mov eax, dword [ebp - 0x530]
mov dword [ebp - 0x530], eax
jmp 0x10045a7f
mov dword [ebp - 0x2d0], 4
mov dword [ebp - 0x140], 0
jmp 0x1004581e
mov eax, dword [ebp - 0x140]
dec eax
mov dword [ebp - 0x140], eax
cmp dword [ebp - 0x140], 0
jl 0x10045a75
mov dword [ebp - 0x90c], 1
mov byte [ebp - 0xc2], 0
movzx eax, byte [ebp - 0xc2]
test eax, eax
je 0x1004595f
mov dword [ebp - 0x538], 0x3683
mov dword [ebp - 0x974], 0x10008a08
cmp dword [ebp - 0x538], 0x38b6
jle 0x1004590f
and dword [ebp - 0x250], 0
jmp 0x10045885
mov eax, dword [ebp - 0x250]
inc eax
mov dword [ebp - 0x250], eax
cmp dword [ebp - 0x250], 0x1e58
jge 0x1004590f
and dword [ebp - 0x29c], 0
jmp 0x100458a7
mov eax, dword [ebp - 0x29c]
inc eax
mov dword [ebp - 0x29c], eax
cmp dword [ebp - 0x29c], 0x2a3a
jge 0x1004590a
mov eax, dword [ebp - 0x250]
and eax, dword [ebp - 0x29c]
cdq
mov dword [ebp - 0x8c8], eax
mov dword [ebp - 0x8c4], edx
push dword [ebp - 0x8c4]
push dword [ebp - 0x8c8]
lea ecx, [ebp - 0xe1c]
call fcn.1000a20e
pop ecx
pop ecx
mov dword [ebp - 0x8fc], eax
mov ecx, dword [ebp - 0x8fc]
call fcn.1001622c
push eax
call fcn.10050d73
pop ecx
lea ecx, [ebp - 0xe1c]
call fcn.10016222
jmp 0x1004589a
jmp 0x10045878
push 0
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
mov byte [ebp - 4], 0x1c
cmp dword [ebp - 0x538], 0x3311
jge 0x10045933
push dword [ebp - 0x974]
call fcn.10050d73
pop ecx
jmp 0x1004594f
mov dword [ebp - 4], 0x1b
jmp 0x1004595f
mov dword [ebp - 0x40], 0
jmp 0x1004596f
mov eax, dword [ebp - 0x40]
inc eax
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0
jg 0x10045a70
push dword [ebp - 0x40]
lea ecx, [ebp - 0x350]
call fcn.100165f3
cmp dword [eax], 1
jge 0x10045998
mov dword [ebp - 0x904], 1
jmp 0x1004599f
and dword [ebp - 0x904], 0
mov eax, 0xe60d1f28
test eax, eax
je 0x100459cf
cmp dword [ebp - 0x2d0], 0
je 0x100459cf
push 0
lea ecx, [ebp - 0x350]
call fcn.100165f3
cmp dword [eax], 0
je 0x100459cf
mov dword [ebp - 0x540], 1
jmp 0x100459d6
and dword [ebp - 0x540], 0
cmp dword [ebp - 0x540], 0xcca7
je 0x100459ee
mov dword [ebp - 0x9e0], 1
jmp 0x100459f5
and dword [ebp - 0x9e0], 0
cmp dword [ebp - 0x2d0], 1
jae 0x10045a13
cmp dword [ebp - 0x90c], 0
je 0x10045a13
mov dword [ebp - 0x548], 1
jmp 0x10045a1a
and dword [ebp - 0x548], 0
cmp dword [ebp - 0x548], 0x3d57638f
jle 0x10045a32
mov dword [ebp - 0x550], 1
jmp 0x10045a39
and dword [ebp - 0x550], 0
push dword [ebp - 0x40]
lea ecx, [ebp - 0x350]
call fcn.100165f3
mov esi, dword [eax]
imul esi, dword [ebp - 0x550]
push dword [ebp - 0x40]
lea ecx, [ebp - 0xa14]
call fcn.100165f3
mov dword [eax], esi
cmp dword [ebp - 0x2d0], 0
je 0x10045a6b
jmp 0x10045a70
jmp 0x10045968
jmp 0x10045811
mov dword [ebp - 0x984], 0x7dbc
mov byte [ebp - 4], 0x1a
lea ecx, [ebp - 0x350]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xa14]
call fcn.100165d7
mov eax, dword [ebp - 0x174]
cmp dword [eax], 0x4550
jne 0x100474a0
mov eax, dword [ebp - 0x174]
cmp dword [eax + 0x74], 0
jbe 0x100474a0
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x174]
cmp dword [ecx + eax + 0x78], 0
je 0x100474a0
mov eax, dword [ebp + 8]
mov dword [ebp - 0x12c], eax
mov dword [ebp - 0x13c], 1
push 3
lea ecx, [ebp - 0x82c]
call fcn.10016555
mov dword [ebp - 4], 0x1e
mov dword [ebp - 0x91c], 0xfff7
mov dword [ebp - 0x568], 1
mov dword [ebp - 0x994], 0xffffffff
mov dword [ebp - 0x924], 0x4af7bdd4
mov dword [ebp - 0x258], 0
jmp 0x10045b3e
mov eax, dword [ebp - 0x258]
inc eax
mov dword [ebp - 0x258], eax
cmp dword [ebp - 0x258], 3
jge 0x10045b5d
push dword [ebp - 0x258]
lea ecx, [ebp - 0x82c]
call fcn.100165f3
and dword [eax], 0
jmp 0x10045b31
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xb4c], eax
cmp dword [ebp - 0x13c], 0
je 0x10045b8c
mov eax, dword [ebp - 0x13c]
cmp eax, dword [ebp - 0x13c]
jg 0x10045b8c
mov dword [ebp - 0x558], 1
jmp 0x10045b93
and dword [ebp - 0x558], 0
push 2
lea ecx, [ebp - 0x82c]
call fcn.100165f3
mov ecx, dword [ebp - 0x558]
cmp ecx, dword [eax]
jge 0x10045bb6
mov dword [ebp - 0x560], 1
jmp 0x10045bbd
and dword [ebp - 0x560], 0
push 0
lea ecx, [ebp - 0x82c]
call fcn.100165f3
mov ecx, dword [ebp - 0x560]
add ecx, dword [eax]
jne 0x10045be0
mov dword [ebp - 0x914], 1
jmp 0x10045be7
and dword [ebp - 0x914], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xc64], eax
push 7
pop eax
test eax, eax
je 0x10045c0b
or eax, 0xffffffff
je 0x10045c0b
mov dword [ebp - 0x2d4], 1
jmp 0x10045c12
and dword [ebp - 0x2d4], 0
push 2
lea ecx, [ebp - 0x82c]
call fcn.100165f3
mov ecx, dword [ebp - 0x2d4]
mov dword [eax], ecx
cmp dword [ebp - 0x2d4], 0
jne 0x10045c3c
mov dword [ebp - 0x9d4], 1
jmp 0x10045c43
and dword [ebp - 0x9d4], 0
mov eax, dword [ebp - 0x13c]
mov dword [ebp - 0xb54], eax
mov eax, dword [ebp - 0x91c]
mov dword [ebp - 0xce8], eax
push 2
lea ecx, [ebp - 0x82c]
call fcn.100165f3
imul eax, dword [eax], 6
mov dword [ebp - 0x568], eax
cmp dword [ebp - 0x568], 0x9896
jge 0x10045c89
mov dword [ebp - 0x570], 1
jmp 0x10045c90
and dword [ebp - 0x570], 0
mov eax, dword [ebp - 0x994]
cmp dword [ebp - 0x570], eax
jle 0x10045caa
mov dword [ebp - 0x578], 1
jmp 0x10045cb1
and dword [ebp - 0x578], 0
mov eax, dword [ebp - 0x578]
mov dword [ebp - 0x924], eax
mov byte [ebp - 0x10d], 0
movzx eax, byte [ebp - 0x10d]
test eax, eax
je 0x10045cda
push 0x1921
call dword [sym.imp.GDI32.dll_RealizePalette]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x82c]
call fcn.100165d7
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0x12c]
add edx, dword [ecx + eax + 0x78]
mov dword [ebp - 0xbc], edx
mov eax, 0xffff
mov word [ebp - 0x90], ax
or dword [ebp - 0x138], 0xffffffff
mov dword [ebp - 0x68], 0x4fd3df75
mov dword [ebp - 0x68], 6
jmp 0x10045d2f
mov eax, dword [ebp - 0x68]
dec eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 0xffffffe4
jge 0x10045e7b
mov dword [ebp - 0x164], 0xfffffffd
mov dword [ebp - 0x288], 0
jmp 0x10045d5c
mov eax, dword [ebp - 0x288]
inc eax
mov dword [ebp - 0x288], eax
cmp dword [ebp - 0x288], 3
jge 0x10045d78
mov eax, dword [ebp - 0x288]
mov dword [ebp + eax*4 - 0xd5c], 3
jmp 0x10045d4f
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0xd5c]
add eax, dword [ebp - 0x68]
cmp dword [ebp - 0x68], eax
jl 0x10045d99
mov dword [ebp - 0x580], 1
jmp 0x10045da0
and dword [ebp - 0x580], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x580], eax
jg 0x10045db7
mov dword [ebp - 0x9b8], 1
jmp 0x10045dbe
and dword [ebp - 0x9b8], 0
mov eax, dword [ebp - 0x68]
cmp eax, dword [ebp - 0x68]
jg 0x10045dd2
mov dword [ebp - 0x588], 1
jmp 0x10045dd9
and dword [ebp - 0x588], 0
mov eax, dword [ebp - 0x68]
cmp dword [ebp - 0x588], eax
jne 0x10045df0
mov dword [ebp - 0x590], 1
jmp 0x10045df7
and dword [ebp - 0x590], 0
mov eax, dword [ebp - 0x590]
mov dword [ebp - 0x164], eax
mov dword [ebp - 0x164], 0x1d
jmp 0x10045e1c
mov eax, dword [ebp - 0x164]
dec eax
mov dword [ebp - 0x164], eax
cmp dword [ebp - 0x164], 0x16
jne 0x10045e76
mov dword [ebp - 0x1bc], 0xef889a27
mov dword [ebp - 0x1bc], 0
jmp 0x10045e48
mov eax, dword [ebp - 0x1bc]
inc eax
mov dword [ebp - 0x1bc], eax
cmp dword [ebp - 0x1bc], 2
jg 0x10045e74
mov byte [ebp - 0xce], 0
movzx eax, byte [ebp - 0xce]
test eax, eax
je 0x10045e72
push 0
push 0x1928
push 0
call dword [sym.imp.OLEAUT32.dll_SafeArrayDestroy]
jmp 0x10045e3b
jmp 0x10045e0f
jmp 0x10045d28
cmp dword [ebp + 0x10], 0
jbe 0x10046365
push 3
lea ecx, [ebp - 0x9a0]
call fcn.10016555
mov dword [ebp - 4], 0x1f
push 4
lea ecx, [ebp - 0x35c]
call fcn.10016555
mov byte [ebp - 4], 0x20
push 2
lea ecx, [ebp - 0xa2c]
call fcn.10016555
mov byte [ebp - 4], 0x21
push 1
lea ecx, [ebp - 0x990]
call fcn.10016555
mov byte [ebp - 4], 0x22
mov dword [ebp - 0x92c], 0x55f07c70
mov dword [ebp - 0x18], 0
jmp 0x10045ee6
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 3
jge 0x10045f02
push dword [ebp - 0x18]
lea ecx, [ebp - 0x9a0]
call fcn.100165f3
mov dword [eax], 0xff0ea75c
jmp 0x10045edf
mov dword [ebp - 0x18], 0
jmp 0x10045f12
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 4
jge 0x10045f2e
push dword [ebp - 0x18]
lea ecx, [ebp - 0x35c]
call fcn.100165f3
mov dword [eax], 0x87df2f4a
jmp 0x10045f0b
mov dword [ebp - 0x18], 0
jmp 0x10045f3e
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 2
jge 0x10045f57
push dword [ebp - 0x18]
lea ecx, [ebp - 0xa2c]
call fcn.100165f3
and dword [eax], 0
jmp 0x10045f37
mov dword [ebp - 0x18], 0
jmp 0x10045f67
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 1
jge 0x10045f83
push dword [ebp - 0x18]
lea ecx, [ebp - 0x990]
call fcn.100165f3
mov dword [eax], 0xfffffff6
jmp 0x10045f60
push 0
lea ecx, [ebp - 0x35c]
call fcn.100165f3
and dword [eax], 0
jmp 0x10045fb9
push 0
lea ecx, [ebp - 0x35c]
call fcn.100165f3
mov dword [ebp - 0x598], eax
mov eax, dword [ebp - 0x598]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x598]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x35c]
call fcn.100165f3
cmp dword [eax], 2
jg 0x1004600f
push 0
lea ecx, [ebp - 0x35c]
call fcn.100165f3
push dword [eax]
lea ecx, [ebp - 0x9a0]
call fcn.100165f3
cmp dword [eax], 0
je 0x10045fec
jmp 0x1004600f
push 0
lea ecx, [ebp - 0x35c]
call fcn.100165f3
push dword [eax]
lea ecx, [ebp - 0x9a0]
call fcn.100165f3
cmp dword [eax], 0
je 0x1004600d
jmp 0x1004600f
jmp 0x10045f95
push 1
lea ecx, [ebp - 0xa2c]
call fcn.100165f3
cmp dword [eax], 0
je 0x100460ba
push 1
lea ecx, [ebp - 0xa2c]
call fcn.100165f3
push 0
lea ecx, [ebp - 0x9a0]
call fcn.100165f3
mov dword [ebp - 0x5a0], eax
push 0
lea ecx, [ebp - 0x35c]
call fcn.100165f3
mov ecx, dword [ebp - 0x5a0]
mov eax, dword [eax]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x990]
call fcn.100165f3
mov dword [ebp - 0x5a8], eax
push 0
lea ecx, [ebp - 0x35c]
call fcn.100165f3
mov ecx, dword [ebp - 0x5a8]
mov eax, dword [eax]
mov dword [ecx], eax
mov eax, dword [ebp - 0x5a0]
mov ecx, dword [ebp - 0x5a8]
mov eax, dword [eax]
sub eax, dword [ecx]
mov dword [ebp - 0x5b0], eax
push 0
lea ecx, [ebp - 0x35c]
call fcn.100165f3
mov ecx, dword [ebp - 0x5b0]
mov dword [eax], ecx
cmp dword [ebp - 0x5b0], 0
jne 0x100460e5
push 0
lea ecx, [ebp - 0x990]
call fcn.100165f3
mov esi, eax
push 0
lea ecx, [ebp - 0x990]
call fcn.100165f3
mov eax, dword [eax]
sub eax, dword [esi]
jne 0x100460e5
and dword [ebp - 0x5b8], 0
jmp 0x100460ef
mov dword [ebp - 0x5b8], 1
mov eax, dword [ebp - 0x5b8]
mov dword [ebp - 0x92c], eax
mov byte [ebp - 4], 0x21
lea ecx, [ebp - 0x990]
call fcn.100165d7
mov byte [ebp - 4], 0x20
lea ecx, [ebp - 0xa2c]
call fcn.100165d7
mov byte [ebp - 4], 0x1f
lea ecx, [ebp - 0x35c]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9a0]
call fcn.100165d7
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp + 0x10]
cmp ecx, dword [eax + 0x14]
ja 0x10046360
mov dword [ebp - 0xb4], 0xfffffffc
push 3
lea ecx, [ebp - 0xc90]
call fcn.10016555
mov dword [ebp - 4], 0x23
push 4
lea ecx, [ebp - 0xc80]
call fcn.10016555
mov byte [ebp - 4], 0x24
mov dword [ebp - 0xb5c], 0
mov dword [ebp - 0x84], 0
jmp 0x1004619b
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 3
jge 0x100461bd
push dword [ebp - 0x84]
lea ecx, [ebp - 0xc90]
call fcn.100165f3
mov dword [eax], 0xbad8
jmp 0x1004618e
mov dword [ebp - 0x84], 0
jmp 0x100461d6
mov eax, dword [ebp - 0x84]
inc eax
mov dword [ebp - 0x84], eax
cmp dword [ebp - 0x84], 4
jge 0x100461f8
push dword [ebp - 0x84]
lea ecx, [ebp - 0xc80]
call fcn.100165f3
mov dword [eax], 1
jmp 0x100461c9
mov dword [ebp - 0xb4], 0
jmp 0x10046211
mov eax, dword [ebp - 0xb4]
dec eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 0xffffffec
jge 0x100462a1
push 2
lea ecx, [ebp - 0xa44]
call fcn.10016555
mov byte [ebp - 4], 0x25
mov dword [ebp - 0x210], 0
jmp 0x10046248
mov eax, dword [ebp - 0x210]
inc eax
mov dword [ebp - 0x210], eax
cmp dword [ebp - 0x210], 2
jge 0x1004626a
push dword [ebp - 0x210]
lea ecx, [ebp - 0xa44]
call fcn.100165f3
mov dword [eax], 0x2a43
jmp 0x1004623b
push 0
lea ecx, [ebp - 0xa44]
call fcn.100165f3
cmp dword [eax], 0
je 0x1004628d
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xa44]
call fcn.100165d7
jmp 0x100462a1
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xa44]
call fcn.100165d7
jmp 0x10046204
mov dword [ebp - 0xb4], 0
jmp 0x100462ba
mov eax, dword [ebp - 0xb4]
inc eax
mov dword [ebp - 0xb4], eax
cmp dword [ebp - 0xb4], 2
jg 0x10046337
push 1
lea ecx, [ebp - 0xc70]
call fcn.10016555
mov byte [ebp - 4], 0x26
mov dword [ebp - 0x5c0], 0xffffffff
mov dword [ebp - 0x214], 0
jmp 0x100462f7
mov eax, dword [ebp - 0x214]
inc eax
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 1
jge 0x10046316
push dword [ebp - 0x214]
lea ecx, [ebp - 0xc70]
call fcn.100165f3
and dword [eax], 0
jmp 0x100462ea
mov eax, dword [ebp - 0x5c0]
dec eax
mov dword [ebp - 0x5c0], eax
mov byte [ebp - 4], 0x24
lea ecx, [ebp - 0xc70]
call fcn.100165d7
jmp 0x100462ad
mov byte [ebp - 4], 0x23
lea ecx, [ebp - 0xc80]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xc90]
call fcn.100165d7
mov eax, dword [ebp + 0x10]
dec eax
mov word [ebp - 0x90], ax
jmp 0x10046fcc
mov dword [ebp - 0xc74], 0
mov byte [ebp - 0x11e], 0
movzx eax, byte [ebp - 0x11e]
test eax, eax
je 0x1004638b
push 0
push 0
call dword [sym.imp.GDI32.dll_GetNearestPaletteIndex]
mov byte [ebp - 0xd5], 0
movzx eax, byte [ebp - 0xd5]
test eax, eax
je 0x100463a7
push 0
push 0
call dword [sym.imp.USER32.dll_LoadMenuW]
mov eax, dword [0x10617014]
and eax, 1
jne 0x100463de
mov eax, dword [0x10617014]
or eax, 1
mov dword [0x10617014], eax
mov dword [ebp - 4], 0x27
mov ecx, 0x10616f84
call fcn.100168c0
push 0x1006ab1c
call fcn.10050d49
pop ecx
or dword [ebp - 4], 0xffffffff
mov dword [ebp - 0x1c], 8
mov dword [ebp - 0x5c8], 0x49598aaf
mov dword [ebp - 0x5d8], 0x1e1c5a3d
mov dword [ebp - 0x21c], 0
jmp 0x10046412
mov eax, dword [ebp - 0x21c]
inc eax
mov dword [ebp - 0x21c], eax
cmp dword [ebp - 0x21c], 4
jge 0x1004642e
mov eax, dword [ebp - 0x21c]
mov dword [ebp + eax*4 - 0x808], 4
jmp 0x10046405
mov dword [ebp - 0x1c], 0
jmp 0x1004643e
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0xb
jle 0x10046460
mov byte [ebp - 0x115], 0
movzx eax, byte [ebp - 0x115]
test eax, eax
je 0x1004645e
push 0
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
jmp 0x10046437
mov dword [ebp - 0x1c], 3
jmp 0x10046470
mov eax, dword [ebp - 0x1c]
dec eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
jl 0x10046616
mov dword [ebp - 0x5d0], 0x7fa3dfad
mov dword [ebp - 0x9a4], 0xfffffffc
mov dword [ebp - 0x934], 0xffffffff
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [ebp + eax*4 - 0x808]
jle 0x100464b3
mov dword [ebp - 0x5e0], 1
jmp 0x100464ba
and dword [ebp - 0x5e0], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x808]
mov dword [ebp - 0x5c8], eax
mov eax, dword [ebp - 0x5c8]
mov dword [ebp - 0x5d0], eax
mov eax, dword [ebp - 0x5d0]
mov dword [ebp - 0x5d8], eax
mov eax, dword [ebp - 0x5d8]
cmp eax, dword [ebp - 0x5e0]
je 0x100464fc
mov dword [ebp - 0x5e8], 1
jmp 0x10046503
and dword [ebp - 0x5e8], 0
mov eax, dword [ebp - 0x1c]
push 4
pop ecx
shl ecx, 1
mov ecx, dword [ebp + ecx - 0x808]
imul ecx, dword [ebp - 0x5e8]
cmp ecx, dword [ebp + eax*4 - 0x808]
jle 0x1004652e
mov dword [ebp - 0x5f0], 1
jmp 0x10046535
and dword [ebp - 0x5f0], 0
mov eax, dword [ebp - 0x1c]
cmp dword [ebp - 0x5f0], eax
jle 0x1004654f
cmp dword [ebp - 0x1c], 0
jne 0x1004654f
and dword [ebp - 0x5f8], 0
jmp 0x10046559
mov dword [ebp - 0x5f8], 1
mov eax, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ebp + ecx*4 - 0x808]
imul ecx, dword [ebp - 0x5f8]
cmp ecx, dword [ebp + eax*4 - 0x808]
jle 0x10046582
mov dword [ebp - 0x600], 1
jmp 0x10046589
and dword [ebp - 0x600], 0
mov eax, dword [ebp - 0x600]
sub eax, dword [ebp - 0x1c]
mov dword [ebp - 0x9a4], eax
mov eax, dword [ebp - 0x1c]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0x808]
cmp ecx, dword [ebp + eax*4 - 0x808]
je 0x100465bd
mov dword [ebp - 0x608], 1
jmp 0x100465c4
and dword [ebp - 0x608], 0
cmp dword [ebp - 0x608], 0xffffffff
jne 0x100465d9
mov dword [ebp - 0x610], 1
jmp 0x100465e0
and dword [ebp - 0x610], 0
mov eax, dword [ebp - 0x1c]
mov eax, dword [ebp + eax*4 - 0x808]
cmp eax, dword [ebp - 0x610]
jg 0x100465fe
mov dword [ebp - 0x618], 1
jmp 0x10046605
and dword [ebp - 0x618], 0
mov eax, dword [ebp - 0x618]
mov dword [ebp - 0x934], eax
jmp 0x10046469
movzx eax, byte [0x10616ea4]
test eax, eax
je 0x10046e3c
mov ecx, 0x10616f84
call fcn.100483d3
movzx eax, al
test eax, eax
jne 0x10046e3c
lea eax, [ebp - 0x1c0]
push eax
lea eax, [ebp - 0x718]
push eax
mov ecx, 0x10616f84
call fcn.100166de
mov dword [ebp - 0x114], 2
mov dword [ebp - 0x648], 0x47a6deec
mov dword [ebp - 0x628], 0x51ebf0dd
mov dword [ebp - 0x224], 0
jmp 0x10046689
mov eax, dword [ebp - 0x224]
inc eax
mov dword [ebp - 0x224], eax
cmp dword [ebp - 0x224], 1
jge 0x100466a5
mov eax, dword [ebp - 0x224]
mov dword [ebp + eax*4 - 0x9c0], 0x17779a7
jmp 0x1004667c
mov dword [ebp - 0x114], 0xfffffff6
jmp 0x100466be
mov eax, dword [ebp - 0x114]
inc eax
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0x14
jge 0x100467df
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x22c], 0x276b87d0
cmp dword [ebp - 0x22c], 0
jne 0x1004678f
cmp dword [ebp - 0x114], 7
jl 0x10046701
mov dword [ebp - 0x620], 1
jmp 0x10046708
and dword [ebp - 0x620], 0
mov eax, dword [ebp - 0x620]
mov dword [ebp - 0x628], eax
mov eax, dword [ebp - 0x628]
cmp eax, dword [ebp - 0x114]
jl 0x1004672e
mov dword [ebp - 0x630], 1
jmp 0x10046735
and dword [ebp - 0x630], 0
cmp dword [ebp - 0x630], 0xadacd7d3
jb 0x1004674d
mov dword [ebp - 0x638], 1
jmp 0x10046754
and dword [ebp - 0x638], 0
mov eax, dword [ebp - 0x22c]
cmp eax, dword [ebp - 0x638]
jl 0x1004676e
mov dword [ebp - 0x640], 1
jmp 0x10046775
and dword [ebp - 0x640], 0
mov eax, dword [ebp - 0x640]
sub eax, dword [ebp - 0x22c]
je 0x1004678f
mov dword [ebp - 0x650], 1
jmp 0x10046796
and dword [ebp - 0x650], 0
mov dword [ebp - 0x648], 0xcd53bc6e
mov eax, dword [ebp - 0x114]
sub eax, dword [ebp - 0x648]
cmp eax, dword [ebp - 0x650]
jne 0x100467c0
mov dword [ebp - 0x658], 1
jmp 0x100467c7
and dword [ebp - 0x658], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x658]
mov dword [ebp + eax - 0x9c0], ecx
jmp 0x100466b1
mov byte [ebp - 0xdd], 0
movzx eax, byte [ebp - 0xdd]
test eax, eax
je 0x100467f9
push 0
call dword [sym.imp.USER32.dll_ShowCursor]
lea eax, [ebp - 0xb64]
push eax
mov ecx, 0x10616f84
call fcn.100166d0
push eax
lea ecx, [ebp - 0x718]
call fcn.10016977
movzx eax, al
test eax, eax
je 0x10046e3c
mov dword [ebp - 0x154], 0x9ff60657
mov dword [ebp - 0x150], 0x9ff60657
mov dword [ebp - 0x14c], 0x9ff60657
mov dword [ebp - 0x148], 0x9ff60657
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x28], 0xffffffff
mov dword [ebp - 0x6d0], 0xfff7
mov dword [ebp - 0x864], 3
mov dword [ebp - 0x14], 3
jmp 0x1004687b
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jl 0x10046ddf
mov dword [ebp - 0x234], 0x312ef314
mov dword [ebp - 0xa70], 0xc3ee
mov dword [ebp - 0xa6c], 0xc3ee
mov dword [ebp - 0xa68], 0xc3ee
mov dword [ebp - 0xa64], 0xc3ee
lea ecx, [ebp - 0x2f1]
call fcn.10016602
push eax
lea eax, [ebp - 0xa60]
push eax
lea eax, [ebp - 0xa70]
push eax
lea ecx, [ebp - 0xdec]
call fcn.10016605
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x9b0]
call fcn.100165b1
mov dword [ebp - 4], 0x28
mov dword [ebp - 0x690], 0xce5aba8d
mov dword [ebp - 0x2dc], 0xffffffff
mov dword [ebp - 0x2e4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x154], 0
jne 0x10046ac8
mov eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
je 0x10046936
mov dword [ebp - 0x660], 1
jmp 0x1004693d
and dword [ebp - 0x660], 0
cmp dword [ebp - 0x660], 0xfffffffb
jl 0x10046952
mov dword [ebp - 0x668], 1
jmp 0x10046959
and dword [ebp - 0x668], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x154]
cmp dword [ebp - 0x668], eax
jne 0x10046983
mov eax, 0x4bc7
test eax, eax
je 0x10046983
mov dword [ebp - 0x670], 1
jmp 0x1004698a
and dword [ebp - 0x670], 0
push 4
pop eax
imul eax, eax, 3
mov eax, dword [ebp + eax - 0x154]
cmp dword [ebp - 0x670], eax
jg 0x100469b7
push 4
pop eax
shl eax, 1
cmp dword [ebp + eax - 0x154], 0
jne 0x100469b7
and dword [ebp - 0x93c], 0
jmp 0x100469c1
mov dword [ebp - 0x93c], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x154]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0xd08], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x154], 0
jge 0x100469f0
mov dword [ebp - 0x678], 1
jmp 0x100469f7
and dword [ebp - 0x678], 0
mov eax, dword [ebp - 0x234]
cmp dword [ebp - 0x678], eax
jle 0x10046a11
mov dword [ebp - 0x680], 1
jmp 0x10046a18
and dword [ebp - 0x680], 0
mov esi, dword [ebp - 0x14]
push 2
lea ecx, [ebp - 0x9b0]
call fcn.100165f3
mov ecx, dword [ebp - 0x680]
sub ecx, dword [eax]
cmp ecx, esi
je 0x10046a50
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x154], 0
je 0x10046a50
cmp dword [ebp - 0x28], 0
je 0x10046a50
and dword [ebp - 0x688], 0
jmp 0x10046a5a
mov dword [ebp - 0x688], 1
mov eax, dword [ebp - 0x14]
add eax, dword [ebp - 0x688]
mov dword [ebp - 0x690], eax
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x690]
cmp ecx, dword [ebp + eax*4 - 0x154]
jg 0x10046a87
mov dword [ebp - 0x698], 1
jmp 0x10046a8e
and dword [ebp - 0x698], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x154]
cmp eax, dword [ebp - 0x698]
jg 0x10046aac
mov dword [ebp - 0x6a0], 1
jmp 0x10046ab3
and dword [ebp - 0x6a0], 0
cmp dword [ebp - 0x6a0], 0xbe495ee3
jae 0x10046ac8
and dword [ebp - 0x6a8], 0
jmp 0x10046ad2
mov dword [ebp - 0x6a8], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x154]
imul eax, dword [ebp - 0x6a8]
sub eax, dword [ebp - 0x234]
je 0x10046aff
or eax, 0xffffffff
je 0x10046aff
mov dword [ebp - 0x6b0], 1
jmp 0x10046b06
and dword [ebp - 0x6b0], 0
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x6b0]
neg ecx
cmp ecx, dword [ebp + eax - 0x154]
je 0x10046b28
mov dword [ebp - 0x850], 1
jmp 0x10046b2f
and dword [ebp - 0x850], 0
mov dword [ebp - 0x2dc], 0xac29
cmp dword [ebp - 0x2dc], 0
jne 0x10046b5b
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x154], 0
jne 0x10046b5b
and dword [ebp - 0x6b8], 0
jmp 0x10046b65
mov dword [ebp - 0x6b8], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x154]
cmp dword [ebp - 0x6b8], eax
jl 0x10046b90
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x154], 0
je 0x10046b90
mov dword [ebp - 0x6c0], 1
jmp 0x10046b97
and dword [ebp - 0x6c0], 0
cmp dword [ebp - 0x6c0], 0x380d
jne 0x10046baf
mov dword [ebp - 0x6c8], 1
jmp 0x10046bb6
and dword [ebp - 0x6c8], 0
mov eax, dword [ebp - 0x6c8]
mov dword [ebp - 0x2e4], eax
mov eax, dword [ebp - 0x14]
cmp dword [ebp + eax*4 - 0x154], 0
je 0x10046d27
push 4
pop eax
shl eax, 1
mov ecx, dword [ebp - 0x6d0]
add ecx, dword [ebp + eax - 0x154]
cmp ecx, 0x8003
je 0x10046bf9
mov dword [ebp - 0x6d8], 1
jmp 0x10046c00
and dword [ebp - 0x6d8], 0
mov eax, dword [ebp - 0x6d0]
cmp dword [ebp - 0x6d8], eax
je 0x10046c1a
mov dword [ebp - 0x6e0], 1
jmp 0x10046c21
and dword [ebp - 0x6e0], 0
push 2
lea ecx, [ebp - 0x9b0]
call fcn.100165f3
mov eax, dword [eax]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
cmp eax, dword [ebp - 0x6e0]
jne 0x10046c4a
mov dword [ebp - 0x6e8], 1
jmp 0x10046c51
and dword [ebp - 0x6e8], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x154]
cmp dword [ebp - 0x6e8], eax
jge 0x10046c6f
mov dword [ebp - 0x6f0], 1
jmp 0x10046c76
and dword [ebp - 0x6f0], 0
mov eax, dword [ebp - 0x14]
mov eax, dword [ebp + eax*4 - 0x154]
cmp dword [ebp - 0x6f0], eax
jge 0x10046c9a
mov eax, 0xc87c
test eax, eax
jne 0x10046c9a
and dword [ebp - 0x6f8], 0
jmp 0x10046ca4
mov dword [ebp - 0x6f8], 1
mov eax, dword [ebp - 0x234]
cmp eax, dword [ebp - 0x6f8]
jge 0x10046cbe
mov dword [ebp - 0x854], 1
jmp 0x10046cc5
and dword [ebp - 0x854], 0
mov eax, dword [ebp - 0x2dc]
mov dword [ebp - 0xb6c], eax
push 4
pop eax
imul eax, eax, 3
imul ecx, dword [ebp - 0x14], 0x4028
cmp ecx, dword [ebp + eax - 0x154]
je 0x10046cf3
mov dword [ebp - 0x700], 1
jmp 0x10046cfa
and dword [ebp - 0x700], 0
push 3
lea ecx, [ebp - 0x9b0]
call fcn.100165f3
mov ecx, dword [ebp - 0x700]
cmp ecx, dword [eax]
jge 0x10046d1a
cmp dword [ebp - 0x2e4], 0
jne 0x10046d27
push 2
lea ecx, [ebp - 0x9b0]
call fcn.100165f3
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x234]
cmp ecx, dword [ebp + eax - 0x154]
je 0x10046daf
mov dword [ebp - 0x85c], 0xc4f4d126
mov dword [ebp - 0x28], 0
jmp 0x10046d56
mov eax, dword [ebp - 0x28]
inc eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xb
jl 0x10046dad
cmp dword [ebp - 0x85c], 0xc02ee360
jb 0x10046d74
mov dword [ebp - 0x708], 1
jmp 0x10046d7b
and dword [ebp - 0x708], 0
mov eax, dword [ebp - 0x708]
mov dword [ebp - 0x2e4], eax
mov byte [ebp - 0x120], 0
movzx eax, byte [ebp - 0x120]
test eax, eax
je 0x10046dab
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10046d4f
jmp 0x10046dcb
mov byte [ebp - 0xe5], 0
movzx eax, byte [ebp - 0xe5]
test eax, eax
je 0x10046dcb
push 0
push 0
call dword [sym.imp.GDI32.dll_GetRgnBox]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9b0]
call fcn.100165d7
jmp 0x10046874
mov dword [ebp - 0x28], 0
jmp 0x10046def
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xffffffe7
jl 0x10046e28
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
jne 0x10046e10
cmp dword [ebp - 0x28], 0
jne 0x10046e10
and dword [ebp - 0x710], 0
jmp 0x10046e1a
mov dword [ebp - 0x710], 1
mov eax, dword [ebp - 0x710]
mov dword [ebp - 0x864], eax
jmp 0x10046de8
lea ecx, [ebp - 0x718]
call fcn.100483dc
mov eax, dword [eax + 4]
mov dword [ebp - 0x138], eax
mov dword [ebp - 0x23c], 0xffffffff
mov byte [ebp - 0x11d], 0
movzx eax, byte [ebp - 0x11d]
test eax, eax
je 0x10046e65
push 0
push 0xac6
call dword [sym.imp.GDI32.dll_RectVisible]
mov dword [ebp - 0x23c], 0
jmp 0x10046e7e
mov eax, dword [ebp - 0x23c]
inc eax
mov dword [ebp - 0x23c], eax
cmp dword [ebp - 0x23c], 0x11
jg 0x10046ea3
mov byte [ebp - 0xed], 0
movzx eax, byte [ebp - 0xed]
test eax, eax
je 0x10046ea1
push 0
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
jmp 0x10046e71
cmp dword [ebp - 0x138], 0xffffffff
jne 0x10046fcc
mov ecx, 0x10616f84
call fcn.10048420
mov ecx, dword [ebp - 0xbc]
add eax, dword [ecx + 0x18]
push eax
mov ecx, 0x10616f84
call fcn.10048424
and dword [ebp - 0x130], 0
jmp 0x10046ee4
mov eax, dword [ebp - 0x130]
inc eax
mov dword [ebp - 0x130], eax
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x130]
cmp ecx, dword [eax + 0x18]
jae 0x10046fcc
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x12c]
add ecx, dword [eax + 0x20]
mov eax, dword [ebp - 0x130]
lea eax, [ecx + eax*4]
mov dword [ebp - 0x720], eax
cmp dword [ebp - 0x720], 0
je 0x10046fc7
mov eax, dword [ebp - 0x720]
mov ecx, dword [ebp - 0x12c]
add ecx, dword [eax]
push ecx
lea ecx, [ebp - 0xdc4]
call fcn.10048347
mov dword [ebp - 4], 0x29
mov edx, dword [ebp + 8]
lea ecx, [ebp - 0xdc4]
call fcn.10033430
mov dword [ebp - 0x728], eax
movzx eax, byte [0x10616ea4]
test eax, eax
je 0x10046f75
mov ecx, 0x10616f84
call fcn.100483d3
movzx eax, al
test eax, eax
jne 0x10046f95
lea eax, [ebp - 0x728]
push eax
mov ecx, 0x10616f84
call fcn.100483e2
mov ecx, dword [ebp - 0x130]
mov dword [eax], ecx
mov byte [0x10616ea4], 1
cmp dword [ebp - 0x138], 0xffffffff
jne 0x10046fb8
mov eax, dword [ebp - 0x728]
cmp eax, dword [ebp - 0x1c0]
jne 0x10046fb8
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0x138], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xdc4]
call fcn.100164c2
jmp 0x10046ed7
mov dword [ebp - 0x16c], 0x94643cdf
mov dword [ebp - 0x1c8], 0
jmp 0x10046fef
mov eax, dword [ebp - 0x1c8]
inc eax
mov dword [ebp - 0x1c8], eax
cmp dword [ebp - 0x1c8], 3
jge 0x1004700b
mov eax, dword [ebp - 0x1c8]
mov dword [ebp + eax*4 - 0xd68], 0xc93b4e1a
jmp 0x10046fe2
mov byte [ebp - 0xbe], 0
movzx eax, byte [ebp - 0xbe]
test eax, eax
je 0x10047039
push 0
push 0x2566
push 0x325
push 0x32e
push 0x24e0
call dword [sym.imp.USER32.dll_SetScrollRange]
mov dword [ebp - 0x16c], 0
jmp 0x10047052
mov eax, dword [ebp - 0x16c]
inc eax
mov dword [ebp - 0x16c], eax
cmp dword [ebp - 0x16c], 3
jge 0x1004706e
mov eax, dword [ebp - 0x16c]
mov dword [ebp + eax*4 - 0xd68], 0xa59c1763
jmp 0x10047045
cmp dword [ebp + 0x10], 0
jne 0x1004709d
cmp dword [ebp - 0x138], 0xffffffff
je 0x1004709d
mov eax, dword [ebp - 0xbc]
mov ecx, dword [ebp - 0x12c]
add ecx, dword [eax + 0x24]
mov eax, dword [ebp - 0x138]
mov ax, word [ecx + eax*2]
mov word [ebp - 0x90], ax
movzx eax, word [ebp - 0x90]
cmp eax, 0xffff
je 0x100474a0
movzx eax, word [ebp - 0x90]
mov ecx, dword [ebp - 0xbc]
mov edx, dword [ebp - 0x12c]
add edx, dword [ecx + 0x1c]
lea eax, [edx + eax*4]
mov dword [ebp - 0x86c], eax
mov eax, dword [ebp - 0x86c]
mov ecx, dword [ebp - 0x12c]
add ecx, dword [eax]
mov dword [ebp - 0xa0], ecx
mov eax, dword [ebp - 0xa0]
cmp eax, dword [ebp - 0xbc]
jbe 0x10047495
push 8
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x174]
mov edx, dword [ebp - 0xbc]
add edx, dword [ecx + eax + 0x7c]
cmp dword [ebp - 0xa0], edx
jae 0x10047495
mov eax, dword [0x10617014]
and eax, 2
jne 0x10047148
mov eax, dword [0x10617014]
or eax, 2
mov dword [0x10617014], eax
mov dword [ebp - 4], 0x2a
push 0xa9ff
call fcn.1000bcf2
pop ecx
mov byte [0x10616fe8], al
or dword [ebp - 4], 0xffffffff
mov byte [ebp - 0x98], 0
mov byte [ebp - 0x97], 0xc8
mov byte [ebp - 0x96], 1
mov byte [ebp - 0x95], 0x90
mov byte [ebp - 0x94], 1
mov byte [ebp - 0x93], 8
mov byte [ebp - 0x92], 2
mov byte [ebp - 0x91], 0
xor eax, eax
inc eax
shl eax, 0
movzx eax, byte [ebp + eax - 0x98]
and eax, 0xac
xor ecx, ecx
inc ecx
shl ecx, 0
movzx ecx, byte [ebp + ecx - 0x98]
or ecx, 0xac
sub ecx, eax
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
mov byte [ebp + eax - 0x134], cl
mov dword [ebp - 0x44], 2
and dword [ebp - 0x1d0], 0
jmp 0x100471d6
mov eax, dword [ebp - 0x44]
inc eax
inc eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 8
jae 0x1004728c
xor eax, eax
inc eax
imul eax, eax, 0
movzx eax, byte [ebp + eax - 0x98]
lea eax, [eax + eax + 2]
cmp dword [ebp - 0x44], eax
jne 0x10047220
mov eax, dword [ebp - 0x44]
movzx eax, byte [ebp + eax - 0x98]
inc eax
mov dword [ebp - 0x1d0], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [ebp + eax - 0x98]
mov ecx, dword [ebp - 0x44]
lea eax, [ecx + eax - 1]
mov dword [ebp - 0x44], eax
jmp 0x100471ce
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x1d0]
movzx eax, byte [ebp + eax - 0x9a]
movsx eax, byte [ebp + eax - 0x134]
mov ecx, dword [ebp - 0x44]
movzx ecx, byte [ebp + ecx - 0x97]
and ecx, eax
mov eax, dword [ebp - 0x44]
sub eax, dword [ebp - 0x1d0]
movzx eax, byte [ebp + eax - 0x9a]
movsx eax, byte [ebp + eax - 0x134]
mov edx, dword [ebp - 0x44]
movzx edx, byte [ebp + edx - 0x97]
or edx, eax
sub edx, ecx
mov eax, dword [ebp - 0x44]
movzx eax, byte [ebp + eax - 0x98]
mov byte [ebp + eax - 0x134], dl
and dword [ebp - 0x1d0], 0
jmp 0x100471ce
xor eax, eax
inc eax
imul eax, eax, 3
mov byte [ebp + eax - 0x134], 0
mov eax, dword [0x10617014]
and eax, 4
jne 0x100472d8
mov eax, dword [0x10617014]
or eax, 4
mov dword [0x10617014], eax
mov dword [ebp - 4], 0x2b
lea eax, [ebp - 0x134]
push eax
mov ecx, 0x10616f68
call fcn.10048347
push 0x1006ab0d
call fcn.10050d49
pop ecx
or dword [ebp - 4], 0xffffffff
and dword [ebp - 0x1d8], 0
jmp 0x100472ee
mov eax, dword [ebp - 0x1d8]
inc eax
mov dword [ebp - 0x1d8], eax
cmp dword [ebp - 0x1d8], 4
jae 0x10047307
mov eax, dword [ebp - 0x1d8]
mov byte [ebp + eax - 0x134], 0
jmp 0x100472e1
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x11c], eax
movsx eax, byte [0x10616fe8]
mov ecx, dword [ebp - 0x11c]
movsx ecx, byte [ecx]
cmp ecx, eax
je 0x10047336
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
jmp 0x10047313
mov eax, dword [ebp - 0x11c]
inc eax
mov dword [ebp - 0x11c], eax
push dword [ebp - 0x11c]
push dword [ebp - 0xa0]
lea ecx, [ebp - 0xd44]
call fcn.100487b8
mov dword [ebp - 4], 0x2c
push 0x10616f68
lea ecx, [ebp - 0xd44]
call fcn.10048376
lea eax, [ebp - 0xc84]
push eax
lea ecx, [ebp - 0xd44]
call fcn.100170a1
push dword [eax]
lea eax, [ebp - 0xb74]
push eax
lea ecx, [ebp - 0xd44]
call fcn.1001708d
push dword [eax]
lea ecx, [ebp - 0xddc]
call fcn.100487e1
mov byte [ebp - 4], 0x2d
lea eax, [ebp - 0xddc]
push eax
call fcn.10033988
pop ecx
mov dword [ebp - 0x2ec], eax
cmp dword [ebp - 0x2ec], 0
je 0x10047441
push dword [ebp - 0x11c]
lea ecx, [ebp - 0xd8c]
call fcn.10048347
mov byte [ebp - 4], 0x2e
lea edx, [ebp - 0x874]
lea ecx, [ebp - 0xd8c]
call fcn.10033560
movzx eax, al
test eax, eax
je 0x10047411
push 0
push dword [ebp - 0x874]
push 0
push dword [ebp - 0x2ec]
call fcn.10041079
add esp, 0x10
mov dword [ebp - 0xa0], eax
jmp 0x10047430
push 1
push 0
lea eax, [ebp - 0xd8c]
push eax
push dword [ebp - 0x2ec]
call fcn.10041079
add esp, 0x10
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0x2d
lea ecx, [ebp - 0xd8c]
call fcn.100164c2
jmp 0x10047477
cmp dword [ebp + 0x10], 0
jne 0x10047457
mov ecx, dword [ebp + 0xc]
call fcn.1001622c
mov dword [ebp - 0x730], eax
jmp 0x10047461
movzx eax, word [ebp + 0x10]
mov dword [ebp - 0x730], eax
push dword [ebp - 0x730]
push dword [ebp + 8]
call fcn.1003be70
pop ecx
pop ecx
mov dword [ebp - 0xa0], eax
mov byte [ebp - 4], 0x2c
lea ecx, [ebp - 0xddc]
call fcn.100163f9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xd44]
call fcn.100164c2
mov eax, dword [ebp - 0xa0]
jmp 0x10047845
mov dword [ebp - 0x1e0], 1
mov dword [ebp - 0xcb8], 0
mov dword [ebp - 0xb7c], 0x1e01b17d
mov dword [ebp - 0xc94], 0x9986e3e4
mov dword [ebp - 0xb84], 0xbf889e02
mov dword [ebp - 0xcbc], 0
mov dword [ebp - 0xb8c], 0
mov dword [ebp - 0xca4], 0x703c5764
mov dword [ebp - 0xb94], 0xd87263b0
mov dword [ebp - 0xcc4], 0x1fc80ae7
mov dword [ebp - 0xb9c], 0x9d66de6b
push 2
lea ecx, [ebp - 0xcb0]
call fcn.10016555
mov dword [ebp - 4], 0x2f
mov dword [ebp - 0xcb4], 0
mov dword [ebp - 0xba4], 0xbecc33b
mov dword [ebp - 0xccc], 0xffffffff
mov dword [ebp - 0xbac], 0xfffffff8
push 2
lea ecx, [ebp - 0xca0]
call fcn.10016555
mov byte [ebp - 4], 0x30
mov dword [ebp - 0xcd4], 0x42c8cdab
mov dword [ebp - 0xbb4], 0x1497ea9b
mov dword [ebp - 0xcc0], 0xffffffff
mov dword [ebp - 0x748], 0
mov dword [ebp - 0x3c], 0
jmp 0x10047593
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100475af
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xcb0]
call fcn.100165f3
mov dword [eax], 0xfffffffa
jmp 0x1004758c
mov dword [ebp - 0x3c], 0
jmp 0x100475bf
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 4
jge 0x100475d5
mov eax, dword [ebp - 0x3c]
mov dword [ebp + eax*4 - 0xe5c], 1
jmp 0x100475b8
mov dword [ebp - 0x3c], 0
jmp 0x100475e5
mov eax, dword [ebp - 0x3c]
inc eax
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], 2
jge 0x100475fe
push dword [ebp - 0x3c]
lea ecx, [ebp - 0xca0]
call fcn.100165f3
and dword [eax], 0
jmp 0x100475de
mov dword [ebp - 0x1e0], 0
jmp 0x10047617
mov eax, dword [ebp - 0x1e0]
dec eax
mov dword [ebp - 0x1e0], eax
cmp dword [ebp - 0x1e0], 0xfffffffe
jge 0x10047818
mov dword [ebp - 0x17c], 1
mov dword [ebp - 0xbbc], 0xffffffff
mov dword [ebp - 0x1e8], 0
jmp 0x10047651
mov eax, dword [ebp - 0x1e8]
inc eax
mov dword [ebp - 0x1e8], eax
cmp dword [ebp - 0x1e8], 2
jge 0x1004766d
mov eax, dword [ebp - 0x1e8]
mov dword [ebp + eax*4 - 0xc04], 0x7f0a
jmp 0x10047644
mov dword [ebp - 0x738], 0x4557
mov dword [ebp - 0x87c], 0x10008a78
cmp dword [ebp - 0x738], 0x472b
jle 0x1004770c
and dword [ebp - 0x1f0], 0
jmp 0x100476a3
mov eax, dword [ebp - 0x1f0]
inc eax
mov dword [ebp - 0x1f0], eax
cmp dword [ebp - 0x1f0], 0x11c6
jge 0x10047706
and dword [ebp - 0x1f8], 0
jmp 0x100476c5
mov eax, dword [ebp - 0x1f8]
inc eax
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 0x719e
jge 0x10047704
mov eax, dword [ebp - 0x1f0]
mov ecx, dword [ebp - 0x1f8]
sar eax, cl
cdq
mov dword [ebp - 0x8d4], eax
mov dword [ebp - 0x8d0], edx
push dword [ebp - 0x8d0]
push dword [ebp - 0x8d4]
mov ecx, 0x10611838
call fcn.1001624c
jmp 0x100476b8
jmp 0x10047696
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, dword [ebp - 0x17c]
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0xc04], eax
mov byte [ebp - 4], 0x31
cmp dword [ebp - 0x738], 0x42aa
jge 0x1004773f
mov edx, dword [ebp - 0x87c]
mov ecx, 0x10611838
call fcn.10019248
jmp 0x1004775b
mov dword [ebp - 4], 0x30
jmp 0x1004776b
mov dword [ebp - 0x17c], 0
jmp 0x10047784
mov eax, dword [ebp - 0x17c]
inc eax
mov dword [ebp - 0x17c], eax
cmp dword [ebp - 0x17c], 0x34
jge 0x10047813
mov dword [ebp - 0x200], 0x3a0b8ee4
mov dword [ebp - 0x740], 0
mov dword [ebp - 0x200], 0
jmp 0x100477be
mov eax, dword [ebp - 0x200]
inc eax
mov dword [ebp - 0x200], eax
cmp dword [ebp - 0x200], 1
jg 0x1004780e
mov dword [ebp - 0x208], 0x8530de9b
mov dword [ebp - 0xd24], 0xa3888451
mov dword [ebp - 0x208], 0
jmp 0x100477f4
mov eax, dword [ebp - 0x208]
inc eax
mov dword [ebp - 0x208], eax
cmp dword [ebp - 0x208], 1
jg 0x1004780c
mov eax, dword [ebp - 0x740]
dec eax
mov dword [ebp - 0x740], eax
jmp 0x100477e7
jmp 0x100477b1
jmp 0x10047777
jmp 0x1004760a
mov eax, dword [ebp - 0x748]
dec eax
mov dword [ebp - 0x748], eax
mov byte [ebp - 4], 0x2f
lea ecx, [ebp - 0xca0]
call fcn.100165d7
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0xcb0]
call fcn.100165d7
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret