Function at 0x10029aa
Capabilities:
Accept command line arguments
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x10060b0]
sub esp, 0x3fc
push ebx
push esi
xor ebx, ebx
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
lea edi, [ebp - 0x3f8]
push 0x11
pop ecx
mov dword [ebp - 0x36c], eax
xor eax, eax
mov dword [ebp - 0x3fc], ebx
rep stosd dword es:[edi], eax
lea edi, [ebp - 0x364]
push 7
pop ecx
mov dword [ebp - 0x368], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x370], ebx
mov dword [ebp - 0x37c], ebx
mov edi, 0x105
mov dword [ebp - 0x384], ebx
mov dword [ebp - 0x378], edi
mov dword [ebp - 0x38c], ebx
mov dword [ebp - 0x374], ebx
mov dword [ebp - 0x394], ebx
mov dword [ebp - 0x398], ebx
mov dword [ebp - 0x390], ebx
call fcn.01001f8a
push esi
mov dword [ebp - 0x388], eax
mov dword [0x10060bc], esi
call fcn.01002822
cmp dword [ebp - 0x36c], ebx
mov dword [0x10060b8], eax
je 0x1002a72
push dword [ebp - 0x36c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
call esi
cmp eax, edi
jle 0x1002a72
push dword [ebp - 0x36c]
call esi
inc eax
mov dword [ebp - 0x378], eax
push dword [ebp - 0x378]
push 0x40
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
cmp eax, ebx
mov dword [ebp - 0x380], eax
je 0x100324f
push 0x10011bc
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1002b83
lea eax, [ebp - 0x36c]
push eax
push 0x20019
push ebx
push 0x1001470
push 0x80000001
mov dword [ebp - 0x36c], ebx
mov dword [ebp - 0x390], ebx
mov dword [ebp - 0x394], ebx
mov dword [ebp - 0x398], 4
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x1002b40
lea eax, [ebp - 0x390]
lea edi, [ebp - 0x398]
push edi
lea edi, [ebp - 0x394]
push edi
push eax
push ebx
push 0x1001464
push dword [ebp - 0x36c]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
or eax, eax
jne 0x1002b2c
cmp dword [ebp - 0x36c], ebx
je 0x100324f
push dword [ebp - 0x36c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x100324f
cmp dword [ebp - 0x36c], ebx
je 0x1002b40
push dword [ebp - 0x36c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
call fcn.010027cc
cmp eax, ebx
mov dword [0x10060b4], eax
je 0x1002b5f
push 0x1001230
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10060c0], eax
mov eax, dword [0x10060c0]
cmp eax, ebx
je 0x100324f
push ebx
push ebx
lea edi, [ebp - 0x37c]
push edi
lea ecx, [ebp - 0x384]
push ecx
call eax
jmp 0x100324f
call fcn.010018a8
push dword [0x10060b8]
push ebx
call fcn.01001b12
mov eax, dword [ebp - 0x380]
mov esi, dword [sym.imp.USER32.dll_LoadStringA]
mov byte [eax], bl
mov edi, 0x104
lea eax, [ebp - 0x244]
push edi
push eax
push 0x7d1
push dword [0x10060b8]
call esi
push edi
lea eax, [ebp - 0x348]
push eax
push 0x7da
push dword [0x10060b8]
call esi
push 0x1001184
push dword [ebp - 0x36c]
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1002c60
push ebx
push 0x1001454
call dword [sym.imp.USER32.dll_FindWindowA]
cmp eax, ebx
mov dword [ebp - 0x370], eax
je 0x1002c60
push eax
call dword [sym.imp.USER32.dll_IsZoomed]
neg eax
sbb eax, eax
and eax, 0xfffffffa
add eax, 9
or eax, 1
push eax
push dword [ebp - 0x370]
call dword [sym.imp.USER32.dll_ShowWindow]
mov esi, dword [sym.imp.USER32.dll_SetWindowPos]
push 3
push ebx
push ebx
push ebx
push ebx
push 0xffffffffffffffff
push dword [ebp - 0x370]
call esi
push 3
push ebx
push ebx
push ebx
push ebx
push 0xfffffffffffffffe
push dword [ebp - 0x370]
call esi
push dword [ebp - 0x370]
call dword [sym.imp.USER32.dll_SetActiveWindow]
push dword [ebp - 0x370]
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x100324f
cmp dword [ebp - 0x388], ebx
je 0x1002d03
push str.Address_Book_Viewer
call fcn.01001fde
push 0x65
push dword [0x10060b8]
mov edi, eax
mov eax, dword [0x10060bc]
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x1002053
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call dword [sym.imp.USER32.dll_RegisterClassW]
push ebx
push dword [0x10060bc]
push ebx
push ebx
push 0xc8
push 0x12c
push ebx
push ebx
push 0xcf0000
push edi
push edi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExW]
push edi
mov dword [ebp - 0x370], eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
jmp 0x1002d87
mov eax, dword [0x10060bc]
push 0x65
push dword [0x10060b8]
mov dword [ebp - 0x2c], 3
mov dword [ebp - 0x28], 0x100202d
mov dword [ebp - 0x24], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], eax
call dword [sym.imp.USER32.dll_LoadIconA]
push 0x7f00
push ebx
mov dword [ebp - 0x18], eax
call dword [sym.imp.USER32.dll_LoadCursorA]
push ebx
mov dword [ebp - 0x14], eax
call dword [sym.imp.GDI32.dll_GetStockObject]
mov dword [ebp - 0x10], eax
mov esi, str.Address_Book_Viewer
lea eax, [ebp - 0x2c]
push eax
mov dword [ebp - 0xc], esi
mov dword [ebp - 8], esi
call dword [sym.imp.USER32.dll_RegisterClassA]
push ebx
push dword [0x10060bc]
push ebx
push ebx
push 0xc8
push 0x12c
push ebx
push ebx
push 0xcf0000
push esi
push esi
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
mov dword [ebp - 0x370], eax
mov eax, dword [ebp - 0x370]
cmp eax, ebx
je 0x100324f
push dword [ebp - 0x36c]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenA]
mov dword [ebp - 0x364], eax
call esi
mov edi, dword [ebp - 0x380]
test eax, eax
je 0x1002de7
lea eax, [ebp - 0x374]
push dword [ebp - 0x378]
push edi
push eax
lea eax, [ebp - 0x244]
push eax
push dword [ebp - 0x36c]
push dword [0x10060b8]
push dword [ebp - 0x370]
call fcn.010022bc
or eax, eax
je 0x100324f
test byte [ebp - 0x374], 1
je 0x1002eaf
push edi
call fcn.01001f11
mov dword [ebp - 0x394], edi
mov dword [ebp - 0x35c], 0x400000
call fcn.010027cc
mov dword [0x10060b4], eax
cmp eax, ebx
je 0x1002e29
push 0x1001230
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x10060c0], eax
mov eax, dword [0x10060c0]
cmp eax, ebx
je 0x100324f
lea edi, [ebp - 0x358]
mov esi, 0x1001238
lea ecx, [ebp - 0x368]
mov dword [ebp - 0x368], 0x20
push ebx
push ecx
lea ecx, [ebp - 0x37c]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
push ecx
lea ecx, [ebp - 0x384]
push ecx
call eax
cmp eax, ebx
jge 0x1002f3b
cmp eax, 0x80040108
je 0x1002f24
cmp eax, 0x80040116
je 0x1002f1d
cmp eax, 0x8004011b
je 0x1002f16
cmp eax, 0x80070005
je 0x1002f0f
xor ecx, ecx
cmp eax, 0x8007000e
sete cl
dec ecx
and ecx, 0xfffffff7
add ecx, 0x7dc
mov eax, ecx
jmp 0x1002f29
test byte [ebp - 0x373], 1
je 0x1002ec3
mov dword [ebp - 0x390], edi
jmp 0x1002e0a
test byte [ebp - 0x373], 0x10
je 0x1002edd
push edi
call fcn.01001f11
mov dword [ebp - 0x398], edi
jmp 0x1002e0a
test byte [ebp - 0x372], 1
je 0x1002ef9
and byte [ebp - 0x35a], 0xbf
and byte [ebp - 0x372], 0xfe
jmp 0x1002e0a
push edi
call esi
test eax, eax
je 0x1002e00
mov dword [ebp - 0x360], edi
jmp 0x1002e0a
mov eax, 0x7dd
jmp 0x1002f29
mov eax, 0x7de
jmp 0x1002f29
mov eax, 0x7df
jmp 0x1002f29
mov eax, 0x7e1
push 0x104
lea ecx, [ebp - 0x140]
push ecx
push eax
jmp 0x100320d
mov ecx, dword [ebp - 0x384]
cmp ecx, ebx
je 0x100325f
mov eax, dword [ebp - 0x374]
cmp eax, ebx
jne 0x10030c9
mov esi, dword [ebp - 0x380]
push esi
mov dword [ebp - 0x378], ebx
mov dword [ebp - 0x38c], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
je 0x1002f9d
lea eax, [ebp - 0x38c]
lea edi, [ebp - 0x378]
push edi
push ebx
push eax
push ebx
push ebx
lea eax, [ebp - 0x348]
push eax
push 0x2500
mov dword [ebp - 0x378], esi
call dword [sym.imp.KERNEL32.dll_FormatMessageA]
lea edi, [ebp - 0x3fc]
lea edx, [ebp - 0x370]
mov ecx, dword [ebp - 0x38c]
or dword [ebp - 0x3c8], 0xffffffff
push ebx
push edi
mov dword [ebp - 0x3d8], ecx
mov eax, dword [ebp - 0x384]
push edx
mov dword [ebp - 0x3cc], ebx
mov dword [ebp - 0x3f4], 2
mov dword [ebp - 0x3dc], ebx
mov dword [ebp - 0x3e0], 0x1001f01
mov dword [ebp - 0x3e4], ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x54]
cmp eax, ebx
jge 0x100300b
push 0x104
lea eax, [ebp - 0x140]
push eax
push 0x7e0
jmp 0x100320d
lea eax, [ebp - 0x3b4]
cmp dword [ebp - 0x388], ebx
push ebx
push ebx
push ebx
push eax
je 0x1003073
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
jmp 0x1003068
cmp dword [ebp - 0x3e4], ebx
je 0x1003044
lea eax, [ebp - 0x3b4]
push eax
push dword [ebp - 0x370]
call dword [ebp - 0x3e4]
test eax, eax
jne 0x100305e
lea eax, [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
lea eax, [ebp - 0x3b4]
push ebx
push ebx
push ebx
push eax
call edi
test eax, eax
jne 0x1003025
jmp 0x100324f
mov edi, dword [sym.imp.USER32.dll_GetMessageA]
jmp 0x10030be
cmp dword [ebp - 0x3e4], ebx
je 0x100309a
lea eax, [ebp - 0x3b4]
push eax
push dword [ebp - 0x370]
call dword [ebp - 0x3e4]
test eax, eax
jne 0x10030b4
lea eax, [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x3b4]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
lea eax, [ebp - 0x3b4]
push ebx
push ebx
push ebx
push eax
call edi
test eax, eax
jne 0x100307b
jmp 0x100324f
test al, 0x10
je 0x10030e0
mov eax, dword [ebp - 0x37c]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x24]
jmp 0x100324f
test ah, 1
je 0x10031d9
call fcn.01001f8a
mov esi, eax
mov dword [ebp - 0x374], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
cmp esi, ebx
mov dword [ebp - 0x388], eax
je 0x1003184
mov dword [ebp - 0x36c], eax
lea edi, [ebp - 0x3c]
lea eax, [ebp - 0x3c]
push eax
mov esi, 0x1001444
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp dword [ebp - 0x388], ebx
mov dword [ebp - 0x378], eax
je 0x1003184
mov edx, dword [ebp - 0x36c]
cmp word [edx], bx
je 0x1003184
mov eax, dword [ebp - 0x378]
push 0x20
pop ecx
add eax, eax
cmp eax, ecx
ja 0x100314d
mov ecx, eax
mov esi, dword [ebp - 0x36c]
mov edx, ecx
shr ecx, 2
mov word [ebp + eax - 0x24], bx
lea edi, [ebp - 0x24]
rep movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x3c]
mov ecx, edx
push eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiW]
test eax, eax
je 0x10031bc
sub dword [ebp - 0x36c], 0xfffffffe
jne 0x1003131
mov edx, dword [ebp - 0x390]
mov eax, dword [ebp - 0x374]
neg eax
sbb eax, eax
mov ecx, dword [ebp - 0x37c]
mov esi, dword [ecx]
and eax, 0x80000000
push ebx
or eax, 8
push edx
push eax
push dword [ebp - 0x370]
push dword [ebp - 0x384]
push ecx
call dword [esi + 0x2c]
jmp 0x100324f
mov edx, dword [ebp - 0x378]
mov eax, dword [ebp - 0x36c]
lea eax, [eax + edx*2]
mov dword [ebp - 0x374], eax
cmp eax, ebx
je 0x1003184
mov edx, eax
jmp 0x1003190
test al, 1
je 0x1003237
push dword [ebp - 0x394]
mov eax, dword [ebp - 0x37c]
mov edx, dword [eax]
push ebx
push ecx
push eax
call dword [edx + 0x28]
cmp eax, ebx
jge 0x100324f
cmp eax, 0x80040113
je 0x100324f
push 0x104
lea eax, [ebp - 0x140]
push eax
push 0x7e3
push dword [0x10060b8]
call dword [sym.imp.USER32.dll_LoadStringA]
lea esi, [ebp - 0x244]
lea eax, [ebp - 0x140]
push 0x10
push esi
push eax
push dword [ebp - 0x370]
call dword [sym.imp.USER32.dll_MessageBoxA]
jmp 0x100324f
test ah, 0x10
je 0x100324f
push dword [ebp - 0x398]
push ecx
push dword [ebp - 0x37c]
push ebx
call fcn.01004509
mov eax, dword [ebp - 0x384]
cmp eax, ebx
je 0x100325f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [ebp - 0x37c]
cmp eax, ebx
je 0x100326f
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
cmp dword [ebp - 0x38c], ebx
je 0x1003283
push dword [ebp - 0x38c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov edi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [0x10060b4]
cmp eax, ebx
je 0x1003295
push eax
call edi
cmp dword [ebp - 0x380], ebx
je 0x10032a9
push dword [ebp - 0x380]
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov eax, dword [0x10060b8]
cmp eax, ebx
je 0x10032b5
push eax
call edi
pop edi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x3ac]
pop esi
pop ebx
call fcn.01004a2f
leave
ret 0x10