Function at 0x1000119c
Capabilities:
Get graphical window text
Query environment variable
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
cmp byte [edx], 0x50
push ebx
push esi
push edi
mov dword [ebp - 0x2c], edx
jne 0x10001cc4
cmp byte [edx + 1], 0x4b
jne 0x10001cc4
mov al, byte [edx + 2]
mov byte [ebp - 0x25], al
mov al, byte [edx + 3]
mov dword [ebp - 0xc], 6
mov byte [ebp - 0xd], al
xor eax, eax
mov dword [ebp - 0x18], 0x6a9ef72d
push 1
mov dword [ebp - 0x24], 0x9f3c5a4a
mov dword [ebp - 0xc], eax
pop edi
jmp 0x100012f6
mov dword [ebp - 8], 0x8b10
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x18], ecx
mov ecx, dword [ebp - 8]
cmp dword [ebp - 0xc], eax
je 0x10001210
mov dword [ebp - 0x14], 0xd65121ac
inc dword [ebp - 0x14]
jmp 0x100012f3
mov dword [ebp - 0x1c], 7
mov dword [ebp - 4], eax
jmp 0x1000122a
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x44], 0x13281d21
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x1000121c
mov dword [ebp - 8], eax
jmp 0x100012e7
mov byte [ebp - 0x26], al
cmp byte [ebp - 0x26], 0
je 0x10001249
call dword [sym.imp.USER32.dll_GetCapture]
xor eax, eax
mov dword [ebp - 0x18], eax
jmp 0x100012db
mov dword [ebp - 4], 0x858f9c25
mov dword [ebp - 0x14], edi
mov dword [ebp - 4], edi
cmp dword [ebp - 4], eax
jl 0x100012d8
mov dword [ebp - 0x20], 0xfffffffa
xor ebx, ebx
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov edx, dword [ebp + ecx*4 - 0x44]
mov ecx, dword [ebp - 8]
add edx, 0x1c2b8ad2
mov ecx, dword [ebp + ecx*4 - 0x44]
add ecx, edx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x40]
mov edx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
cmp edx, ecx
setle bl
cmp ebx, dword [ebp - 0x1c]
jg 0x100012b4
mov ecx, dword [ebp - 8]
cmp dword [ebp + ecx*4 - 0x44], eax
jne 0x100012b4
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp + ecx*4 - 0x44]
mov ecx, dword [ebp - 8]
xor ebx, ebx
mov ecx, dword [ebp + ecx*4 - 0x44]
test ecx, ecx
mov ecx, dword [ebp - 0x20]
setg bl
xor edx, edx
cmp ebx, ecx
mov ecx, dword [ebp - 4]
setle dl
mov dword [ebp + ecx*4 - 0x44], edx
dec dword [ebp - 4]
jns 0x10001263
inc dword [ebp - 0x18]
cmp dword [ebp - 0x18], edi
jle 0x10001251
inc dword [ebp - 8]
cmp dword [ebp - 8], edi
jle 0x10001238
mov ecx, dword [ebp - 0x1c]
dec dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0xfffffff5
jge 0x100011ec
dec dword [ebp - 0x24]
lea ecx, [ebp - 0x94]
movzx eax, byte [ebp - 0x25]
push 4
pop ebx
add eax, ebx
mov dword [ebp - 0xc], 0x4bc662a2
mov dword [ebp - 0x18], 0x6371
mov dword [ebp - 4], 0x270e7ad5
push ebx
mov dword [ebp - 8], eax
call fcn.10001cd0
mov dword [ebp - 0x14], edi
mov eax, 0x657a
mov dword [ebp - 0x1c], 0x85d0
mov dword [ebp - 0x20], 0xfffffffe
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x64], eax
mov dword [ebp - 0x60], eax
mov dword [ebp - 0x5c], eax
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x1000136c
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0x94]
mov dword [ecx + edx*4], 0x223dec99
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x10001359
cmp dword [ebp - 0xc], eax
jne 0x100013ab
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0xc]
jne 0x10001388
mov edx, edi
cmp dword [ebp - 0xc], eax
jne 0x1000138a
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
imul ecx, edx
xor edx, edx
sub esi, ecx
mov ecx, dword [ebp - 0xc]
cmp esi, ecx
setne dl
cmp edx, dword [ebp - 0x18]
jle 0x100013ab
mov esi, eax
cmp dword [ebp - 0x18], eax
je 0x100013ad
mov esi, edi
mov ecx, dword [ebp - 0xc]
xor edx, edx
cmp esi, ecx
setge dl
xor ebx, ebx
add edx, 0xbfc3
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp ecx, edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0x94]
setne bl
xor edx, edx
cmp ebx, ecx
setg dl
xor ecx, ecx
test edx, edx
mov dword [edi + 8], edx
sete cl
cmp ecx, dword [ebp - 0x18]
jg 0x100013f8
cmp dword [edi + 8], eax
je 0x100013f8
xor ebx, ebx
mov ecx, eax
inc ebx
jmp 0x100013fd
xor ebx, ebx
inc ebx
mov ecx, ebx
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 4], eax
jne 0x10001464
mov ecx, dword [ebp - 0x94]
xor ebx, ebx
mov edx, dword [ebp - 0x20]
mov esi, dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
cmp ecx, edx
setle bl
xor ecx, ecx
imul ebx, dword [ebp - 0x64]
cmp ebx, esi
setg cl
cmp ecx, esi
jne 0x10001434
cmp dword [ebp - 0x68], eax
jne 0x10001434
xor ebx, ebx
inc ebx
jmp 0x10001439
xor ebx, ebx
inc ebx
mov eax, ebx
imul eax, eax, 0x1153
xor edx, edx
sub eax, 0x1153
cmp eax, dword [edi + 8]
mov eax, dword [ebp - 0x1c]
setl dl
xor ecx, ecx
cmp eax, edx
setne cl
imul eax, ecx, 0x5412
cmp ebx, eax
sbb eax, eax
inc eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x64]
lea ecx, [ebp - 0x94]
mov dword [ebp - 0x14], 0xbc6c2db6
call fcn.10001d53
mov edi, dword [ebp - 8]
lea ecx, [ebp - 0xbc]
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 8], 0xda62
add eax, edi
mov dword [ebp - 0x14], 0x78e10a3b
mov dword [ebp - 0x18], 0x656540f2
mov dword [ebp - 0x20], eax
xor eax, eax
mov dword [ebp - 0x14], 0xa4a603d2
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 5
mov dword [ebp - 0x14], 0xffffffff
push 4
call fcn.10001cd0
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x100014da
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xbc]
mov dword [ecx + edx*4], 0x93c34f97
inc dword [ebp - 4]
cmp dword [ebp - 4], 4
jl 0x100014c7
cmp dword [ebp - 8], 0x8a60
jg 0x100014f1
cmp dword [ebp - 8], eax
jne 0x100014f1
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp - 8]
jle 0x10001503
mov ecx, eax
cmp dword [ebp - 8], eax
je 0x10001505
mov ecx, ebx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
sub ecx, dword [ebp - 8]
neg ecx
sbb ecx, ecx
inc ecx
cmp ecx, dword [ebp - 0x18]
jg 0x1000152e
mov esi, ebx
cmp dword [ebp - 8], eax
jne 0x10001530
mov esi, eax
mov ecx, dword [ebp - 8]
xor edx, edx
cmp esi, ecx
push 4
setl dl
cmp edx, 0x8deb256c
pop esi
sbb ecx, ecx
neg ecx
mov dword [ebp - 0x14], ecx
mov ecx, dword [ebp - 0x14]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov dword [ebp - 0x14], eax
lea ecx, [ebp - 0xbc]
mov dword [ebp - 0x14], 0xfffffff7
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x14], 0x49562184
mov dword [ebp - 0x14], esi
mov dword [ebp - 0x14], 0xffffffff
inc dword [ebp - 0x14]
call fcn.10001d53
mov dword [ebp - 0x18], ebx
add edi, 0x18
mov dword [ebp - 0x14], 2
xor eax, eax
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], eax
jmp 0x100015ab
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x48], 0xffffffff
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x1000159d
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], eax
jl 0x10001666
mov dword [ebp - 8], 0xf951fe77
mov dword [ebp - 0x14], 0x3589fe57
mov dword [ebp - 4], eax
jmp 0x100015d9
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x58], eax
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x100015cf
mov dword [ebp - 8], eax
cmp dword [ebp - 8], eax
jl 0x1000165d
mov dword [ebp - 0x14], 0xfffffffe
mov dword [ebp - 0x14], eax
mov dword [ebp - 4], eax
jmp 0x10001603
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x3c], 0x8ef6b8f3
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x100015f5
mov dword [ebp - 0x3c], eax
cmp dword [ebp - 0x3c], eax
jl 0x10001658
mov dword [ebp - 0xc], 0xf30836b1
mov dword [ebp - 0xc], eax
jmp 0x1000164e
mov dword [ebp - 4], 0xa61eefb6
mov dword [ebp - 0x14], 0x35b263d1
mov dword [ebp - 0x14], 0xb051af7f
mov dword [ebp - 0x14], 0xffffffff
mov dword [ebp - 4], eax
jmp 0x10001646
mov dword [ebp - 0x14], ebx
dec dword [ebp - 0x14]
inc dword [ebp - 4]
cmp dword [ebp - 4], eax
jle 0x1000163d
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jle 0x1000161c
dec dword [ebp - 0x3c]
jns 0x10001610
dec dword [ebp - 8]
jns 0x100015e6
dec dword [ebp - 0x18]
jns 0x100015bc
cmp dword [ebp - 0x48], eax
je 0x1000169b
cmp dword [ebp - 0x48], esi
ja 0x1000167a
mov dword [ebp - 0x18], eax
mov ecx, eax
cmp dword [ebp - 0x18], eax
je 0x1000167c
mov ecx, ebx
xor ebx, ebx
cmp ecx, 7
mov ecx, dword [ebp - 0x48]
sete bl
xor edx, edx
cmp ebx, ecx
setg dl
xor ebx, ebx
mov dword [ebp - 0x14], edx
inc ebx
cmp dword [ebp - 0x14], eax
je 0x1000169b
mov eax, ebx
imul eax, eax, 0x3a7e
lea ecx, [ebp - 0xa0]
push esi
mov dword [ebp - 0x14], eax
movzx eax, byte [ebp - 0xd]
add edi, eax
mov dword [ebp - 0xc], 0x4bc662a2
mov dword [ebp - 0x18], 0x6371
mov dword [ebp - 4], 0x270e7ad5
mov dword [ebp - 8], edi
call fcn.10001cd0
mov dword [ebp - 0x14], ebx
mov eax, 0x657a
mov dword [ebp - 0x24], 0x85d0
mov dword [ebp - 0x1c], 0xfffffffe
mov dword [ebp - 0x88], eax
mov dword [ebp - 0x84], eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x7c], eax
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x10001710
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xa0]
mov dword [ecx + edx*4], 0x223dec99
inc dword [ebp - 4]
cmp dword [ebp - 4], esi
jl 0x100016fd
cmp dword [ebp - 0xc], eax
jne 0x1000174f
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
cmp ecx, dword [ebp - 0xc]
jne 0x1000172c
mov edx, ebx
cmp dword [ebp - 0xc], eax
jne 0x1000172e
mov edx, eax
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
imul ecx, edx
xor edx, edx
sub esi, ecx
mov ecx, dword [ebp - 0xc]
cmp esi, ecx
setne dl
cmp edx, dword [ebp - 0x18]
jle 0x1000174f
mov esi, eax
cmp dword [ebp - 0x18], eax
je 0x10001751
mov esi, ebx
mov ecx, dword [ebp - 0xc]
xor edx, edx
cmp esi, ecx
setge dl
xor ebx, ebx
add edx, 0xbfc3
mov dword [ebp - 4], edx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp ecx, edx
mov ecx, dword [ebp - 0x18]
mov edi, dword [ebp - 0xa0]
setne bl
xor edx, edx
cmp ebx, ecx
setg dl
xor ecx, ecx
test edx, edx
mov dword [edi + 8], edx
sete cl
cmp ecx, dword [ebp - 0x18]
jg 0x1000179c
cmp dword [edi + 8], eax
je 0x1000179c
xor ebx, ebx
mov ecx, eax
inc ebx
jmp 0x100017a1
xor ebx, ebx
inc ebx
mov ecx, ebx
mov dword [ebp - 0x14], ecx
cmp dword [ebp - 4], eax
jne 0x1000180e
mov ecx, dword [ebp - 0xa0]
xor ebx, ebx
mov edx, dword [ebp - 0x1c]
mov esi, dword [ecx + 0xc]
mov ecx, dword [ebp - 4]
cmp ecx, edx
setle bl
xor ecx, ecx
imul ebx, dword [ebp - 0x84]
cmp ebx, esi
setg cl
cmp ecx, esi
jne 0x100017de
cmp dword [ebp - 0x88], eax
jne 0x100017de
xor ebx, ebx
inc ebx
jmp 0x100017e3
xor ebx, ebx
inc ebx
mov eax, ebx
imul eax, eax, 0x1153
xor edx, edx
sub eax, 0x1153
cmp eax, dword [edi + 8]
mov eax, dword [ebp - 0x24]
setl dl
xor ecx, ecx
cmp eax, edx
setne cl
imul eax, ecx, 0x5412
cmp ebx, eax
sbb eax, eax
inc eax
mov dword [edi + 8], eax
mov eax, dword [ebp - 0x84]
lea ecx, [ebp - 0xa0]
mov dword [ebp - 0x14], 0xbc6c2db6
call fcn.10001d53
mov eax, dword [ebp - 0x20]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax]
call fcn.10001190
push dword [ebp - 0x58]
mov edi, eax
mov dword [ebp - 0xc], ebx
mov eax, dword [ebp - 8]
lea ecx, [ebp - 0xbc]
add eax, dword [ebp - 0x2c]
xorps xmm0, xmm0
push ecx
lea ecx, [ebp - 0xcc]
mov dword [ebp - 0x14], eax
xor eax, eax
mov dword [ebp - 0x24], edi
push ecx
push eax
lea ecx, [ebp - 0x54]
mov dword [ebp - 0x54], eax
movdqu xmmword [ebp - 0xcc], xmm0
mov dword [ebp - 0x50], eax
mov dword [ebp - 0x4c], eax
call fcn.10001db9
xor eax, eax
mov dword [ebp - 4], 0xcb667f5a
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x18
jle 0x10001944
mov dword [ebp - 0x1c], 0x812c005d
mov dword [ebp - 0x1c], 0xd9532955
mov dword [ebp - 4], eax
jmp 0x100018ae
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x38], 0xfe1ca29
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x100018a0
mov dword [ebp - 0x34], eax
cmp dword [ebp - 0x34], 3
jg 0x10001934
mov edi, dword [ebp - 0x54]
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x1c], 8
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x1c], ebx
xor ebx, ebx
mov edx, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0xc]
cmp edx, ecx
setle bl
xor ecx, ecx
cmp dword [edi + 8], ebx
setge cl
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 0x34]
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x1c], ecx
mov esi, dword [ebp - 0x34]
mov edx, dword [ebp - 0x54]
mov ecx, dword [ebp - 0x1c]
cmp ecx, dword [edx + esi*4]
jne 0x10001914
cmp dword [ebp - 0x34], eax
je 0x10001914
xor ebx, ebx
inc ebx
mov ecx, ebx
jmp 0x10001919
xor ebx, ebx
mov ecx, eax
inc ebx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x34]
add ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
mov dword [ebp - 0x1c], ecx
inc dword [ebp - 0x34]
cmp dword [ebp - 0x34], 3
jle 0x100018c0
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 0x18
jg 0x1000188d
mov edi, dword [ebp - 0x24]
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], al
je 0x1000195d
push 0x86b
push eax
push 0x1851
call dword [sym.imp.USER32.dll_GetWindowTextA]
lea ecx, [ebp - 0x54]
call fcn.10001d53
mov eax, dword [ebp + 8]
mov dword [eax], edi
xor eax, eax
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], 0xa2215256
mov dword [ebp - 4], eax
jmp 0x10001985
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0x30], ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], ebx
jl 0x1000197b
mov dword [ebp - 8], ebx
mov esi, ebx
cmp dword [ebp - 8], eax
jne 0x10001996
mov esi, eax
imul edx, dword [ebp - 8], 0xfffffffc
xor ebx, ebx
mov ecx, dword [ebp - 8]
cmp edx, ecx
setg bl
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], eax
jne 0x100019b5
cmp dword [ebp - 8], eax
jne 0x100019b5
mov edx, eax
jmp 0x100019b8
xor edx, edx
inc edx
xor ecx, ecx
cmp esi, edx
setg cl
xor edx, edx
test ecx, ecx
setns dl
imul edx, dword [ebp - 8]
neg edx
mov dword [ebp - 8], edx
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x30]
cmp dword [ebp - 0x30], 0x5f88
jg 0x100019ea
cmp dword [ebp - 0x30], eax
je 0x100019ea
xor esi, esi
inc esi
mov ecx, esi
jmp 0x100019ef
xor esi, esi
mov ecx, eax
inc esi
mov dword [ebp - 0x30], ecx
mov dword [ebp - 8], eax
cmp dword [ebp - 8], eax
jl 0x10001a59
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x10001a13
push eax
push 0x1096
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
xor eax, eax
mov dword [ebp - 0xc], eax
jmp 0x10001a4f
mov dword [ebp - 0x18], 9
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], eax
jl 0x10001a4c
mov dword [ebp - 4], 0x15fb26c
mov dword [ebp - 4], eax
cmp dword [ebp - 4], eax
jl 0x10001a47
mov ecx, dword [ebp - 0xc]
cmp dword [ebp + ecx*4 - 0x30], eax
jne 0x10001a47
mov ecx, dword [ebp - 4]
dec dword [ebp - 4]
jns 0x10001a36
dec dword [ebp - 0x18]
jns 0x10001a27
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], eax
jle 0x10001a18
dec dword [ebp - 8]
jns 0x100019fa
mov edx, dword [ebp - 0x20]
shr edi, 2
inc edi
mov dword [ebp - 0x24], edi
mov ecx, dword [edx]
mov dword [ebp - 0xb0], ecx
mov ecx, dword [edx + 4]
mov dword [ebp - 0xac], ecx
mov ecx, dword [edx + 8]
mov dword [ebp - 0xa8], ecx
mov ecx, dword [edx + 0xc]
mov dword [ebp - 0xa4], ecx
mov dword [ebp - 4], eax
mov dword [ebp - 0x20], eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x10001a9d
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
xor eax, eax
mov dword [ebp - 4], eax
jmp 0x10001aac
mov dword [ebp - 0x20], 0xfffffffc
inc dword [ebp - 4]
cmp dword [ebp - 4], 0x1a
jl 0x10001aa2
cmp dword [ebp - 0x24], 0
mov edi, eax
jbe 0x10001cc9
mov ecx, dword [ebp - 0x2c]
sub ecx, dword [ebp - 0x14]
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 0x41449c9f
mov dword [ebp - 0x18], 4
mov dword [ebp - 0x1c], 0xffffffff
mov dword [ebp - 8], 0x14
jmp 0x10001b1f
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x10001b04
push eax
push 0x1d50
push 0xfda
call dword [sym.imp.USER32.dll_SetDlgItemTextA]
xor eax, eax
mov byte [ebp - 0xd], al
cmp byte [ebp - 0xd], 0
je 0x10001b1c
push 0x960
push eax
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
xor eax, eax
dec dword [ebp - 8]
cmp dword [ebp - 8], 0xfffffffa
jne 0x10001ae8
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x18]
mov ecx, dword [ebp - 8]
mov ecx, dword [ebp - 0x18]
cmp dword [ebp - 0x18], 5
jae 0x10001b47
mov edx, eax
cmp dword [ebp - 8], eax
je 0x10001b49
mov edx, esi
xor ebx, ebx
mov dword [ebp - 0xc], 0xfffffffb
mov ecx, dword [ebp - 8]
cmp edx, ecx
mov ecx, dword [ebp - 0x18]
sete bl
xor edx, edx
cmp ebx, ecx
mov ecx, dword [ebp - 0x1c]
setne dl
xor ebx, ebx
cmp edx, 0xfffffffa
setne bl
xor edx, edx
cmp ebx, ecx
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 8]
setle dl
sub esi, ecx
mov ecx, dword [ebp - 8]
neg esi
mov dword [ebp - 0x20], edx
sbb esi, esi
xor edx, edx
inc esi
cmp esi, ecx
setne dl
xor esi, esi
inc esi
sub edx, dword [ebp - 0x20]
je 0x10001c3e
mov dword [ebp - 8], esi
mov dword [ebp - 4], 0xfffffff6
mov dword [ebp - 0x20], 0xf60700c0
cmp dword [ebp - 0xc], eax
je 0x10001c36
mov dword [ebp - 8], 0xfffffffd
mov ecx, dword [ebp - 8]
dec ecx
je 0x10001bca
mov ecx, esi
cmp dword [ebp - 8], eax
jne 0x10001bcc
mov ecx, eax
mov dword [ebp - 8], 6
xor ebx, ebx
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp - 0x1c]
sub ecx, 0xffa8
imul edx, ecx, 0x5019
mov ecx, dword [ebp - 4]
cmp edx, ecx
setne bl
mov dword [ebp - 0xc], ebx
xor ebx, ebx
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
cmp ecx, edx
setne bl
cmp dword [ebp - 8], ebx
jle 0x10001c0b
mov edx, esi
cmp dword [ebp - 4], eax
jne 0x10001c0d
mov edx, eax
mov ecx, dword [ebp - 4]
add edx, 0xad11748e
xor ebx, ebx
cmp edx, ecx
mov ecx, dword [ebp - 0x18]
setl bl
xor edx, edx
sub ebx, 0xfffc
cmp ebx, ecx
setge dl
mov dword [ebp - 4], edx
mov ecx, dword [ebp - 4]
mov ecx, dword [ebp - 0x20]
mov dword [ebp - 0x20], esi
mov dword [ebp - 8], eax
jmp 0x10001c93
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x78], esi
mov dword [ebp - 0x74], esi
mov dword [ebp - 0x70], esi
mov dword [ebp - 0x6c], esi
mov dword [ebp - 4], eax
jmp 0x10001c63
mov ecx, dword [ebp - 4]
mov dword [ebp + ecx*4 - 0xd4], 0x55375bb7
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x10001c52
cmp dword [ebp - 0x20], eax
je 0x10001c7a
mov dword [ebp - 0x20], 0xb036c860
dec dword [ebp - 0x74]
jmp 0x10001c93
mov dword [ebp - 0xc], eax
jmp 0x10001c8d
mov eax, dword [ebp - 0xc]
mov dword [ebp + eax*4 - 0x78], 0x75ba
inc dword [ebp - 0xc]
cmp dword [ebp - 0xc], 4
jl 0x10001c7f
mov ebx, dword [ebp - 0x14]
mov edx, edi
and edx, 3
mov ecx, dword [ebx]
mov edx, dword [ebp + edx*4 - 0xb0]
call fcn.10001190
mov ecx, dword [ebp - 0x2c]
push 0
mov dword [ecx + ebx], eax
add ebx, 4
inc edi
mov dword [ebp - 0x14], ebx
pop eax
cmp edi, dword [ebp - 0x24]
jb 0x10001ac7
jmp 0x10001cc9
mov eax, dword [ebp + 8]
mov dword [eax], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret