Function at 0x10045e79
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10087cff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x26c
push esi
mov dword [ebp - 0x254], 0
mov byte [ebp - 0x36], 0
movzx eax, byte [ebp - 0x36]
test eax, eax
je 0x10045eb6
push 0
call dword [sym.imp.USER32.dll_DestroyCursor]
mov byte [ebp - 0x25], 0
movzx eax, byte [ebp - 0x25]
test eax, eax
je 0x10045ede
push 0x1f58
push 0x16ea
push 0xd76
push 0x2539
push 0
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
movzx eax, byte [ebp + 0x10]
test eax, eax
je 0x1004662c
push 1
lea ecx, [ebp - 0x154]
call fcn.10014bbc
and dword [ebp - 4], 0
mov dword [ebp - 0x18], 0xffffffff
mov dword [ebp - 0x6c], 0
jmp 0x10045f12
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 1
jge 0x10045f2b
push dword [ebp - 0x6c]
lea ecx, [ebp - 0x154]
call fcn.10014c48
or dword [eax], 0xffffffff
jmp 0x10045f0b
mov dword [ebp - 0x18], 0
jmp 0x10045f3b
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x1004603c
mov dword [ebp - 0x54], 7
mov dword [ebp - 0x54], 0
jmp 0x10045f5c
mov eax, dword [ebp - 0x54]
inc eax
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0
jg 0x10046037
mov dword [ebp - 0x238], 0xffffffff
mov byte [ebp - 0x26], 0
movzx eax, byte [ebp - 0x26]
test eax, eax
je 0x10045f89
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
push dword [ebp - 0x18]
lea ecx, [ebp - 0x154]
call fcn.10014c48
cmp dword [eax], 0
je 0x10045fb5
push 0
lea ecx, [ebp - 0x154]
call fcn.10014c48
cmp dword [eax], 0
je 0x10045fb3
jmp 0x10046037
jmp 0x10046032
mov dword [ebp - 0x78], 0
jmp 0x10045fc5
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x10045fdb
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x13c], 0
jmp 0x10045fbe
push 4
pop eax
shl eax, 0
mov dword [ebp + eax - 0x13c], 0
jmp 0x10046009
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x13c]
inc eax
push 4
pop ecx
shl ecx, 0
mov dword [ebp + ecx - 0x13c], eax
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x13c], 0
jg 0x10046032
mov dword [ebp - 0xb0], 0xb9dbea52
mov eax, dword [ebp - 0xb0]
inc eax
mov dword [ebp - 0xb0], eax
jmp 0x10045fee
jmp 0x10045f55
jmp 0x10045f34
mov dword [ebp - 0x18], 0
jmp 0x1004604c
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jg 0x10046075
push dword [ebp - 0x18]
lea ecx, [ebp - 0x154]
call fcn.10014c48
mov esi, eax
push 0
lea ecx, [ebp - 0x154]
call fcn.10014c48
mov ecx, dword [esi]
mov dword [eax], ecx
jmp 0x10046045
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x154]
call fcn.10014c43
mov dword [ebp - 0x5c], 6
mov dword [ebp - 0x128], 8
mov dword [ebp - 0x17c], 0x534d
mov dword [ebp - 0x114], 0xffffffff
mov dword [ebp - 0xac], 0
push 2
lea ecx, [ebp - 0x1d4]
call fcn.10014bbc
mov dword [ebp - 4], 1
mov dword [ebp - 0x20], 0
jmp 0x100460d7
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x100460ed
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x224], 0xfffffffc
jmp 0x100460d0
mov dword [ebp - 0x20], 0
jmp 0x100460fd
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x10046119
push dword [ebp - 0x20]
lea ecx, [ebp - 0x1d4]
call fcn.10014c48
mov dword [eax], 1
jmp 0x100460f6
cmp dword [ebp - 0x5c], 0
jne 0x10046164
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x1fc], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x17c]
cmp dword [ebp - 0x128], eax
jge 0x1004614b
mov dword [ebp - 0x98], 1
jmp 0x10046152
and dword [ebp - 0x98], 0
mov eax, dword [ebp - 0x98]
inc eax
jne 0x10046164
and dword [ebp - 0x9c], 0
jmp 0x1004616e
mov dword [ebp - 0x9c], 1
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x224]
imul eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x5c]
jge 0x10046197
push 9
pop eax
test eax, eax
jne 0x10046197
and dword [ebp - 0xec], 0
jmp 0x100461a1
mov dword [ebp - 0xec], 1
mov eax, 0x7689351d
sub eax, dword [ebp - 0xec]
cmp eax, 0xfffffffe
jbe 0x100461bd
mov dword [ebp - 0xa4], 1
jmp 0x100461c4
and dword [ebp - 0xa4], 0
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0x114], eax
mov eax, dword [ebp - 0x114]
mov dword [ebp - 0xac], eax
mov esi, dword [ebp - 0xac]
push 0
lea ecx, [ebp - 0x1d4]
call fcn.10014c48
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1d4]
call fcn.10014c43
mov byte [ebp - 0x2a], 0
mov dword [ebp - 0x7c], 0xfff8
mov dword [ebp - 0x40], 1
mov dword [ebp - 0x64], 0
mov dword [ebp - 0x174], 0xfffffffd
cmp dword [ebp - 0x7c], 0xd8cb
jne 0x10046238
mov dword [ebp - 0xf4], 1
jmp 0x1004623f
and dword [ebp - 0xf4], 0
cmp dword [ebp - 0x7c], 0x5425
jge 0x10046254
mov dword [ebp - 0xb4], 1
jmp 0x1004625b
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x174]
cmp dword [ebp - 0x64], eax
je 0x10046272
mov dword [ebp - 0x124], 1
jmp 0x10046279
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0xf4]
sub eax, dword [ebp - 0xb4]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
cmp eax, dword [ebp - 0x124]
je 0x1004629f
mov dword [ebp - 0xbc], 1
jmp 0x100462a6
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x7c]
imul eax, dword [ebp - 0xbc]
sub eax, dword [ebp - 0x64]
je 0x100463c3
mov dword [ebp - 0xfc], 9
mov dword [ebp - 0x74], 0x34859bb
mov dword [ebp - 0xdc], 1
mov dword [ebp - 0x158], 0xc0e07525
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0xfc], eax
mov eax, dword [ebp - 0x74]
add eax, dword [ebp - 0x74]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x74]
cmp dword [ebp - 0xfc], eax
jg 0x10046307
mov dword [ebp - 0xc4], 1
jmp 0x1004630e
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x40], eax
cmp dword [ebp - 0x40], 0x223b
jge 0x1004632c
mov dword [ebp - 0x11c], 1
jmp 0x10046333
and dword [ebp - 0x11c], 0
cmp dword [ebp - 0x11c], 0x9b3a
jge 0x1004634b
mov dword [ebp - 0xcc], 1
jmp 0x10046352
and dword [ebp - 0xcc], 0
mov eax, dword [ebp - 0xcc]
sub eax, dword [ebp - 0x64]
cmp eax, 1
jbe 0x1004636c
mov dword [ebp - 0x104], 1
jmp 0x10046373
and dword [ebp - 0x104], 0
mov eax, dword [ebp - 0xdc]
cmp dword [ebp - 0x104], eax
je 0x1004638d
mov dword [ebp - 0xd4], 1
jmp 0x10046394
and dword [ebp - 0xd4], 0
mov eax, dword [ebp - 0x158]
cmp dword [ebp - 0xd4], eax
jl 0x100463ae
mov dword [ebp - 0x130], 1
jmp 0x100463b5
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
mov dword [ebp - 0xdc], eax
jmp 0x100463ed
mov byte [ebp - 0x28], 0
movzx eax, byte [ebp - 0x28]
test eax, eax
je 0x100463ed
push 0x13d4
push 0x6b9
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetPixel]
mov dword [ebp - 0x40], 0x21b07fb0
movzx eax, byte [ebp - 0x2a]
test eax, eax
je 0x10046627
mov dword [ebp - 0x14], 0xffff
mov dword [ebp - 0x1c8], 0xc07e
mov dword [ebp - 0x1c4], 0xc07e
mov dword [ebp - 0x1c0], 0xc07e
mov dword [ebp - 0x1bc], 0xc07e
lea ecx, [ebp - 0x81]
call fcn.1000a0c3
push eax
lea eax, [ebp - 0x1b8]
push eax
lea eax, [ebp - 0x1c8]
push eax
lea ecx, [ebp - 0x278]
call fcn.10014c57
push dword [eax + 4]
push dword [eax]
lea ecx, [ebp - 0x1e0]
call fcn.10014c1d
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x14]
dec eax
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
neg eax
cmp dword [ebp - 0x14], eax
je 0x100465e6
mov dword [ebp - 0xe4], 0x2d2c87a7
mov dword [ebp - 0x204], 0x90ae73
push 3
lea ecx, [ebp - 0x1ec]
call fcn.10014bbc
mov byte [ebp - 4], 3
mov dword [ebp - 0x48], 0
jmp 0x100464b5
mov eax, dword [ebp - 0x48]
inc eax
mov dword [ebp - 0x48], eax
cmp dword [ebp - 0x48], 3
jge 0x100464d1
push dword [ebp - 0x48]
lea ecx, [ebp - 0x1ec]
call fcn.10014c48
mov dword [eax], 0xfffffffe
jmp 0x100464ae
mov dword [ebp - 0x14], 0
jmp 0x100464e1
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 3
jg 0x10046513
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1e0]
call fcn.10014c48
cmp dword [eax], 0
je 0x100464fc
jmp 0x10046513
push dword [ebp - 0x14]
lea ecx, [ebp - 0x1e0]
call fcn.10014c48
cmp dword [eax], 0
je 0x10046511
jmp 0x10046513
jmp 0x100464da
mov dword [ebp - 0x14], 0x17
jmp 0x10046523
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x1e
jge 0x100465d5
mov dword [ebp - 0x4c], 0x3c0bf90a
mov dword [ebp - 0x4c], 0
jmp 0x10046544
mov eax, dword [ebp - 0x4c]
inc eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 3
jg 0x100465d0
mov dword [ebp - 0x184], 0xec134886
cmp dword [ebp - 0x184], 1
jne 0x1004656d
mov dword [ebp - 0x10c], 1
jmp 0x10046574
and dword [ebp - 0x10c], 0
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0x10c], eax
jne 0x1004658e
mov dword [ebp - 0x94], 1
jmp 0x10046595
and dword [ebp - 0x94], 0
mov eax, dword [ebp - 0xe4]
cmp eax, dword [ebp - 0x94]
jg 0x100465af
mov dword [ebp - 0x90], 1
jmp 0x100465b6
and dword [ebp - 0x90], 0
push 0
lea ecx, [ebp - 0x1ec]
call fcn.10014c48
mov ecx, dword [ebp - 0x90]
mov dword [eax], ecx
jmp 0x1004653d
jmp 0x1004651c
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1ec]
call fcn.10014c43
jmp 0x10046609
mov byte [ebp - 0x2c], 0
movzx eax, byte [ebp - 0x2c]
test eax, eax
je 0x10046609
push 0x1862
push 0x22c6
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_CheckDlgButton]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1e0]
call fcn.10014c43
push 0xb84
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
jmp 0x10046df6
mov eax, dword [ebp + 8]
mov dword [ebp - 0x178], eax
mov dword [ebp - 0x58], 1
mov dword [ebp - 0x44], 0x6e3245f1
mov dword [ebp - 0x24], 0x1e2c0d37
mov dword [ebp - 0x60], 0xffffffff
mov dword [ebp - 0x80], 4
mov dword [ebp - 0x50], 0
jmp 0x10046668
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 4
jge 0x1004667e
mov eax, dword [ebp - 0x50]
mov dword [ebp + eax*4 - 0x1b4], 0
jmp 0x10046661
mov dword [ebp - 0x58], 3
jmp 0x1004668e
mov eax, dword [ebp - 0x58]
inc eax
mov dword [ebp - 0x58], eax
cmp dword [ebp - 0x58], 0x1d
jl 0x100467e8
mov dword [ebp - 0x34], 0xfbc781ce
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
mov dword [ebp - 0x34], 0
jmp 0x100466b6
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x100467e3
mov dword [ebp - 0x16c], 0x35b68906
mov dword [ebp - 0x24], 0
jmp 0x100466da
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 3
jg 0x100467de
mov dword [ebp - 0x60], 0
jmp 0x100466f4
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 3
jg 0x100467d9
mov dword [ebp - 0x68], 0
jmp 0x1004670e
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 1
jge 0x10046724
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0xa0], 0x388a0193
jmp 0x10046707
mov dword [ebp - 0x44], 3
jmp 0x10046734
mov eax, dword [ebp - 0x44]
dec eax
mov dword [ebp - 0x44], eax
cmp dword [ebp - 0x44], 0
jl 0x100467d4
mov eax, dword [ebp - 0x44]
cmp dword [ebp + eax*4 - 0x1b4], 0
jg 0x10046757
mov dword [ebp - 0x15c], 1
jmp 0x1004675e
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 0x24]
push 4
pop ecx
imul ecx, ecx, 0
mov ecx, dword [ebp + ecx - 0xa0]
cmp dword [ebp + eax*4 - 0x1b4], ecx
jl 0x10046785
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x1b4], 0
mov eax, dword [ebp - 0x16c]
push 4
pop ecx
imul ecx, ecx, 0
imul eax, dword [ebp + ecx - 0xa0]
cmp eax, 0xffffffff
jbe 0x100467aa
mov dword [ebp - 0xa8], 1
jmp 0x100467b1
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 0x24]
mov ecx, dword [ebp - 0xa8]
mov dword [ebp + eax*4 - 0x1b4], ecx
mov eax, dword [ebp - 0x34]
mov dword [ebp + eax*4 - 0x1b4], 0xfffffff6
jmp 0x1004672d
jmp 0x100466ed
jmp 0x100466d3
jmp 0x100466af
jmp 0x10046687
mov eax, dword [ebp - 0x80]
push 4
pop ecx
imul ecx, ecx, 0
sub eax, dword [ebp + ecx - 0x1b4]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x80]
dec eax
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x160], eax
mov dword [ebp - 0x10], 0xfffffffe
mov dword [ebp - 0x180], 0
mov dword [ebp - 0xd8], 8
mov dword [ebp - 0x20c], 1
mov dword [ebp - 0x170], 0xba5b0420
mov dword [ebp - 0x214], 0xffffffff
push 1
lea ecx, [ebp - 0x190]
call fcn.10014bbc
mov dword [ebp - 4], 4
mov dword [ebp - 0x1a4], 0x4a04
mov dword [ebp - 0x1a0], 0x4a04
mov dword [ebp - 0x19c], 0x4a04
mov dword [ebp - 0x198], 0x4a04
mov dword [ebp - 0x168], 0xe948eca1
mov dword [ebp - 0x118], 0x13644cad
mov dword [ebp - 0x88], 0xffff
mov dword [ebp - 0x120], 0
mov dword [ebp - 0x194], 0x97e54b53
mov dword [ebp - 0x70], 0
jmp 0x100468c2
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x100468db
push dword [ebp - 0x70]
lea ecx, [ebp - 0x190]
call fcn.10014c48
and dword [eax], 0
jmp 0x100468bb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x10]
je 0x100468f0
cmp dword [ebp - 0x10], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x10], eax
jle 0x10046904
mov dword [ebp - 0x8c], 1
jmp 0x1004690b
and dword [ebp - 0x8c], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x8c], eax
jg 0x10046922
mov dword [ebp - 0xb8], 1
jmp 0x10046929
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0xb8]
jl 0x10046940
mov dword [ebp - 0xc0], 1
jmp 0x10046947
and dword [ebp - 0xc0], 0
cmp dword [ebp - 0xc0], 0
je 0x10046a39
cmp dword [ebp - 0x10], 0
je 0x10046a39
mov dword [ebp - 0x228], 0xade0
mov dword [ebp - 0x23c], 0x5f7919ad
mov dword [ebp - 0x250], 0x2f3d4794
mov dword [ebp - 0x1f8], 0xffffffff
mov dword [ebp - 0x264], 0x2e3ca369
mov dword [ebp - 0x260], 0x2e3ca369
mov dword [ebp - 0x25c], 0x2e3ca369
mov dword [ebp - 0x258], 0x2e3ca369
mov dword [ebp - 0x1f4], 0x19c2
mov dword [ebp - 0xc8], 0xc14c38d6
mov dword [ebp - 0x10], 0
jmp 0x100469d2
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 4
jle 0x10046a37
mov dword [ebp - 0x24c], 0
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x244], 0
mov dword [ebp - 0x240], 0
mov dword [ebp - 0x1f0], 1
mov dword [ebp - 0x200], 0xd3380ee9
mov dword [ebp - 0x22c], 1
mov dword [ebp - 0x208], 1
mov eax, dword [ebp - 0xc8]
dec eax
mov dword [ebp - 0xc8], eax
jmp 0x100469cb
jmp 0x10046ab1
mov dword [ebp - 0x230], 0xe07df7dc
mov dword [ebp - 0xd0], 0xb011
mov eax, dword [ebp - 0xd8]
mov dword [ebp - 0x210], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0x234], eax
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 0xd8], eax
mov dword [ebp - 0x10], 0
jmp 0x10046a81
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jg 0x10046ab1
mov byte [ebp - 0x2b], 0
movzx eax, byte [ebp - 0x2b]
test eax, eax
je 0x10046a9b
push 0
call dword [sym.imp.KERNEL32.dll_ClearCommBreak]
push dword [ebp - 0x10]
lea ecx, [ebp - 0x190]
call fcn.10014c48
mov dword [eax], 0xec53312a
jmp 0x10046a7a
mov eax, dword [ebp - 0x88]
inc eax
mov dword [ebp - 0x88], eax
mov eax, 0x7762be97
test eax, eax
je 0x10046ae3
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x1a4], 0
je 0x10046ae3
mov dword [ebp - 0x100], 1
jmp 0x10046aea
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x168], 0
jne 0x10046aff
mov dword [ebp - 0xe0], 1
jmp 0x10046b06
and dword [ebp - 0xe0], 0
cmp dword [ebp - 0xe0], 0x680eded6
jl 0x10046b1e
mov dword [ebp - 0xe8], 1
jmp 0x10046b25
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x120]
cmp dword [ebp - 0xe8], eax
jl 0x10046b3f
mov dword [ebp - 0xf0], 1
jmp 0x10046b46
and dword [ebp - 0xf0], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1a4]
cmp eax, dword [ebp - 0xf0]
jne 0x10046b79
push 0
lea ecx, [ebp - 0x190]
call fcn.10014c48
cmp dword [eax], 0
je 0x10046b79
mov dword [ebp - 0xf8], 1
jmp 0x10046b80
and dword [ebp - 0xf8], 0
mov eax, dword [ebp - 0xf8]
mov dword [ebp - 0x180], eax
mov eax, dword [ebp - 0x100]
shl eax, 2
test eax, eax
jne 0x10046bab
cmp dword [ebp - 0x88], 0
jne 0x10046bab
and dword [ebp - 0x108], 0
jmp 0x10046bb5
mov dword [ebp - 0x108], 1
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x1a4]
cmp dword [ebp - 0x108], eax
jl 0x10046bd6
mov dword [ebp - 0x110], 1
jmp 0x10046bdd
and dword [ebp - 0x110], 0
mov eax, dword [ebp - 0x110]
mov dword [ebp - 0x118], eax
mov eax, dword [ebp - 0x118]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
sub eax, dword [ebp - 0x170]
imul eax, eax, 0xfffe
imul eax, eax, 0xde7d
sub eax, dword [ebp - 0x120]
cmp eax, 0xfffffffd
jg 0x10046c1e
mov dword [ebp - 0x12c], 1
jmp 0x10046c25
and dword [ebp - 0x12c], 0
mov esi, dword [ebp - 0x194]
add esi, dword [ebp - 0x12c]
push 0
lea ecx, [ebp - 0x190]
call fcn.10014c48
mov dword [eax], esi
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x190]
call fcn.10014c43
push 3
lea ecx, [ebp - 0x148]
call fcn.10014bbc
mov dword [ebp - 4], 5
mov dword [ebp - 0x1c], 0
jmp 0x10046c73
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10046c89
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x270], 0
jmp 0x10046c6c
mov dword [ebp - 0x1c], 0
jmp 0x10046c99
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 3
jge 0x10046cb2
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x148]
call fcn.10014c48
and dword [eax], 0
jmp 0x10046c92
push 0
lea ecx, [ebp - 0x148]
call fcn.10014c48
and dword [eax], 0
jmp 0x10046ce8
push 0
lea ecx, [ebp - 0x148]
call fcn.10014c48
mov dword [ebp - 0x134], eax
mov eax, dword [ebp - 0x134]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x134]
mov dword [ecx], eax
push 0
lea ecx, [ebp - 0x148]
call fcn.10014c48
cmp dword [eax], 2
jg 0x10046d35
mov byte [ebp - 0x27], 0
movzx eax, byte [ebp - 0x27]
test eax, eax
je 0x10046d18
push 0x506
push 0x2530
push 0
call dword [sym.imp.USER32.dll_RemoveMenu]
push 0
lea ecx, [ebp - 0x148]
call fcn.10014c48
mov eax, dword [eax]
cmp dword [ebp + eax*4 - 0x270], 0
je 0x10046d33
jmp 0x10046cc4
jmp 0x10046cc4
mov byte [ebp - 0x35], 0
movzx eax, byte [ebp - 0x35]
test eax, eax
je 0x10046d50
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_KillTimer]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x148]
call fcn.10014c43
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x218], 0xdde0bcd8
mov byte [ebp - 0x29], 0
movzx eax, byte [ebp - 0x29]
test eax, eax
je 0x10046d99
push 0x1c81
push 0x15
push 0xc34
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
push 0
call dword [sym.imp.USER32.dll_PeekMessageA]
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x10046db4
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebp - 0x160]
mov dword [ebp - 0x164], eax
mov eax, dword [ebp - 0x3c]
mov dword [eax], 0
jmp 0x10046dd6
mov eax, dword [ebp - 0x3c]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x3c]
mov dword [ecx], eax
mov eax, dword [ebp - 0x3c]
cmp dword [eax], 2
jge 0x10046df6
mov eax, dword [ebp - 0x3c]
push dword [eax]
mov ecx, dword [ebp - 0x164]
call fcn.10014c48
mov dword [eax], 0xfffffffc
jmp 0x10046dcb
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop esi
mov esp, ebp
pop ebp
ret