Function at 0x408130
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x53bf8d
mov eax, dword fs:[0]
push eax
sub esp, 0x3b0
mov eax, dword [0x58dd10]
xor eax, esp
mov dword [esp + 0x3a8], eax
push ebx
push esi
push edi
mov eax, dword [0x58dd10]
xor eax, esp
push eax
lea eax, [esp + 0x3c0]
mov dword fs:[0], eax
lea eax, [esp + 0x3c]
push eax
mov ebx, ecx
mov dword [esp + 0x40], 8
mov dword [esp + 0x44], 0xff
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
mov ecx, ebx
call fcn.00422cf7
push 2
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
xor edi, edi
push edi
call fcn.004250a5
add esp, 4
push 0xc
call fcn.004163d2
add esp, 4
mov dword [esp + 0x2c], eax
mov dword [esp + 0x3c8], edi
cmp eax, edi
je 0x4081cd
mov ecx, eax
call fcn.00425854
mov dword [esp + 0x34], eax
jmp 0x4081d1
mov dword [esp + 0x34], edi
push 0x5692f4
mov ecx, ebx
mov dword [esp + 0x3cc], 0xffffffff
call fcn.004259e3
lea ecx, [esp + 0x54]
push ecx
mov dword [esp + 0x58], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4082d8
mov edx, dword [esp + 0x58]
push edi
lea eax, [esp + 0x48]
push eax
lea ecx, [esp + 0x40]
mov esi, 1
push ecx
mov dword [ebx + 0xb8], edx
mov dword [esp + 0x50], esi
mov dword [esp + 0x54], edi
mov dword [esp + 0x58], edi
mov dword [esp + 0x5c], edi
call dword [sym.imp.gdiplus.dll_GdiplusStartup]
call fcn.00417006
xor ecx, ecx
cmp eax, edi
setne cl
cmp ecx, edi
jne 0x40824d
push 0x80004005
call fcn.00401a10
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [eax + 0x10]
mov dword [esp + 0x28], edi
mov dword [esp + 0x3c8], esi
mov eax, dword [edi - 8]
mov ecx, esi
sub ecx, dword [edi - 4]
mov esi, 0x105
sub eax, esi
or eax, ecx
jge 0x408285
push esi
lea ecx, [esp + 0x2c]
call fcn.00401870
mov edi, dword [esp + 0x28]
cmp dword [edi - 8], esi
jge 0x408294
push 0x80070057
call fcn.00401a10
push 0x104
xor ecx, ecx
push edi
mov dword [edi - 0xc], esi
push ecx
mov word [edi + 0x20a], cx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x4082fe
lea eax, [edi - 0x10]
mov dword [esp + 0x3c8], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4082d8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x3c0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3a8]
xor ecx, esp
call fcn.0051651d
mov esp, ebp
pop ebp
ret
mov eax, dword [edi - 8]
push eax
push edi
call fcn.00516a55
add esp, 8
test eax, eax
js 0x40828a
cmp eax, dword [edi - 8]
jg 0x40828a
xor ecx, ecx
push 0x5c
mov dword [edi - 0xc], eax
push edi
mov word [edi + eax*2], cx
call fcn.005169fd
add esp, 8
test eax, eax
jne 0x408339
or esi, 0xffffffff
jmp 0x40833f
sub eax, edi
sar eax, 1
mov esi, eax
push esi
lea edx, [esp + 0x30]
push edx
lea ecx, [esp + 0x30]
call fcn.00404870
push 1
push 0x568e50
lea ecx, [esp + 0x34]
mov byte [esp + 0x3d0], 2
call fcn.00408ff0
mov eax, dword [edi - 0xc]
sub eax, esi
dec eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x30]
call fcn.004047f0
mov byte [esp + 0x3c8], 3
mov esi, dword [esp + 0x18]
push 0x2e
push esi
call fcn.005169fd
add esp, 8
test eax, eax
je 0x4083e8
sub eax, esi
sar eax, 1
cmp eax, 0xffffffff
je 0x4083e8
push eax
lea ecx, [esp + 0x24]
push ecx
lea ecx, [esp + 0x20]
call fcn.00404870
push eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3cc], 4
call fcn.00402d70
mov byte [esp + 0x3c8], 3
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4083e8
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x28]
call fcn.00402e50
lea ecx, [esp + 0x24]
mov byte [esp + 0x3c8], 5
call fcn.00408bd0
lea edx, [esp + 0x24]
push str.INSTALL
push edx
call fcn.00408f00
add esp, 8
test al, al
jne 0x40843a
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x24], esp
mov ecx, esp
push eax
call fcn.00402e50
call fcn.00407ca0
add esp, 4
test eax, eax
je 0x408444
mov dword [0x5962ac], 1
mov dword [esp + 0x30], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
lea ecx, [esp + 0x30]
push ecx
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov esi, eax
mov edx, dword [esi + 4]
push edx
lea ecx, [esp + 0x14]
call fcn.00401670
lea eax, [esp + 0x10]
push str.muteinstallopen
push eax
mov byte [esp + 0x3d0], 6
call fcn.00408f00
add esp, 8
test al, al
jne 0x408638
lea ecx, [esp + 0x10]
push str.muteinstall
push ecx
call fcn.00408f00
add esp, 8
test al, al
jne 0x408638
cmp dword [0x5962ac], 0
mov dword [0x5962c4], 1
jne 0x4086ac
push str.http:__api.wankes.com_api_new_api.php_actgetmultibindurlkey_home_
lea ecx, [esp + 0x24]
call fcn.00401670
mov byte [esp + 0x3c8], 7
mov edx, dword [esp + 0x18]
push edx
push str._home_
lea ecx, [esp + 0x28]
call fcn.004088b0
push 1
push ecx
lea eax, [esp + 0x28]
mov dword [esp + 0x1c], esp
mov ecx, esp
push eax
call fcn.00402e50
lea ecx, [esp + 0x24]
call fcn.00407860
mov byte [esp + 0x3c8], 8
mov ecx, dword [esp + 0x1c]
cmp dword [ecx - 0xc], 0
je 0x4085e2
push 0x568c98
lea ecx, [esp + 0x18]
call fcn.00401670
mov byte [esp + 0x3c8], 9
mov edx, dword [esp + 0x1c]
mov eax, dword [edx - 0xc]
xor esi, esi
test eax, eax
jle 0x4085ba
test esi, esi
js 0x40828a
cmp esi, eax
jg 0x40828a
mov ecx, dword [esp + 0x1c]
movzx ecx, word [ecx + esi*2]
cmp ecx, 0x2c
jne 0x408567
mov edx, dword [esp + 0x14]
cmp dword [edx - 0xc], 0
je 0x4085ae
jmp 0x408589
cmp esi, eax
jg 0x40828a
push ecx
lea ecx, [esp + 0x18]
call fcn.00408e50
test esi, esi
jle 0x4085ae
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0xc]
dec eax
cmp esi, eax
jne 0x4085ae
mov eax, dword [ebx + 0xf4]
lea edx, [esp + 0x14]
lea ecx, [ebx + 0xec]
push edx
push eax
call fcn.00424780
push 0x568c98
lea ecx, [esp + 0x18]
call fcn.00401620
mov eax, dword [esp + 0x1c]
mov eax, dword [eax - 0xc]
inc esi
cmp esi, eax
jl 0x40853e
mov byte [esp + 0x3c8], 8
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4085e2
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c8], 7
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40860a
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c8], 6
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4086ac
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x4086ac
push 0x56935c
push 0x569360
lea ecx, [esp + 0x18]
call fcn.004088b0
lea ecx, [esp + 0x10]
push str.muteinstallopen
push ecx
mov dword [0x5962c0], 1
call fcn.00408f00
add esp, 8
test al, al
je 0x408675
mov dword [0x5962c4], 1
cmp dword [esp + 0x30], 3
jne 0x4086ac
mov edx, dword [esi + 8]
push edx
lea ecx, [esp + 0x14]
call fcn.00401620
push 0x56935c
push 0x569360
lea ecx, [esp + 0x18]
call fcn.004088b0
lea eax, [esp + 0x10]
lea ecx, [ebx + 0xdc]
push eax
call fcn.00402d70
lea esi, [esp + 0x174]
call fcn.004093e0
mov ecx, esi
mov byte [esp + 0x3c8], 0xa
mov dword [ebx + 0x20], ecx
call fcn.00420120
mov ecx, dword [esp + 0x34]
test ecx, ecx
je 0x4086db
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push 1
call eax
mov ecx, dword [esp + 0x38]
push ecx
call dword [sym.imp.gdiplus.dll_GdiplusShutdown]
lea edx, [esp + 0x174]
push edx
mov byte [esp + 0x3cc], 6
call fcn.00409790
mov byte [esp + 0x3c8], 5
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 0x408723
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c8], 3
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40874b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c8], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x408773
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [esp + 0x3c8], 1
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40879b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [edi - 0x10]
mov dword [esp + 0x3c8], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x4082cc