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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x49b631
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x4ce4bc]
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]
xor ecx, ecx
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0x4b8], ecx
mov dword [ebp - 0x4bc], ecx
lea ecx, [ebp - 0x4b0]
push eax
call fcn.00401f70
cmp dword [ebp - 0x4a0], 0
mov dword [ebp - 4], 0
jne 0x40249c
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea esi, [edx + 2]
jmp 0x402480
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x402480
sub edx, esi
lea ecx, [ebp - 0x4b0]
sar edx, 1
push edx
push eax
call fcn.00404580
call fcn.0048ee60
test al, al
je 0x4024f8
push 0
push str.ksoqing:
lea ecx, [ebp - 0x4b0]
call fcn.00404730
cmp eax, 0xffffffff
je 0x4024f8
push 0
push 0x4a974c
lea ecx, [ebp - 0x4b0]
call fcn.00404730
cmp eax, 0xffffffff
jne 0x4024f8
push 0
push str.ksoqing:
lea ecx, [ebp - 0x4b0]
call fcn.00404730
push 0xd
push str._qingbangong
push eax
lea ecx, [ebp - 0x4b0]
call fcn.004047f0
mov ecx, dword [ebx]
lea eax, [ebp - 0x4b0]
push edi
push eax
call fcn.00406770
test eax, eax
jne 0x402513
or esi, 0xffffffff
jmp 0x403389
mov ecx, ebx
call fcn.004040c0
mov ecx, dword [ebx]
call fcn.00405c60
cmp eax, 7
jne 0x4025d7
call fcn.00411470
mov edx, eax
mov dword [ebp - 0x468], 0
mov ecx, edx
mov dword [ebp - 0x458], 0
xor eax, eax
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
lea esi, [ecx + 2]
lea ecx, [ecx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402560
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x468]
call fcn.00404580
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
push eax
call fcn.00412780
mov edx, dword [ebp - 0x454]
add esp, 4
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x4025de
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4025cb
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4025cb
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
jmp 0x4025de
mov ecx, dword [ebx]
call fcn.00405c60
mov ecx, dword [ebx]
call fcn.00405c60
test eax, eax
je case.0x4026ed.0
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
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 0x402669
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x498]
call fcn.00401960
mov eax, 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4bc], eax
lea eax, [ebp - 0x498]
push eax
call fcn.00412f20
add esp, 4
mov byte [ebp - 0x4b1], 1
test eax, eax
je 0x402670
mov byte [ebp - 0x4b1], 0
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 4], 0
test al, 1
je 0x4026cc
mov edx, dword [ebp - 0x484]
and eax, 0xfffffffe
mov dword [ebp - 0x4b8], eax
cmp edx, 8
jb 0x4026cc
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4026c2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4026c2
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
cmp byte [ebp - 0x4b1], 0
je 0x4026dd
or esi, 0xffffffff
jmp 0x403389
mov ecx, dword [ebx]
call fcn.00405c60
cmp eax, 8
ja case.0x4026ed.0
jmp dword [eax*4 + 0x4033d4]
mov edi, dword [ebx + 0x10]
lea ecx, [ebp - 0x498]
mov esi, dword [ebx]
push str.LanguageID
call fcn.00401960
lea eax, [ebp - 0x498]
mov byte [ebp - 4], 3
push eax
lea eax, [ebp - 0x480]
mov ecx, esi
push eax
call fcn.004060e0
push eax
mov ecx, edi
mov byte [ebp - 4], 4
call fcn.00430a20
mov edx, dword [ebp - 0x46c]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x40276e
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402764
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4027c0
push edx
push ecx
call fcn.0049927f
add esp, 8
mov edx, dword [ebp - 0x484]
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x4027d0
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4027c6
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4027c6
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
mov edi, dword [ebx + 0x10]
lea ecx, [ebp - 0x498]
mov esi, dword [ebx]
push str.UpPower
call fcn.00401960
lea eax, [ebp - 0x498]
mov byte [ebp - 4], 5
push eax
mov ecx, esi
call fcn.004061f0
push eax
mov ecx, edi
call fcn.0042fd50
mov edx, dword [ebp - 0x484]
mov esi, eax
cmp edx, 8
jb 0x403389
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40283d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40283d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
jmp 0x403389
mov ecx, dword [ebx + 0x10]
call fcn.00430ca0
mov esi, eax
jmp 0x403389
mov ecx, dword [ebx + 0x10]
call fcn.00430750
mov esi, eax
jmp 0x403389
mov ecx, dword [ebx + 0x10]
call fcn.0042f770
mov esi, eax
jmp 0x403389
mov ecx, ebx
call fcn.00403400
mov esi, eax
jmp 0x403389
lea eax, [ebp - 0x4d0]
mov dword [ebx + 4], 1
push eax
mov dword [ebp - 0x4d0], str.wpscloudsvr
mov dword [ebp - 0x4cc], 0x403b50
mov dword [ebp - 0x4c8], 0
mov dword [ebp - 0x4c4], 0
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
je 0x4028ce
xor esi, esi
jmp 0x403389
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl esi, 0x10
or esi, 7
jmp 0x403389
mov ecx, dword [ebx + 0x10]
call fcn.00430dc0
mov esi, eax
jmp 0x403389
lea ecx, [ebp - 0x4b1]
call fcn.00431700
lea ecx, [ebp - 0x4b1]
call fcn.004082d0
cmp byte [ebx + 0x20], 0
je 0x402927
call fcn.00431dd0
lea ecx, [ebp - 0x4b1]
call fcn.004316d0
lea ecx, [ebp - 0x4b1]
call fcn.004082d0
push str.TD_WPS_EXEC_HOST
lea ecx, [ebp - 0x480]
mov dword [ebx + 4], 2
call fcn.00401960
mov ecx, dword [ebx]
lea eax, [ebp - 0x4cc]
push eax
mov byte [ebp - 4], 6
call fcn.00405740
mov esi, dword [ebp - 0x4cc]
mov edi, dword [ebp - 0x4c8]
mov byte [ebp - 4], 7
cmp esi, edi
je 0x4029b5
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40296e
mov eax, dword [esi]
cmp dword [esi + 0x10], 0xb
jne 0x402988
push 0xb
push str._triggerdot
push eax
call fcn.00404690
add esp, 0xc
test eax, eax
je 0x402991
add esi, 0x18
cmp esi, edi
jne 0x402964
jmp 0x4029b5
cmp esi, edi
je 0x4029b5
mov edx, dword [ebx + 0x28]
cmp dword [ebp - 0x46c], 8
mov eax, dword [edx]
mov ecx, dword [eax + 0x40]
lea eax, [ebp - 0x480]
cmovae eax, dword [ebp - 0x480]
push eax
push edx
call ecx
lea ecx, [ebp - 0x4cc]
call fcn.00401b00
mov edx, dword [ebp - 0x46c]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x402a06
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4029fc
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4029fc
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x420]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.photolaunch.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
test ecx, ecx
je 0x4032a1
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402a50
sub ecx, edx
sar ecx, 1
cmp ecx, 0xf
jne 0x4032a1
push 0
push str._photo__view
lea ecx, [ebp - 0x4b0]
call fcn.00404730
cmp eax, 0xffffffff
je 0x4032a1
lea ecx, [eax + 0xd]
mov eax, dword [ebp - 0x4a0]
cmp eax, ecx
jbe 0x4032a1
xor edx, edx
mov dword [ebp - 0x438], 0
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], dx
mov dword [ebp - 0x450], edx
mov byte [ebp - 4], 8
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], dx
cmp eax, ecx
jb 0x4033c7
sub eax, ecx
or edi, 0xffffffff
cmp eax, 0xffffffff
cmovb edi, eax
cmp dword [ebp - 0x49c], 8
lea eax, [ebp - 0x4b0]
cmovae eax, dword [ebp - 0x4b0]
lea eax, [eax + ecx*2]
mov dword [ebp - 0x4bc], eax
cmp edi, 7
ja 0x402b3d
lea esi, [edi + edi]
mov dword [ebp - 0x440], edi
push esi
push eax
lea eax, [ebp - 0x450]
push eax
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [ebp + esi - 0x450], ax
mov edi, dword [ebp - 0x450]
jmp 0x402ba9
cmp edi, 0x7ffffffe
ja 0x4033cc
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x402b5d
mov esi, 0x7ffffffe
jmp 0x402b67
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x450]
call fcn.00401c70
mov dword [ebp - 0x43c], esi
lea esi, [edi + edi]
push esi
push dword [ebp - 0x4bc]
mov dword [ebp - 0x440], edi
mov edi, eax
push edi
mov dword [ebp - 0x4c0], eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
mov dword [ebp - 0x450], edi
or dword [ebp - 0x4b8], 4
push 2
push 0x4a980c
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 9
call fcn.00404730
cmp eax, 0xffffffff
je 0x402cae
lea ecx, [eax + 1]
mov dword [ebp - 0x468], 0
cmp dword [ebp - 0x440], ecx
lea eax, [ebp - 0x450]
mov dword [ebp - 0x458], 0
cmovb ecx, dword [ebp - 0x440]
cmp dword [ebp - 0x43c], 8
push ecx
cmovae eax, edi
mov dword [ebp - 0x454], 7
push eax
lea ecx, [ebp - 0x468]
call fcn.00404580
or dword [ebp - 0x4b8], 8
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x402c61
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c57
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402dc2
push edx
push ecx
call fcn.0049927f
add esp, 8
mov eax, dword [ebp - 0x468]
mov dword [ebp - 0x438], eax
mov eax, dword [ebp - 0x464]
mov dword [ebp - 0x434], eax
mov eax, dword [ebp - 0x460]
mov dword [ebp - 0x430], eax
mov eax, dword [ebp - 0x45c]
mov dword [ebp - 0x42c], eax
mov eax, dword [ebp - 0x458]
mov dword [ebp - 0x428], eax
mov eax, dword [ebp - 0x454]
mov dword [ebp - 0x424], eax
jmp 0x402dde
cmp dword [ebp - 0x43c], 8
lea ecx, [ebp - 0x450]
mov eax, dword [ebp - 0x440]
cmovae ecx, edi
mov dword [ebp - 0x4d4], eax
mov edi, dword [ebp - 0x424]
mov dword [ebp - 0x4d8], ecx
mov dword [ebp - 0x4c0], edi
cmp eax, edi
ja 0x402d13
cmp dword [ebp - 0x4c0], 8
lea esi, [eax + eax]
push esi
lea edi, [ebp - 0x438]
mov dword [ebp - 0x428], eax
cmovae edi, dword [ebp - 0x438]
push ecx
push edi
call sub.VCRUNTIME140.dll_memmove
add esp, 0xc
xor eax, eax
mov word [esi + edi], ax
jmp 0x402dde
cmp eax, 0x7ffffffe
ja 0x4033cc
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x402d32
mov esi, 0x7ffffffe
jmp 0x402d50
mov ecx, edi
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x402d48
mov esi, 0x7ffffffe
jmp 0x402d50
lea eax, [edi + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x438]
call fcn.00401c70
mov ecx, dword [ebp - 0x4d4]
mov dword [ebp - 0x424], esi
mov dword [ebp - 0x4bc], eax
mov dword [ebp - 0x428], ecx
lea esi, [ecx + ecx]
push esi
push dword [ebp - 0x4d8]
push eax
call sub.VCRUNTIME140.dll_memcpy
mov eax, dword [ebp - 0x4bc]
xor ecx, ecx
add esp, 0xc
mov word [esi + eax], cx
cmp edi, 8
jb 0x402dd8
mov ecx, dword [ebp - 0x438]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x402dc8
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402dc8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push ecx
call fcn.0049927f
mov eax, dword [ebp - 0x4bc]
add esp, 8
mov dword [ebp - 0x438], eax
xor eax, eax
mov dword [ebp - 0x480], 0
push eax
push 0x4a9810
lea ecx, [ebp - 0x480]
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
call fcn.00404580
push 1
xor eax, eax
mov dword [ebp - 0x468], 0
push 0x4a980c
lea ecx, [ebp - 0x468]
mov byte [ebp - 4], 0xa
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
call fcn.00404580
lea eax, [ebp - 0x480]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x498]
push eax
call fcn.00418f80
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x438]
cmp eax, esi
je 0x402f30
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x402ecb
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402ec1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403020
push edx
push ecx
call fcn.0049927f
add esp, 8
mov dword [ebp - 0x428], 0
xor eax, eax
mov word [ebp - 0x438], ax
mov dword [ebp - 0x424], 7
mov eax, dword [esi]
mov dword [ebp - 0x438], eax
mov eax, dword [esi + 4]
mov dword [ebp - 0x434], eax
mov eax, dword [esi + 8]
mov dword [ebp - 0x430], eax
mov eax, dword [esi + 0xc]
mov dword [ebp - 0x42c], eax
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x428], eax
mov eax, dword [esi + 0x14]
mov dword [ebp - 0x424], eax
xor eax, eax
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 7
mov word [esi], ax
mov edx, dword [ebp - 0x484]
cmp edx, 8
jb 0x402f70
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f66
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403020
push edx
push ecx
call fcn.0049927f
add esp, 8
mov edx, dword [ebp - 0x454]
xor eax, eax
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x402fcd
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402fc3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x403020
push edx
push ecx
call fcn.0049927f
add esp, 8
mov edx, dword [ebp - 0x46c]
xor eax, eax
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
mov byte [ebp - 4], 9
cmp edx, 8
jb 0x403030
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403026
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403026
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.0049927f
add esp, 8
mov ecx, dword [ebx]
lea eax, [ebp - 0x4cc]
push eax
call fcn.00405740
mov esi, dword [ebp - 0x4cc]
mov edi, dword [ebp - 0x4c8]
mov byte [ebp - 4], 0xc
cmp esi, edi
je 0x403083
cmp dword [esi + 0x14], 8
mov eax, esi
jb 0x40305c
mov eax, dword [esi]
cmp dword [esi + 0x10], 7
jne 0x403076
push 7
push str._noltip
push eax
call fcn.00404690
add esp, 0xc
test eax, eax
je 0x40307f
add esi, 0x18
cmp esi, edi
jne 0x403052
jmp 0x403083
cmp esi, edi
jne 0x4030da
mov ecx, dword [ebx]
lea eax, [ebp - 0x498]
push eax
call fcn.00405720
or dword [ebp - 0x4b8], 2
mov ecx, eax
push 0
push str.photolaunch.exe
call fcn.00404730
cmp eax, 0xffffffff
je 0x4030da
cmp dword [ebp - 0x428], 0
je 0x4030da
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
mov byte [ebp - 0x4b1], 1
test eax, eax
jne 0x4030e1
mov byte [ebp - 0x4b1], 0
test byte [ebp - 0x4b8], 2
je 0x4030f5
lea ecx, [ebp - 0x498]
call fcn.00401bf0
cmp byte [ebp - 0x4b1], 0
je 0x4031cf
cmp dword [ebp - 0x424], 8
lea eax, [ebp - 0x438]
cmovae eax, dword [ebp - 0x438]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindExtensionW]
mov esi, eax
push esi
call fcn.00447a20
add esp, 4
test al, al
je 0x4031cf
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x438]
push ecx
push esi
call fcn.0044a3f0
add esp, 8
test eax, eax
jne 0x403156
xor esi, esi
jmp 0x403162
jle 0x40315f
mov esi, 1
jmp 0x403162
or esi, 0xffffffff
lea ecx, [ebp - 0x4cc]
call fcn.00401b00
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x40318b
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.004046f0
xor eax, eax
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x43c], 7
cmp eax, 8
jb 0x403389
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.004046f0
jmp 0x403389
mov esi, dword [ebx]
lea ecx, [ebp - 0x468]
push 7
xor eax, eax
mov dword [ebp - 0x468], 0
push str._noltip
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
call fcn.00404580
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 0xd
push eax
mov ecx, esi
call fcn.00407180
mov eax, dword [ebp - 0x454]
cmp eax, 8
jb 0x40323a
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.004046f0
lea ecx, [ebp - 0x4cc]
call fcn.00401b00
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x403263
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.004046f0
xor eax, eax
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
mov byte [ebp - 4], al
mov eax, dword [ebp - 0x424]
mov dword [ebp - 0x43c], 7
cmp eax, 8
jb 0x4032a1
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.004046f0
mov esi, dword [ebx]
lea ecx, [ebp - 0x450]
push 3
xor eax, eax
mov dword [ebp - 0x450], 0
push 0x4a9824
mov dword [ebp - 0x440], 0
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.00404580
lea eax, [ebp - 0x450]
mov byte [ebp - 4], 0xe
push eax
mov ecx, esi
call fcn.004061f0
mov ecx, dword [ebp - 0x43c]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x403312
inc ecx
push ecx
push dword [ebp - 0x450]
lea ecx, [ebp - 0x450]
call fcn.004046f0
xor eax, eax
mov dword [ebp - 0x440], 0
mov word [ebp - 0x450], ax
mov eax, dword [ebx]
mov dword [ebp - 0x43c], 7
push eax
test esi, esi
je 0x403342
mov ecx, dword [ebx + 0xc]
call fcn.0040ab90
mov esi, eax
jmp 0x403389
mov ecx, dword [ebx + 8]
call fcn.00409f20
mov esi, eax
test si, si
jne 0x403389
mov ecx, dword [ebx + 8]
call fcn.00409990
test eax, eax
jne 0x403369
mov ecx, dword [ebx + 8]
call fcn.004099a0
test eax, eax
je 0x403379
mov ecx, dword [ebx + 0x10]
call fcn.00430a90
mov ecx, dword [ebx + 0x14]
call fcn.00441690
mov ecx, ebx
call fcn.00403a90
mov esi, eax
jmp 0x403389
mov esi, 1
mov ecx, dword [ebp - 0x49c]
cmp ecx, 8
jb 0x4033a7
inc ecx
push ecx
push dword [ebp - 0x4b0]
lea ecx, [ebp - 0x4b0]
call fcn.004046f0
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.0049928d
mov esp, ebp
pop ebp
ret 8
call fcn.00404510
call fcn.00401c50
lea ecx, [ecx]
test byte [ebx], dh
inc eax
add byte [edi - 0xbffbfd8], al
inc eax
add byte [eax + ebp + 0x40], cl
add byte [ebx + 0x28], bl
inc eax
add byte [edx + 0x28], ch
inc eax
add byte [ecx + 0x28], bh
inc eax
add al, dh
sub byte [eax], al
loope 0x40341e
inc eax
add ah, cl
int3