Function at 0x4109c0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x508
mov eax, dword [0x51d27c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 0
mov dword [ebp - 0x450], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 0
call dword [sym.imp.USER32.dll_DefWindowProcW]
lea eax, [ebp - 0x470]
mov dword [ebp - 0x470], 8
push eax
mov dword [ebp - 0x46c], 4
call dword [sym.imp.COMCTL32.dll_InitCommonControlsEx]
push 0
push ebx
push 0
mov ecx, 0x51fc6c
call fcn.0040cbc0
push 1
call fcn.00426650
mov ecx, dword [0x51fcb8]
add esp, 4
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov dword [ebp - 0x460], ebx
mov dword [ebp - 0x458], edi
test ecx, ecx
jne 0x410a95
push 0x51c090
call ebx
cmp dword [0x51fcb8], 0
jne 0x410a88
push 4
call fcn.00458b87
mov esi, eax
add esp, 4
test esi, esi
je 0x410a7a
mov ecx, esi
call fcn.0045a2f0
jmp 0x410a7c
xor esi, esi
xchg dword [ebp - 0x45c], eax
mov dword [0x51fcb8], esi
push 0x51c090
call edi
mov ecx, dword [0x51fcb8]
push 1
call fcn.0045c130
test al, al
je 0x4114a8
call fcn.00404110
mov ecx, eax
test ecx, ecx
je 0x4114c7
mov eax, dword [ecx]
call dword [eax + 0xc]
mov ecx, dword [0x51fcb8]
lea esi, [eax + 0x10]
mov dword [ebp - 0x448], esi
test ecx, ecx
jne 0x410b15
push 0x51c090
call ebx
cmp dword [0x51fcb8], 0
jne 0x410b08
push 4
call fcn.00458b87
mov edi, eax
add esp, 4
test edi, edi
je 0x410af4
mov ecx, edi
call fcn.0045a2f0
jmp 0x410af6
xor edi, edi
xchg dword [ebp - 0x45c], eax
mov dword [0x51fcb8], edi
mov edi, dword [ebp - 0x458]
push 0x51c090
call edi
mov ecx, dword [0x51fcb8]
lea eax, [ebp - 0x42c]
push eax
call fcn.0045bc90
mov ecx, dword [str.entludashi]
mov edi, eax
mov edx, ecx
lea ebx, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x410b30
sub edx, ebx
mov ebx, edi
sar edx, 1
cmp dword [edi + 0x14], 8
jb 0x410b49
mov ebx, dword [edi]
mov edi, dword [edi + 0x10]
cmp edi, edx
jne 0x410b6b
test edi, edi
je 0x410b67
sub ebx, ecx
mov ax, word [ebx + ecx]
cmp ax, word [ecx]
jne 0x410b6b
add ecx, 2
sub edi, 1
jne 0x410b56
mov bl, 1
jmp 0x410b6d
xor bl, bl
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x410bad
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410ba3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4114d1
push edx
push ecx
call fcn.00458729
add esp, 8
test bl, bl
mov ebx, dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov dword [ebp - 0x45c], ebx
je 0x410d03
push 1
push dword [ebp - 0x450]
lea eax, [ebp - 0x454]
push eax
call fcn.0045dfb0
add esp, 8
push eax
lea eax, [ebp - 0x468]
push eax
call fcn.0045e0a0
push 0
push str.logdumpuper.log
push dword [eax]
lea eax, [ebp - 0x464]
push eax
call fcn.0045e1c0
lea ebx, [esi - 0x10]
add esp, 0x1c
mov eax, dword [eax]
mov dword [ebp - 0x450], eax
lea edi, [eax - 0x10]
cmp edi, ebx
je 0x410ca0
cmp dword [ebx + 0xc], 0
jl 0x410c8b
mov ecx, dword [edi]
cmp ecx, dword [ebx]
jne 0x410c8b
mov eax, dword [ecx]
call dword [eax + 0x10]
cmp dword [edi + 0xc], 0
mov ecx, eax
lea eax, [edi + 0xc]
jl 0x410c38
cmp ecx, dword [edi]
jne 0x410c38
lock inc dword [eax]
jmp 0x410c6f
mov eax, dword [ecx]
lea esi, [edi + 4]
push 2
push dword [esi]
call dword [eax]
mov edi, eax
test edi, edi
je 0x4114d6
mov eax, dword [esi]
mov dword [edi + 4], eax
mov eax, dword [esi]
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x450]
push eax
lea eax, [edi + 0x10]
push eax
call fcn.004108c0
add esp, 0x10
or eax, 0xffffffff
lea ecx, [ebx + 0xc]
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x410c86
mov ecx, dword [ebx]
push ebx
mov eax, dword [ecx]
call dword [eax + 4]
lea esi, [edi + 0x10]
jmp 0x410ca0
push dword [eax - 0xc]
lea ecx, [ebp - 0x448]
push eax
call fcn.00405030
mov esi, dword [ebp - 0x448]
mov edx, dword [ebp - 0x464]
or ebx, 0xffffffff
add edx, 0xfffffff0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410cc0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x468]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410cdd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x454]
mov eax, ebx
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x410e5a
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
jmp 0x410e5a
mov ecx, dword [0x51fcb8]
test ecx, ecx
jne 0x410d59
push 0x51c090
call dword [ebp - 0x460]
cmp dword [0x51fcb8], 0
jne 0x410d48
push 4
call fcn.00458b87
mov esi, eax
add esp, 4
test esi, esi
je 0x410d3a
mov ecx, esi
call fcn.0045a2f0
jmp 0x410d3c
xor esi, esi
xchg dword [ebp - 0x454], eax
mov dword [0x51fcb8], esi
push 0x51c090
call dword [ebp - 0x458]
mov ecx, dword [0x51fcb8]
push 0
lea eax, [ebp - 0x42c]
push eax
call fcn.0045aab0
mov edx, eax
cmp dword [edx + 0x14], 8
jb 0x410d71
mov edx, dword [edx]
test edx, edx
jne 0x410d79
xor ecx, ecx
jmp 0x410d8f
mov ecx, edx
lea esi, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410d80
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x448]
call fcn.00405030
mov edx, dword [ebp - 0x418]
cmp edx, 8
jb 0x410ddc
mov ecx, dword [ebp - 0x42c]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410dd2
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4114db
push edx
push ecx
call fcn.00458729
add esp, 8
mov esi, dword [ebp - 0x448]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, 0x104
or ecx, eax
jge 0x410e0c
push 0x104
lea ecx, [ebp - 0x448]
call fcn.00404ef0
mov esi, dword [ebp - 0x448]
cmp dword [esi - 8], 0x104
jl 0x4114bd
push str.logdumpuper.log
xor eax, eax
mov dword [esi - 0xc], 0x104
push esi
mov word [esi + 0x208], ax
call ebx
push dword [esi - 8]
push esi
call fcn.00499183
add esp, 8
test eax, eax
js 0x4114bd
cmp eax, dword [esi - 8]
jg 0x4114bd
xor ecx, ecx
mov dword [esi - 0xc], eax
mov word [esi + eax*2], cx
or ebx, 0xffffffff
push 0x4ee738
push 0x6400000
push 0
push 0
push esi
call fcn.00448d30
mov edi, dword [0x51fc68]
mov dword [ebp - 0x450], edi
test edi, edi
jne 0x410edb
push 0x51c070
call dword [ebp - 0x460]
cmp dword [0x51fc68], edi
jne 0x410ec5
push 0x1c
call fcn.00458b87
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x410eb7
mov dword [ecx + 0x10], edi
mov dword [ecx + 0x14], edi
mov dword [ecx + 0x18], edi
mov dword [ecx], edi
mov dword [ecx + 4], edi
mov dword [ecx + 8], edi
mov dword [ecx + 0xc], edi
jmp 0x410eb9
xor ecx, ecx
xchg dword [ebp - 0x454], eax
mov dword [0x51fc68], ecx
push 0x51c070
call dword [ebp - 0x458]
mov eax, dword [0x51fc68]
mov dword [ebp - 0x450], eax
push 0x208
lea eax, [ebp - 0x20c]
push 0
push eax
call fcn.0048bbb0
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x104
push eax
mov eax, dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0x400000
mov dword [ebp - 0x468], eax
call eax
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x464], edi
call edi
lea eax, [ebp - 0x20c]
push eax
call edi
push str.netul.dll
lea eax, [ebp - 0x20c]
push eax
call dword [ebp - 0x45c]
call fcn.00404110
mov ecx, eax
test ecx, ecx
je 0x4114e0
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x20c]
push eax
call fcn.004077b0
test al, al
jne 0x410fa2
lea ecx, [ebp - 0x20c]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410f80
sub ecx, edx
lea eax, [ebp - 0x20c]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x448]
call fcn.00405030
mov edi, dword [ebp - 0x448]
mov eax, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push edi
mov dword [ebp - 0x46c], eax
call eax
test eax, eax
jne 0x410fc3
mov byte [ebp - 0x449], 1
jmp 0x410fd5
push edi
call fcn.00426310
add esp, 4
test eax, eax
sete byte [ebp - 0x449]
add edi, 0xfffffff0
mov eax, ebx
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x410fec
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
cmp byte [ebp - 0x449], 0
jne 0x411017
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x20c]
push eax
call fcn.0040cce0
mov ebx, eax
mov dword [ebp - 0x448], ebx
test ebx, ebx
jne 0x41119c
mov ebx, dword [0x51fc68]
mov dword [ebp - 0x450], ebx
test ebx, ebx
jne 0x411084
push 0x51c070
call dword [ebp - 0x460]
cmp dword [0x51fc68], ebx
jne 0x41106e
push 0x1c
call fcn.00458b87
mov ecx, eax
add esp, 4
test ecx, ecx
je 0x411060
mov dword [ecx + 0x10], ebx
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x18], ebx
mov dword [ecx], ebx
mov dword [ecx + 4], ebx
mov dword [ecx + 8], ebx
mov dword [ecx + 0xc], ebx
jmp 0x411062
xor ecx, ecx
xchg dword [ebp - 0x454], eax
mov dword [0x51fc68], ecx
push 0x51c070
call dword [ebp - 0x458]
mov eax, dword [0x51fc68]
mov dword [ebp - 0x450], eax
push 0x208
lea eax, [ebp - 0x414]
push 0
push eax
call fcn.0048bbb0
add esp, 0xc
lea eax, [ebp - 0x414]
push 0x104
push eax
push 0x400000
call dword [ebp - 0x468]
mov edi, dword [ebp - 0x464]
lea eax, [ebp - 0x414]
push eax
call edi
lea eax, [ebp - 0x414]
push eax
call edi
push str.NetBridge.dll
lea eax, [ebp - 0x414]
push eax
call dword [ebp - 0x45c]
call fcn.00404110
mov ecx, eax
test ecx, ecx
je 0x4114ea
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
lea ecx, [ebp - 0x448]
mov dword [ebp - 0x448], eax
lea eax, [ebp - 0x414]
push eax
call fcn.004077b0
test al, al
jne 0x411139
lea ecx, [ebp - 0x414]
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411117
sub ecx, edx
lea eax, [ebp - 0x414]
sar ecx, 1
push ecx
push eax
lea ecx, [ebp - 0x448]
call fcn.00405030
mov edi, dword [ebp - 0x448]
push edi
call dword [ebp - 0x46c]
test eax, eax
jne 0x41114e
mov bl, 1
jmp 0x41115c
push edi
call fcn.00426310
add esp, 4
test eax, eax
sete bl
add edi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [edi + 0xc], eax
dec eax
test eax, eax
jg 0x411174
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
test bl, bl
je 0x411184
mov dword [ebp - 0x448], 0
jmp 0x41119c
mov ecx, dword [ebp - 0x450]
lea eax, [ebp - 0x414]
push eax
call fcn.0040cce0
mov dword [ebp - 0x448], eax
call fcn.00448b40
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x4112ee
push 0x48
push str.d:jenkins.jenkinsworkspacelib_commondumpuperdump_uperdumpuper.cpp
lea ecx, [ebp - 0x42c]
mov dword [ebp - 0x41c], eax
mov dword [ebp - 0x418], 0xf
mov byte [ebp - 0x42c], al
call fcn.00409490
push 3
push 0x4eea40
lea ecx, [ebp - 0x444]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
call fcn.00409490
call fcn.00448b40
mov ebx, eax
lea ecx, [ebp - 0x508]
push 0x4f
lea eax, [ebp - 0x42c]
push eax
lea eax, [ebp - 0x444]
push eax
call fcn.00405ef0
mov edi, eax
push str.init_net:
push edi
call fcn.00405200
add esp, 8
mov ecx, edi
push dword [ebp - 0x448]
call fcn.0040bca0
mov edx, dword [ebx]
mov ecx, ebx
push edi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x508]
call fcn.004070c0
mov edx, dword [ebp - 0x430]
cmp edx, 0x10
jb 0x411299
mov ecx, dword [ebp - 0x444]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41128f
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4114f4
push edx
push ecx
call fcn.00458729
add esp, 8
mov edx, dword [ebp - 0x418]
mov dword [ebp - 0x434], 0
mov dword [ebp - 0x430], 0xf
mov byte [ebp - 0x444], 0
cmp edx, 0x10
jb 0x4112ee
mov ecx, dword [ebp - 0x42c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4112e4
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x4114f4
push edx
push ecx
call fcn.00458729
add esp, 8
cmp dword [ebp - 0x448], 0
je 0x411490
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call fcn.0040e200
mov ecx, dword [0x51fcb8]
add esp, 8
test ecx, ecx
jne 0x41135f
push 0x51c090
call dword [ebp - 0x460]
cmp dword [0x51fcb8], 0
jne 0x41134e
push 4
call fcn.00458b87
mov edi, eax
add esp, 4
test edi, edi
je 0x411340
mov ecx, edi
call fcn.0045a2f0
jmp 0x411342
xor edi, edi
xchg dword [ebp - 0x46c], eax
mov dword [0x51fcb8], edi
push 0x51c090
call dword [ebp - 0x458]
mov ecx, dword [0x51fcb8]
call fcn.0045cc20
call fcn.00426b20
mov ebx, dword [0x51fc50]
add ebx, 0x10
push ebx
call dword [ebp - 0x460]
mov edi, dword [0x51fca4]
test edi, edi
je 0x4113cb
cmp dword [edi + 4], 0
jle 0x411399
mov eax, dword [edi]
push dword [eax]
call dword [sym.imp.USER32.dll_DestroyWindow]
mov edi, dword [0x51fca4]
test edi, edi
je 0x4113cb
mov eax, dword [edi]
test eax, eax
je 0x4113b2
push eax
call fcn.004962f8
add esp, 4
mov dword [edi], 0
push 0xc
push edi
mov dword [edi + 4], 0
mov dword [edi + 8], 0
call fcn.00458729
add esp, 8
push ebx
mov dword [0x51fca4], 0
call dword [ebp - 0x458]
mov edi, dword [0x51fca0]
test edi, edi
je 0x411424
mov eax, dword [edi]
test eax, eax
je 0x4113fb
push eax
call fcn.004962f8
add esp, 4
mov dword [edi], 0
mov eax, dword [edi + 4]
test eax, eax
je 0x411412
push eax
call fcn.004962f8
add esp, 4
mov dword [edi + 4], 0
push 0xc
push edi
mov dword [edi + 8], 0
call fcn.00458729
add esp, 8
mov edi, dword [0x51fc98]
test edi, edi
je 0x411456
cmp dword [edi], 0
je 0x411456
mov ecx, dword [edi + 0x10]
test ecx, ecx
je 0x411440
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov eax, dword [edi + 0x20]
push 0
mov dword [edi + 0x10], 0
call eax
add edi, 0x24
cmp dword [edi], 0
jne 0x411433
mov edi, dword [0x51c010]
mov ecx, dword [0x51c014]
cmp edi, ecx
jae 0x411480
mov eax, dword [edi]
test eax, eax
je 0x411479
mov eax, dword [eax + 0x1c]
push 0
call eax
mov ecx, dword [0x51c014]
add edi, 4
cmp edi, ecx
jb 0x411466
mov ecx, 0x51fc6c
call fcn.0040e6f0
call dword [sym.imp.ole32.dll_CoUninitialize]
add esi, 0xfffffff0
or eax, 0xffffffff
lock xadd dword [esi + 0xc], eax
dec eax
test eax, eax
jg 0x4114a8
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00458b47
mov esp, ebp
pop ebp
ret 0x10
push 0x80070057
call fcn.00403e50
push 0x80004005
call fcn.00403e50
call fcn.00496138
call fcn.00405160
call fcn.00496138
push 0x80004005
call fcn.00403e50
push 0x80004005
call fcn.00403e50
call fcn.00496138
int3