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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48a22c
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x4b74b0]
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.00401ff0
cmp dword [ebp - 0x4a0], 0
mov dword [ebp - 4], 0
jne 0x4024cc
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
lea esi, [edx + 2]
jmp 0x4024b0
mov cx, word [edx]
add edx, 2
test cx, cx
jne 0x4024b0
sub edx, esi
lea ecx, [ebp - 0x4b0]
sar edx, 1
push edx
push eax
call fcn.00404550
call fcn.0047f530
test al, al
je 0x402528
push 0
push str.ksoqing:
lea ecx, [ebp - 0x4b0]
call fcn.004046a0
cmp eax, 0xffffffff
je 0x402528
push 0
push 0x4966ac
lea ecx, [ebp - 0x4b0]
call fcn.004046a0
cmp eax, 0xffffffff
jne 0x402528
push 0
push str.ksoqing:
lea ecx, [ebp - 0x4b0]
call fcn.004046a0
push 0xd
push str._qingbangong
push eax
lea ecx, [ebp - 0x4b0]
call fcn.00404760
mov ecx, dword [ebx]
lea eax, [ebp - 0x4b0]
push edi
push eax
call fcn.004069a0
test eax, eax
jne 0x402543
or esi, 0xffffffff
jmp 0x4033c1
mov ecx, ebx
call fcn.004040c0
mov ecx, dword [ebx]
call fcn.004037f0
cmp eax, 7
jne 0x4025fa
call fcn.00411680
mov edx, eax
mov dword [ebp - 0x458], 0
mov ecx, edx
mov dword [ebp - 0x454], 7
xor eax, eax
mov word [ebp - 0x468], ax
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402583
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x468]
call fcn.00404550
lea eax, [ebp - 0x468]
mov byte [ebp - 4], 1
push eax
call fcn.004128f0
mov edx, dword [ebp - 0x454]
add esp, 4
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x402601
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4025ee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4025ee
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
jmp 0x402601
mov ecx, dword [ebx]
call fcn.004037f0
mov ecx, dword [ebx]
call fcn.004037f0
test eax, eax
je case.default.0x402715
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call sub.VCRUNTIME140.dll_memset
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
add esp, 0xc
push 0x104
push eax
push 0
call edi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x402690
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x480]
call fcn.00401970
mov eax, 1
mov byte [ebp - 4], 2
mov dword [ebp - 0x4b8], eax
mov dword [ebp - 0x4bc], eax
lea eax, [ebp - 0x480]
push 0
push eax
call fcn.004130f0
add esp, 8
mov byte [ebp - 0x4b1], 1
test eax, eax
je 0x402697
mov byte [ebp - 0x4b1], 0
mov eax, dword [ebp - 0x4b8]
mov dword [ebp - 4], 0
test al, 1
je 0x4026f3
mov edx, dword [ebp - 0x46c]
and eax, 0xfffffffe
mov dword [ebp - 0x4b8], eax
cmp edx, 8
jb 0x4026f3
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4026e9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4026e9
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
cmp byte [ebp - 0x4b1], 0
je 0x402704
or esi, 0xffffffff
jmp 0x4033c1
mov ecx, dword [ebx]
call fcn.004037f0
dec eax
cmp eax, 7
ja case.default.0x402715
jmp dword [eax*4 + 0x40340c]
push str.LanguageID
lea ecx, [ebp - 0x480]
call fcn.00401970
mov ecx, dword [ebx]
lea eax, [ebp - 0x480]
push eax
lea eax, [ebp - 0x498]
mov byte [ebp - 4], 3
push eax
call fcn.004062c0
mov ecx, dword [ebx + 8]
push eax
mov byte [ebp - 4], 4
call fcn.0042e9c0
mov edx, dword [ebp - 0x484]
mov byte [ebp - 4], 3
cmp edx, 8
jb 0x402792
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402788
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4027e4
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0x46c]
xor eax, eax
mov dword [ebp - 0x488], 0
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
mov byte [ebp - 4], al
cmp edx, 8
jb 0x4027f4
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4027ea
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x4027ea
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
push str.UpPower
lea ecx, [ebp - 0x480]
call fcn.00401970
mov ecx, dword [ebx]
lea eax, [ebp - 0x480]
push eax
mov byte [ebp - 4], 5
call fcn.00406400
mov ecx, dword [ebx + 8]
push eax
call fcn.0042dd80
mov edx, dword [ebp - 0x46c]
mov esi, eax
cmp edx, 8
jb 0x4033c1
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x40285d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x40285d
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
jmp 0x4033c1
mov ecx, dword [ebx + 8]
call fcn.0042ec50
mov esi, eax
jmp 0x4033c1
mov ecx, dword [ebx + 8]
call fcn.0042e700
mov esi, eax
jmp 0x4033c1
mov ecx, dword [ebx + 8]
call fcn.0042d7d0
mov esi, eax
jmp 0x4033c1
mov ecx, ebx
call fcn.00403430
mov esi, eax
jmp 0x4033c1
lea eax, [ebp - 0x4cc]
mov dword [ebx + 4], 1
push eax
mov dword [ebp - 0x4cc], str.wpscloudsvr
mov dword [ebp - 0x4c8], 0x403b50
mov dword [ebp - 0x4c4], 0
mov dword [ebp - 0x4c0], 0
call dword [sym.imp.ADVAPI32.dll_StartServiceCtrlDispatcherW]
test eax, eax
je 0x4028ee
xor esi, esi
jmp 0x4033c1
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
shl esi, 0x10
or esi, 7
jmp 0x4033c1
mov ecx, dword [ebx + 8]
call fcn.0042ed60
mov esi, eax
jmp 0x4033c1
lea ecx, [ebp - 0x4b1]
call fcn.0042f680
lea ecx, [ebp - 0x4b1]
call fcn.00408600
cmp byte [ebx + 0x20], 0
je 0x402947
call fcn.0042fcd0
lea ecx, [ebp - 0x4b1]
call fcn.0042f650
lea ecx, [ebp - 0x4b1]
call fcn.00408600
push str.TD_WPS_EXEC_HOST
lea ecx, [ebp - 0x498]
mov dword [ebx + 4], 2
call fcn.00401970
mov ecx, dword [ebx]
lea eax, [ebp - 0x4c8]
push eax
mov byte [ebp - 4], 6
call fcn.004058f0
mov esi, dword [ebp - 0x4c8]
mov eax, dword [ebp - 0x4c4]
mov byte [ebp - 4], 7
cmp esi, eax
je 0x4029f1
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x40298e
mov edi, dword [esi]
cmp dword [esi + 0x10], 0xb
jne 0x402a3e
mov ecx, str._triggerdot
mov edx, 0xb
sub edi, ecx
jmp 0x4029b0
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x402a38
add ecx, 2
sub edx, 1
jne 0x4029b0
cmp esi, dword [ebp - 0x4c4]
je 0x4029eb
mov edx, dword [ebx + 0x28]
lea ecx, [ebp - 0x498]
cmp dword [ebp - 0x484], 8
cmovae ecx, dword [ebp - 0x498]
mov eax, dword [edx]
push ecx
push edx
call dword [eax + 0x40]
mov edi, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
lea ecx, [ebp - 0x4c8]
call fcn.00401b20
mov edx, dword [ebp - 0x484]
mov byte [ebp - 4], 0
cmp edx, 8
jb 0x402a55
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402a4b
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402a4b
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
mov eax, dword [ebp - 0x4c4]
add esi, 0x18
cmp esi, eax
jne 0x402984
jmp 0x4029eb
push edx
push ecx
call fcn.00487869
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 edi
push str.photolaunch.exe
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
mov ecx, eax
test ecx, ecx
je 0x4032e5
lea edx, [ecx + 2]
lea ebx, [ebx]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x402aa0
sub ecx, edx
sar ecx, 1
cmp ecx, 0xf
jne 0x4032e5
push 0
push str._photo__view
lea ecx, [ebp - 0x4b0]
call fcn.004046a0
cmp eax, 0xffffffff
je 0x4032e5
lea ecx, [eax + 0xd]
mov eax, dword [ebp - 0x4a0]
cmp eax, ecx
jbe 0x4032e5
xor edx, edx
mov dword [ebp - 0x428], 0
mov dword [ebp - 0x424], 7
mov word [ebp - 0x438], dx
mov byte [ebp - 4], 8
mov dword [ebp - 0x440], edx
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], dx
cmp eax, ecx
jb 0x4033ff
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 0x402b7d
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 0x402be9
cmp edi, 0x7ffffffe
ja 0x403404
mov esi, edi
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x402b9d
mov esi, 0x7ffffffe
jmp 0x402ba7
mov eax, 0xa
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x450]
call fcn.00401c90
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 - 0x4d0], eax
call sub.VCRUNTIME140.dll_memcpy
add esp, 0xc
xor eax, eax
mov word [edi + esi], ax
mov dword [ebp - 0x450], edi
or dword [ebp - 0x4b8], 4
push 2
push 0x49676c
lea ecx, [ebp - 0x450]
mov byte [ebp - 4], 9
call fcn.004046a0
cmp eax, 0xffffffff
je 0x402ced
xor ecx, ecx
mov dword [ebp - 0x458], 0
mov word [ebp - 0x468], cx
lea ecx, [eax + 1]
cmp dword [ebp - 0x440], ecx
lea eax, [ebp - 0x450]
mov dword [ebp - 0x454], 7
cmovb ecx, dword [ebp - 0x440]
cmp dword [ebp - 0x43c], 8
push ecx
cmovae eax, edi
lea ecx, [ebp - 0x468]
push eax
call fcn.00404550
or dword [ebp - 0x4b8], 8
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x402ca0
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402c96
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x402e01
push edx
push ecx
call fcn.00487869
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 0x402e1d
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 - 0x4d0], edi
cmp eax, edi
ja 0x402d52
cmp dword [ebp - 0x4d0], 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 0x402e1d
cmp eax, 0x7ffffffe
ja 0x403404
mov esi, eax
or esi, 7
cmp esi, 0x7ffffffe
jbe 0x402d71
mov esi, 0x7ffffffe
jmp 0x402d8f
mov ecx, edi
mov eax, 0x7ffffffe
shr ecx, 1
sub eax, ecx
cmp edi, eax
jbe 0x402d87
mov esi, 0x7ffffffe
jmp 0x402d8f
lea eax, [edi + ecx]
cmp esi, eax
cmovb esi, eax
lea eax, [esi + 1]
push eax
lea ecx, [ebp - 0x438]
call fcn.00401c90
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 0x402e17
mov ecx, dword [ebp - 0x438]
lea edi, [edi*2 + 2]
mov eax, ecx
cmp edi, 0x1000
jb 0x402e07
mov ecx, dword [ecx - 4]
add edi, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x402e07
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edi
push ecx
call fcn.00487869
mov eax, dword [ebp - 0x4bc]
add esp, 8
mov dword [ebp - 0x438], eax
xor eax, eax
mov dword [ebp - 0x488], 0
push eax
push 0x496770
lea ecx, [ebp - 0x498]
mov dword [ebp - 0x484], 7
mov word [ebp - 0x498], ax
call fcn.00404550
push 1
xor eax, eax
mov byte [ebp - 4], 0xa
push 0x49676c
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x458], 0
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
call fcn.00404550
lea eax, [ebp - 0x498]
mov byte [ebp - 4], 0xb
push eax
lea eax, [ebp - 0x468]
push eax
lea eax, [ebp - 0x438]
push eax
lea eax, [ebp - 0x480]
push eax
call fcn.00418960
mov esi, eax
add esp, 0x10
lea eax, [ebp - 0x438]
cmp eax, esi
je 0x402f5b
mov edx, dword [ebp - 0x424]
cmp edx, 8
jb 0x402ef6
mov ecx, dword [ebp - 0x438]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402eec
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40304b
push edx
push ecx
call fcn.00487869
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 - 0x46c]
cmp edx, 8
jb 0x402f9b
mov ecx, dword [ebp - 0x480]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402f91
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40304b
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0x454]
xor eax, eax
mov dword [ebp - 0x470], 0
mov dword [ebp - 0x46c], 7
mov word [ebp - 0x480], ax
mov byte [ebp - 4], 0xa
cmp edx, 8
jb 0x402ff8
mov ecx, dword [ebp - 0x468]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x402fee
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x40304b
push edx
push ecx
call fcn.00487869
add esp, 8
mov edx, dword [ebp - 0x484]
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 0x40305b
mov ecx, dword [ebp - 0x498]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x403051
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
jbe 0x403051
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
push edx
push ecx
call fcn.00487869
add esp, 8
mov ecx, dword [ebx]
lea eax, [ebp - 0x4c8]
push eax
call fcn.004058f0
mov esi, dword [ebp - 0x4c8]
mov eax, dword [ebp - 0x4c4]
mov byte [ebp - 4], 0xc
cmp esi, eax
je 0x4030bd
lea ecx, [ecx]
cmp dword [esi + 0x14], 8
mov edi, esi
jb 0x40308a
mov edi, dword [esi]
cmp dword [esi + 0x10], 7
jne 0x403196
mov ecx, str._noltip
mov edx, 7
sub edi, ecx
mov ax, word [ecx + edi]
cmp ax, word [ecx]
jne 0x403190
add ecx, 2
sub edx, 1
jne 0x4030a0
cmp esi, dword [ebp - 0x4c4]
jne 0x403114
mov ecx, dword [ebx]
lea eax, [ebp - 0x480]
push eax
call fcn.004058d0
or dword [ebp - 0x4b8], 2
mov ecx, eax
push 0
push str.photolaunch.exe
call fcn.004046a0
cmp eax, 0xffffffff
je 0x403114
cmp dword [ebp - 0x428], 0
je 0x403114
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 0x40311b
mov byte [ebp - 0x4b1], 0
test byte [ebp - 0x4b8], 2
je 0x40312f
lea ecx, [ebp - 0x480]
call fcn.00401c10
cmp byte [ebp - 0x4b1], 0
je 0x40321f
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.00444af0
add esp, 4
test al, al
je 0x40321f
cmp dword [ebp - 0x424], 8
lea ecx, [ebp - 0x438]
cmovae ecx, dword [ebp - 0x438]
push ecx
push esi
call fcn.00447350
add esp, 8
test eax, eax
jne 0x4031a6
xor esi, esi
jmp 0x4031b2
mov eax, dword [ebp - 0x4c4]
add esi, 0x18
cmp esi, eax
jne 0x403080
jmp 0x4030bd
jle 0x4031af
mov esi, 1
jmp 0x4031b2
or esi, 0xffffffff
lea ecx, [ebp - 0x4c8]
call fcn.00401b20
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x4031db
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00404660
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 0x4033c1
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00404660
jmp 0x4033c1
push 7
xor eax, eax
mov dword [ebp - 0x458], 0
push str._noltip
lea ecx, [ebp - 0x468]
mov dword [ebp - 0x454], 7
mov word [ebp - 0x468], ax
call fcn.00404550
mov ecx, dword [ebx]
lea eax, [ebp - 0x468]
push eax
mov byte [ebp - 4], 0xd
call fcn.004073a0
mov eax, dword [ebp - 0x454]
cmp eax, 8
jb 0x40327e
inc eax
lea ecx, [ebp - 0x468]
push eax
push dword [ebp - 0x468]
call fcn.00404660
lea ecx, [ebp - 0x4c8]
call fcn.00401b20
mov eax, dword [ebp - 0x43c]
cmp eax, 8
jb 0x4032a7
inc eax
lea ecx, [ebp - 0x450]
push eax
push dword [ebp - 0x450]
call fcn.00404660
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 0x4032e5
inc eax
lea ecx, [ebp - 0x438]
push eax
push dword [ebp - 0x438]
call fcn.00404660
push 3
xor eax, eax
mov dword [ebp - 0x440], 0
push 0x496784
lea ecx, [ebp - 0x450]
mov dword [ebp - 0x43c], 7
mov word [ebp - 0x450], ax
call fcn.00404550
mov ecx, dword [ebx]
lea eax, [ebp - 0x450]
push eax
mov byte [ebp - 4], 0xe
call fcn.00406400
mov ecx, dword [ebp - 0x43c]
mov esi, eax
mov byte [ebp - 4], 0
cmp ecx, 8
jb 0x40334a
inc ecx
push ecx
push dword [ebp - 0x450]
lea ecx, [ebp - 0x450]
call fcn.00404660
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 0x40337a
mov ecx, dword [ebx + 0x10]
call fcn.0040af40
mov esi, eax
jmp 0x4033c1
mov ecx, dword [ebx + 0xc]
call fcn.0040a140
mov esi, eax
test si, si
jne 0x4033c1
mov ecx, dword [ebx + 0xc]
call fcn.00409c20
test eax, eax
jne 0x4033a1
mov ecx, dword [ebx + 0xc]
call fcn.00409c30
test eax, eax
je 0x4033b1
mov ecx, dword [ebx + 8]
call fcn.0042ea40
mov ecx, dword [ebx + 0x14]
call fcn.0043eb70
mov ecx, ebx
call fcn.00403a90
mov esi, eax
jmp 0x4033c1
mov esi, 1
mov ecx, dword [ebp - 0x49c]
cmp ecx, 8
jb 0x4033df
inc ecx
push ecx
push dword [ebp - 0x4b0]
lea ecx, [ebp - 0x4b0]
call fcn.00404660
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.00487877
mov esp, ebp
pop ebp
ret 8
call fcn.004044e0
call fcn.00401c70
lea ecx, [ecx]
cmpsd dword [esi], dword es:[edi]
sub byte [eax], al
sbb al, 0x27
inc eax
add byte [eax + ebp + 0x40], ch
add byte [ebx + 0x28], bh
inc eax
add byte [edx - 0x66ffbfd8], cl
sub byte [eax], al
adc byte [ecx], ch
inc eax
add byte [ecx], al
sub dword [eax], eax
int3