Function at 0x412d3c
Capabilities:
Accept command line arguments
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ba0ab
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x4f9004]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, ecx
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0x264]
mov esi, dword [ebp + 0xc]
push eax
mov dword [ebp - 0x26c], 0
call fcn.00411bca
cmp dword [ebp - 0x254], 0
mov dword [ebp - 4], 0
jne 0x412daa
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
lea ecx, [ebp - 0x264]
call fcn.00413410
call fcn.0040753e
test al, al
je 0x412e06
push 0
push str.ksoqing:
lea ecx, [ebp - 0x264]
call fcn.0042e2f2
cmp eax, 0xffffffff
je 0x412e06
push 0
push 0x4cba20
lea ecx, [ebp - 0x264]
call fcn.0042e2f2
cmp eax, 0xffffffff
jne 0x412e06
push 0
push str.ksoqing:
lea ecx, [ebp - 0x264]
call fcn.0042e2f2
push 0xd
push str._qingbangong
push eax
lea ecx, [ebp - 0x264]
call fcn.00421e69
mov ecx, dword [ebx]
lea eax, [ebp - 0x264]
push esi
push eax
call fcn.0041351d
test eax, eax
je 0x41337c
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.00402780
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x412eb1
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
lea ecx, [ebp - 0x230]
lea eax, [ebp - 0x218]
mov dword [ebp - 0x21c], 7
push eax
call fcn.00413410
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 1
push 0
push eax
mov dword [ebp - 0x26c], 1
call fcn.00414cff
add esp, 8
mov byte [ebp - 0x265], 1
test eax, eax
je 0x412eb8
mov byte [ebp - 0x265], 0
test byte [ebp - 0x26c], 1
mov dword [ebp - 4], 0
je 0x412f08
mov edx, dword [ebp - 0x21c]
cmp edx, 8
jb 0x412f08
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412efe
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133db
push edx
push ecx
call fcn.0040660b
add esp, 8
cmp byte [ebp - 0x265], 0
jne 0x41337c
mov ecx, ebx
call fcn.00448709
mov ecx, dword [ebx]
call fcn.00448008
cmp eax, 7
jne 0x412fb3
call fcn.0042389c
xor ecx, ecx
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], cx
lea ecx, [ebp - 0x230]
push eax
mov dword [ebp - 0x21c], 7
call fcn.00413410
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 2
push eax
call fcn.0044e7e7
mov edx, dword [ebp - 0x21c]
add esp, 4
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x412fba
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x412fa7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133e0
push edx
push ecx
call fcn.0040660b
add esp, 8
jmp 0x412fba
mov ecx, dword [ebx]
call fcn.00448008
mov ecx, dword [ebx]
call fcn.00448008
dec eax
cmp eax, 7
ja case.default.0x412fcb
jmp dword [eax*4 + 0x4133f0]
push str.LanguageID
lea ecx, [ebp - 0x248]
call fcn.004120b3
mov ecx, dword [ebx]
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
mov byte [ebp - 4], 3
push eax
call fcn.004497bb
mov ecx, dword [ebx + 8]
push eax
mov byte [ebp - 4], 4
call fcn.00444a69
lea ecx, [ebp - 0x230]
call fcn.00411b77
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00411b77
push str.UpPower
lea ecx, [ebp - 0x248]
call fcn.004120b3
mov ecx, dword [ebx]
lea eax, [ebp - 0x248]
push eax
mov byte [ebp - 4], 5
call fcn.0044988d
mov ecx, dword [ebx + 8]
push eax
call fcn.00443d77
lea ecx, [ebp - 0x248]
mov esi, eax
call fcn.00411b77
jmp 0x41337f
mov ecx, dword [ebx + 8]
call fcn.00444ccd
mov esi, eax
jmp 0x41337f
mov ecx, dword [ebx + 8]
call fcn.0044469d
mov esi, eax
jmp 0x41337f
mov ecx, dword [ebx + 8]
call fcn.00443631
mov esi, eax
jmp 0x41337f
mov ecx, ebx
call fcn.00447c5c
mov esi, eax
jmp 0x41337f
lea eax, [ebp - 0x228]
mov dword [ebx + 4], 1
push eax
mov dword [ebp - 0x228], str.wpscloudsvr
mov dword [ebp - 0x224], 0x4482d7
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
je 0x4130e1
xor esi, esi
jmp 0x41337f
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl esi, 0x10
or esi, 7
jmp 0x41337f
mov ecx, dword [ebx + 8]
call fcn.00444dda
mov esi, eax
jmp 0x41337f
lea ecx, [ebp - 0x265]
call fcn.004456ae
lea ecx, [ebp - 0x265]
call fcn.0040168f
cmp byte [ebx + 0x20], 0
je 0x41313a
call fcn.00445a65
lea ecx, [ebp - 0x265]
call fcn.0044568c
lea ecx, [ebp - 0x265]
call fcn.0040168f
push str.TD_WPS_EXEC_HOST
lea ecx, [ebp - 0x248]
mov dword [ebx + 4], 2
call fcn.004120b3
mov ecx, dword [ebx]
lea eax, [ebp - 0x224]
push eax
mov byte [ebp - 4], 6
call fcn.00416401
mov esi, dword [ebp - 0x224]
mov eax, dword [ebp - 0x220]
mov byte [ebp - 4], 7
cmp esi, eax
je 0x4131d7
jmp 0x41317c
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x413186
mov edi, dword [esi]
cmp dword [esi + 0x10], 0xb
jne 0x413274
mov ecx, str._triggerdot
mov edx, 0xb
sub edi, ecx
mov ax, word [edi + ecx]
cmp ax, word [ecx]
jne 0x41326e
add ecx, 2
sub edx, 1
jne 0x41319c
cmp esi, dword [ebp - 0x220]
je 0x4131d7
mov edx, dword [ebx + 0x28]
lea ecx, [ebp - 0x248]
cmp dword [ebp - 0x234], 8
cmovae ecx, dword [ebp - 0x248]
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0x40]
lea ecx, [ebp - 0x224]
call fcn.0041427a
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0
call fcn.00411b77
xor eax, eax
mov dword [ebp - 0x220], 0
push 0x4cbaec
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x21c], 7
mov word [ebp - 0x230], ax
call fcn.00413410
mov ecx, dword [ebx]
lea eax, [ebp - 0x230]
push eax
mov byte [ebp - 4], 8
call fcn.0044988d
mov edx, dword [ebp - 0x21c]
mov esi, eax
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x41328e
mov ecx, dword [ebp - 0x230]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x413284
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133e5
jmp 0x413284
mov eax, dword [ebp - 0x220]
add esi, 0x18
cmp esi, eax
jne 0x41317c
jmp 0x4131d7
push edx
push ecx
call fcn.0040660b
add esp, 8
xor eax, eax
mov dword [ebp - 0x220], 0
mov word [ebp - 0x230], ax
mov eax, dword [ebx]
mov dword [ebp - 0x21c], 7
push eax
test esi, esi
je 0x4132c1
mov ecx, dword [ebx + 0x10]
call fcn.0044bbb8
mov esi, eax
jmp 0x41337f
mov ecx, dword [ebx + 0xc]
call fcn.0044b239
mov esi, eax
test si, si
jne 0x41337f
mov ecx, dword [ebx + 0xc]
call fcn.0044ae1a
test eax, eax
jne 0x4132ec
mov ecx, dword [ebx + 0xc]
call fcn.0043bfae
test eax, eax
je 0x4132fc
mov ecx, dword [ebx + 8]
call fcn.00444ad5
mov ecx, dword [ebx + 0x14]
call fcn.0044014c
mov ecx, ebx
call fcn.00448077
mov esi, eax
test esi, esi
jne 0x413363
cmp dword [ebx + 4], 1
jne 0x41335b
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push eax
push eax
push eax
lea eax, [ebp - 0x24c]
push eax
call edi
test eax, eax
jle 0x413363
lea esp, [esp]
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea eax, [ebp - 0x24c]
push eax
call edi
test eax, eax
jg 0x41332c
jmp 0x413363
mov ecx, dword [ebx + 0xc]
call fcn.0044d5bf
mov ecx, dword [ebx + 0x14]
call fcn.0044080c
mov ecx, dword [ebx + 0x18]
call fcn.00441de8
jmp 0x41337f
mov esi, 1
jmp 0x41337f
or esi, 0xffffffff
mov edx, dword [ebp - 0x250]
cmp edx, 8
jb 0x4133bb
mov ecx, dword [ebp - 0x264]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4133b1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4133ea
push edx
push ecx
call fcn.0040660b
add esp, 8
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00402c9b
mov esp, ebp
pop ebp
ret 8
call fcn.0047c5cb
call fcn.0047c5cb
call fcn.0047c5cb
call fcn.0047c5cb
nop
lcall 0x412f, 0xd2004130
add byte [edi + 48], bl
inc ecx
add byte [esi + 0x30], ch
inc ecx
add byte [ebp + 0x30], bh
inc ecx
add byte [eax + esi + 0x31030041], cl
inc ecx
add ah, dh
xor byte [ecx], al