Function at 0x10045210
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1015317b
mov eax, dword fs:[0]
push eax
sub esp, 0x1c0
mov eax, dword [0x101a154c]
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 dword [ebp - 0x6c], ecx
call fcn.100a23f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045370
push 0x5e
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultipluginpetspluginpetscloudpopwindow.cpp
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x48], eax
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], al
call fcn.10015880
push 3
push 0x1015fd24
lea ecx, [ebp - 0x40]
mov dword [ebp - 4], 0
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10015880
mov byte [ebp - 4], 1
call fcn.100a23f0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0xd1
lea eax, [ebp - 0x58]
push eax
lea eax, [ebp - 0x40]
push eax
call fcn.100130a0
mov esi, eax
push str.HandlePopConditionCommon
push esi
mov byte [ebp - 4], 2
call fcn.10013d40
mov edx, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [edx + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10013df0
mov edx, dword [ebp - 0x2c]
mov byte [ebp - 4], 0
cmp edx, 0x10
jb 0x10045323
mov ecx, dword [ebp - 0x40]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10045319
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d49
push edx
push ecx
call fcn.100f8c70
add esp, 8
mov edx, dword [ebp - 0x44]
mov dword [ebp - 0x30], 0
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
cmp edx, 0x10
jb 0x10045370
mov ecx, dword [ebp - 0x58]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10045366
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10045d4e
push edx
push ecx
call fcn.100f8c70
add esp, 8
mov dword [ebp - 0x14], 0
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10045d53
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 3
push eax
call fcn.1004cf20
add esp, 4
push dword [ebp - 0x14]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
or ebx, 0xffffffff
test eax, eax
je 0x1004548e
call fcn.100a23f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045d03
lea ecx, [ebp - 0x19]
call fcn.100447b0
push 0x5e
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultipluginpetspluginpetscloudpopwindow.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10015880
push 3
push 0x1015fd24
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 4
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10015880
mov byte [ebp - 4], 5
call fcn.100a23f0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0xd7
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100130a0
mov esi, eax
test ebx, ebx
mov byte [ebp - 4], 6
mov ecx, 0x1015fd70
cmovne ecx, ebx
push ecx
push esi
call fcn.10016d20
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10013df0
lea ecx, [ebp - 0x58]
call fcn.10013a00
lea ecx, [ebp - 0x40]
call fcn.10013a00
or ebx, 0xffffffff
xor esi, esi
jmp 0x10045d0c
call fcn.10070d10
test eax, eax
je 0x10045571
call fcn.100a23f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045d03
lea ecx, [ebp - 0x19]
call fcn.10044e40
push 0x5e
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultipluginpetspluginpetscloudpopwindow.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10015880
push 3
push 0x1015fd24
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 7
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10015880
mov byte [ebp - 4], 8
call fcn.100a23f0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0xdd
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100130a0
mov esi, eax
test ebx, ebx
mov byte [ebp - 4], 9
mov ecx, 0x1015fd70
cmovne ecx, ebx
push ecx
push esi
call fcn.10016d20
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10013df0
lea ecx, [ebp - 0x58]
call fcn.10013a00
lea ecx, [ebp - 0x40]
call fcn.10013a00
or ebx, 0xffffffff
xor esi, esi
jmp 0x10045d0c
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10045d5d
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov esi, 0x10162184
mov byte [ebp - 4], 0xa
shr esi, 0x10
lea ecx, [ebp - 0x28]
mov eax, 0x10162184
test esi, esi
jne 0x100455ae
movzx eax, ax
push eax
call fcn.10014c30
jmp 0x100455ba
push 1
push 0x10162184
call fcn.1001c8c0
mov byte [ebp - 4], 0xb
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10045d67
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, str.poptime
mov byte [ebp - 4], 0xc
lea ecx, [ebp - 0x24]
test eax, 0xffff0000
jne 0x100455f6
movzx eax, ax
push eax
call fcn.10014c30
jmp 0x10045602
push 7
push str.poptime
call fcn.1001c8c0
mov byte [ebp - 4], 0xd
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10045d71
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov eax, str.PetsPlugin
mov byte [ebp - 4], 0xe
lea ecx, [ebp - 0x20]
test eax, 0xffff0000
jne 0x1004563e
movzx eax, ax
push eax
call fcn.10014c30
jmp 0x1004564a
push 0xa
push str.PetsPlugin
call fcn.1001c8c0
lea eax, [ebp - 0x64]
mov byte [ebp - 4], 0xf
push eax
call fcn.1004dac0
push eax
lea eax, [ebp - 0x28]
mov byte [ebp - 4], 0x10
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x68]
push eax
call fcn.1009b220
push 0xa
push 0
push dword [eax]
call fcn.10129179
mov edi, dword [ebp - 0x68]
add esp, 0x24
mov dword [ebp - 0x5c], eax
add edi, 0xfffffff0
mov dword [ebp - 0x60], edx
mov ecx, ebx
lock xadd dword [edi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1004569f
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x64]
mov eax, ebx
mov byte [ebp - 4], 0xf
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100456bd
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 4], 0xd
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100456db
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 0xb
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100456f9
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10045717
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
call fcn.101295f1
mov ecx, dword [ebp - 0x5c]
add esp, 4
or ecx, dword [ebp - 0x60]
mov edi, eax
mov dword [ebp - 0x64], edx
je 0x10045837
mov ecx, dword [ebp - 0x6c]
mov ecx, dword [ecx + 0x24]
mov ecx, dword [ecx + 0x4c]
mov eax, ecx
shl eax, 4
sub eax, ecx
mov ecx, dword [ebp - 0x64]
shl eax, 2
sub edi, dword [ebp - 0x5c]
cdq
sbb ecx, dword [ebp - 0x60]
cmp ecx, edx
ja 0x10045837
jb 0x10045761
cmp edi, eax
jae 0x10045837
call fcn.100a23f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045d03
lea ecx, [ebp - 0x19]
call fcn.10044d50
push 0x5e
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultipluginpetspluginpetscloudpopwindow.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10015880
push 3
push 0x1015fd24
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x11
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10015880
mov byte [ebp - 4], 0x12
call fcn.100a23f0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0xe6
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100130a0
mov esi, eax
test ebx, ebx
mov byte [ebp - 4], 0x13
mov ecx, 0x1015fd70
cmovne ecx, ebx
push ecx
push esi
call fcn.10016d20
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10013df0
lea ecx, [ebp - 0x58]
call fcn.10013a00
lea ecx, [ebp - 0x40]
call fcn.10013a00
or ebx, 0xffffffff
xor esi, esi
jmp 0x10045d0c
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10045d7b
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x20], eax
mov byte [ebp - 4], 0x14
lea ecx, [ebp - 0x20]
test esi, esi
jne 0x1004586c
mov eax, 0x10162184
movzx eax, ax
push eax
call fcn.10014c30
jmp 0x10045878
push 1
push 0x10162184
call fcn.1001c8c0
mov byte [ebp - 4], 0x15
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10045d85
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x24], eax
mov eax, str.multi_poptime
mov byte [ebp - 4], 0x16
lea ecx, [ebp - 0x24]
test eax, 0xffff0000
jne 0x100458b4
movzx eax, ax
push eax
call fcn.10014c30
jmp 0x100458c0
push 0xd
push str.multi_poptime
call fcn.1001c8c0
mov byte [ebp - 4], 0x17
call fcn.10017d20
mov ecx, eax
test ecx, ecx
je 0x10045d8f
mov eax, dword [ecx]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x28], eax
mov eax, str.MultiPlugin
mov byte [ebp - 4], 0x18
lea ecx, [ebp - 0x28]
test eax, 0xffff0000
jne 0x100458fc
movzx eax, ax
push eax
call fcn.10014c30
jmp 0x10045908
push 0xb
push str.MultiPlugin
call fcn.1001c8c0
lea eax, [ebp - 0x68]
mov byte [ebp - 4], 0x19
push eax
call fcn.10071d20
push eax
lea eax, [ebp - 0x20]
mov byte [ebp - 4], 0x1a
push eax
lea eax, [ebp - 0x24]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.1009b220
push 0xa
push 0
push dword [eax]
call fcn.10129179
mov esi, dword [ebp - 0x64]
add esp, 0x24
mov dword [ebp - 0x60], eax
add esi, 0xfffffff0
mov dword [ebp - 0x5c], edx
mov ecx, ebx
lock xadd dword [esi + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x1004595d
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x68]
mov eax, ebx
mov byte [ebp - 4], 0x19
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x1004597b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x28]
mov eax, ebx
mov byte [ebp - 4], 0x17
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x10045999
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov byte [ebp - 4], 0x15
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100459b7
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x20]
mov eax, ebx
mov byte [ebp - 4], 3
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x100459d5
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
push 0
call fcn.101295f1
mov ecx, dword [ebp - 0x60]
add esp, 4
or ecx, dword [ebp - 0x5c]
mov esi, eax
mov edi, edx
je 0x10045af2
call fcn.10021140
mov ecx, dword [eax]
mov ecx, dword [ecx + 0x1c]
mov eax, ecx
shl eax, 4
sub eax, ecx
shl eax, 2
sub esi, dword [ebp - 0x60]
cdq
sbb edi, dword [ebp - 0x5c]
cmp edi, edx
ja 0x10045af2
jb 0x10045a1c
cmp esi, eax
jae 0x10045af2
call fcn.100a23f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045d03
lea ecx, [ebp - 0x19]
call fcn.10044990
push 0x5e
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultipluginpetspluginpetscloudpopwindow.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10015880
push 3
push 0x1015fd24
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1b
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10015880
mov byte [ebp - 4], 0x1c
call fcn.100a23f0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0xef
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100130a0
mov esi, eax
test ebx, ebx
mov byte [ebp - 4], 0x1d
mov ecx, 0x1015fd70
cmovne ecx, ebx
push ecx
push esi
call fcn.10016d20
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10013df0
lea ecx, [ebp - 0x58]
call fcn.10013a00
lea ecx, [ebp - 0x40]
call fcn.10013a00
or ebx, 0xffffffff
xor esi, esi
jmp 0x10045d0c
call fcn.10021140
mov ecx, eax
call fcn.1003c8b0
test al, al
jne 0x10045bdc
call fcn.100a23f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045d03
lea ecx, [ebp - 0x19]
call fcn.10044a80
push 0x5e
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultipluginpetspluginpetscloudpopwindow.cpp
lea ecx, [ebp - 0x40]
mov dword [ebp - 0x30], 0
mov ebx, eax
mov dword [ebp - 0x2c], 0xf
mov byte [ebp - 0x40], 0
call fcn.10015880
push 3
push 0x1015fd24
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 0x1e
mov dword [ebp - 0x48], 0
mov dword [ebp - 0x44], 0xf
mov byte [ebp - 0x58], 0
call fcn.10015880
mov byte [ebp - 4], 0x1f
call fcn.100a23f0
mov edi, eax
lea ecx, [ebp - 0x134]
push 0xf5
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x58]
push eax
call fcn.100130a0
mov esi, eax
test ebx, ebx
mov byte [ebp - 4], 0x20
mov ecx, 0x1015fd70
cmovne ecx, ebx
push ecx
push esi
call fcn.10016d20
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x134]
call fcn.10013df0
lea ecx, [ebp - 0x58]
call fcn.10013a00
lea ecx, [ebp - 0x40]
call fcn.10013a00
or ebx, 0xffffffff
xor esi, esi
jmp 0x10045d0c
mov ecx, dword [ebp - 0x6c]
lea eax, [ebp - 0x18]
push eax
mov dword [ebp - 0x18], 0
lea ecx, [ecx + 0x98]
call fcn.1003a870
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x10045d07
cmp eax, 0x200
je 0x10045d07
cmp eax, 0x1000
je 0x10045d07
call fcn.100a23f0
mov ecx, eax
push 1
mov edx, dword [eax]
mov eax, dword [edx + 8]
call eax
movzx eax, al
sub eax, 1
jne 0x10045d03
lea ecx, [ebp - 0x19]
call fcn.100448a0
push 0x5e
push str.d:jenkins.jenkinsworkspacemultiplugin_nativemultipluginpetspluginpetscloudpopwindow.cpp
lea ecx, [ebp - 0x9c]
mov dword [ebp - 0x8c], 0
mov ebx, eax
mov dword [ebp - 0x88], 0xf
mov byte [ebp - 0x9c], 0
call fcn.10015880
push 3
push 0x1015fd24
lea ecx, [ebp - 0x84]
mov byte [ebp - 4], 0x21
mov dword [ebp - 0x74], 0
mov dword [ebp - 0x70], 0xf
mov byte [ebp - 0x84], 0
call fcn.10015880
mov byte [ebp - 4], 0x22
call fcn.100a23f0
mov edi, eax
lea ecx, [ebp - 0x1cc]
push 0xfd
lea eax, [ebp - 0x9c]
push eax
lea eax, [ebp - 0x84]
push eax
call fcn.100130a0
mov esi, eax
test ebx, ebx
mov byte [ebp - 4], 0x23
mov ecx, 0x1015fd70
cmovne ecx, ebx
push ecx
push esi
call fcn.10016d20
mov eax, dword [edi]
add esp, 8
mov ecx, edi
push esi
call dword [eax + 0x1c]
lea ecx, [ebp - 0x1cc]
call fcn.10013df0
lea ecx, [ebp - 0x84]
call fcn.10013a00
lea ecx, [ebp - 0x9c]
call fcn.10013a00
or ebx, 0xffffffff
xor esi, esi
jmp 0x10045d0c
mov esi, 1
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x10045d2b
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
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.100f8fe1
mov esp, ebp
pop ebp
ret
call fcn.10124793
call fcn.10124793
push 0x80004005
call fcn.100142b0
push 0x80004005
call fcn.100142b0
push 0x80004005
call fcn.100142b0
push 0x80004005
call fcn.100142b0
push 0x80004005
call fcn.100142b0
push 0x80004005
call fcn.100142b0
push 0x80004005
call fcn.100142b0
int3