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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x512658
mov eax, dword fs:[0]
push eax
sub esp, 0x60
push ebx
push esi
push edi
mov eax, dword [0x574be0]
xor eax, esp
push eax
lea eax, [esp + 0x70]
mov dword fs:[0], eax
mov dword [esp + 0x34], ecx
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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.0043e710
mov byte [esp + 0x78], 1
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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.0043a040
cmp eax, 0x57c240
je 0x46a16d
push str.path
mov ecx, edi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x46a16d
push str.path
mov ecx, edi
mov byte [esp + 0x30], 1
call fcn.0043a040
mov esi, eax
cmp byte [esi + 8], 4
je 0x46a155
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x46a15f
xor ecx, ecx
jmp 0x46a1dd
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a164
jmp 0x46a1db
push 0x553664
mov ecx, edi
call fcn.0043a040
cmp eax, 0x57c240
je 0x46a84b
push 0x553664
mov ecx, edi
call fcn.0043a040
cmp byte [eax + 8], 4
jne 0x46a84b
push 0x553664
mov ecx, edi
call fcn.0043a040
mov esi, eax
cmp byte [esi + 8], 4
je 0x46a1c5
push 0x2a9
push str...WebInstallerUtilsjson_value.cpp
push str.type___stringValue
call fcn.004ee70b
add esp, 0xc
mov edx, dword [esi]
test edx, edx
jne 0x46a1cf
xor ecx, ecx
jmp 0x46a1dd
mov ecx, edx
lea esi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x46a1d4
sub ecx, esi
push ecx
push edx
lea ecx, [esp + 0x30]
call fcn.0042ca60
lea edx, [esp + 0x30]
lea ecx, [esp + 0x28]
call fcn.0042c120
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46a235
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x46a245
push esi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x46a245
push 8
push str._isPath
lea ecx, [esp + 0x28]
call fcn.00420c80
mov byte [esp + 0x78], 0xa
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46a28a
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x46a29a
push esi
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x46a29a
push 0xf
push str.strFileToCheck
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x78], 0xc
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46a2e4
movzx esi, ax
mov ecx, esi
call fcn.0041fcd0
test eax, eax
je 0x46a2f4
push esi
push eax
lea ecx, [esp + 0x20]
call fcn.00420bb0
jmp 0x46a2f4
push 0xf
push str.checkProcessRun
lea ecx, [esp + 0x20]
call fcn.00420c80
mov byte [esp + 0x78], 0xe
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x78], 0xf
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x50]
mov byte [esp + 0x7c], 0x11
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x30]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 0x12
call fcn.00421890
add esp, 4
lea ecx, [esp + 0x20]
push ecx
mov edx, eax
lea ecx, [esp + 0x48]
mov byte [esp + 0x7c], 0x13
call fcn.00421890
add esp, 4
movzx ecx, byte [esp + 0x2c]
push ecx
mov edx, eax
lea ecx, [esp + 0x44]
mov byte [esp + 0x7c], 0x14
call fcn.00421800
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x78], 0x15
cmp dword [eax + 0xc], 0
je 0x46a3c3
push 0
push ecx
lea ecx, [esp + 0x20]
push ecx
add eax, 8
push eax
call fcn.004219a0
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 0x46a3e8
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 0x46a40a
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 0x46a42c
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 0x46a44e
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 0x46a470
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 0x46a48e
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 0x46a4b0
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 0x46a4d2
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 0x46a4f4
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 0x46a516
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x60]
mov byte [esp + 0x78], 0x16
call fcn.0043e710
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.00440160
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 0x46a594
cmp byte [esp + 0x60], 0
je 0x46a594
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 0x46a5b6
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 [0x575ba4]
mov ecx, 0x575ba4
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 0x46a614
movzx ecx, ax
call fcn.0041fcd0
test eax, eax
je 0x46a624
mov edx, str.bRes
movzx ecx, dx
push ecx
push eax
lea ecx, [esp + 0x24]
call fcn.00420bb0
jmp 0x46a624
push 5
push str.bRes
lea ecx, [esp + 0x24]
call fcn.00420c80
mov byte [esp + 0x78], 0x1a
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x20], eax
mov byte [esp + 0x78], 0x1b
test ebx, ebx
jne 0x46a666
mov eax, str.checkProcessRun
movzx ebx, ax
mov ecx, ebx
call fcn.0041fcd0
test eax, eax
je 0x46a676
push ebx
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x46a676
push 0xf
push str.checkProcessRun
lea ecx, [esp + 0x28]
call fcn.00420c80
mov byte [esp + 0x78], 0x1c
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
call dword [eax + 0xc]
add eax, 0x10
mov dword [esp + 0x38], eax
mov byte [esp + 0x78], 0x1d
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov edx, eax
lea ecx, [esp + 0x4c]
mov byte [esp + 0x7c], 0x1f
call fcn.00421890
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.00421800
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x78], 0x21
cmp dword [eax + 0xc], 0
je 0x46a717
push 0
push ecx
lea ecx, [esp + 0x28]
push ecx
add eax, 8
push eax
call fcn.004219a0
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 0x46a739
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 0x46a75b
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 0x46a77d
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 0x46a79b
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 0x46a7bd
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 0x46a7df
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 0x46a801
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 0x46a823
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 0x46a841
mov ecx, dword [esi]
push esi
mov eax, dword [ecx]
call dword [eax + 4]
mov byte [esp + 0x78], 0x22
jmp 0x46a9ab
mov eax, dword [0x575ba4]
mov ecx, 0x575ba4
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 0x46a88b
movzx edi, ax
mov ecx, edi
call fcn.0041fcd0
test eax, eax
je 0x46a899
push edi
push eax
lea ecx, [esp + 0x28]
call fcn.00420bb0
jmp 0x46a899
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 [0x575ba4]
mov ecx, 0x575ba4
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.00421890
add esp, 4
mov ecx, eax
mov eax, dword [esp + 0x34]
mov byte [esp + 0x78], 7
cmp dword [eax + 0xc], 0
je 0x46a901
push 2
push ecx
lea ecx, [esp + 0x40]
push ecx
add eax, 8
push eax
call fcn.004219a0
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 0x46a926
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 0x46a944
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 0x46a966
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 0x46a988
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 0x46a9a6
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 0x46a9c8
cmp byte [esp + 0x54], 0
je 0x46a9c8
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 0x46a9ea
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov ecx, dword [ebp + 0xc]
test ecx, ecx
je 0x46aa04
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 0x46aa27
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