Function at 0x10015b26
Capabilities:
Query environment variable
Read .ini file
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x1006bb95
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x250
push ebx
push esi
push edi
push 2
mov dword [esp + 0x58], ecx
mov esi, edx
pop eax
mov dword [esp + 0x14], 0x8373b2c
lea ecx, [esp + 0x138]
mov dword [esp + 0x2c], 0xfffffffe
push eax
mov dword [esp + 0x6c], esi
call fcn.1001803e
xor ebx, ebx
push 1
mov dword [esp + 0x14], ebx
pop edi
jmp 0x10015b8b
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x5c], edi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10015b7f
push 2
mov dword [esp + 0x14], ebx
pop edx
jmp 0x10015bb1
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x138]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x10015b9b
cmp dword [esp + 0x60], ebx
je 0x10015c04
cmp dword [esp + 0x5c], ebx
jne 0x10015bd9
mov eax, dword [esp + 0x60]
xor ecx, ecx
cmp eax, 0x21e9
mov edx, ebx
setl cl
cmp ecx, dword [esp + 0x60]
jge 0x10015bdb
mov edx, edi
mov eax, dword [esp + 0x14]
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x14]
setge cl
xor edx, edx
cmp ecx, 0xdcb3
setl dl
xor ecx, ecx
cmp edx, eax
mov eax, edi
setle cl
cmp ecx, dword [esp + 0x5c]
jge 0x10015c06
mov eax, ebx
mov dword [esp + 0x2c], eax
cmp dword [esp + 0x14], ebx
jne 0x10015c30
mov eax, dword [esp + 0x64]
mov eax, dword [esp + 0x5c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov eax, dword [esp + 0x60]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x138]
lea ecx, [esp + 0x138]
mov dword [eax + 4], edi
call fcn.10017f89
mov eax, dword [0x10eba728]
test al, 1
jne 0x10015ce8
or eax, edi
mov dword [0x10eba728], eax
push ebx
mov dword [esp + 0x268], ebx
push ebx
mov dword [0x10eba700], ebx
mov dword [0x10eba704], ebx
call fcn.1001c62b
mov dword [0x10eba700], eax
mov dword [0x10eba708], ebx
mov dword [0x10eba710], ebx
mov byte [esp + 0x264], 2
mov ecx, 0x10eba708
mov dword [esp + 0x100], eax
lea eax, [esp + 0x100]
push eax
push 0x10
push ebx
lea eax, [esp + 0x1f0]
mov dword [0x10eba71c], 0x3f800000
push eax
mov dword [0x10eba70c], ebx
call fcn.1001c403
push 0x1006cc35
mov dword [0x10eba714], 7
mov dword [0x10eba718], 8
call fcn.1005345b
or dword [esp + 0x268], 0xffffffff
pop ecx
mov dword [esp + 0x10], 0xfffffff9
mov dword [esp + 0x28], 0x28f4e1c2
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x28]
mov ecx, dword [esp + 0x10]
sub ecx, eax
mov eax, dword [esp + 0x10]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [esp + 0x10]
setne dl
xor ecx, ecx
cmp edx, eax
setne cl
cmp ecx, 0x395e
jl 0x10015d66
mov dword [esp + 0x10], ebx
jmp 0x10015d5d
cmp dword [esp + 0x10], ebx
jne 0x10015d87
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 8
jne 0x10015d53
jmp 0x10015d87
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10015d87
push 0xd1
push ebx
push 0x118c
push 0x129
call dword [sym.imp.USER32.dll_MapWindowPoints]
imul eax, dword [esp + 0x54], 0x2710
add eax, esi
mov dword [esp + 0x6c], eax
lea eax, [esp + 0x6c]
push eax
call fcn.100182a8
mov edi, dword [eax]
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], 0x7adf
mov dword [esp + 0x24], 0xf592758e
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov esi, dword [esp + 0x14]
add esi, dword [esp + 0x10]
sub esi, dword [esp + 0x14]
neg esi
sbb esi, esi
inc esi
add esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
neg esi
mov eax, dword [esp + 0x10]
sbb esi, esi
xor edx, edx
neg esi
cmp ecx, eax
setge dl
add edx, esi
cmp edx, dword [esp + 0x10]
jne 0x10015dfc
cmp dword [esp + 0x14], ebx
jne 0x10015dfc
xor esi, esi
mov ecx, ebx
inc esi
jmp 0x10015e01
xor esi, esi
inc esi
mov ecx, esi
mov eax, dword [esp + 0x14]
sub ecx, eax
mov dword [esp + 0x24], ecx
mov dword [esp + 0x10], 0xffffffef
jmp 0x10015e2f
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10015e2b
push 0x63e
call dword [sym.imp.USER32.dll_GetSysColor]
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 0x3b
jl 0x10015e15
test edi, edi
je 0x10015feb
mov dword [esp + 0x1c], 0xcd5
xor edx, edx
mov dword [esp + 0x3c], 0xfffffff7
mov ecx, 0xffff
mov dword [esp + 0x20], 0x80c6548a
push 4
pop esi
mov dword [esp + 0x10], esi
mov dword [esp + 0x2c], 0x64e785c2
mov dword [esp + 0x68], 0x9a78915c
mov dword [esp + 0x3c], 0xffffffff
imul eax, dword [esp + 0x1c], 0xffff
sub ecx, eax
mov eax, dword [esp + 0x1c]
cmp ecx, eax
setge dl
xor eax, eax
cmp edx, 6
setl al
xor edx, edx
imul ecx, eax, 0xfffd
mov eax, dword [esp + 0x3c]
cmp eax, ecx
setg dl
cmp edx, dword [esp + 0x20]
jg 0x10015eb2
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
cmp dword [esp + 0x20], ebx
jne 0x10015ec0
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x10], 0xffff2afb
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x3c]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x10], 0x3734
cmp dword [esp + 0x10], ebx
je 0x10015efa
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x10]
sub eax, 0xfffffffb
neg eax
sbb eax, eax
inc eax
cmp dword [esp + 0x3c], eax
je 0x10015f78
mov dword [esp + 0x24], 7
mov dword [esp + 0x28], 0xfffffff6
mov dword [esp + 0x14], ebx
jmp 0x10015f35
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x214], esi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x10015f26
mov eax, dword [esp + 0x10]
xor ecx, ecx
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
cmp eax, 1
mov eax, dword [esp + 0x24]
setge cl
neg ecx
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
mov eax, dword [esp + 0x218]
setl dl
xor ecx, ecx
neg edx
cmp edx, eax
setle cl
mov dword [esp + 0x28], ecx
jmp 0x10015fdf
mov dword [esp + 0x28], 0x1bbcb567
mov dword [esp + 0x10], ebx
jmp 0x10015fd8
mov dword [esp + 0x14], 0xa2a42895
mov dword [esp + 0x3c], 0x5eec0db1
cmp dword [esp + 0x3c], esi
jg 0x10015fa0
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x28]
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
dec edx
cmp edx, eax
setl cl
mov dword [esp + 0x14], ecx
dec dword [esp + 0x10]
cmp dword [esp + 0x10], 0xffffffe5
jge 0x10015f86
mov dword [esp + 0xf0], edi
jmp 0x100176ad
mov eax, dword [0x10eba728]
test al, 2
jne 0x10016092
or eax, 2
mov dword [0x10eba728], eax
push ebx
mov dword [esp + 0x268], 3
push ebx
mov dword [0x10eba740], ebx
mov dword [0x10eba744], ebx
call fcn.1001c62b
mov dword [0x10eba740], eax
mov dword [0x10eba748], ebx
mov dword [0x10eba750], ebx
mov byte [esp + 0x264], 5
mov ecx, 0x10eba748
mov dword [esp + 0xdc], eax
lea eax, [esp + 0xdc]
push eax
push 0x10
push ebx
lea eax, [esp + 0xb8]
mov dword [0x10eba75c], 0x3f800000
push eax
mov dword [0x10eba74c], ebx
call fcn.1001c403
push 0x1006cc30
mov dword [0x10eba754], 7
mov dword [0x10eba758], 8
call fcn.1005345b
or dword [esp + 0x268], 0xffffffff
pop ecx
lea eax, [esp + 0x54]
xorps xmm0, xmm0
push eax
movdqu xmmword [esp + 0xa0], xmm0
call fcn.1001830a
push dword [esp + 0xac]
movdqa xmm0, xmmword [0x10008e20]
lea ecx, [esp + 0x88]
movdqu xmmword [esp + 0x208], xmm0
mov edi, dword [eax]
lea eax, [esp + 0x218]
push eax
lea eax, [esp + 0x20c]
mov dword [esp + 0x44], edi
push eax
push ebx
mov dword [esp + 0x94], ebx
mov dword [esp + 0x98], ebx
mov dword [esp + 0x9c], ebx
call fcn.1001da5d
push 6
pop eax
mov dword [esp + 0x264], eax
lea ecx, [esp + 0x168]
mov dword [esp + 0x20], 0x136dc992
mov dword [esp + 0x2c], 0xbbd4aa41
push 3
call fcn.1001803e
mov byte [esp + 0x264], 7
mov dword [esp + 0x10], ebx
jmp 0x1001613e
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x4c], 0x5c8094a1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001612e
mov dword [esp + 0x24], 0x2041
cmp dword [esp + 0x24], 0xc37
jge 0x10016206
lea eax, [esp + 0xc4]
mov esi, 0x100087bc
push eax
lea eax, [esp + 0x108]
push eax
push esi
call fcn.10052cbb
add esp, 0xc
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0xb4]
push eax
push esi
call fcn.10052cbb
add esp, 0xc
lea eax, [esp + 0xfc]
push eax
lea eax, [esp + 0xc0]
push eax
push 0x1000880c
call fcn.10052cbb
imul edx, dword [esp + 0xc8], 0x3c
add esp, 0xc
mov eax, dword [esp + 0xc4]
mov esi, ebx
mov ebx, dword [esp + 0xcc]
mov ecx, 0x12c
add edx, dword [esp + 0xfc]
lea edi, [edx + eax]
cmp ecx, edi
jge 0x100161e1
lea eax, [ecx + ebx]
cmp eax, edx
jle 0x100161e1
inc esi
add ecx, dword [esp + 0xb0]
cmp ecx, 0x59f
jle 0x100161d5
push esi
push 0x10008780
call fcn.100535f4
mov edi, dword [esp + 0x44]
xor esi, esi
pop ecx
xor ebx, ebx
inc esi
pop ecx
push 3
mov dword [esp + 0x14], ebx
pop edx
jmp 0x10016222
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x22c], 0xfffffffb
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1001620f
mov dword [esp + 0x10], ebx
jmp 0x10016241
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0xb8], 0x3e2e1665
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x1001622e
mov dword [esp + 0x10], ebx
jmp 0x10016263
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x168]
mov dword [eax + ecx*4], 7
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x1001624d
mov dword [esp + 0x4c], ebx
cmp dword [esp + 0x4c], edx
jg 0x100163d1
mov dword [esp + 0x30], 0x510afbd1
lea ecx, [esp + 0x108]
mov dword [esp + 0x30], 0x8470ed99
push 4
call fcn.1001803e
mov dword [esp + 0x24], 0xd925d3c0
mov dword [esp + 0x14], ebx
jmp 0x100162b9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x108]
mov dword [eax + ecx*4], 0x65dea311
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x100162a3
mov ecx, dword [esp + 0x4c]
mov eax, dword [esp + 0x84]
cmp dword [eax + ecx*4], ebx
je 0x1001638a
mov dword [esp + 0x28], 0x458a922a
mov dword [esp + 0x14], esi
mov dword [esp + 0x1c], 0x457718da
mov eax, dword [esp + 0x4c]
mov eax, dword [esp + 0x28]
dec dword [esp + 0x28]
cmp dword [esp + 0x2c], 9
mov eax, dword [esp + 0x108]
sbb ecx, ecx
neg ecx
mov dword [eax], ecx
cmp ecx, dword [esp + 0x24]
jge 0x10016313
mov eax, dword [esp + 0xb8]
mov eax, dword [esp + 0x4c]
xor ecx, ecx
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x84]
mov edx, dword [esp + 0x168]
cmp dword [eax + 0xc], 0xde0d
setl cl
sub ecx, dword [edx + 8]
jne 0x10016347
mov eax, dword [esp + 0x108]
cmp dword [eax], ebx
mov eax, ebx
je 0x10016349
mov eax, esi
cmp eax, dword [esp + 0x20]
jl 0x10016356
mov eax, ebx
cmp dword [edx + 8], ebx
je 0x10016358
mov eax, esi
xor ecx, ecx
cmp eax, 0x3e629bad
mov eax, dword [esp + 0x2c]
sete cl
xor edx, edx
cmp ecx, eax
setge dl
sub edx, dword [esp + 0x14]
neg edx
sbb edx, edx
xor eax, eax
inc edx
cmp edx, 0xa4d
setg al
shl eax, 3
mov dword [esp + 0x1c], eax
jmp 0x100163b6
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x100163a1
push ebx
push 0x2260
call dword [sym.imp.USER32.dll_ValidateRect]
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x100163b6
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_EnumResourceNamesW]
lea ecx, [esp + 0x108]
call fcn.10017f89
inc dword [esp + 0x4c]
cmp dword [esp + 0x4c], 3
jle 0x10016277
lea ecx, [esp + 0x168]
call fcn.10017f89
or dword [esp + 0x264], 0xffffffff
lea ecx, [esp + 0x84]
call fcn.10017f89
mov al, byte [ebp + 0xc]
test al, al
jne 0x10016400
test edi, edi
jne 0x100169f2
mov dword [esp + 0x14], 0x8cff0ea7
mov dword [esp + 0x1c], 0x121a
mov dword [esp + 0x14], 0xfffffffa
cmp dword [esp + 0x14], 0x1b
jne 0x10016666
push 2
pop ecx
mov dword [esp + 0x10], ebx
jmp 0x1001643c
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x70], 0x108f8256
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ecx
jl 0x1001642c
mov dword [esp + 0x10], ebx
jmp 0x1001645b
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x1a4], 0x9d94b4b1
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x10016448
mov dword [esp + 0x74], 0x17
jmp 0x1001647b
mov eax, dword [esp + 0x1c]
mov dword [esp + 0x1a8], eax
dec dword [esp + 0x74]
cmp dword [esp + 0x74], 0x12
je 0x1001646c
mov dword [esp + 0x1c], ebx
jmp 0x1001664a
mov dword [esp + 0x24], 0x2412
cmp dword [esp + 0x24], 0x1277
jge 0x10016540
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0x5c]
push eax
push 0x10008728
call fcn.10052cbb
movsd xmm1, qword [0x10008d90]
add esp, 0xc
jmp 0x10016508
dec eax
mov dword [esp + 0x58], eax
lea eax, [esp + 0x1e8]
push eax
lea eax, [esp + 0x1dc]
push eax
push 0x10008814
call fcn.10052cbb
movsd xmm0, qword [esp + 0x1e4]
add esp, 0xc
divsd xmm0, qword [esp + 0x1e8]
movsd xmm1, qword [esp + 0x30]
comisd xmm0, xmm1
ja 0x1001650e
movaps xmm1, xmm0
movsd qword [esp + 0x30], xmm1
mov eax, dword [esp + 0x58]
test eax, eax
jne 0x100164c5
movd xmm0, dword [esp + 0xc0]
dec eax
cvtdq2pd xmm0, xmm0
push ecx
push ecx
mov dword [esp + 0x60], eax
mulsd xmm0, xmm1
movsd qword [esp], xmm0
push 0x1000881c
call fcn.100535f4
add esp, 0xc
mov dword [esp + 0x20], 0x96b779c6
mov dword [esp + 0x24], 0x228d
cmp dword [esp + 0x24], 0xace
jge 0x100165e8
push 4
lea ecx, [esp + 0xd4]
call fcn.1001803e
mov dword [esp + 0x264], 8
mov esi, dword [esp + 0xd0]
mov edi, esi
push 4
pop ebx
push edi
push 0x100086a4
call fcn.10052cbb
pop ecx
add edi, 4
pop ecx
dec ebx
jne 0x10016583
push dword [esp + 0xd4]
push esi
call fcn.1001cb07
mov ecx, dword [esi + 0xc]
mov eax, ecx
sub eax, dword [esi + 8]
push eax
mov eax, ecx
sub ecx, dword [esi]
sub eax, dword [esi + 4]
push eax
push ecx
push 0x1000875c
call fcn.100535f4
or dword [esp + 0x27c], 0xffffffff
push esi
call fcn.1005397a
xor esi, esi
mov dword [esp + 0xec], ebx
add esp, 0x1c
mov dword [esp + 0xd4], ebx
mov dword [esp + 0xd8], ebx
inc esi
mov dword [esp + 0x20], esi
cmp dword [esp + 0x20], ebx
jl 0x10016619
mov eax, dword [esp + 0x1c]
cmp dword [esp + eax*4 + 0x1a4], ebx
jne 0x10016619
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10016613
push ebx
push ebx
push ebx
call dword [sym.imp.OLEAUT32.dll_SysStringByteLen]
dec dword [esp + 0x20]
jns 0x100165f2
push 2
pop ecx
mov dword [esp + 0x20], ecx
cmp dword [esp + 0x20], ebx
jl 0x10016646
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x1001663d
push 0x112b
push ebx
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSectionAndSpinCount]
dec dword [esp + 0x20]
jns 0x10016626
push 2
pop ecx
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ecx
jle 0x1001648b
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 0x1b
je 0x10016426
mov al, byte [ebp + 0xc]
lea ecx, [esp + 0x238]
mov dl, al
push ecx
mov ecx, dword [esp + 0x58]
call fcn.1000a5d4
mov esi, eax
lea edi, [esp + 0xa0]
pop ecx
push 2
lea ecx, [esp + 0x118]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov dword [esp + 0x2c], 0xda50
call fcn.1001803e
mov dword [esp + 0x14], 0x8112def9
mov dword [esp + 0x20], 5
mov dword [esp + 0x10], ebx
jmp 0x100166c6
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x90], 0x9b950315
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jl 0x100166b3
push 2
mov dword [esp + 0x14], ebx
pop edx
jmp 0x100166ec
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x114]
mov dword [eax + ecx*4], 0x288586fd
inc dword [esp + 0x10]
cmp dword [esp + 0x10], edx
jl 0x100166d6
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10016708
push 0x2627
call dword [sym.imp.USER32.dll_GetMenu]
mov ecx, dword [esp + 0x90]
mov eax, dword [esp + 0x114]
mov dword [eax + 4], ecx
test ecx, ecx
je 0x10016728
mov eax, dword [esp + 0x14]
sub eax, 0x372253f1
jne 0x10016738
cmp dword [esp + 0x90], ebx
jne 0x10016738
xor esi, esi
mov eax, ebx
inc esi
jmp 0x1001673d
xor esi, esi
inc esi
mov eax, esi
mov dword [esp + 0x28], 0x3992
xor edx, edx
mov ecx, dword [esp + 0x94]
sub ecx, eax
mov eax, dword [esp + 0x14]
cmp ecx, eax
mov eax, dword [esp + 0x14]
setne dl
xor ecx, ecx
cmp edx, eax
mov eax, dword [esp + 0x98]
setle cl
xor edx, edx
add ecx, eax
mov eax, dword [esp + 0x90]
cmp eax, ecx
setg dl
xor eax, eax
cmp edx, esi
mov dword [esp + 0x90], edx
setne al
xor edx, edx
mov dword [esp + 0x14], eax
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
cmp eax, ecx
mov eax, dword [esp + 0x20]
setg dl
xor ecx, ecx
cmp edx, eax
setne cl
imul ecx, dword [esp + 0x28]
cmp ecx, dword [esp + 0x20]
jge 0x100167ba
mov eax, ebx
cmp dword [esp + 0x20], ebx
je 0x100167bc
mov eax, esi
lea ecx, [esp + 0x114]
mov dword [esp + 0x20], eax
call fcn.10017f89
cmp byte [ebp + 0xc], 0
je 0x100169ee
cmp dword [esp + 0xa4], 0
je 0x100169ee
mov dword [esp + 0x30], esi
lea ecx, [esp + 0x120]
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x30], 0x1ad386cc
mov dword [esp + 0x24], 0x53bc6e5c
mov dword [esp + 0x10], 8
mov dword [esp + 0x30], 0x651328f6
mov dword [esp + 0x30], esi
mov dword [esp + 0x30], 0xfa51669
mov dword [esp + 0x20], 0x5bf2d3f5
push 0xfffffffffffffffa
pop eax
mov dword [esp + 0x2c], 0x454bcd76
mov dword [esp + 0x28], eax
mov dword [esp + 0x30], 0x849b76ee
mov dword [esp + 0x1c], eax
mov dword [esp + 0x30], 0xbf0ddd9c
push esi
call fcn.1001803e
mov dword [esp + 0x30], 0xf4442628
mov dword [esp + 0x28], 0xafe44fa3
mov dword [esp + 0x30], 0xcb4f5fdf
mov dword [esp + 0x14], ebx
jmp 0x10016884
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x120]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10016872
inc dword [esp + 0x28]
xor edx, edx
mov eax, dword [esp + 0x24]
mov dword [esp + 0x28], 0xfffffff6
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x120]
cmp dword [eax], ecx
setge dl
xor eax, eax
cmp edx, 0x3cc9
setne al
xor ecx, ecx
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x24], eax
mov eax, dword [esp + 0x1c]
sete cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x2c]
setne dl
imul eax, dword [esp + 0x10]
add edx, eax
add edx, dword [esp + 0x2c]
mov dword [esp + 0x2c], edx
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
sub ecx, eax
neg ecx
sbb ecx, ecx
inc ecx
mov dword [esp + 0x28], ecx
lea ecx, [esp + 0x120]
call fcn.10017f89
mov eax, dword [esp + 0xa8]
lea ecx, [esp + 0x12c]
mov dword [esp + 0x10], 0xb4ffb871
mov dword [esp + 0x24], 0x1dbdae4
push esi
mov dword [esp + 0xf8], eax
call fcn.1001803e
mov dword [esp + 0x14], ebx
jmp 0x10016948
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x12c]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10016936
cmp dword [esp + 0x10], ebx
jne 0x100169a9
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp eax, 0xb0a
mov eax, dword [esp + 0x10]
setge cl
xor edx, edx
cmp ecx, eax
setle dl
sub edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x10]
neg edx
sbb edx, edx
inc edx
cmp edx, 0xccfd66c4
sbb eax, eax
inc eax
sub ecx, eax
imul ecx, dword [esp + 0x10]
sub ecx, 5
imul eax, ecx, 0x8bc0
add eax, 4
cmp eax, esi
sbb eax, eax
neg eax
add eax, dword [esp + 0x10]
cmp eax, 0x2cb51dba
mov eax, ebx
je 0x100169ab
mov eax, esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x10], ebx
jmp 0x100169ce
mov eax, dword [esp + 0x10]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0x12c]
mov eax, dword [ecx + eax*4]
mov dword [ecx + edx*4], eax
inc dword [esp + 0x10]
cmp dword [esp + 0x10], ebx
jle 0x100169b5
lea ecx, [esp + 0x12c]
call fcn.10017f89
mov eax, dword [esp + 0xa4]
mov dword [esp + 0xf8], eax
mov edi, dword [esp + 0x3c]
mov dword [esp + 0x30], 0xeaa32b1c
lea ecx, [esp + 0x1b0]
mov dword [esp + 0x30], 7
mov dword [esp + 0x30], esi
push 4
call fcn.1001803e
mov dword [esp + 0x28], 8
mov dword [esp + 0x14], ebx
jmp 0x10016a38
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1b0]
mov dword [eax + ecx*4], 0xfd1e814b
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x10016a22
inc dword [esp + 0x28]
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10016a69
push ebx
push 0x98
push 0x102f
push 0x10de
push 0x109a
call dword [sym.imp.USER32.dll_SetScrollRange]
lea ecx, [esp + 0x1b0]
call fcn.10017f89
test edi, edi
jne 0x10016eff
cmp dword [esp + 0x9c], edi
jle 0x10016eff
mov dword [esp + 0x1c], 0x462d5e48
mov dword [esp + 0x1c], 0xfffffff1
jmp 0x10016ad3
mov dword [esp + 0x24], 0x391cb4e7
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x1c]
inc ecx
neg ecx
sbb ecx, ecx
neg ecx
cmp dword [esp + 0x1c], 0xd214c405
mov eax, dword [esp + 0x1c]
sbb edx, edx
sub eax, ecx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
mov dword [esp + 0x24], ecx
dec dword [esp + 0x1c]
cmp dword [esp + 0x1c], 0xfffffff0
jle 0x10016a9c
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10016af2
push 0x224d
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
mov dword [esp + 0x50], ebx
lea ecx, [esp + 0x180]
mov dword [esp + 0xb4], 0x240ca700
mov dword [esp + 0x28], 0x67d92612
mov dword [esp + 0x1c], 3
mov dword [esp + 0x44], 0xd87e3bc4
mov dword [esp + 0x30], 0xfffffff6
mov dword [esp + 0x44], 0xffffffff
mov dword [esp + 0x2c], 0xf446cd5f
mov dword [esp + 0xc8], ebx
mov dword [esp + 0x20], 0x8451d77f
mov dword [esp + 0x30], 0xfffffffa
mov dword [esp + 0x14], 9
mov dword [esp + 0x48], 8
mov dword [esp + 0x28], 0x25bb5a27
mov dword [esp + 0x48], 0xffffffff
push esi
call fcn.1001803e
mov dword [esp + 0x24], ebx
mov dword [esp + 0x10], ebx
jmp 0x10016b8f
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x78], 9
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10016b7f
mov dword [esp + 0x10], ebx
jmp 0x10016bad
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x180]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10016b9b
mov eax, dword [esp + 0xc8]
mov edx, dword [esp + 0x78]
neg eax
sbb eax, eax
xor ecx, ecx
neg eax
cmp eax, 0x66b9
mov eax, dword [esp + 0x28]
setge cl
sub edx, ecx
dec dword [esp + 0x28]
mov ecx, dword [esp + 0xb4]
cmp eax, edx
mov eax, dword [esp + 0x50]
cmovne esi, ebx
xor edx, edx
cmp eax, ecx
setne dl
xor eax, eax
cmp edx, esi
setl al
xor ecx, ecx
mov dword [esp + 0x50], eax
mov eax, dword [esp + 0x2c]
cmp dword [esp + 0x50], eax
setg cl
mov dword [esp + 0x28], ecx
mov eax, dword [esp + 0x78]
cmp dword [esp + 0x28], eax
jl 0x10016c19
mov eax, dword [esp + 0x20]
cmp dword [esp + 0x48], ebx
je 0x10016c25
cmp dword [esp + 0x2c], ebx
jne 0x10016c29
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x44]
xor ecx, ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov eax, dword [esp + 0x24]
cmp eax, 5
setne cl
mov dword [esp + 0x44], ecx
mov ecx, 0xbd97a888
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x1c]
cmp ecx, eax
lea ecx, [esp + 0x180]
sbb eax, eax
neg eax
add eax, dword [esp + 0x24]
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
sub eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
call fcn.10017f89
mov dword [esp + 0x30], 0x3556
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10016c96
push ebx
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10016ca7
call dword [sym.imp.USER32.dll_GetDoubleClickTime]
xor esi, esi
inc esi
cmp dword [esp + 0xa0], 0
je 0x10016eff
push 7
pop eax
mov dword [esp + 0x30], 0xffffffff
lea ecx, [esp + 0x198]
mov dword [esp + 0x30], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x30], 0x46df37d4
mov dword [esp + 0x30], 0x87cf2e56
push esi
call fcn.1001803e
mov dword [esp + 0x30], 0xb7d8
mov dword [esp + 0x24], 0x10c13fe6
mov dword [esp + 0x30], 0x289fff12
mov dword [esp + 0x30], 0xfffffff6
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x30], 0x6658
mov dword [esp + 0x30], ebx
mov dword [esp + 0x10], ebx
jmp 0x10016d34
mov ecx, dword [esp + 0x10]
mov eax, dword [esp + 0x198]
mov dword [eax + ecx*4], esi
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10016d22
mov dword [esp + 0x10], ebx
jmp 0x10016d53
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x80], 0x256fae7a
inc dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jl 0x10016d40
dec dword [esp + 0x24]
lea ecx, [esp + 0x198]
dec dword [esp + 0x80]
call fcn.10017f89
mov ecx, dword [esp + 0xa0]
call fcn.10015ada
mov dword [esp + 0x10], 0x1824a8c6
mov edi, eax
mov dword [esp + 0x1c], 0x8a137b18
mov dword [esp + 0x30], 0xc1da7bc9
mov dword [esp + 0x30], 0xb6968939
mov dword [esp + 0x30], 0xb6cd3335
mov dword [esp + 0x44], 0x98d72a67
mov dword [esp + 0x28], 8
mov dword [esp + 0x3c], edi
mov dword [esp + 0x10], ebx
jmp 0x10016dd3
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x1c8], 0xffff
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10016dc0
mov dword [esp + 0x10], ebx
jmp 0x10016df3
mov eax, dword [esp + 0x10]
mov dword [esp + eax*4 + 0x248], 0xf9150fae
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 4
jl 0x10016de0
mov dword [esp + 0x10], 7
jmp 0x10016e0e
cmp dword [esp + 0x1c], ebx
jne 0x10016e14
dec dword [esp + 0x10]
cmp dword [esp + 0x10], esi
jge 0x10016e04
mov dword [esp + 0x1c], ebx
jmp 0x10016ee8
mov dword [esp + 0x44], 0xfffffff6
lea ecx, [esp + 0x18c]
mov dword [esp + 0x44], esi
mov dword [esp + 0x48], 0xaa8e
mov dword [esp + 0x48], ebx
mov dword [esp + 0x48], 0xffffffff
push 2
call fcn.1001803e
push 2
mov dword [esp + 0x4c], 0x96f37d43
mov dword [esp + 0x18], ebx
pop edx
jmp 0x10016e72
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x18c]
mov dword [eax + ecx*4], 0x715ee56e
inc dword [esp + 0x14]
cmp dword [esp + 0x14], edx
jl 0x10016e5c
mov dword [esp + 0x10], ebx
jmp 0x10016e8f
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x1c8], ebx
jne 0x10016e96
inc dword [esp + 0x10]
cmp dword [esp + 0x10], 3
jle 0x10016e7e
mov eax, dword [esp + 0x28]
xor edx, edx
mov eax, dword [esp + 0x1c]
dec dword [esp + 0x28]
mov eax, dword [esp + 0x30]
mov eax, dword [esp + 0x44]
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + eax*4 + 0x1c8]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + eax*4 + 0x1c8]
cmp ecx, eax
lea ecx, [esp + 0x18c]
setg dl
sub edx, dword [esp + 0x10]
neg edx
sbb edx, edx
inc edx
mov dword [esp + 0x44], edx
call fcn.10017f89
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], 3
jle 0x10016e1d
lea eax, [esp + 0x54]
push eax
call fcn.1001830a
mov dword [eax], edi
mov dword [esp + 0x1c], 0x8cff0ea7
mov dword [esp + 0x20], 0xfffffffe
mov dword [esp + 0x24], 0xe809b4af
mov dword [esp + 0x44], ebx
mov dword [esp + 0x30], 0xfffffffb
mov dword [esp + 0x30], ebx
mov dword [esp + 0x30], 0x108f9809
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 0xfff7
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10016f50
push esi
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetOverlappedResult]
push 6
mov dword [esp + 0x20], ebx
pop eax
cmp dword [esp + 0x1c], eax
je 0x1001714b
push eax
pop edi
push dword [esp + 0x104]
movdqa xmm0, xmmword [0x10008dc0]
lea eax, [esp + 0x208]
push eax
lea eax, [esp + 0x1fc]
mov dword [esp + 0x30], ebx
push eax
mov dword [esp + 0x1c], 0x41145714
lea ecx, [esp + 0xec]
push ebx
movdqu xmmword [esp + 0x204], xmm0
mov dword [esp + 0xf0], ebx
mov dword [esp + 0xf4], ebx
mov dword [esp + 0xf8], ebx
call fcn.1001da5d
push esi
lea ecx, [esp + 0x1c0]
mov dword [esp + 0x268], 9
call fcn.1001803e
mov dword [esp + 0x24], 0xc0336ae3
mov dword [esp + 0x30], 0x64e48c0c
mov dword [esp + 0x30], 0xffffffff
mov dword [esp + 0x14], ebx
jmp 0x10017001
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x1bc]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10016fef
cmp dword [esp + 0x10], ebx
je 0x1001701a
mov eax, dword [esp + 0xe0]
mov edx, esi
cmp dword [eax], ebx
jne 0x1001701c
mov edx, ebx
mov eax, dword [esp + 0x10]
xor ecx, ecx
cmp edx, eax
push 2
sete cl
mov dword [esp + 0x24], ecx
mov dword [esp + 0x14], 0xfffffff7
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x28], eax
cmp dword [esp + 0x28], 0x80335900
sbb eax, eax
xor ecx, ecx
inc eax
imul eax, dword [esp + 0x20]
neg eax
cmp eax, 0xda8db884
setne cl
sub ecx, dword [esp + 0x20]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
mov dword [esp + 0x34], ecx
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x20]
cmp eax, ecx
mov ecx, dword [esp + 0x34]
setge dl
pop eax
cmp eax, edx
sbb eax, eax
inc eax
add ecx, eax
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
imul eax, dword [esp + 0x44]
test eax, eax
je 0x100170bb
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x10017115
push ebx
push 0x953
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
jmp 0x10017115
mov dword [esp + 0x30], esi
mov dword [esp + 0x14], ebx
jmp 0x100170d4
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x220], esi
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 3
jl 0x100170c5
cmp dword [esp + 0x228], ebx
jne 0x100170ec
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x30]
mov dword [esp + 0x10], 0xfffffff6
mov dword [esp + 0x20], ebx
jmp 0x1001710e
mov dword [esp + 0x28], 0x9d95921b
inc dword [esp + 0x28]
mov eax, dword [esp + 0x28]
dec dword [esp + 0x20]
cmp dword [esp + 0x20], 0xffffffe3
jne 0x100170fa
dec dword [esp + 0x2c]
lea ecx, [esp + 0x1bc]
call fcn.10017f89
or dword [esp + 0x264], 0xffffffff
lea ecx, [esp + 0xe0]
call fcn.10017f89
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edi
jne 0x10016f63
mov edi, dword [esp + 0x3c]
lea ecx, [esp + 0x9c]
call fcn.10010e69
mov dword [esp + 0x10], 0x835a23e8
lea ecx, [esp + 0x144]
push 2
mov dword [esp + 0x24], 0x8ab9c279
pop eax
mov dword [esp + 0x2c], 0xffffffff
mov dword [esp + 0x14], ebx
mov dword [esp + 0x1c], 0x8d232121
push eax
call fcn.1001803e
mov dword [esp + 0x30], 0x4033e270
mov dword [esp + 0x1c], ebx
jmp 0x100171a9
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0x7c], 0xb15a8df0
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], esi
jl 0x10017199
push 2
mov dword [esp + 0x20], ebx
pop edx
jmp 0x100171ce
mov ecx, dword [esp + 0x1c]
mov eax, dword [esp + 0x144]
mov dword [eax + ecx*4], 0x8a3d3555
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], edx
jl 0x100171b8
imul ecx, dword [esp + 0x10], 0xfffffffc
xor edx, edx
mov eax, dword [esp + 0x10]
cmp eax, ecx
setne dl
mov dword [esp + 0x20], edx
mov eax, dword [esp + 0x20]
add eax, 0xb287
jne 0x100171fb
mov eax, ebx
cmp dword [esp + 0x20], ebx
je 0x100171fd
mov eax, esi
cmp dword [esp + 0x10], eax
jge 0x10017207
mov eax, dword [esp + 0x20]
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x10]
neg eax
push 6
sbb eax, eax
neg eax
imul ecx, eax
mov eax, dword [esp + 0x14]
add eax, ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x30], eax
mov eax, dword [esp + 0x30]
imul eax, dword [esp + 0x14]
pop ecx
mov dword [esp + 0x14], eax
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
cmp ecx, eax
mov eax, dword [esp + 0x10]
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setle cl
mov dword [esp + 0x1c], ecx
mov eax, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x2c], eax
mov eax, dword [esp + 0x14]
mov edx, dword [esp + 0x2c]
sub edx, eax
mov eax, dword [esp + 0x14]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp eax, edx
setne cl
imul ecx, dword [esp + 0x1c]
test ecx, ecx
jne 0x10017294
mov ecx, ebx
cmp dword [esp + 0x10], ebx
je 0x10017296
mov ecx, esi
mov edx, dword [esp + 0x20]
xor eax, eax
cmp ecx, 0xe525
mov dword [esp + 0x7c], edx
setge al
sub eax, dword [esp + 0x1c]
mov esi, dword [esp + 0x144]
neg eax
sbb eax, eax
xor ecx, ecx
inc eax
mov dword [esp + 0x1c], eax
mov eax, dword [esp + 0x1c]
cmp edx, eax
mov eax, dword [esp + 0x20]
setle cl
sub ecx, dword [esi + 4]
neg ecx
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, 0x50e8
setne dl
xor ecx, ecx
cmp edx, eax
setge cl
mov dword [esi + 4], ecx
lea ecx, [esp + 0x144]
call fcn.10017f89
test edi, edi
je 0x10017648
push 3
mov dword [esp + 0x24], 0xfffffffc
pop esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x44], 0xfd3265c9
mov dword [esp + 0x14], ebx
jmp 0x10017326
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0x40], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 1
jl 0x1001731a
mov dword [esp + 0x20], ebx
cmp dword [esp + 0x20], ebx
jg 0x10017628
mov dword [esp + 0x10], 0xffffffff
lea ecx, [esp + 0x150]
mov dword [esp + 0x24], 0xfffffff6
push esi
call fcn.1001803e
mov dword [esp + 0x264], 0xa
mov dword [esp + 0x48], 0xcb277ce2
mov dword [esp + 0x30], 0xfffffffc
mov dword [esp + 0x14], ebx
jmp 0x1001738b
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x150]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10017379
mov dword [esp + 0x10], ebx
cmp dword [esp + 0x10], ebx
jl 0x10017602
push 4
lea ecx, [esp + 0x178]
call fcn.1001803e
mov byte [esp + 0x264], 0xb
mov dword [esp + 0x24], 0xffffffff
mov dword [esp + 0x14], ebx
jmp 0x100173d9
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x174]
mov dword [eax + ecx*4], 0xfffffffc
inc dword [esp + 0x14]
cmp dword [esp + 0x14], 4
jl 0x100173c3
mov byte [esp + 0x1b], bl
cmp byte [esp + 0x1b], 0
je 0x100173fe
push 1
push ebx
push 0x4e4
push 0x274
call dword [sym.imp.USER32.dll_GetDlgItemInt]
mov edi, dword [esp + 0x174]
mov dword [edi + 4], ebx
mov dword [esp + 0x1c], 0x781ced8f
lea ecx, [esp + 0x15c]
push esi
call fcn.1001803e
mov dword [esp + 0x14], ebx
jmp 0x10017435
mov ecx, dword [esp + 0x14]
mov eax, dword [esp + 0x15c]
mov dword [eax + ecx*4], ebx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], esi
jl 0x10017423
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
jg 0x100175cf
mov esi, dword [esp + 0x15c]
mov dword [esp + 0x50], esi
mov eax, dword [edi + 4]
mov edx, dword [esi + 4]
mov dword [esp + 0x24], 0x7606ab81
mov dword [esp + 0x30], 0xe572dbe4
mov ecx, dword [esp + eax*4 + 0x40]
mov eax, dword [edi + 4]
add ecx, dword [esp + eax*4 + 0x40]
xor eax, eax
cmp ecx, edx
setl al
xor ecx, ecx
sub eax, dword [edi + 4]
cmp eax, edx
setg cl
mov dword [esi + 4], ecx
mov eax, dword [edi + 4]
mov edx, dword [esp + eax*4 + 0x40]
xor eax, eax
test ecx, ecx
sete al
xor ecx, ecx
cmp eax, edx
setle cl
xor eax, eax
test ecx, ecx
setns al
cmp eax, 0xfffffff9
mov eax, dword [esp + 0x20]
sbb ecx, ecx
xor edx, edx
inc ecx
cmp ecx, eax
setg dl
sub edx, dword [esp + 0x10]
mov eax, dword [esp + 0x1c]
neg edx
sbb edx, edx
xor ecx, ecx
inc edx
cmp edx, eax
setg cl
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov eax, dword [esp + 0x24]
inc ecx
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], eax
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + eax*4 + 0x40]
mov dword [esp + 0x24], ecx
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x10]
mov dword [esp + 0x24], ecx
xor ecx, ecx
mov eax, dword [esp + 0x24]
mov eax, dword [esp + 0x1c]
mov eax, dword [esp + 0x10]
mov eax, dword [esp + 0x40]
cmp eax, dword [edi + 4]
mov eax, dword [esp + 0x1c]
setl cl
xor edx, edx
cmp ecx, eax
mov eax, dword [esp + 0x30]
setg dl
xor ecx, ecx
cmp edx, eax
setne cl
cmp ecx, dword [esp + 0x44]
je 0x10017544
mov eax, dword [esp + 0x150]
cmp dword [eax], ebx
jne 0x10017544
mov eax, dword [esp + 0x1c]
mov eax, dword [edi + 4]
cmp dword [esp + eax*4 + 0x40], 0xffff
jne 0x1001755b
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x40], ebx
je 0x1001755f
mov eax, dword [esp + 0x48]
mov eax, dword [edi + 4]
xor ecx, ecx
mov eax, dword [esp + eax*4 + 0x40]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0x40]
mov eax, dword [esp + 0x20]
mov eax, dword [esp + eax*4 + 0x40]
sub eax, dword [edi + 4]
imul esi, eax, 0x3045
mov eax, dword [esp + 0x10]
mov edx, dword [esp + eax*4 + 0x40]
mov eax, dword [esp + 0x1c]
cmp esi, eax
setl cl
cmp ecx, edx
je 0x100175a4
mov eax, dword [esp + 0x10]
cmp dword [esp + eax*4 + 0x40], ebx
jne 0x100175a4
mov edx, ebx
jmp 0x100175a7
xor edx, edx
inc edx
mov eax, dword [esp + 0x20]
xor ecx, ecx
mov esi, dword [esp + 0x50]
mov eax, dword [esp + eax*4 + 0x40]
cmp edx, eax
setge cl
mov dword [esp + 0x30], ecx
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ebx
jle 0x10017454
push 3
pop esi
lea ecx, [esp + 0x15c]
call fcn.10017f89
dec dword [edi + 4]
jns 0x10017408
lea ecx, [esp + 0x174]
mov byte [esp + 0x264], 0xa
call fcn.10017f89
dec dword [esp + 0x10]
jns 0x1001739f
or dword [esp + 0x264], 0xffffffff
lea ecx, [esp + 0x150]
call fcn.10017f89
inc dword [esp + 0x20]
cmp dword [esp + 0x20], ebx
jle 0x1001733b
mov edi, dword [esp + 0x3c]
mov edx, dword [esp + 0x68]
mov ecx, edi
call fcn.10015b1c
mov esi, eax
lea eax, [esp + 0x6c]
push eax
mov dword [esp + 0xf4], esi
call fcn.100182a8
mov dword [eax], esi
mov dword [esp + 0x1c], 0xffffffff
xor ecx, ecx
mov dword [esp + 0x68], ebx
inc ecx
mov dword [esp + 0x14], ebx
jmp 0x1001766c
mov eax, dword [esp + 0x14]
mov dword [esp + eax*4 + 0xec], ecx
inc dword [esp + 0x14]
cmp dword [esp + 0x14], ecx
jl 0x1001765d
mov dword [esp + 0x1c], ebx
jmp 0x1001768b
mov eax, dword [esp + 0x1c]
mov dword [esp + eax*4 + 0xec], 0xce125d16
inc dword [esp + 0x1c]
cmp dword [esp + 0x1c], ecx
jl 0x10017678
mov dword [esp + 0x1c], ebx
cmp dword [esp + 0x1c], ebx
jl 0x100176ad
mov dword [esp + 0x24], 0xdfe4
dec dword [esp + 0x24]
dec dword [esp + 0x1c]
jns 0x1001769b
mov eax, dword [ebp + 8]
lea esi, [esp + 0xf0]
mov ecx, dword [esp + 0x25c]
mov edi, eax
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret