Function at 0x42c2f0
Capabilities:
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57aa30
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x5f6998]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x18], edi
lea eax, [ebp - 0x24]
push eax
lea ecx, [edi + 0x5c]
mov dword [ebp - 0x24], str.Auto_Updater
mov dword [ebp - 0x20], 0xc
call fcn.00567e0f
mov esi, dword [ebp + 8]
cmp al, 1
mov eax, dword [esi + 0x30]
push str.updater
push eax
jne 0x42c37f
call fcn.005430ac
add esp, 8
test eax, eax
jne 0x42c703
push 1
push esi
mov ecx, edi
call fcn.0042c0c0
test eax, eax
jne 0x42c703
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
xor ebx, ebx
cmp dword [esi + 0x44], ebx
je 0x42c4e0
call fcn.005430ac
add esp, 8
cmp eax, ebx
jne 0x42c3b9
push ebx
push esi
mov ecx, edi
call fcn.0042c0c0
neg eax
sbb eax, eax
neg eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
push 0xffffffffffffffff
push 0x58df78
lea ecx, [ebp + 8]
call fcn.00568ba9
mov dword [ebp - 4], ebx
push str.SoftwareFoxit_SoftwareFoxit_Update_
lea ecx, [ebp + 8]
call fcn.0056914a
mov eax, dword [esi + 4]
push eax
lea ecx, [ebp + 8]
call fcn.00569801
push 0xffffffffffffffff
push 0x58df78
lea ecx, [ebp + 0xc]
call fcn.00568ba9
mov byte [ebp - 4], 1
push ecx
mov dword [ebp - 0x18], esp
mov ecx, esp
push 0xffffffffffffffff
push 0x58e030
call fcn.00568ba9
mov byte [ebp - 4], 2
push ecx
lea edx, [ebp + 8]
mov ecx, esp
mov dword [ebp - 0x10], esp
push edx
call fcn.005697d1
mov byte [ebp - 4], 3
push reloc.OLEAUT32.dll_SysReAllocString
lea eax, [ebp - 0x14]
push eax
mov byte [ebp - 4], 1
call fcn.004330a0
add esp, 0x10
mov byte [ebp - 4], 4
push eax
lea ecx, [ebp + 0xc]
call fcn.005691b6
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.00567cb8
mov eax, dword [ebp + 0xc]
cmp eax, ebx
je 0x42c4af
cmp dword [eax + 4], ebx
je 0x42c4af
push ecx
add eax, 0xc
mov ecx, esp
mov dword [ebp - 0x18], esp
push eax
call fcn.00403d90
mov byte [ebp - 4], 5
push ecx
add esi, 8
mov ecx, esp
mov dword [ebp - 0x14], esp
push esi
call fcn.004025f0
mov byte [ebp - 4], 6
mov byte [ebp - 4], 1
mov ecx, edi
call fcn.00423f20
cmp eax, ebx
jg 0x42c4af
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00567cb8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00567cb8
jmp 0x42c703
mov byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call fcn.00567cb8
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.00567cb8
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
call fcn.005430ac
add esp, 8
cmp eax, ebx
je 0x42c396
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax + 8]
mov dword [ebp + 8], ecx
cmp ecx, ebx
jle 0x42c369
test ecx, ecx
jle 0x42c369
jmp 0x42c513
mov eax, dword [ebp + 0xc]
test ebx, ebx
js 0x42c555
cmp ebx, dword [eax + 8]
jge 0x42c555
mov ecx, dword [eax + 4]
mov edi, dword [ecx + ebx*4]
mov eax, dword [esi + 4]
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
je 0x42c54b
mov ecx, dword [edi]
push eax
push ecx
call fcn.005430ac
add esp, 8
test eax, eax
je 0x42c55a
inc ebx
cmp ebx, dword [ebp + 8]
jl 0x42c510
jmp 0x42c369
push 0x80004005
call fcn.00401090
call fcn.0043fa85
mov eax, dword [esi + 8]
sub eax, 0x10
push eax
call fcn.00401a20
add eax, 0x10
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], 8
mov eax, dword [edi + 4]
sub eax, 0x10
push eax
call fcn.00401a20
add eax, 0x10
add esp, 8
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 0xa
push 0x20
lea ecx, [ebp - 0x10]
call fcn.00406790
push 0x20
lea ecx, [ebp - 0x14]
call fcn.00406790
mov eax, dword [ebp - 0x10]
push ecx
add eax, 0xfffffff0
mov esi, esp
mov dword [ebp + 8], esp
push eax
mov dword [ebp - 0x1c], esi
mov dword [ebp + 0xc], eax
call fcn.00401a20
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0xc
mov ebx, dword [ebp - 0x14]
mov esi, esp
add ebx, 0xfffffff0
mov dword [ebp - 0x1c], esp
push ebx
mov dword [ebp - 0x20], esi
call fcn.00401a20
add eax, 0x10
add esp, 4
mov dword [esi], eax
mov byte [ebp - 4], 0xe
mov byte [ebp - 4], 0xa
mov ecx, dword [ebp - 0x18]
call fcn.00423f20
test eax, eax
jns 0x42c647
mov byte [ebp - 4], 8
lea edx, [ebx + 0xc]
or eax, 0xffffffff
lock xadd dword [edx], eax
dec eax
test eax, eax
jg 0x42c60e
mov ecx, dword [ebx]
mov edx, dword [ecx]
mov eax, dword [edx + 4]
push ebx
call eax
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c631
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x10]
xor esi, esi
mov dword [ebp - 0x18], eax
test eax, eax
jle 0x42c6c3
push 0x58df78
lea ecx, [ebp + 8]
call fcn.00403d90
mov byte [ebp - 4], 0x11
test esi, esi
js 0x42c555
cmp esi, dword [edi + 0x10]
jge 0x42c555
mov ecx, dword [edi + 0xc]
lea eax, [ecx + esi*4]
push eax
lea ecx, [ebp + 8]
call fcn.00403340
mov edx, dword [ebp + 8]
push 0
push edx
call fcn.005431b6
add esp, 8
test eax, eax
jne 0x42c71c
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6bd
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
inc esi
cmp esi, dword [ebp - 0x18]
jl 0x42c653
mov byte [ebp - 4], 8
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c6e0
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [ebp + 0xc]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c703
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov byte [ebp - 4], 0xa
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c73f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov byte [ebp - 4], 8
lea ecx, [ebx + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x42c75c
mov ecx, dword [ebx]
mov eax, dword [ecx]
mov edx, dword [eax + 4]
push ebx
call edx
jmp 0x42c60e