Function at 0x10042670
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 0x10155293
mov eax, dword fs:[0]
push eax
sub esp, 0x430
mov eax, dword [0x10198e28]
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.10014950
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x40]
mov eax, dword [eax]
sub eax, 0x10
push eax
call fcn.10005580
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 0x10042a2c
push dword [esi + 0xd0]
lea eax, [ebp - 0x434]
mov dword [ebp - 0x430], 0
push eax
call fcn.100346d0
add esp, 8
mov eax, dword [ebp - 0x434]
mov byte [ebp - 4], 1
cmp dword [eax - 0xc], 0
je 0x1004273b
push 1
push 0
push edi
push eax
push 0x10160e50
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov ebx, eax
mov dword [ebp - 0x430], ebx
cmp ebx, 0x20
jg 0x10042878
call fcn.1005e790
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x1004285b
push 0x56
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001dfc0
push 3
push 0x1015c718
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.1001dfc0
mov byte [ebp - 4], 3
call fcn.1005e790
mov ebx, eax
lea ecx, [ebp - 0x328]
push 0x3df
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10011410
mov esi, eax
push str.open_failed
push esi
mov byte [ebp - 4], 4
call fcn.10013bd0
mov ecx, dword [ebp - 0x434]
mov edx, 0x1015c2f4
test ecx, ecx
cmovne edx, ecx
push edx
push esi
call fcn.1000d4e0
push str.__360ad_feedback_url:
push esi
call fcn.10013bd0
push edi
push esi
call fcn.1000d4e0
push 0x10160e84
push esi
call fcn.10013bd0
add esp, 0x28
mov ecx, esi
push dword [ebp - 0x430]
call fcn.10013510
mov eax, dword [ebx]
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x328]
call fcn.10014090
lea ecx, [ebp - 0x230]
call fcn.10005050
lea ecx, [ebp - 0x248]
mov byte [ebp - 4], 1
call fcn.10005050
push 1
push 0
push 0
push edi
push 0x10160e50
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
cmp eax, 0x20
jle 0x10042926
call fcn.1005e790
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042a08
push 0x56
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001dfc0
push 3
push 0x1015c718
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.1001dfc0
mov byte [ebp - 4], 6
call fcn.1005e790
mov ebx, eax
lea ecx, [ebp - 0x328]
push 0x3e5
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10011410
mov esi, eax
mov byte [ebp - 4], 7
push str.open_fburl_suc__url
jmp 0x100429cf
call fcn.1005e790
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10042a08
push 0x56
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x248]
mov dword [ebp - 0x238], eax
mov dword [ebp - 0x234], 0xf
mov byte [ebp - 0x248], al
call fcn.1001dfc0
push 3
push 0x1015c718
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.1001dfc0
mov byte [ebp - 4], 9
call fcn.1005e790
mov ebx, eax
lea ecx, [ebp - 0x328]
push 0x3e9
lea eax, [ebp - 0x248]
push eax
lea eax, [ebp - 0x230]
push eax
call fcn.10011410
mov esi, eax
mov byte [ebp - 4], 0xa
push str.open_fburl_fail__url
push esi
call fcn.10013bd0
push edi
push esi
call fcn.1000d4e0
mov eax, dword [ebx]
add esp, 0x10
mov ecx, ebx
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x328]
call fcn.10014090
lea ecx, [ebp - 0x230]
call fcn.10005050
lea ecx, [ebp - 0x248]
call fcn.10005050
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 0x10042a2c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
call fcn.10014950
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.101293f0
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 0x10160eb8
push eax
call esi
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10042a97
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.1001dfc0
push 4
push str.true
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.1001dfc0
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.1011d850
mov edx, dword [ebp - 0x234]
add esp, 0xc
mov byte [ebp - 4], 0xc
cmp edx, 0x10
jb 0x10042b81
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10042b77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004325b
push edx
push ecx
call fcn.1011b768
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 0x10042bda
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10042bd0
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043260
push edx
push ecx
call fcn.1011b768
add esp, 8
cmp dword [ebp - 0x268], 0
je 0x10042c74
cmp dword [ebp - 0x264], 0x10
lea eax, [ebp - 0x278]
push 0xfde9
cmovae eax, dword [ebp - 0x278]
lea ecx, [ebp - 0x42c]
push eax
call fcn.10007cb0
push dword [eax]
lea ecx, [ebp - 0x430]
mov byte [ebp - 4], 0xe
call fcn.10004be0
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0xb
cmp eax, ecx
je 0x10042c3a
push eax
call fcn.1012f829
add esp, 4
lea eax, [ebp - 0x218]
push eax
push dword [ebp - 0x430]
push 0x1015cfc8
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 0x10042c74
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 0x10042cc2
xor edx, edx
mov dword [ebp - 0x314], edx
jmp 0x10042d9e
mov ecx, ebx
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042cc7
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.10004520
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 0x10042d90
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x10042d90
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.10004520
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 0x10043265
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 0x10042dc2
sub ecx, esi
push ecx
push edx
lea ecx, [ebp - 0x290]
call fcn.1001dfc0
mov eax, dword [ebp - 0x314]
lea ecx, [ebp - 0x310]
mov byte [ebp - 4], 0x12
cmp eax, ecx
je 0x10042df5
push eax
call fcn.1012f829
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.1001dfc0
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.1011d850
mov edx, dword [ebp - 0x21c]
add esp, 0xc
mov byte [ebp - 4], 0x12
cmp edx, 0x10
jb 0x10042e81
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10042e77
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043284
push edx
push ecx
call fcn.1011b768
add esp, 8
call fcn.10003000
mov ecx, eax
test ecx, ecx
je 0x10043289
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 0x10042f22
cmp dword [ebp - 0x24c], 0x10
lea eax, [ebp - 0x260]
push 0xfde9
cmovae eax, dword [ebp - 0x260]
lea ecx, [ebp - 0x42c]
push eax
call fcn.10007cb0
mov edx, dword [eax]
mov byte [ebp - 4], 0x15
test edx, edx
jne 0x10042ede
xor ecx, ecx
jmp 0x10042ef2
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10042ee3
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x434]
call fcn.10006430
mov eax, dword [ebp - 0x42c]
lea ecx, [ebp - 0x428]
mov byte [ebp - 4], 0x14
cmp eax, ecx
je 0x10042f1c
push eax
call fcn.1012f829
add esp, 4
mov esi, dword [ebp - 0x434]
call fcn.1005e790
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10043097
push 0x56
push str.d:jenkins.jenkinsworkspacelib_commonwnd_plugin_realeasewnd_pluginwndpopwnd.cpp
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], eax
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], al
call fcn.1001dfc0
push 3
push 0x1015c718
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.1001dfc0
mov byte [ebp - 4], 0x17
call fcn.1005e790
mov dword [ebp - 0x430], eax
lea ecx, [ebp - 0x3c0]
push 0x409
lea eax, [ebp - 0x230]
push eax
lea eax, [ebp - 0x248]
push eax
call fcn.10011410
mov ebx, eax
push str.btn_feedback___exinfo:
push ebx
mov byte [ebp - 4], 0x18
call fcn.10013bd0
test esi, esi
mov eax, 0x1015c2f4
cmovne eax, esi
push eax
push ebx
call fcn.1000d4e0
mov ecx, dword [ebp - 0x430]
add esp, 0x10
mov eax, dword [ecx]
push ebx
call dword [eax + 0x1c]
lea ecx, [ebp - 0x3c0]
call fcn.10014090
mov edx, dword [ebp - 0x234]
mov byte [ebp - 4], 0x16
cmp edx, 0x10
jb 0x1004303e
mov ecx, dword [ebp - 0x248]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043034
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043293
push edx
push ecx
call fcn.1011b768
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 0x10043097
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x1004308d
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043298
push edx
push ecx
call fcn.1011b768
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.100354c0
add esp, 0x10
push 0
push 0
push 1
push dword [eax]
mov byte [ebp - 4], 0x19
push str.360ad_feedback
call fcn.100148c0
mov ecx, eax
call fcn.1005f660
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 0x100430f9
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 0x10043114
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 0x10043152
mov ecx, dword [ebp - 0x290]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043148
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x1004329d
push edx
push ecx
call fcn.1011b768
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 0x100431ab
mov ecx, dword [ebp - 0x260]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100431a1
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100432a2
push edx
push ecx
call fcn.1011b768
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 0x10043204
mov ecx, dword [ebp - 0x278]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100431fa
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x100432a7
push edx
push ecx
call fcn.1011b768
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 0x1004323b
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.1011bafc
mov esp, ebp
pop ebp
ret 0x10
call fcn.1012ca09
call fcn.1012ca09
push 0x80
lea eax, [ebp - 0x310]
push eax
push dword [ebp - 0x314]
call fcn.10004620
add esp, 0xc
call fcn.10005560
call fcn.1012ca09
push 0x80004005
call fcn.10002c10
call fcn.1012ca09
call fcn.1012ca09
call fcn.1012ca09
call fcn.1012ca09
call fcn.1012ca09
int3