Function at 0x100177d9
Capabilities:
Query or enumerate registry value
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x104
mov dword [ebp - 0x30], 0x3a68
mov dword [ebp - 0xb4], 0x100080cc
cmp dword [ebp - 0x30], 0x3dc0
jle 0x1001788a
and dword [ebp - 0x14], 0
jmp 0x1001780d
mov eax, dword [ebp - 0x14]
inc eax
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x3591
jge 0x1001787c
and dword [ebp - 0x1c], 0
jmp 0x10017823
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0x67cd
jge 0x1001787a
mov eax, dword [ebp - 0x14]
cdq
idiv dword [ebp - 0x1c]
mov eax, edx
cdq
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], edx
push dword [ebp - 0xbc]
push dword [ebp - 0xc0]
lea ecx, [ebp - 0xec]
call fcn.1001098e
pop ecx
pop ecx
mov dword [ebp - 0x70], eax
mov ecx, dword [ebp - 0x70]
call fcn.100208b8
push eax
call fcn.1006abb3
pop ecx
lea ecx, [ebp - 0xec]
call fcn.100208ae
jmp 0x1001781c
jmp 0x10017806
push 0
push 0
push 0
push 0
call dword [sym.imp.GDI32.dll_PolyPolygon]
movzx eax, byte [ebp + 0x3c]
test eax, eax
je 0x100179ab
lea eax, [ebp + 0xc]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp + 0x28]
mov dword [ebp - 0x90], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x2c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0xd4], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x58], eax
mov eax, dword [ebp - 0x88]
movzx eax, byte [eax]
test eax, eax
je 0x10017903
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0xb0], eax
mov eax, dword [ebp - 0xb0]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x48]
movzx eax, byte [eax]
test eax, eax
je 0x100178fe
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x100179a6
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x98], eax
mov eax, dword [ebp - 0x50]
mov dword [ebp - 0x60], eax
mov eax, dword [ebp - 0xd4]
mov dword [ebp - 0xb8], eax
mov eax, dword [ebp - 0x58]
mov dword [ebp - 0x68], eax
mov eax, dword [ebp - 0x98]
mov dword [ebp - 0xa8], eax
mov eax, dword [ebp - 0x60]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0xb8]
mov dword [ebp - 0xa0], eax
mov eax, dword [ebp - 0x68]
mov dword [ebp - 0x78], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0xa0]
mov eax, dword [eax]
mov dword [ebp - 0xd0], eax
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x20]
mov dword [ecx], eax
mov eax, dword [ebp - 0x34]
cmp eax, dword [ebp - 0xd0]
jge 0x10017980
mov dword [ebp - 0x2c], 1
jmp 0x10017984
and dword [ebp - 0x2c], 0
mov eax, dword [ebp - 0x78]
mov eax, dword [eax]
cmp dword [ebp - 0x2c], eax
jle 0x10017997
mov dword [ebp - 0x24], 1
jmp 0x1001799b
and dword [ebp - 0x24], 0
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0x24]
mov dword [eax], ecx
jmp 0x10017b92
mov eax, dword [ebp + 0x34]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x38], eax
lea eax, [ebp + 0x30]
mov dword [ebp - 0x80], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x94], eax
mov eax, dword [ebp + 0x38]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0xc4], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x8c], eax
mov eax, dword [ebp - 0x80]
movzx eax, byte [eax]
test eax, eax
je 0x10017b2f
mov eax, dword [ebp - 0xc4]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x64], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x74], eax
mov eax, dword [ebp - 0x64]
mov dword [ebp - 0x6c], eax
mov eax, dword [ebp - 0x18]
mov dword [eax], 0
jmp 0x10017a35
mov eax, dword [ebp - 0x18]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x18]
mov dword [ecx], eax
mov eax, dword [ebp - 0x18]
cmp dword [eax], 2
jg 0x10017a77
mov eax, dword [ebp - 0x10]
mov dword [eax], 0
jmp 0x10017a53
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
cmp dword [eax], 1
jg 0x10017a75
mov eax, dword [ebp - 0x6c]
mov eax, dword [eax]
add eax, 3
push eax
mov ecx, dword [ebp - 0x74]
call fcn.10020c90
cmp dword [eax], 0
je 0x10017a73
jmp 0x10017a75
jmp 0x10017a48
jmp 0x10017a2a
mov dword [ebp - 0x28], 0x7579
mov dword [ebp - 0x84], 0x100080e8
cmp dword [ebp - 0x28], 0x78ba
jle 0x10017b18
push 0
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
and dword [ebp - 8], 0
jmp 0x10017aaa
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x1678
jge 0x10017b18
and dword [ebp - 0xc], 0
jmp 0x10017ac0
mov eax, dword [ebp - 0xc]
inc eax
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x76a2
jge 0x10017b16
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0xc]
shl eax, cl
cdq
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], edx
push dword [ebp - 0xc8]
push dword [ebp - 0xcc]
lea ecx, [ebp - 0x104]
call fcn.1001098e
pop ecx
pop ecx
mov dword [ebp - 0x7c], eax
mov ecx, dword [ebp - 0x7c]
call fcn.100208b8
push eax
call fcn.1006abb3
pop ecx
lea ecx, [ebp - 0x104]
call fcn.100208ae
jmp 0x10017ab9
jmp 0x10017aa3
cmp dword [ebp - 0x28], 0x7296
jge 0x10017b2d
push dword [ebp - 0x84]
call fcn.1006abb3
pop ecx
jmp 0x10017b92
mov eax, dword [ebp - 0x8c]
mov dword [ebp - 0x9c], eax
mov eax, dword [ebp - 0x94]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x9c]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0xa4]
mov dword [ebp - 0xac], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10017b72
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 3
jge 0x10017b92
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0xac]
call fcn.10020c90
mov dword [eax], 0xde9bf9f
jmp 0x10017b67
cmp dword [ebp - 0x30], 0x3866
jge 0x10017ba7
push dword [ebp - 0xb4]
call fcn.1006abb3
pop ecx
mov esp, ebp
pop ebp
ret