Function at 0x100354d7
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x310
jmp 0x100354fc
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
add eax, 4
mov ecx, dword [ebp + 0x14]
mov dword [ecx], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
cmp dword [eax], 0
je 0x10036a30
mov dword [ebp - 0x80], 0xfffffff6
mov dword [ebp - 0x40], 0x9e2a8d3a
mov dword [ebp - 0x54], 0x8a527335
mov dword [ebp - 0x98], 0
mov dword [ebp - 0x50], 0x4ca77904
mov dword [ebp - 0x268], 0xabeb
mov dword [ebp - 0x70], 0
jmp 0x1003554a
mov eax, dword [ebp - 0x70]
inc eax
mov dword [ebp - 0x70], eax
cmp dword [ebp - 0x70], 1
jge 0x10035560
mov eax, dword [ebp - 0x70]
mov dword [ebp + eax*4 - 0x210], 0xfffffffd
jmp 0x10035543
cmp dword [ebp - 0x80], 0
jne 0x10035575
cmp dword [ebp - 0x80], 0
jne 0x10035575
and dword [ebp - 0x154], 0
jmp 0x1003557f
mov dword [ebp - 0x154], 1
mov dword [ebp - 0x40], 7
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x54], eax
mov dword [ebp - 0x40], 1
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x158], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x158]
mov dword [ebp + eax - 0x210], ecx
mov eax, dword [ebp - 0x54]
cmp eax, dword [ebp - 0x158]
jg 0x100355c9
cmp dword [ebp - 0x54], 0
jne 0x100355c9
and dword [ebp - 0x1fc], 0
jmp 0x100355d3
mov dword [ebp - 0x1fc], 1
mov eax, dword [ebp - 0x1fc]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x98]
cmp dword [ebp - 0x154], eax
jg 0x100355f9
mov dword [ebp - 0x250], 1
jmp 0x10035600
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x2a4], eax
cmp dword [ebp - 0x40], 0
jne 0x10035616
push 4
pop eax
test eax, eax
je 0x1003562e
cmp dword [ebp - 0x54], 0
je 0x1003562e
cmp dword [ebp - 0x50], 0
je 0x1003562e
mov dword [ebp - 0x258], 1
jmp 0x10035635
and dword [ebp - 0x258], 0
mov eax, 0x14b11f38
test eax, eax
je 0x100356dd
mov dword [ebp - 0x50], 0xfffffffb
jmp 0x10035652
mov eax, dword [ebp - 0x50]
inc eax
mov dword [ebp - 0x50], eax
cmp dword [ebp - 0x50], 1
jle 0x100356c7
mov dword [ebp - 0x78], 0
jmp 0x10035668
mov eax, dword [ebp - 0x78]
inc eax
mov dword [ebp - 0x78], eax
cmp dword [ebp - 0x78], 2
jge 0x1003567e
mov eax, dword [ebp - 0x78]
mov dword [ebp + eax*4 - 0x27c], 2
jmp 0x10035661
mov byte [ebp - 0x30], 0
movzx eax, byte [ebp - 0x30]
test eax, eax
je 0x100356aa
push 0
push 0x15be
push 0x1f32
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_SetViewportExtEx]
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x27c]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x27c], eax
jmp 0x1003564b
mov byte [ebp - 0x2d], 0
movzx eax, byte [ebp - 0x2d]
test eax, eax
je 0x100356db
push 0
call dword [sym.imp.GDI32.dll_CreateFontIndirectW]
jmp 0x10035733
mov dword [ebp - 0x60], 0
jmp 0x100356ed
mov eax, dword [ebp - 0x60]
inc eax
mov dword [ebp - 0x60], eax
cmp dword [ebp - 0x60], 4
jge 0x10035703
mov eax, dword [ebp - 0x60]
mov dword [ebp + eax*4 - 0x300], 1
jmp 0x100356e6
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x300]
cmp dword [ebp - 0x268], eax
jle 0x10035723
mov dword [ebp - 0xa0], 1
jmp 0x1003572a
and dword [ebp - 0xa0], 0
mov eax, dword [ebp - 0xa0]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0x80000000
je 0x10035b03
mov dword [ebp - 4], 0x76d7be7e
mov dword [ebp - 0x88], 1
mov dword [ebp - 0x2c], 0x1a93826a
mov dword [ebp - 0x6c], 0
jmp 0x1003576d
mov eax, dword [ebp - 0x6c]
inc eax
mov dword [ebp - 0x6c], eax
cmp dword [ebp - 0x6c], 3
jge 0x10035783
mov eax, dword [ebp - 0x6c]
mov dword [ebp + eax*4 - 0x2f0], 0
jmp 0x10035766
mov eax, dword [ebp - 4]
add eax, dword [ebp - 4]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
cmp dword [ebp - 4], eax
jge 0x100357a6
mov dword [ebp - 0x16c], 1
jmp 0x100357ad
and dword [ebp - 0x16c], 0
cmp dword [ebp - 4], 4
jle 0x100357bf
mov dword [ebp - 0x15c], 1
jmp 0x100357c6
and dword [ebp - 0x15c], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x15c], eax
jl 0x100357dd
mov dword [ebp - 0xa8], 1
jmp 0x100357e4
and dword [ebp - 0xa8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xa8], eax
jle 0x100357fb
mov dword [ebp - 0x164], 1
jmp 0x10035802
and dword [ebp - 0x164], 0
cmp dword [ebp - 0x164], 0x60a421e0
jge 0x1003581a
mov dword [ebp - 0xb0], 1
jmp 0x10035821
and dword [ebp - 0xb0], 0
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x2cc], eax
mov eax, dword [ebp - 4]
mov dword [ebp - 0x2d4], eax
mov eax, dword [ebp - 4]
cmp dword [ebp - 0x16c], eax
jg 0x10035853
mov dword [ebp - 0xb8], 1
jmp 0x1003585a
and dword [ebp - 0xb8], 0
mov eax, dword [ebp - 4]
cmp dword [ebp - 0xb8], eax
jg 0x10035871
mov dword [ebp - 0x174], 1
jmp 0x10035878
and dword [ebp - 0x174], 0
cmp dword [ebp - 0x174], 0x2071
jge 0x10035890
mov dword [ebp - 0xc0], 1
jmp 0x10035897
and dword [ebp - 0xc0], 0
mov eax, dword [ebp - 0xc0]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x10035930
mov byte [ebp - 0x2e], 0
movzx eax, byte [ebp - 0x2e]
test eax, eax
je 0x100358be
push 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 4], 6
jmp 0x100358ce
mov eax, dword [ebp - 4]
dec eax
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 4
je 0x1003592b
mov dword [ebp - 0x29c], 0xffffffff
mov dword [ebp - 0x298], 0xffffffff
mov dword [ebp - 0x294], 0xffffffff
mov dword [ebp - 0x290], 0xffffffff
mov byte [ebp - 0x34], 0
movzx eax, byte [ebp - 0x34]
test eax, eax
je 0x10035917
push 0x20c0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x29c], 0
je 0x10035929
jmp 0x100358c7
jmp 0x100358c7
jmp 0x10035ad2
mov dword [ebp - 0x8c], 1
mov dword [ebp - 0x2c], 0
jmp 0x1003594a
mov eax, dword [ebp - 0x2c]
inc eax
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 5
jl 0x10035ad2
mov dword [ebp - 0x21c], 0xfffffff9
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0x273942
mov dword [ebp - 0x68], 0
jmp 0x10035982
mov eax, dword [ebp - 0x68]
inc eax
mov dword [ebp - 0x68], eax
cmp dword [ebp - 0x68], 4
jge 0x10035998
mov eax, dword [ebp - 0x68]
mov dword [ebp + eax*4 - 0x310], 0xe4944c1a
jmp 0x1003597b
cmp dword [ebp - 0x8c], 1
jg 0x100359ad
mov dword [ebp - 0x17c], 1
jmp 0x100359b4
and dword [ebp - 0x17c], 0
mov eax, dword [ebp - 0x8c]
cmp dword [ebp - 0x17c], eax
je 0x100359ce
mov dword [ebp - 0xc8], 1
jmp 0x100359d5
and dword [ebp - 0xc8], 0
mov eax, dword [ebp - 0x248]
dec eax
dec eax
cmp eax, dword [ebp - 0xc8]
je 0x100359f1
mov dword [ebp - 0x184], 1
jmp 0x100359f8
and dword [ebp - 0x184], 0
mov eax, dword [ebp - 0x21c]
cmp eax, dword [ebp - 0x184]
jle 0x10035a19
push 4
pop eax
test eax, eax
je 0x10035a19
mov dword [ebp - 0xd0], 1
jmp 0x10035a20
and dword [ebp - 0xd0], 0
mov eax, dword [ebp - 0xd0]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
imul eax, dword [ebp - 0x2c]
neg eax
cmp eax, dword [ebp - 0x8c]
jle 0x10035a46
mov dword [ebp - 0x18c], 1
jmp 0x10035a4d
and dword [ebp - 0x18c], 0
mov eax, dword [ebp - 0x18c]
sub eax, dword [ebp - 0x24c]
cmp eax, 1
jne 0x10035a6a
mov dword [ebp - 0xd8], 1
jmp 0x10035a71
and dword [ebp - 0xd8], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x2f0]
cmp dword [ebp - 0xd8], eax
jle 0x10035a92
mov dword [ebp - 0x194], 1
jmp 0x10035a99
and dword [ebp - 0x194], 0
mov eax, dword [ebp - 0x88]
cmp eax, dword [ebp - 0x194]
jle 0x10035ab3
mov dword [ebp - 0xe0], 1
jmp 0x10035aba
and dword [ebp - 0xe0], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0xe0]
mov dword [ebp + eax - 0x310], ecx
jmp 0x10035943
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov eax, dword [eax]
and eax, 0xffff
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xfae3
push 0xe68e
call fcn.1002d0b0
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
jmp 0x10036008
mov dword [ebp - 0x14], 0xfffffff8
mov dword [ebp - 0x118], 0x95e04a27
mov dword [ebp - 0x1c], 0
jmp 0x10035b24
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10035b37
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x48], 0xd4e06482
jmp 0x10035b1d
mov dword [ebp - 0x1c], 0
jmp 0x10035b47
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 2
jge 0x10035b5d
mov eax, dword [ebp - 0x1c]
mov dword [ebp + eax*4 - 0x2ac], 0x5015e0c0
jmp 0x10035b40
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x48], 0
jmp 0x10035b82
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x48], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0x12
jne 0x10035bbc
mov dword [ebp - 0x224], 7
mov dword [ebp - 0x224], 2
mov byte [ebp - 0x2f], 0
movzx eax, byte [ebp - 0x2f]
test eax, eax
je 0x10035bba
push 0x2506
call dword [sym.imp.KERNEL32.dll_ExitThread]
jmp 0x10035b6d
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
mov dword [ebp - 0x19c], eax
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x19c]
mov dword [ebp + eax - 0x48], ecx
cmp dword [ebp - 0x19c], 0
jne 0x10035ca9
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x48], 0x1aa12afd
jge 0x10035c05
mov dword [ebp - 0xe8], 1
jmp 0x10035c0c
and dword [ebp - 0xe8], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0xe8], eax
je 0x10035c23
mov dword [ebp - 0x1a4], 1
jmp 0x10035c2a
and dword [ebp - 0x1a4], 0
cmp dword [ebp - 0x1a4], 0
je 0x10035c45
cmp dword [ebp - 0x14], 0
je 0x10035c45
mov dword [ebp - 0xf0], 1
jmp 0x10035c4c
and dword [ebp - 0xf0], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
cmp dword [ebp - 0xf0], eax
jl 0x10035c6a
mov dword [ebp - 0x1ac], 1
jmp 0x10035c71
and dword [ebp - 0x1ac], 0
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0x1ac]
sub ecx, dword [ebp + eax - 0x48]
mov dword [ebp - 0xf8], ecx
push 4
pop eax
imul eax, eax, 0
mov ecx, dword [ebp - 0xf8]
mov dword [ebp + eax - 0x48], ecx
cmp dword [ebp - 0xf8], 0
jne 0x10035ca9
and dword [ebp - 0x1b4], 0
jmp 0x10035cb3
mov dword [ebp - 0x1b4], 1
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1b4], eax
jne 0x10035cca
mov dword [ebp - 0x264], 1
jmp 0x10035cd1
and dword [ebp - 0x264], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x2a0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
mov dword [ebp - 0x2c0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x48]
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x14]
je 0x10035d08
mov dword [ebp - 0x100], 1
jmp 0x10035d0f
and dword [ebp - 0x100], 0
cmp dword [ebp - 0x100], 0x2b75
jl 0x10035d27
mov dword [ebp - 0x1bc], 1
jmp 0x10035d2e
and dword [ebp - 0x1bc], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1bc], eax
jge 0x10035d45
mov dword [ebp - 0x108], 1
jmp 0x10035d4c
and dword [ebp - 0x108], 0
mov eax, 0xe662
sub eax, dword [ebp - 0x108]
cmp eax, dword [ebp - 0x14]
jge 0x10035d68
mov dword [ebp - 0x1c4], 1
jmp 0x10035d6f
and dword [ebp - 0x1c4], 0
mov eax, dword [ebp - 0x118]
cmp dword [ebp - 0x1c4], eax
jg 0x10035d89
mov dword [ebp - 0x110], 1
jmp 0x10035d90
and dword [ebp - 0x110], 0
cmp dword [ebp - 0x110], 0xa5b7
je 0x10035da8
mov dword [ebp - 0x1cc], 1
jmp 0x10035daf
and dword [ebp - 0x1cc], 0
mov eax, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x1cc]
lea eax, [ecx + eax + 0x116e]
cmp eax, dword [ebp - 0x118]
jge 0x10035dd3
mov dword [ebp - 0x1d4], 1
jmp 0x10035dda
and dword [ebp - 0x1d4], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x1d4], eax
jge 0x10035df1
mov dword [ebp - 0x120], 1
jmp 0x10035df8
and dword [ebp - 0x120], 0
mov eax, dword [ebp - 0x14]
cmp dword [ebp - 0x120], eax
je 0x10035e0f
mov dword [ebp - 0x1dc], 1
jmp 0x10035e16
and dword [ebp - 0x1dc], 0
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1dc]
mov dword [ebp + eax - 0x2ac], ecx
mov eax, dword [ebp + 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax]
mov dword [ebp - 0x260], ecx
mov dword [ebp - 0x4c], 0x7ddc85f7
mov dword [ebp - 0x74], 0
jmp 0x10035e50
mov eax, dword [ebp - 0x74]
inc eax
mov dword [ebp - 0x74], eax
cmp dword [ebp - 0x74], 1
jge 0x10035e66
mov eax, dword [ebp - 0x74]
mov dword [ebp + eax*4 - 0x254], 0xe11914cc
jmp 0x10035e49
mov dword [ebp - 0x4c], 0xc
jmp 0x10035e76
mov eax, dword [ebp - 0x4c]
dec eax
mov dword [ebp - 0x4c], eax
cmp dword [ebp - 0x4c], 0xfffffff7
jge 0x10035fe0
mov dword [ebp - 0x38], 0xffffffff
mov dword [ebp - 0x2dc], 0xee1d4595
mov dword [ebp - 0x38], 0
jmp 0x10035ea1
mov eax, dword [ebp - 0x38]
dec eax
mov dword [ebp - 0x38], eax
cmp dword [ebp - 0x38], 0xfffffff2
jne 0x10035fdb
mov dword [ebp - 0x28], 0x6f8c7b5c
mov dword [ebp - 0x128], 0
mov dword [ebp - 0x1a0], 0x1978e60d
mov dword [ebp - 0x234], 0x9b347d17
cmp dword [ebp - 0x4c], 0
jne 0x10035f40
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x128], eax
mov eax, dword [ebp - 0x28]
neg eax
cmp eax, 0x4b7c7008
jle 0x10035ef7
mov dword [ebp - 0x1e4], 1
jmp 0x10035efe
and dword [ebp - 0x1e4], 0
mov eax, dword [ebp - 0x128]
cmp dword [ebp - 0x1e4], eax
je 0x10035f18
mov dword [ebp - 0x130], 1
jmp 0x10035f1f
and dword [ebp - 0x130], 0
mov eax, dword [ebp - 0x130]
inc eax
cmp eax, 0xe40c
jle 0x10035f39
mov dword [ebp - 0x1ec], 1
jmp 0x10035f40
and dword [ebp - 0x1ec], 0
mov eax, dword [ebp - 0x38]
cmp dword [ebp - 0x28], eax
je 0x10035f54
mov dword [ebp - 0x1f4], 1
jmp 0x10035f5b
and dword [ebp - 0x1f4], 0
cmp dword [ebp - 0x1f4], 0xa33a
jl 0x10035f73
mov dword [ebp - 0x22c], 1
jmp 0x10035f7a
and dword [ebp - 0x22c], 0
mov eax, dword [ebp - 0x28]
cmp dword [ebp - 0x38], eax
je 0x10035f8e
mov dword [ebp - 0x138], 1
jmp 0x10035f95
and dword [ebp - 0x138], 0
mov eax, dword [ebp - 0x138]
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x28], 0x18
jmp 0x10035fae
mov eax, dword [ebp - 0x28]
dec eax
mov dword [ebp - 0x28], eax
cmp dword [ebp - 0x28], 0xfffffffa
jne 0x10035fd6
mov eax, dword [ebp - 0x1a0]
inc eax
mov dword [ebp - 0x1a0], eax
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x254]
mov dword [ebp - 0x234], eax
jmp 0x10035fa7
jmp 0x10035e9a
jmp 0x10035e6f
mov eax, dword [ebp - 0x260]
inc eax
inc eax
push eax
mov eax, dword [ebp + 8]
push dword [eax]
push 0xfae3
push 0xe68e
call fcn.1002d0b0
pop ecx
pop ecx
call eax
mov ecx, dword [ebp + 0x14]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov dword [ebp - 0xc], 0
mov dword [ebp - 0x1f8], 1
mov dword [ebp - 0x28c], 0
mov dword [ebp - 0x288], 0
mov dword [ebp - 0x284], 0
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x20], 0
jmp 0x10036051
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x10036067
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x2b8], 0xfffffff8
jmp 0x1003604a
mov dword [ebp - 0x20], 0
jmp 0x10036077
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 2
jge 0x1003608d
mov eax, dword [ebp - 0x20]
mov dword [ebp + eax*4 - 0x140], 0x28694a21
jmp 0x10036070
mov dword [ebp - 0xc], 0
cmp dword [ebp - 0xc], 0
je 0x1003624a
cmp dword [ebp - 0xc], 0
jne 0x100360a8
cmp dword [ebp - 0xc], 0
mov eax, 0x283d
test eax, eax
jne 0x100360c0
cmp dword [ebp - 0xc], 0
jne 0x100360c0
and dword [ebp - 0x148], 0
jmp 0x100360ca
mov dword [ebp - 0x148], 1
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x148], eax
je 0x100360e1
mov dword [ebp - 0x1d0], 1
jmp 0x100360e8
and dword [ebp - 0x1d0], 0
cmp dword [ebp - 0x1d0], 1
jbe 0x100360fd
mov dword [ebp - 0x23c], 1
jmp 0x10036104
and dword [ebp - 0x23c], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2e4], eax
xor eax, eax
cmp eax, 0x878e
jne 0x10036122
mov dword [ebp - 0x150], 1
jmp 0x10036129
and dword [ebp - 0x150], 0
cmp dword [ebp - 0x150], 0xc39c
jle 0x10036141
mov dword [ebp - 0x1a8], 1
jmp 0x10036148
and dword [ebp - 0x1a8], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1a8], eax
jge 0x1003615f
mov dword [ebp - 0x90], 1
jmp 0x10036166
and dword [ebp - 0x90], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x90], eax
jl 0x1003617d
mov dword [ebp - 0x1e8], 1
jmp 0x10036184
and dword [ebp - 0x1e8], 0
cmp dword [ebp - 0x1e8], 0xfffffffc
jge 0x10036199
mov dword [ebp - 0x160], 1
jmp 0x100361a0
and dword [ebp - 0x160], 0
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x160]
jne 0x100361b7
mov dword [ebp - 0x1b0], 1
jmp 0x100361be
and dword [ebp - 0x1b0], 0
mov eax, dword [ebp - 0xc]
cmp dword [ebp - 0x1b0], eax
jne 0x100361d5
mov dword [ebp - 0x168], 1
jmp 0x100361dc
and dword [ebp - 0x168], 0
mov eax, dword [ebp - 0x168]
add eax, dword [ebp - 0xc]
mov dword [ebp - 0x1d8], eax
push 4
pop eax
shl eax, 0
mov ecx, dword [ebp - 0x1d8]
mov dword [ebp + eax - 0x2b8], ecx
cmp dword [ebp - 0x1d8], 0
je 0x1003621c
mov eax, 0xcf22a1ef
test eax, eax
je 0x1003621c
mov dword [ebp - 0x25c], 1
jmp 0x10036223
and dword [ebp - 0x25c], 0
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x2d8], eax
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x140]
cmp dword [ebp - 0xc], eax
jg 0x1003624a
mov dword [ebp - 0x170], 1
jmp 0x10036251
and dword [ebp - 0x170], 0
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x140]
cmp dword [ebp - 0x170], eax
jle 0x10036272
mov dword [ebp - 0x1b8], 1
jmp 0x10036279
and dword [ebp - 0x1b8], 0
cmp dword [ebp - 0x1b8], 0x17a3f0ae
jne 0x10036291
mov dword [ebp - 0x178], 1
jmp 0x10036298
and dword [ebp - 0x178], 0
mov eax, dword [ebp - 0x178]
mov dword [ebp - 0x1f8], eax
cmp dword [ebp - 0x1f8], 0x9807
je 0x100362bc
mov dword [ebp - 0x244], 1
jmp 0x100362c3
and dword [ebp - 0x244], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x140]
mov dword [ebp - 0x2d0], eax
mov eax, 0xffff
sub eax, 0xae2a
push 4
pop ecx
shl ecx, 0
cmp eax, dword [ebp + ecx - 0x140]
jge 0x100362fb
mov dword [ebp - 0x180], 1
jmp 0x10036302
and dword [ebp - 0x180], 0
push 4
pop eax
shl eax, 0
mov eax, dword [ebp + eax - 0x140]
cmp dword [ebp - 0x180], eax
je 0x10036323
mov dword [ebp - 0x1c0], 1
jmp 0x1003632a
and dword [ebp - 0x1c0], 0
push 4
pop eax
imul eax, eax, 3
mov ecx, dword [ebp - 0x1c0]
mov dword [ebp + eax - 0x28c], ecx
mov eax, dword [ebp + 0x14]
mov eax, dword [eax]
cmp dword [eax], 0
jne 0x10036a2b
mov dword [ebp - 0x24], 0
mov dword [ebp - 8], 0x4f46db50
mov dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x20c], 0xfffffff8
mov dword [ebp - 0x208], 0xfffffff8
mov dword [ebp - 0x204], 0xfffffff8
mov dword [ebp - 0x200], 0xfffffff8
mov dword [ebp - 0x230], 0x9838
mov eax, dword [ebp - 0x24]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 8], eax
jl 0x100363ac
mov dword [ebp - 0x188], 1
jmp 0x100363b3
and dword [ebp - 0x188], 0
imul eax, dword [ebp - 0x188], 0x2aee
test eax, eax
jne 0x100363d6
mov eax, 0x9864
test eax, eax
je 0x100363d6
mov dword [ebp - 0x1e0], 1
jmp 0x100363dd
and dword [ebp - 0x1e0], 0
mov eax, dword [ebp - 0x1e0]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x2b0], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2e0], eax
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 8], eax
jg 0x1003640c
mov dword [ebp - 0x190], 1
jmp 0x10036413
and dword [ebp - 0x190], 0
cmp dword [ebp - 0x190], 0xffffffff
jae 0x10036428
mov dword [ebp - 0x1c8], 1
jmp 0x1003642f
and dword [ebp - 0x1c8], 0
cmp dword [ebp - 0x1c8], 4
jne 0x10036444
mov dword [ebp - 0x214], 1
jmp 0x1003644b
and dword [ebp - 0x214], 0
mov eax, dword [ebp - 8]
mov dword [ebp - 0x2bc], eax
mov dword [ebp - 8], 1
cmp dword [ebp - 8], 0
jne 0x1003646d
mov dword [ebp - 0x198], 1
jmp 0x10036474
and dword [ebp - 0x198], 0
mov eax, dword [ebp - 0x24]
cmp dword [ebp - 0x198], eax
jge 0x1003663c
cmp dword [ebp - 0x24], 0
je 0x1003663c
mov dword [ebp - 0x18], 1
mov dword [ebp - 0x94], 0x679bdd86
mov byte [ebp - 0x31], 0
movzx eax, byte [ebp - 0x31]
test eax, eax
je 0x100364ca
push 0
push 0x240c
push 0
push 0x1e5b
push 0x2356
push 0
push 0x1272
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
mov eax, dword [ebp - 0x18]
inc eax
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xfffffff7
jl 0x100364e3
mov dword [ebp - 0x1f0], 1
jmp 0x100364ea
and dword [ebp - 0x1f0], 0
cmp dword [ebp - 0x1f0], 0
je 0x10036627
cmp dword [ebp - 0x10], 0
je 0x1003650f
cmp dword [ebp - 0x18], 0
je 0x1003650f
mov dword [ebp - 0x134], 1
jmp 0x10036516
and dword [ebp - 0x134], 0
mov eax, dword [ebp - 8]
push 4
pop ecx
shl ecx, 0
sub eax, dword [ebp + ecx - 0x20c]
cmp eax, dword [ebp - 0x134]
jg 0x1003653a
mov dword [ebp - 0x144], 1
jmp 0x10036541
and dword [ebp - 0x144], 0
mov eax, dword [ebp - 0x10]
cmp dword [ebp - 0x144], eax
jne 0x10036558
mov dword [ebp - 0x14c], 1
jmp 0x1003655f
and dword [ebp - 0x14c], 0
mov eax, dword [ebp - 0x14c]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x94], eax
jle 0x10036582
mov dword [ebp - 0x9c], 1
jmp 0x10036589
and dword [ebp - 0x9c], 0
mov eax, dword [ebp - 0x18]
imul eax, dword [ebp - 0x9c]
cmp eax, dword [ebp - 0x18]
jg 0x100365a4
mov dword [ebp - 0xa4], 1
jmp 0x100365ab
and dword [ebp - 0xa4], 0
cmp dword [ebp - 0xa4], 0x2bc90638
jle 0x100365c3
mov dword [ebp - 0xac], 1
jmp 0x100365ca
and dword [ebp - 0xac], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xac], eax
jle 0x100365e7
cmp dword [ebp - 0x18], 0
je 0x100365e7
mov dword [ebp - 0xb4], 1
jmp 0x100365ee
and dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0xb4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 1
jg 0x10036609
mov dword [ebp - 0xbc], 1
jmp 0x10036610
and dword [ebp - 0xbc], 0
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0xbc], eax
jg 0x10036627
mov dword [ebp - 0xc4], 1
jmp 0x1003662e
and dword [ebp - 0xc4], 0
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 8], eax
jmp 0x10036969
mov dword [ebp - 0x58], 0xfffffffe
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x2c8], 0x44d9913d
mov dword [ebp - 0x84], 0
mov dword [ebp - 0xe4], 9
mov dword [ebp - 0xf4], 0x7b92bb77
mov dword [ebp - 0x24], 0
jmp 0x10036685
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0x16
je 0x10036753
mov dword [ebp - 8], 3
jmp 0x1003669f
mov eax, dword [ebp - 8]
dec eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jl 0x10036735
mov dword [ebp - 0x10], 0
jmp 0x100366b9
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 3
jg 0x10036706
mov dword [ebp - 0x7c], 4
mov eax, dword [ebp - 0x10]
cmp dword [ebp + eax*4 - 0x20c], 0
je 0x100366d5
jmp 0x10036706
mov dword [ebp - 0x7c], 3
jmp 0x100366e5
mov eax, dword [ebp - 0x7c]
dec eax
mov dword [ebp - 0x7c], eax
cmp dword [ebp - 0x7c], 0
jl 0x10036704
mov byte [ebp - 0x33], 0
movzx eax, byte [ebp - 0x33]
test eax, eax
je 0x10036702
push 0x6bd
call dword [sym.imp.USER32.dll_GetSysColorBrush]
jmp 0x100366de
jmp 0x100366b2
mov byte [ebp - 0x32], 0
movzx eax, byte [ebp - 0x32]
test eax, eax
je 0x10036730
push 0x18b9
push 0
push 0x14ad
push 0
push 0x1230
push 0x565
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
jmp 0x10036698
mov byte [ebp - 0x39], 0
movzx eax, byte [ebp - 0x39]
test eax, eax
je 0x1003674e
push 0x20c6
push 0
call dword [sym.imp.USER32.dll_CharUpperBuffW]
jmp 0x1003667e
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x58], eax
jg 0x10036882
push 4
pop eax
imul eax, eax, 3
cmp dword [ebp + eax - 0x20c], 0
jne 0x100367e0
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x2c4], eax
mov eax, dword [ebp - 0x84]
mov ecx, dword [ebp - 0x84]
inc ecx
mov dword [ebp - 0x84], ecx
test eax, eax
jne 0x1003679e
cmp dword [ebp - 8], 0
jne 0x1003679e
and dword [ebp - 0xcc], 0
jmp 0x100367a8
mov dword [ebp - 0xcc], 1
cmp dword [ebp - 0xcc], 0x506a
je 0x100367c0
mov dword [ebp - 0x218], 1
jmp 0x100367c7
and dword [ebp - 0x218], 0
push 4
pop eax
shl eax, 0
cmp dword [ebp + eax - 0x20c], 0
jne 0x100367e0
and dword [ebp - 0xd4], 0
jmp 0x100367ea
mov dword [ebp - 0xd4], 1
mov eax, dword [ebp - 0xe4]
cmp dword [ebp - 0xd4], eax
jg 0x10036804
mov dword [ebp - 0xdc], 1
jmp 0x1003680b
and dword [ebp - 0xdc], 0
mov eax, dword [ebp - 0xdc]
sub eax, dword [ebp - 0xe4]
je 0x1003682e
mov eax, 0x90d92204
test eax, eax
je 0x1003682e
mov dword [ebp - 0xec], 1
jmp 0x10036835
and dword [ebp - 0xec], 0
mov eax, dword [ebp - 0xec]
mov dword [ebp - 0xf4], eax
cmp dword [ebp - 0xf4], 0xa5
jg 0x10036859
mov dword [ebp - 0xfc], 1
jmp 0x10036860
and dword [ebp - 0xfc], 0
mov eax, dword [ebp - 0x220]
imul eax, dword [ebp - 0xfc]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x10036882
mov dword [ebp - 0x104], 1
jmp 0x10036889
and dword [ebp - 0x104], 0
cmp dword [ebp - 0x104], 0x5c6596a
jl 0x100368a1
mov dword [ebp - 0x10c], 1
jmp 0x100368a8
and dword [ebp - 0x10c], 0
cmp dword [ebp - 0x10c], 9
je 0x100368bd
mov dword [ebp - 0x114], 1
jmp 0x100368c4
and dword [ebp - 0x114], 0
cmp dword [ebp - 0x114], 0x4961
je 0x100368dc
mov dword [ebp - 0x228], 1
jmp 0x100368e3
and dword [ebp - 0x228], 0
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x20c]
push 4
pop ecx
imul ecx, ecx, 3
imul eax, dword [ebp + ecx - 0x20c]
test eax, eax
je 0x10036911
xor eax, eax
je 0x10036911
mov dword [ebp - 0x11c], 1
jmp 0x10036918
and dword [ebp - 0x11c], 0
mov eax, dword [ebp - 0x230]
cmp dword [ebp - 0x11c], eax
jg 0x10036932
mov dword [ebp - 0x124], 1
jmp 0x10036939
and dword [ebp - 0x124], 0
mov eax, dword [ebp - 0x58]
cmp dword [ebp - 0x124], eax
jle 0x10036959
mov eax, 0x1b0a093f
test eax, eax
je 0x10036959
mov dword [ebp - 0x12c], 1
jmp 0x10036960
and dword [ebp - 0x12c], 0
mov eax, dword [ebp - 0x12c]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x18]
and dword [eax], 0
mov dword [ebp - 0x240], 0x4ebb0cb8
mov dword [ebp - 0x5c], 0
jmp 0x10036989
mov eax, dword [ebp - 0x5c]
inc eax
mov dword [ebp - 0x5c], eax
cmp dword [ebp - 0x5c], 3
jge 0x1003699f
mov eax, dword [ebp - 0x5c]
mov dword [ebp + eax*4 - 0x274], 0x10c93b4e
jmp 0x10036982
push 4
pop eax
imul eax, eax, 0
mov dword [ebp + eax - 0x274], 0xfffffff5
jmp 0x100369cd
push 4
pop eax
imul eax, eax, 0
mov eax, dword [ebp + eax - 0x274]
inc eax
push 4
pop ecx
imul ecx, ecx, 0
mov dword [ebp + ecx - 0x274], eax
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x274], 0xfffffffc
jg 0x10036a17
mov dword [ebp - 0x64], 0
jmp 0x100369ed
mov eax, dword [ebp - 0x64]
inc eax
mov dword [ebp - 0x64], eax
cmp dword [ebp - 0x64], 1
jge 0x10036a03
mov eax, dword [ebp - 0x64]
mov dword [ebp + eax*4 - 0x238], 4
jmp 0x100369e6
push 4
pop eax
imul eax, eax, 0
cmp dword [ebp + eax - 0x238], 0
je 0x10036a15
jmp 0x10036a17
jmp 0x100369b2
push 4
pop eax
shl eax, 1
mov eax, dword [ebp + eax - 0x274]
mov dword [ebp - 0x240], eax
jmp 0x10036a30
jmp 0x100354e2
mov esp, ebp
pop ebp
ret