Function at 0x10042ac0
Capabilities:
Check if file exists
Create process on windows
Get common file path
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x101426e3
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x101811b8]
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 esi, ecx
mov dword [ebp - 0x438], esi
push 0
push dword [esi + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
call fcn.10015310
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10005f50
add esp, 4
lea edi, [eax + 0x10]
mov dword [ebp - 0x43c], edi
or ebx, 0xffffffff
mov dword [ebp - 4], 0
cmp dword [edi - 0xc], 0
je 0x10042e7c
push dword [esi + 0xd0]
lea eax, [ebp - 0x434]
mov dword [ebp - 0x430], 0
push eax
call fcn.100356b0
add esp, 8
mov eax, dword [ebp - 0x434]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x10042b8b
push 1
push 0
push edi
push eax
push 0x1014c460
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
mov dword [ebp - 0x430], ebx
cmp ebx, 0x20
jg 0x10042cc8
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042cab
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 2
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1001e980
mov byte [ebp - 4], 3
call fcn.10058c20
mov ebx, eax
lea ecx, [ebp - 0x328]
push 0x379
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10011dd0
mov esi, eax
push str.open_failed
push esi
mov byte [ebp - 4], 4
call fcn.10014590
mov ecx, dword [ebp - 0x434]
mov edx, 0x101472e4
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.1000dea0
push str.__360ad_feedback_url:
push esi
call fcn.10014590
push edi
push esi
call fcn.1000dea0
push 0x1014c494
push esi
call fcn.10014590
add esp, 0x28
mov ecx, esi
push dword [ebp - 0x430]
call fcn.10013ed0
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x328]
call fcn.10014a50
lea ecx, [ebp - 0x230]
call fcn.10005a20
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.10005a20
push 1
push 0
push 0
push edi
push 0x1014c460
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x10042d76
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042e58
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 5
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1001e980
mov byte [ebp - 4], 6
call fcn.10058c20
mov ebx, eax
lea ecx, [ebp - 0x328]
push 0x37f
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10011dd0
mov esi, eax
mov byte [ebp - 4], 7
push str.open_fburl_suc__url
jmp 0x10042e1f
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042e58
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 8
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1001e980
mov byte [ebp - 4], 9
call fcn.10058c20
mov ebx, eax
lea ecx, [ebp - 0x328]
push 0x383
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10011dd0
mov esi, eax
mov byte [ebp - 4], 0xa
push str.open_fburl_fail__url
push esi
call fcn.10014590
push edi
push esi
call fcn.1000dea0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x328]
call fcn.10014a50
lea ecx, [ebp - 0x230]
call fcn.10005a20
lea ecx, [ebp - 0x248]
call fcn.10005a20
mov edx, dword [ebp - 0x434]
or ebx, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10042e7c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10015310
push 1
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x58]
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10117810
add esp, 0xc
lea eax, [ebp - 0x218]
push 0
push 0x1a
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
mov esi, dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x218]
push 0x1014c4c8
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10042ee7
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectory]
push str.lds.set
lea eax, [ebp - 0x218]
push eax
call esi
mov dword [ebp - 0x268], 0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
push 0x24
push str.9A84118B_62F4_4eba_AF52_0C6859F0A590
lea ecx, [ebp - 0x230]
mov byte [ebp - 4], 0xb
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1001e980
push 4
push 0x10147124
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1001e980
lea eax, [ebp - 0x278]
mov byte [ebp - 4], 0xd
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.1010d770
mov edx, dword [ebp - 0x234]
add esp, 0xc
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x10042fd1
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10042fc7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100436ab
push edx
push ecx
call fcn.1010be48
add esp, 8
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x1004302a
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043020
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100436b0
push edx
push ecx
call fcn.1010be48
add esp, 8
cmp dword [ebp - 0x268], 0
je 0x100430c4
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
push 0xfde9
cmovae eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x42c]
push eax
call fcn.10008680
push dword [eax]
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 0xe
call fcn.100055b0
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0xb
cmp eax, ecx
je 0x1004308a
push eax
call fcn.1011dc49
add esp, 4
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x430]
push 0x10147e28
push str.wnd_media
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edx, dword [ebp - 0x430]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100430c4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov ebx, dword [ebp - 0x438]
lea eax, [ebp - 0x310]
mov byte [ebp - 4], 0xf
mov dword [ebp - 0x314], eax
mov ebx, dword [ebx + 0x190]
mov dword [ebp - 0x434], ebx
test ebx, ebx
jne 0x10043112
xor edx, edx
mov dword [ebp - 0x314], edx
jmp 0x100431ee
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10043117
sub ecx, edx
sar ecx, 1
push 0x80
lea eax, [ecx + 1]
lea esi, [eax*4]
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x310]
push eax
lea eax, [ebp - 0x314]
push esi
push eax
call fcn.10004ef0
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0x314]
mov esi, dword [ebp - 0x430]
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
xor ebx, ebx
test eax, eax
sete bl
test eax, eax
jne 0x100431e0
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x100431e0
mov ebx, dword [ebp - 0x434]
push 0
push 0
push 0
push 0
push esi
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov esi, eax
lea eax, [ebp - 0x310]
push 0x80
push eax
lea eax, [ebp - 0x314]
push esi
push eax
call fcn.10004ef0
add esp, 0x10
push 0
push 0
push esi
push dword [ebp - 0x314]
push dword [ebp - 0x430]
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
mov ebx, eax
neg ebx
sbb ebx, ebx
inc ebx
test ebx, ebx
jne 0x100436b5
mov edx, dword [ebp - 0x314]
mov ecx, edx
mov byte [ebp - 4], 0x10
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], 0
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x10043212
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x290]
call fcn.1001e980
mov eax, dword [ebp - 0x314]
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0x12
cmp eax, ecx
je 0x10043245
push eax
call fcn.1011dc49
add esp, 4
push 0x24
push str.9A84118B_62F4_4eba_AF52_0C6859F0A590
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.1001e980
lea eax, [ebp - 0x260]
mov byte [ebp - 4], 0x13
push eax
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x290]
push eax
call fcn.1010d770
mov edx, dword [ebp - 0x21c]
add esp, 0xc
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x100432d1
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100432c7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100436d4
push edx
push ecx
call fcn.1010be48
add esp, 8
call fcn.100039d0
mov ecx, eax
test ecx, ecx
je 0x100436d9
mov eax, dword [ecx]
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [ebp - 0x434], esi
cmp dword [ebp - 0x250], 0
mov byte [ebp - 4], 0x14
je 0x10043372
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
push 0xfde9
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x42c]
push eax
call fcn.10008680
mov edx, dword [eax]
mov byte [ebp - 4], 0x15
test edx, edx
jne 0x1004332e
xor ecx, ecx
jmp 0x10043342
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10043333
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x434]
call fcn.10006e00
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x14
cmp eax, ecx
je 0x1004336c
push eax
call fcn.1011dc49
add esp, 4
mov esi, dword [ebp - 0x434]
call fcn.10058c20
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x100434e7
push 0x2d
push str.d:_buildlib_commonwnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1001e980
push 3
push 0x101476d8
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 0x16
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
call fcn.1001e980
mov byte [ebp - 4], 0x17
call fcn.10058c20
mov dword [ebp - 0x430], eax
lea ecx, [ebp - 0x3c0]
push 0x3a3
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10011dd0
mov ebx, eax
push str.btn_feedback___exinfo:
push ebx
mov byte [ebp - 4], 0x18
call fcn.10014590
test esi, esi
mov eax, 0x101472e4
cmovne eax, esi
push eax
push ebx
call fcn.1000dea0
mov ecx, dword [ebp - 0x430]
add esp, 0x10
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3c0]
call fcn.10014a50
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x1004348e
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043484
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100436e3
push edx
push ecx
call fcn.1010be48
add esp, 8
mov edx, dword [ebp - 0x21c]
mov dword [ebp - 0x238], 0
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], 0
mov byte [ebp - 4], 0x14
cmp edx, 0x10
jb 0x100434e7
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100434dd
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100436e8
push edx
push ecx
call fcn.1010be48
add esp, 8
mov eax, dword [ebp - 0x438]
push dword [eax + 0x214]
lea eax, [ebp - 0x430]
push esi
push str.ex1_sex2_s
push eax
call fcn.100364a0
add esp, 0x10
push 0
push 0
push 1
push dword [eax]
mov byte [ebp - 4], 0x19
push str.360ad_feedback
call fcn.10015280
mov ecx, eax
call fcn.10059af0
mov edx, dword [ebp - 0x430]
or ebx, 0xffffffff
mov byte [ebp - 4], 0x14
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10043549
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [ebp - 4], 0x12
add esi, 0xfffffff0
mov eax, ebx
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x10043564
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x27c]
mov byte [ebp - 4], 0xf
cmp edx, 0x10
jb 0x100435a2
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043598
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100436ed
push edx
push ecx
call fcn.1010be48
add esp, 8
mov edx, dword [ebp - 0x24c]
mov dword [ebp - 0x280], 0
mov dword [ebp - 0x27c], 0xf
mov byte [ebp - 0x290], 0
mov byte [ebp - 4], 0xb
cmp edx, 0x10
jb 0x100435fb
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100435f1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100436f2
push edx
push ecx
call fcn.1010be48
add esp, 8
mov edx, dword [ebp - 0x264]
mov dword [ebp - 0x250], 0
mov dword [ebp - 0x24c], 0xf
mov byte [ebp - 0x260], 0
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10043654
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004364a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100436f7
push edx
push ecx
call fcn.1010be48
add esp, 8
mov dword [ebp - 0x268], 0
add edi, 0xfffffff0
mov dword [ebp - 0x264], 0xf
mov byte [ebp - 0x278], 0
mov dword [ebp - 4], 0xffffffff
lock xadd dword [edi + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x1004368b
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
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.1010c1dc
mov esp, ebp
pop ebp
ret 0x10
call fcn.1011ae29
call fcn.1011ae29
push 0x80
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x314]
call fcn.10004ff0
add esp, 0xc
call fcn.10005f30
call fcn.1011ae29
push 0x80004005
call fcn.10003610
call fcn.1011ae29
call fcn.1011ae29
call fcn.1011ae29
call fcn.1011ae29
call fcn.1011ae29
int3