Function at 0x45fc70
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x50ead8
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x570be0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x28], eax
lea ecx, [esp + 0x54]
mov dword [esp + 0x78], 0
mov byte [esp + 0x24], 0
call fcn.0043e550
mov byte [esp + 0x78], 1
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x30], esi
mov edi, dword [ebp + 8]
push str.path
mov ecx, edi
mov byte [esp + 0x7c], 2
mov byte [esp + 0x30], 0
call fcn.00439e70
cmp eax, 0x5781c0
je 0x45fd5d
push str.path
mov ecx, edi
call fcn.00439e70
cmp byte [eax + 8], 4
jne 0x45fd5d
push str.path
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.00439e70
mov esi, eax
cmp byte [esi + 8], 4
je 0x45fd45
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004eb62b
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x45fd4f
xor ecx, ecx
jmp 0x45fdcd
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45fd54
jmp 0x45fdcb
push 0x54f734
mov ecx, edi
call fcn.00439e70
cmp eax, 0x5781c0
je 0x46043b
push 0x54f734
mov ecx, edi
call fcn.00439e70
cmp byte [eax + 8], 4
jne 0x46043b
push 0x54f734
mov ecx, edi
call fcn.00439e70
mov esi, eax
cmp byte [esi + 8], 4
je 0x45fdb5
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004eb62b
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x45fdbf
xor ecx, ecx
jmp 0x45fdcd
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x45fdc4
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0042c870
lea edx, [esp + 0x30]
lea ecx, [esp + 0x28]
call fcn.0042bf30
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, str._isPath
mov byte [esp + 0x78], 9
test eax, 0xffff0000
jne 0x45fe25
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x45fe35
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x45fe35
push 8
push str._isPath
lea ecx, [esp + 0x28]
call fcn.00420c80
mov byte [esp + 0x78], 0xa
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.strFileToCheck
mov byte [esp + 0x78], 0xb
test eax, 0xffff0000
jne 0x45fe7a
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x45fe8a
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x45fe8a
push 0xf
push str.strFileToCheck
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x78], 0xc
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
mov ebx, str.checkProcessRun
shr ebx, 0x10
mov byte [esp + 0x78], 0xd
mov eax, str.checkProcessRun
test ebx, ebx
jne 0x45fed4
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x45fee4
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x45fee4
push 0xf
push str.checkProcessRun
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x78], 0xe
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x78], 0xf
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea esi, [eax + 0x10]
mov dword [esp + 0x3c], esi
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x40]
lea ecx, [esp + 0x54]
mov byte [esp + 0x7c], 0x10
call fcn.004215a0
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 0x11
call fcn.004215a0
add esp, 4
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 0x12
call fcn.004215a0
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 0x13
call fcn.004215a0
add esp, 4
movzx ecx, byte [esp + 0x2c]
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 0x14
call fcn.00421510
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x78], 0x15
cmp dword [eax + 0xc], 0
je 0x45ffb3
push 0
push ecx
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
call fcn.004216b0
mov byte [esp + 0x78], 0x14
mov edx, dword [esp + 0x40]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x45ffd8
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x13
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x45fffa
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x12
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46001c
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x11
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46003e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x10
mov edx, dword [esp + 0x50]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460060
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [esi - 0x10]
mov byte [esp + 0x78], 0xf
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46007e
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0xe
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4600a0
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0xc
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4600c2
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0xa
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4600e4
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 2
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460106
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 0x16
call fcn.0043e550
lea eax, [esp + 0x18]
push eax
push dword [esp + 0x30]
mov byte [esp + 0x80], 0x17
mov esi, dword [esp + 0x38]
lea eax, [esp + 0x58]
push eax
push esi
lea ecx, [esp + 0x70]
mov dword [esp + 0x60], 0
call fcn.0043ffa0
test eax, eax
push eax
setne byte [esp + 0x1b]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov byte [esp + 0x78], 0x18
mov ecx, dword [esp + 0x68]
test ecx, ecx
je 0x460184
cmp byte [esp + 0x60], 0
je 0x460184
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x68], 0
mov byte [esp + 0x78], 0x16
mov edx, dword [esp + 0x64]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4601a6
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esp + 0x24]
cmp byte [esp + 0x17], 0
movzx eax, al
mov ecx, 1
cmovne eax, ecx
mov dword [esp + 0x24], eax
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x1c], eax
mov eax, str.bRes
mov byte [esp + 0x78], 0x19
test eax, 0xffff0000
jne 0x460204
movzx ecx, ax
call fcn.0041fcd0
test eax, eax
je 0x460214
mov edx, str.bRes
movzx ecx, dx
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x460214
push 5
push str.bRes
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x78], 0x1a
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x78], 0x1b
test ebx, ebx
jne 0x460256
mov eax, str.checkProcessRun
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x460266
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x460266
push 0xf
push str.checkProcessRun
lea ecx, [esp + 0x28]
call fcn.00420c80
mov byte [esp + 0x78], 0x1c
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x78], 0x1d
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x38]
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 0x1e
call fcn.004215a0
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 0x1f
call fcn.004215a0
add esp, 4
mov ecx, dword [esp + 0x24]
movzx ecx, cl
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 0x20
call fcn.00421510
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x78], 0x21
cmp dword [eax + 0xc], 0
je 0x460307
push 0
push ecx
lea ecx, [esp + 0x28]
push ecx
add eax, 8
push eax
call fcn.004216b0
mov byte [esp + 0x78], 0x20
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460329
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x1f
mov edx, dword [esp + 0x48]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46034b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x1e
mov edx, dword [esp + 0x44]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46036d
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x78], 0x1d
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x46038b
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x1c
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4603ad
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x1a
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4603cf
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x16
mov edx, dword [esp + 0x1c]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4603f1
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 2
mov edx, dword [esp + 0x18]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460413
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x78], 1
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460431
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x22
jmp 0x46059b
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov eax, str.no_path_or_exe
mov byte [esp + 0x78], 3
test eax, 0xffff0000
jne 0x46047b
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x460489
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x460489
push str.no_path_or_exe
lea ecx, [esp + 0x24]
call fcn.00420650
push str.checkProcessRun
lea ecx, [esp + 0x3c]
mov byte [esp + 0x7c], 4
call fcn.004204a0
mov byte [esp + 0x78], 5
mov eax, dword [0x571ba4]
mov ecx, 0x571ba4
call dword [eax + 0xc]
lea ebx, [eax + 0x10]
mov dword [esp + 0x50], ebx
lea eax, [esp + 0x20]
push eax
lea edx, [esp + 0x54]
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 6
call fcn.004215a0
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x78], 7
cmp dword [eax + 0xc], 0
je 0x4604f1
push 2
push ecx
lea ecx, [esp + 0x40]
push ecx
add eax, 8
push eax
call fcn.004216b0
mov byte [esp + 0x78], 6
mov edx, dword [esp + 0x4c]
add edx, 0xfffffff0
or edi, 0xffffffff
lea ecx, [edx + 0xc]
mov eax, edi
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x460516
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
lea edx, [ebx - 0x10]
mov byte [esp + 0x78], 5
lea eax, [edx + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460534
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 4
mov edx, dword [esp + 0x38]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460556
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 2
mov edx, dword [esp + 0x20]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460578
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
add esi, 0xfffffff0
mov byte [esp + 0x78], 1
lea eax, [esi + 0xc]
mov ecx, edi
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x460596
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 8
mov ecx, dword [esp + 0x5c]
test ecx, ecx
je 0x4605b8
cmp byte [esp + 0x54], 0
je 0x4605b8
mov eax, dword [ecx]
push 1
call dword [eax]
mov dword [esp + 0x5c], 0
mov byte [esp + 0x78], 0
mov edx, dword [esp + 0x58]
add edx, 0xfffffff0
mov ecx, edi
lea eax, [edx + 0xc]
lock xadd dword [eax], ecx
dec ecx
test ecx, ecx
jg 0x4605da
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x4605f4
mov eax, 0xb
mov word [ecx], ax
mov eax, dword [esp + 0x24]
movzx eax, al
mov word [ecx + 8], ax
mov dword [esp + 0x78], 0xffffffff
mov edx, dword [esp + 0x28]
add edx, 0xfffffff0
lea eax, [edx + 0xc]
lock xadd dword [eax], edi
dec edi
test edi, edi
jg 0x460617
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [esp + 0x70]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8