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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3e0
mov eax, dword [0x5036e8]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
push 0
mov dword [ebp - 0x2a4], ebx
call dword [sym.imp.ole32.dll_CoInitialize]
lea ecx, [ebp - 0x329]
call fcn.0040ccf0
push 0
push 0
push str.sys_clean
call fcn.0040c6e0
push 0x208
lea eax, [ebp - 0x270]
push 0
push eax
call fcn.00499120
add esp, 0x18
lea eax, [ebp - 0x270]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
mov edi, dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
lea eax, [ebp - 0x270]
push eax
call edi
mov esi, 2
nop
lea eax, [ebp - 0x270]
push eax
call edi
sub esi, 1
jne 0x410810
push str.UtilsDumpUper.exe
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [ebp - 0x270]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x410879
lea ecx, [ebp - 0x270]
lea edx, [ecx + 2]
nop word [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410850
sub ecx, edx
lea eax, [ebp - 0x270]
sar ecx, 1
push ecx
push eax
push 0x104
push 0x507e98
call fcn.004a1913
add esp, 0x10
lea eax, [ebp - 0x344]
push eax
call fcn.0042fed0
add esp, 4
mov ecx, eax
push 0xe
push str._sys_clean.log
call fcn.0040eb20
cmp dword [eax + 0x14], 8
jb 0x41089e
mov eax, dword [eax]
push 0x4d3594
push 0x6400000
push 1
push 0
push eax
call fcn.0046fce0
mov edx, dword [ebp - 0x330]
cmp edx, 8
jb 0x4108f2
mov ecx, dword [ebp - 0x344]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x4108e8
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e14
push edx
push ecx
call fcn.0047771f
add esp, 8
push 2
call fcn.00470ed0
add esp, 4
call fcn.00439c40
call fcn.0046fbf0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x410a44
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.0040ecb0
push 0x56
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0040a7e0
mov esi, eax
push str.client_exe_start
push esi
call fcn.0040b5c0
add esp, 8
call fcn.0046fbf0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
mov edx, dword [ebp - 0x274]
cmp edx, 0x10
jb 0x4109ef
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4109e5
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e19
push edx
push ecx
call fcn.0047771f
add esp, 8
mov edx, dword [ebp - 0x314]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
cmp edx, 0x10
jb 0x410a44
mov ecx, dword [ebp - 0x328]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410a3a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e19
push edx
push ecx
call fcn.0047771f
add esp, 8
push 0x30
lea eax, [ebp - 0x310]
mov dword [ebp - 0x348], 0
push 0
push eax
call fcn.00499120
add esp, 0xc
lea ecx, [ebp - 0x310]
call fcn.00444e10
mov ecx, ebx
mov dword [ebp - 0x278], 0
xor eax, eax
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
lea edx, [ecx + 2]
nop
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x410a90
sub ecx, edx
sar ecx, 1
push ecx
push ebx
lea ecx, [ebp - 0x288]
call fcn.0040edb0
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x310]
call fcn.00445490
mov edx, dword [ebp - 0x274]
test eax, eax
sete bl
cmp edx, 8
jb 0x410b03
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x410af9
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e1e
push edx
push ecx
call fcn.0047771f
add esp, 8
call fcn.0046fbf0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
test bl, bl
je 0x410bda
sub eax, 1
jne 0x411dd0
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.0040ecb0
push 0x5b
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0040a7e0
push str.not_a_cmdline
mov esi, eax
push esi
call fcn.0040b5c0
add esp, 8
call fcn.0046fbf0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
lea ecx, [ebp - 0x288]
call fcn.0040afe0
lea ecx, [ebp - 0x328]
call fcn.0040afe0
jmp 0x411dd0
sub eax, 1
jne 0x410e8f
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
call fcn.0040ecb0
push 1
push 2
lea ecx, [ebp - 0x3e0]
call fcn.0040a370
push 0xffffffffffffffff
push 0x4d3824
lea ecx, [ebp - 0x288]
call fcn.0040ff80
push 0xffffffffffffffff
push 0x4d3828
lea ecx, [ebp - 0x288]
mov edi, eax
call fcn.0040ff80
push 0x64
mov esi, eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00499120
add esp, 0xc
cmp esi, 0xffffffff
je 0x410d6d
lea eax, [esi - 1]
cmp edi, eax
jae 0x410d6d
mov eax, dword [ebp - 0x278]
lea edx, [edi + 1]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
cmp eax, edx
jb 0x411e23
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x274], 0x10
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push ecx
add eax, edx
lea ecx, [ebp - 0x2a0]
push eax
call fcn.0040ecb0
cmp dword [ebp - 0x28c], 0x10
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push eax
push 0x5e
lea eax, [ebp - 0x68]
push str.__4d___s_
push eax
call fcn.00409e10
mov edx, dword [ebp - 0x28c]
add esp, 0x10
cmp edx, 0x10
jb 0x410d50
mov ecx, dword [ebp - 0x2a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410d46
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e28
push edx
push ecx
call fcn.0047771f
add esp, 8
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], 0
jmp 0x410d80
push 0x5e
lea eax, [ebp - 0x68]
push str.__4d_
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [ebp - 0x314], 0x10
lea eax, [ebp - 0x328]
cmovae eax, dword [ebp - 0x328]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x3e0]
push str.cmd_line:
push eax
call fcn.0040b5c0
mov ecx, dword [ebp - 0x2a4]
mov eax, str._null_
test ecx, ecx
cmovne eax, ecx
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.00409890
add esp, 0x20
call fcn.0046fbf0
lea ecx, [ebp - 0x3e0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
mov edx, dword [ebp - 0x314]
cmp edx, 0x10
jb 0x410e3a
mov ecx, dword [ebp - 0x328]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e30
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e2d
push edx
push ecx
call fcn.0047771f
add esp, 8
mov edx, dword [ebp - 0x274]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
cmp edx, 0x10
jb 0x410e8f
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x410e85
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e2d
push edx
push ecx
call fcn.0047771f
add esp, 8
mov ecx, dword [0x508504]
mov ebx, dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
test ecx, ecx
jne 0x410eef
push 0x502038
call ebx
cmp dword [0x508504], 0
jne 0x410ede
push 4
call fcn.004776ef
add esp, 4
test eax, eax
je 0x410ecc
mov ecx, eax
mov dword [eax], 0
call fcn.00473d00
jmp 0x410ece
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x2a4]
lock or dword [ecx], edx
mov dword [0x508504], eax
push 0x502038
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ecx, dword [0x508504]
push 0
push str.sys_clean
push 2
call fcn.00473d80
mov esi, eax
call fcn.0046fbf0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
test esi, esi
jne 0x410f95
sub eax, 1
jne 0x411dd0
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], esi
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.0040ecb0
push 0x60
lea eax, [ebp - 0x328]
push eax
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0040a7e0
push str.stat_init_failed
jmp 0x410b9c
sub eax, 1
jne 0x41122d
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
call fcn.0040ecb0
push 1
push 2
lea ecx, [ebp - 0x3e0]
call fcn.0040a370
push 0xffffffffffffffff
push 0x4d3824
lea ecx, [ebp - 0x2a0]
call fcn.0040ff80
push 0xffffffffffffffff
push 0x4d3828
lea ecx, [ebp - 0x2a0]
mov edi, eax
call fcn.0040ff80
push 0x64
mov esi, eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00499120
add esp, 0xc
cmp esi, 0xffffffff
je 0x411128
lea eax, [esi - 1]
cmp edi, eax
jae 0x411128
mov eax, dword [ebp - 0x290]
lea edx, [edi + 1]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
cmp eax, edx
jb 0x411e32
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x28c], 0x10
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push ecx
add eax, edx
lea ecx, [ebp - 0x288]
push eax
call fcn.0040ecb0
cmp dword [ebp - 0x274], 0x10
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push eax
push 0x63
lea eax, [ebp - 0x68]
push str.__4d___s_
push eax
call fcn.00409e10
mov edx, dword [ebp - 0x274]
add esp, 0x10
cmp edx, 0x10
jb 0x41110b
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411101
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e37
push edx
push ecx
call fcn.0047771f
add esp, 8
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
jmp 0x41113b
push 0x63
lea eax, [ebp - 0x68]
push str.__4d_
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [ebp - 0x314], 0x10
lea eax, [ebp - 0x328]
cmovae eax, dword [ebp - 0x328]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x3e0]
push str.start_check_singleton
push eax
call fcn.0040b5c0
add esp, 0x18
call fcn.0046fbf0
lea ecx, [ebp - 0x3e0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
mov edx, dword [ebp - 0x314]
cmp edx, 0x10
jb 0x4111d8
mov ecx, dword [ebp - 0x328]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x4111ce
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e3c
push edx
push ecx
call fcn.0047771f
add esp, 8
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
cmp edx, 0x10
jb 0x41122d
mov ecx, dword [ebp - 0x2a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411223
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e3c
push edx
push ecx
call fcn.0047771f
add esp, 8
lea eax, [ebp - 0x348]
push eax
call fcn.0040c8f0
add esp, 4
test al, al
je 0x4113f8
push str.sys_clean_web_main_wnd
push str.sys_clean_web_main_wnd_class
push 0
push 0
call dword [sym.imp.USER32.dll_FindWindowExW]
mov edi, eax
test edi, edi
je 0x411dd0
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov edx, eax
mov dword [ebp - 0x278], 0
mov ecx, edx
mov dword [ebp - 0x274], 7
xor eax, eax
mov word [ebp - 0x288], ax
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x411290
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x288]
call fcn.0040edb0
call fcn.0046fbf0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x41139b
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x334], eax
mov dword [ebp - 0x330], 0xf
mov byte [ebp - 0x344], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
call fcn.0040ecb0
push 0x3d
lea eax, [ebp - 0x344]
push eax
lea eax, [ebp - 0x328]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0040a7e0
mov esi, eax
push str.dispatch_cmd_line:
push esi
call fcn.00409890
cmp dword [ebp - 0x274], 8
lea ecx, [ebp - 0x288]
mov eax, str._null_
cmovae ecx, dword [ebp - 0x288]
test ecx, ecx
cmovne eax, ecx
push eax
push esi
call fcn.00409890
add esp, 0x10
call fcn.0046fbf0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
lea ecx, [ebp - 0x328]
call fcn.0040afe0
lea ecx, [ebp - 0x344]
call fcn.0040afe0
mov eax, dword [ebp - 0x278]
add eax, eax
mov dword [ebp - 0x294], 0
cmp dword [ebp - 0x274], 8
push 0
mov dword [ebp - 0x290], eax
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push 0x1388
push 1
mov dword [ebp - 0x28c], eax
lea eax, [ebp - 0x294]
push eax
push 0
push 0x4a
push edi
call dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea ecx, [ebp - 0x288]
call fcn.0040b030
jmp 0x411dd0
call fcn.0046fbf0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4116a3
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], 0xf
mov byte [ebp - 0x2a0], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
call fcn.0040ecb0
push 1
push 2
lea ecx, [ebp - 0x3e0]
call fcn.0040a370
push 0xffffffffffffffff
push 0x4d3824
lea ecx, [ebp - 0x2a0]
call fcn.0040ff80
push 0xffffffffffffffff
push 0x4d3828
lea ecx, [ebp - 0x2a0]
mov edi, eax
call fcn.0040ff80
push 0x64
mov esi, eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00499120
add esp, 0xc
cmp esi, 0xffffffff
je 0x41159e
lea eax, [esi - 1]
cmp edi, eax
jae 0x41159e
mov eax, dword [ebp - 0x290]
lea edx, [edi + 1]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
cmp eax, edx
jb 0x411e41
sub esi, edi
sub eax, edx
lea ecx, [esi - 1]
cmp eax, ecx
cmovb ecx, eax
cmp dword [ebp - 0x28c], 0x10
lea eax, [ebp - 0x2a0]
cmovae eax, dword [ebp - 0x2a0]
push ecx
add eax, edx
lea ecx, [ebp - 0x288]
push eax
call fcn.0040ecb0
cmp dword [ebp - 0x274], 0x10
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push eax
push 0x68
lea eax, [ebp - 0x68]
push str.__4d___s_
push eax
call fcn.00409e10
mov edx, dword [ebp - 0x274]
add esp, 0x10
cmp edx, 0x10
jb 0x411581
mov ecx, dword [ebp - 0x288]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411577
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e46
push edx
push ecx
call fcn.0047771f
add esp, 8
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
jmp 0x4115b1
push 0x68
lea eax, [ebp - 0x68]
push str.__4d_
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [ebp - 0x314], 0x10
lea eax, [ebp - 0x328]
cmovae eax, dword [ebp - 0x328]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x3e0]
push str.new_instance
push eax
call fcn.0040b5c0
add esp, 0x18
call fcn.0046fbf0
lea ecx, [ebp - 0x3e0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
mov edx, dword [ebp - 0x314]
cmp edx, 0x10
jb 0x41164e
mov ecx, dword [ebp - 0x328]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411644
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e4b
push edx
push ecx
call fcn.0047771f
add esp, 8
mov edx, dword [ebp - 0x28c]
mov dword [ebp - 0x318], 0
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], 0
cmp edx, 0x10
jb 0x4116a3
mov ecx, dword [ebp - 0x2a0]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x411699
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e4b
push edx
push ecx
call fcn.0047771f
add esp, 8
xor eax, eax
mov byte [ebp - 0x2a4], 0
push 0xc
push str.__popularize
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x290], 0
mov dword [ebp - 0x28c], 7
mov word [ebp - 0x2a0], ax
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], 7
mov word [ebp - 0x288], ax
call fcn.0040edb0
lea eax, [ebp - 0x288]
push eax
lea ecx, [ebp - 0x310]
call fcn.004453f0
mov edx, dword [ebp - 0x274]
mov esi, eax
cmp edx, 8
jb 0x411744
mov ecx, dword [ebp - 0x288]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x41173a
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x411e50
push edx
push ecx
call fcn.0047771f
add esp, 8
test esi, esi
je 0x411754
mov byte [ebp - 0x2a4], 1
jmp 0x411971
call fcn.0046fbf0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
sub eax, 1
jne 0x4118e7
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.0040ecb0
push 1
push 2
lea ecx, [ebp - 0x3e0]
call fcn.0040a370
push 0xffffffffffffffff
push 0x4d3824
lea ecx, [ebp - 0x328]
call fcn.0040ff80
push 0xffffffffffffffff
push 0x4d3828
lea ecx, [ebp - 0x328]
mov edi, eax
call fcn.0040ff80
push 0x64
mov esi, eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00499120
add esp, 0xc
cmp esi, 0xffffffff
je 0x41185b
lea eax, [esi - 1]
cmp edi, eax
jae 0x41185b
sub esi, edi
lea eax, [edi + 1]
dec esi
lea ecx, [ebp - 0x328]
push esi
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.004103c0
cmp dword [eax + 0x14], 0x10
jb 0x41183a
mov eax, dword [eax]
push eax
push 0x70
lea eax, [ebp - 0x68]
push str.__4d___s_
push eax
call fcn.00409e10
add esp, 0x10
lea ecx, [ebp - 0x344]
call fcn.0040afe0
jmp 0x41186e
push 0x70
lea eax, [ebp - 0x68]
push str.__4d_
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [ebp - 0x274], 0x10
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x3e0]
push 0x4d3c5c
push eax
call fcn.0040b5c0
add esp, 0x18
call fcn.0046fbf0
lea ecx, [ebp - 0x3e0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
lea ecx, [ebp - 0x288]
call fcn.0040afe0
lea ecx, [ebp - 0x328]
call fcn.0040afe0
mov esi, dword [0x508504]
test esi, esi
jne 0x41193c
push 0x502038
call ebx
cmp dword [0x508504], esi
jne 0x41192b
push 4
call fcn.004776ef
add esp, 4
test eax, eax
je 0x411919
mov ecx, eax
mov dword [eax], esi
call fcn.00473d00
jmp 0x41191b
xor eax, eax
xor edx, edx
lea ecx, [ebp - 0x2e0]
lock or dword [ecx], edx
mov dword [0x508504], eax
push 0x502038
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [0x508504]
lea eax, [ebp - 0x344]
push eax
call fcn.0042f1d0
add esp, 4
cmp dword [eax + 0x14], 8
jb 0x411953
mov eax, dword [eax]
push 0
push 0
push 1
push eax
push str.start_exe
mov ecx, esi
call fcn.00473da0
lea ecx, [ebp - 0x344]
call fcn.0040b030
xorps xmm0, xmm0
mov dword [ebp - 0x2a8], 0
push 0xb4
lea eax, [ebp - 0x11c]
movlpd qword [ebp - 0x2c0], xmm0
push 0
push eax
movlpd qword [ebp - 0x2b8], xmm0
movlpd qword [ebp - 0x2b0], xmm0
mov dword [ebp - 0x2dc], 0x4d359c
movups xmmword [ebp - 0x2d8], xmm0
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0
call fcn.00499120
add esp, 0xc
lea ecx, [ebp - 0x11c]
call fcn.00413850
push dword [ebp - 0x2a4]
lea ecx, [ebp - 0x11c]
call fcn.00418d30
mov bl, al
call fcn.0046fbf0
push 1
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
mov ecx, eax
call edx
movzx eax, al
test bl, bl
jne 0x411b01
sub eax, 1
jne 0x411ac0
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], eax
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x344]
mov dword [ebp - 0x334], 0
mov dword [ebp - 0x330], 0xf
mov byte [ebp - 0x344], bl
call fcn.0040ecb0
push 0x78
lea eax, [ebp - 0x288]
push eax
lea eax, [ebp - 0x344]
push eax
lea ecx, [ebp - 0x3e0]
call fcn.0040a7e0
mov esi, eax
push str.main_wnd_init_fail
push esi
call fcn.0040b5c0
add esp, 8
call fcn.0046fbf0
push esi
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
lea ecx, [ebp - 0x344]
call fcn.0040afe0
lea ecx, [ebp - 0x288]
call fcn.0040afe0
lea ecx, [ebp - 0x11c]
call fcn.00413ef0
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x411ade
push eax
call fcn.0049c851
add esp, 4
mov eax, dword [ebp - 0x2d8]
test eax, eax
je 0x411af1
push eax
call fcn.0049c851
add esp, 4
lea ecx, [ebp - 0x2a0]
call fcn.0040b030
jmp 0x411dd0
sub eax, 1
jne 0x411c81
push 0x5f
push str.d:jenkins.jenkinsworkspacepay_group_sys_clean_sys_clean_clientclient_sys_clean_srcmain.cc
lea ecx, [ebp - 0x328]
mov dword [ebp - 0x318], eax
mov dword [ebp - 0x314], 0xf
mov byte [ebp - 0x328], al
call fcn.0040ecb0
push 3
push 0x4d3b60
lea ecx, [ebp - 0x288]
mov dword [ebp - 0x278], 0
mov dword [ebp - 0x274], 0xf
mov byte [ebp - 0x288], 0
call fcn.0040ecb0
push 1
push 2
lea ecx, [ebp - 0x3e0]
call fcn.0040a370
push 0xffffffffffffffff
push 0x4d3824
lea ecx, [ebp - 0x328]
call fcn.0040ff80
push 0xffffffffffffffff
push 0x4d3828
lea ecx, [ebp - 0x328]
mov edi, eax
call fcn.0040ff80
push 0x64
mov esi, eax
lea eax, [ebp - 0x68]
push 0
push eax
call fcn.00499120
add esp, 0xc
cmp esi, 0xffffffff
je 0x411bf5
lea eax, [esi - 1]
cmp edi, eax
jae 0x411bf5
sub esi, edi
lea eax, [edi + 1]
dec esi
lea ecx, [ebp - 0x328]
push esi
push eax
lea eax, [ebp - 0x344]
push eax
call fcn.004103c0
cmp dword [eax + 0x14], 0x10
jb 0x411bd4
mov eax, dword [eax]
push eax
push 0x7b
lea eax, [ebp - 0x68]
push str.__4d___s_
push eax
call fcn.00409e10
add esp, 0x10
lea ecx, [ebp - 0x344]
call fcn.0040afe0
jmp 0x411c08
push 0x7b
lea eax, [ebp - 0x68]
push str.__4d_
push eax
call fcn.00409e10
add esp, 0xc
cmp dword [ebp - 0x274], 0x10
lea eax, [ebp - 0x288]
cmovae eax, dword [ebp - 0x288]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x3e0]
push eax
call fcn.0040b5c0
lea eax, [ebp - 0x3e0]
push str.main_wnd_init_finish
push eax
call fcn.0040b5c0
add esp, 0x18
call fcn.0046fbf0
lea ecx, [ebp - 0x3e0]
push ecx
mov ecx, eax
mov edx, dword [eax]
call dword [edx + 0x1c]
lea ecx, [ebp - 0x3e0]
call fcn.0040b820
lea ecx, [ebp - 0x288]
call fcn.0040afe0
lea ecx, [ebp - 0x328]
call fcn.0040afe0
mov edi, dword [sym.imp.USER32.dll_PeekMessageW]
mov ebx, 1
xor esi, esi
nop
test ebx, ebx
je 0x411cc2
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x2c0]
push eax
call edi
test eax, eax
jne 0x411cc2
mov eax, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2dc]
push esi
inc esi
mov edx, dword [eax + 4]
call edx
test eax, eax
jne 0x411c94
xor ebx, ebx
push 0
push 0
push 0
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.USER32.dll_GetMessageW]
cmp eax, 0xffffffff
je 0x411c90
test eax, eax
je 0x411d58
mov eax, dword [ebp - 0x2dc]
lea ecx, [ebp - 0x2c0]
push ecx
lea ecx, [ebp - 0x2dc]
call dword [eax]
test eax, eax
jne 0x411d11
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [ebp - 0x2c0]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
mov eax, dword [ebp - 0x2bc]
cmp eax, 0x118
ja 0x411d2c
je 0x411d48
cmp eax, 0xf
je 0x411d48
cmp eax, 0xa0
jmp 0x411d31
cmp eax, 0x200
je 0x411d48
mov ecx, 1
xor eax, eax
test ecx, ecx
mov ebx, ecx
cmove eax, esi
mov esi, eax
jmp 0x411c90
xor ecx, ecx
xor eax, eax
test ecx, ecx
cmove eax, esi
mov esi, eax
jmp 0x411c90
lea ecx, [ebp - 0x11c]
call fcn.00413ef0
mov eax, dword [ebp - 0x2cc]
test eax, eax
je 0x411d80
push eax
call fcn.0049c851
add esp, 4
mov dword [ebp - 0x2cc], 0
mov eax, dword [ebp - 0x2d8]
mov dword [ebp - 0x2c8], 0
mov dword [ebp - 0x2c4], 0
test eax, eax
je 0x411db1
push eax
call fcn.0049c851
add esp, 4
mov dword [ebp - 0x2d8], 0
lea ecx, [ebp - 0x2a0]
mov dword [ebp - 0x2d4], 0
mov dword [ebp - 0x2d0], 0
call fcn.0040b030
lea ecx, [ebp - 0x310]
call fcn.00444ee0
mov eax, dword [ebp - 0x348]
pop edi
pop esi
pop ebx
test eax, eax
je 0x411def
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.004712c0
call fcn.0043a100
call dword [sym.imp.ole32.dll_CoUninitialize]
mov ecx, dword [ebp - 4]
mov eax, 1
xor ecx, ebp
call fcn.004779e3
mov esp, ebp
pop ebp
ret 0x10
call fcn.0049c69a
call fcn.0049c69a
call fcn.0049c69a
call fcn.0040e580
call fcn.0049c69a
call fcn.0049c69a
call fcn.0040e580
call fcn.0049c69a
call fcn.0049c69a
call fcn.0040e580
call fcn.0049c69a
call fcn.0049c69a
call fcn.0049c69a
int3