Function at 0x4151f0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x42bd04
mov eax, dword fs:[0]
push eax
sub esp, 0x110
mov eax, dword [0x436650]
xor eax, esp
mov dword [esp + 0x108], eax
push ebx
push esi
push edi
mov eax, dword [0x436650]
xor eax, esp
push eax
lea eax, [esp + 0x120]
mov dword fs:[0], eax
lea eax, [esp + 0xac]
push eax
call fcn.00408670
xor esi, esi
mov dword [esp + 0x128], esi
lea eax, [esp + 0x1c]
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], esi
mov dword [esp + 0x30], esi
mov dword [esp + 0x34], esi
mov dword [esp + 0x38], esi
mov dword [esp + 0x3c], esi
mov dword [esp + 0x40], esi
mov dword [esp + 0x44], esi
mov dword [esp + 0x4c], esi
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], esi
mov dword [esp + 0x58], esi
call fcn.00407be0
lea edi, [esp + 0x1c]
mov byte [esp + 0x128], 1
call fcn.00407a70
lea ecx, [esp + 0x1c]
mov edi, eax
call fcn.004077b0
mov dword [esp + 0x18], eax
mov eax, dword [0x4388e0]
cmp eax, esi
jne 0x4152e8
push 0x160
call fcn.00416497
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x128], 2
cmp eax, esi
je 0x4152d9
push eax
call fcn.00411560
jmp 0x4152db
xor eax, eax
mov byte [esp + 0x128], 1
mov dword [0x4388e0], eax
push 0x400
mov dword [eax + 0x158], 0x4151e0
mov dword [eax + 0x15c], esi
call fcn.0041576e
add esp, 4
push 0x400
mov ebx, eax
push esi
push ebx
call fcn.0041cf90
mov eax, edi
add esp, 0xc
mov esi, eax
lea ebx, [ebx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415320
sub eax, esi
lea edi, [ebx - 1]
lea esp, [esp]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x415330
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
lea esp, [esp]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415350
mov cx, word [0x4312f0]
mov eax, dword [esp + 0x18]
mov word [edi], cx
mov esi, eax
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x415368
sub eax, esi
lea edi, [ebx - 1]
mov cl, byte [edi + 1]
inc edi
test cl, cl
jne 0x415374
mov ecx, eax
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea edi, [ebx - 1]
lea ecx, [ecx]
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x415390
mov dx, word [0x4312f0]
mov word [edi], dx
lea eax, [ebx - 1]
mov cl, byte [eax + 1]
inc eax
test cl, cl
jne 0x4153a5
mov ecx, dword [str.SoftInfoConfig.cfg]
mov dword [eax], ecx
mov edx, dword [0x432004]
mov dword [eax + 4], edx
mov ecx, dword [0x432008]
mov dword [eax + 8], ecx
mov edx, dword [0x43200c]
mov dword [eax + 0xc], edx
mov cx, word [0x432010]
mov word [eax + 0x10], cx
mov dl, byte [0x432012]
mov byte [eax + 0x12], dl
mov eax, ebx
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x4153f0
sub eax, edx
push eax
push ebx
lea ecx, [esp + 0xe4]
call fcn.00403140
lea eax, [esp + 0xac]
push eax
call fcn.00409110
mov eax, dword [0x4388e0]
test eax, eax
jne 0x415451
push 0x160
call fcn.00416497
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x128], 3
test eax, eax
je 0x415442
push eax
call fcn.00411560
jmp 0x415444
xor eax, eax
mov byte [esp + 0x128], 1
mov dword [0x4388e0], eax
push str.soft_id
mov ecx, str.config
lea edx, [esp + 0xb0]
mov esi, eax
call fcn.00409710
test eax, eax
je 0x415488
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x415472
sub ecx, edi
push ecx
push eax
lea ecx, [esi + 0x80]
call fcn.00403140
mov eax, dword [0x4388e0]
test eax, eax
jne 0x4154c5
push 0x160
call fcn.00416497
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x128], 4
test eax, eax
je 0x4154b6
push eax
call fcn.00411560
jmp 0x4154b8
xor eax, eax
mov byte [esp + 0x128], 1
mov dword [0x4388e0], eax
push str.channel_id
mov ecx, str.config
lea edx, [esp + 0xb0]
mov esi, eax
call fcn.00409710
test eax, eax
je 0x4154fc
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4154e6
sub ecx, edi
push ecx
push eax
lea ecx, [esi + 0x9c]
call fcn.00403140
mov eax, dword [0x4388e0]
test eax, eax
jne 0x415539
push 0x160
call fcn.00416497
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x128], 5
test eax, eax
je 0x41552a
push eax
call fcn.00411560
jmp 0x41552c
xor eax, eax
mov byte [esp + 0x128], 1
mov dword [0x4388e0], eax
push str.tj_addr
mov ecx, str.config
lea edx, [esp + 0xb0]
mov esi, eax
call fcn.00409710
test eax, eax
je 0x415576
mov ecx, eax
lea edi, [ecx + 1]
lea ebx, [ebx]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x415560
sub ecx, edi
push ecx
push eax
lea ecx, [esi + 0xd4]
call fcn.00403140
mov eax, dword [0x4388e0]
test eax, eax
jne 0x4155b3
push 0x160
call fcn.00416497
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x128], 6
test eax, eax
je 0x4155a4
push eax
call fcn.00411560
jmp 0x4155a6
xor eax, eax
mov byte [esp + 0x128], 1
mov dword [0x4388e0], eax
push str.version
mov ecx, str.config
lea edx, [esp + 0xb0]
mov esi, eax
call fcn.00409710
test eax, eax
je 0x4155ea
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x4155d4
sub ecx, edi
push ecx
push eax
lea ecx, [esi + 0xf0]
call fcn.00403140
mov eax, dword [0x4388e0]
test eax, eax
jne 0x415627
push 0x160
call fcn.00416497
add esp, 4
mov dword [esp + 0x14], eax
mov byte [esp + 0x128], 7
test eax, eax
je 0x415618
push eax
call fcn.00411560
jmp 0x41561a
xor eax, eax
mov byte [esp + 0x128], 1
mov dword [0x4388e0], eax
push str.tj_domain
mov ecx, str.config
lea edx, [esp + 0xb0]
mov esi, eax
call fcn.00409710
test eax, eax
je 0x41565e
mov ecx, eax
lea edi, [ecx + 1]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x415648
sub ecx, edi
push ecx
push eax
lea ecx, [esi + 0xb8]
call fcn.00403140
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
lea esi, [esp + 0x5c]
mov edi, eax
call fcn.004140b0
lea ecx, [esp + 0x90]
push ecx
mov byte [esp + 0x12c], 8
call fcn.004150d0
cmp dword [esp + 0xa4], 0x10
jb 0x41569e
mov edx, dword [esp + 0x90]
push edx
call fcn.0041643b
add esp, 4
push str.uninstall
push edi
mov dword [esp + 0xac], 0xf
mov dword [esp + 0xa8], 0
mov byte [esp + 0x98], 0
call fcn.00416cb0
add esp, 8
test eax, eax
je 0x4156da
lea eax, [esp + 0x5c]
push eax
call fcn.004148e0
jmp 0x4156f6
push str.install
push edi
call fcn.00416cb0
add esp, 8
test eax, eax
je 0x4156f6
lea ecx, [esp + 0x5c]
push ecx
call fcn.00414340
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov esi, 3
cmp byte [0x4388e8], 0
jne 0x415716
push 0x1388
call edi
dec esi
test esi, esi
jg 0x415701
lea edx, [esp + 0x5c]
push edx
mov byte [esp + 0x12c], 1
call fcn.004141b0
lea esi, [esp + 0x1c]
call fcn.00407ae0
lea ecx, [esp + 0xac]
mov dword [esp + 0x128], 0xffffffff
call fcn.004087e0
xor eax, eax
mov ecx, dword [esp + 0x120]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x108]
xor ecx, esp
call fcn.0041637f
mov esp, ebp
pop ebp
ret