Function at 0x10004130
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x12c
mov eax, dword [0x10023050]
xor eax, esp
mov dword [esp + 0x128], eax
mov eax, dword [ebp + 8]
mov edx, dword [0x10023afc]
push ebx
push esi
mov dword [esp + 0x10], eax
mov eax, dword [edx + 0xc]
push edi
mov ecx, 0x10023afc
call eax
mov edx, dword [0x10023afc]
add eax, 0x10
mov dword [esp + 0xc], eax
mov eax, dword [edx + 0xc]
mov ecx, 0x10023afc
call eax
add eax, 0x10
mov dword [esp + 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
test eax, eax
jne 0x10004190
xor ecx, ecx
jmp 0x1000419e
mov ecx, eax
lea esi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x10004195
sub ecx, esi
push eax
mov edi, ecx
lea eax, [esp + 0x14]
call fcn.10004760
lea edi, [esp + 0x10]
call fcn.100045c0
mov edi, dword [esp + 0x10]
cmp dword [edi - 0xc], 0
mov esi, dword [sym.imp.MSVCR90.dll__mbsstr]
jl 0x10004203
push str._REPAIR9527
push edi
call esi
add esp, 8
test eax, eax
je 0x100041e0
sub eax, edi
cmp eax, 0xffffffff
je 0x100041e0
push str.Res_b
jmp 0x10004208
cmp dword [edi - 0xc], 0
jl 0x10004203
push str._REPAIR9528
push edi
call esi
add esp, 8
test eax, eax
je 0x10004203
sub eax, edi
cmp eax, 0xffffffff
je 0x10004203
push str.res_t
jmp 0x10004208
push str.res_n
mov edi, 5
lea eax, [esp + 0x10]
call fcn.10004760
lea ecx, [esp + 0x18]
push ecx
call fcn.10001700
cmp dword [esp + 0xd8], 0
mov ebx, dword [esp + 0xc]
jne 0x10004252
lea esi, [esp + 0x18]
call fcn.10001ae0
test eax, eax
je 0x10004252
push 0
push 1
push 0x1f
mov edx, esi
push edx
call fcn.10001810
test eax, eax
je 0x10004252
call fcn.10001be0
mov esi, dword [esp + 0x14]
push esi
push 0x1001cb24
call dword [sym.imp.MSVCR90.dll__stricmp]
add esp, 8
test eax, eax
je 0x100042e0
push esi
push str.Product___s__Does_not_support
push 0
push 0x80
mov esi, 0x10023598
call fcn.10003ad0
add esp, 0x10
lea eax, [esp + 0x18]
push eax
call fcn.10001790
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100042ad
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x100042c9
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.100192c6
mov esp, ebp
pop ebp
ret
lea eax, [esp + 0xc]
push eax
push 0x20019
push 0
push str.SYSTEMCurrentControlSet_servicesRsRavMon
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x20], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10004394
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1000431b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [esp + 0xd8], 0
jne 0x1000434d
lea esi, [esp + 0x18]
call fcn.10001ae0
test eax, eax
je 0x1000434d
push 0
push 1
push 0x21
mov eax, esi
push eax
call fcn.10001810
test eax, eax
je 0x1000434d
lea esi, [esp + 0x18]
call fcn.10001be0
call fcn.10002790
test eax, eax
jne 0x10004418
call fcn.10002870
test eax, eax
je 0x100043f6
cmp dword [esp + 0xd8], 0
jne 0x1000444a
lea esi, [esp + 0x18]
call fcn.10001ae0
test eax, eax
je 0x1000444a
push 0
push 1
push 0x22
mov ecx, esi
push ecx
jmp 0x10004438
call fcn.10002050
test eax, eax
je 0x100043c2
cmp dword [esp + 0xd8], 0
jne 0x1000434d
lea esi, [esp + 0x18]
call fcn.10001ae0
test eax, eax
je 0x1000434d
push 0
push 1
push 0x20
mov ecx, esi
push ecx
jmp 0x1000433b
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [esp + 0xd8], 0
mov edi, eax
jne 0x1000434d
lea esi, [esp + 0x18]
call fcn.10001ae0
test eax, eax
je 0x1000434d
push edi
push 0
push 0x20
mov edx, esi
push edx
jmp 0x1000433b
cmp dword [esp + 0xd8], 0
jne 0x1000444a
lea esi, [esp + 0x18]
call fcn.10001ae0
test eax, eax
je 0x1000444a
push 0
push 0
push 0x22
mov edx, esi
push edx
jmp 0x10004438
cmp dword [esp + 0xd8], 0
jne 0x1000444a
lea esi, [esp + 0x18]
call fcn.10001ae0
test eax, eax
je 0x1000444a
push 0
push 1
push 0x23
mov eax, esi
push eax
call fcn.10001810
test eax, eax
je 0x1000444a
lea esi, [esp + 0x18]
call fcn.10001be0
lea ecx, [esp + 0x18]
push ecx
call fcn.10001790
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10004474
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
add ebx, 0xfffffff0
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10004490
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov ecx, dword [esp + 0x134]
pop edi
pop esi
pop ebx
xor ecx, esp
mov eax, 1
call fcn.100192c6
mov esp, ebp
pop ebp
ret