Function at 0x4442f0
Capabilities:
Create process on windows
Terminate process

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x57002e
mov eax, dword fs:[0]
push eax
sub esp, 0x4cc
mov eax, dword [0x5edd38]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x38c], ecx
mov eax, dword [ebp + 0xc]
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0x14]
mov dword [ebp - 0x398], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x3a4], eax
xor eax, eax
mov dword [ebp - 0x388], eax
mov dword [ebp - 0x394], eax
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x3b4], esi
mov dword [ebp - 0x39c], edi
test eax, eax
je 0x444382
cmp eax, 0xffffffff
je 0x444382
mov byte [ebp - 0x38e], 1
call fcn.0040aac0
cmp eax, 5
jge 0x444389
mov eax, 2
jmp 0x444fea
mov byte [ebp - 0x38e], 0
push esi
call fcn.00414bc3
mov ecx, dword [ebp - 0x38c]
mov esi, eax
add esp, 4
mov eax, dword [ecx + 0x30]
cmp eax, esi
je 0x4443b3
push eax
call fcn.00409f38
mov eax, dword [ebp - 0x38c]
add esp, 4
mov dword [eax + 0x30], esi
push dword [ebp - 0x398]
call fcn.00414bc3
add esp, 4
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3dc], eax
cmp dword [edi + 0x44], 0
mov esi, 0x8040c
mov edi, dword [0x5f3910]
mov eax, 0x40c
cmove esi, eax
mov dword [ebp - 4], 0
mov dword [ebp - 0x394], esi
test edi, edi
je 0x44443b
lea esi, [edi + 4]
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov al, byte [edi + 0x48]
mov byte [ebp - 0x38d], al
push esi
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
cmp byte [ebp - 0x38d], 0
mov byte [ebp - 4], 0
je 0x444435
mov eax, dword [ebp - 0x394]
mov byte [ebp - 0x38d], 1
mov dword [ebp - 0x394], eax
jmp 0x444458
mov esi, dword [ebp - 0x394]
mov byte [ebp - 0x38d], 0
call fcn.0040aac0
cmp eax, 5
jge 0x444458
or esi, 0x1000000
mov dword [ebp - 0x394], esi
push 1
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
push 0x40
lea eax, [ebp - 0x9c]
mov byte [ebp - 4], 2
push 0
push eax
mov dword [ebp - 0xa0], 0x44
call fcn.0053f340
add esp, 0xc
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
test byte [ebp - 0x74], 1
mov edi, dword [ebp - 0x39c]
je 0x44465c
or dword [edi + 0x2c], 1
mov ecx, str.type
mov dword [ebp - 0x3e4], 0
mov dword [ebp - 0x3e0], 0xf
mov byte [ebp - 0x3f4], 0
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x4444c5
sub ecx, edx
push ecx
push str.type
lea ecx, [ebp - 0x3f4]
call fcn.0040b580
mov edx, dword [ebp - 0x398]
xor eax, eax
mov ecx, edx
mov byte [ebp - 4], 3
mov dword [ebp - 0x3c8], 0
mov dword [ebp - 0x3c4], 7
mov word [ebp - 0x3d8], ax
lea esi, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x444510
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x3d8]
call fcn.00408f30
lea eax, [ebp - 0x3d8]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x4d4]
push eax
call fcn.00471620
add esp, 8
lea ecx, [ebp - 0x3f4]
mov byte [ebp - 4], 5
push ecx
lea ecx, [ebp - 0x38]
push ecx
mov ecx, eax
call fcn.0040b680
mov edx, str.compute_only_renderer
lea esi, [edx + 1]
mov cl, byte [edx]
inc edx
test cl, cl
jne 0x444564
sub edx, esi
mov ecx, eax
cmp dword [eax + 0x14], 0x10
jb 0x444577
mov ecx, dword [eax]
mov esi, dword [eax + 0x10]
cmp esi, edx
jne 0x4445df
mov edx, str.compute_only_renderer
sub esi, 4
jb 0x444599
mov eax, dword [ecx]
cmp eax, dword [edx]
jne 0x44459e
add ecx, 4
add edx, 4
sub esi, 4
jae 0x444588
cmp esi, 0xfffffffc
je 0x4445d2
mov al, byte [ecx]
cmp al, byte [edx]
jne 0x4445cb
cmp esi, 0xfffffffd
je 0x4445d2
mov al, byte [ecx + 1]
cmp al, byte [edx + 1]
jne 0x4445cb
cmp esi, 0xfffffffe
je 0x4445d2
mov al, byte [ecx + 2]
cmp al, byte [edx + 2]
jne 0x4445cb
cmp esi, 0xffffffff
je 0x4445d2
mov al, byte [ecx + 3]
cmp al, byte [edx + 3]
je 0x4445d2
sbb eax, eax
or eax, 1
jmp 0x4445d4
xor eax, eax
mov byte [ebp - 0x39d], 1
test eax, eax
je 0x4445e6
mov byte [ebp - 0x39d], 0
lea ecx, [ebp - 0x38]
call fcn.0040ba20
lea ecx, [ebp - 0x4d4]
call fcn.00453bd0
mov eax, dword [ebp - 0x3c4]
mov byte [ebp - 4], 6
cmp eax, 8
jb 0x44461b
inc eax
lea ecx, [ebp - 0x3d8]
push eax
push dword [ebp - 0x3d8]
call fcn.0040a2e0
xor eax, eax
mov dword [ebp - 0x3c8], 0
lea ecx, [ebp - 0x3f4]
mov dword [ebp - 0x3c4], 7
mov word [ebp - 0x3d8], ax
mov byte [ebp - 4], 2
call fcn.0040ba20
cmp byte [ebp - 0x39d], 0
je 0x444654
xor eax, eax
jmp 0x444658
mov ax, word [ebp - 0x70]
mov word [edi + 0x30], ax
xor ecx, ecx
mov dword [ebp - 0x3a8], ecx
cmp byte [0x5f17f3], cl
je 0x44467c
mov eax, dword [0x5f2010]
test eax, eax
cmovne ecx, eax
mov dword [ebp - 0x3a8], ecx
lea eax, [ebp - 0xb8]
mov dword [ebp - 0xb0], 0
xorps xmm0, xmm0
push eax
movq qword [ebp - 0xb8], xmm0
call fcn.00445010
add esp, 4
test al, al
jne 0x444779
call fcn.00414d40
test eax, eax
jg 0x44476f
call fcn.00414d40
test eax, eax
jg 0x444738
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x38]
push str.0x_X
push eax
call fcn.004364d0
add esp, 0xc
mov esi, eax
push 0
push 0x145
push str.D:DCBCBT_MainImportsOpenChromeChrome_src_sandbox_src_target_process.cc
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 7
mov dword [ebp - 0x394], 1
call fcn.00496330
mov ecx, 3
mov dword [ebp - 4], 8
add eax, 8
mov dword [ebp - 0x388], ecx
push str.security_descriptor___error:
push eax
mov dword [ebp - 0x394], ecx
call fcn.0047a5e0
add esp, 8
cmp dword [esi + 0x14], 8
jb 0x44472e
mov esi, dword [esi]
push esi
push eax
call fcn.004968a0
add esp, 8
mov eax, dword [ebp - 0x388]
test al, 2
je 0x44475c
and eax, 0xfffffffd
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x388], eax
call fcn.004965b0
mov eax, dword [ebp - 0x388]
mov dword [ebp - 4], 2
test al, 1
je 0x44476f
lea ecx, [ebp - 0x38]
call fcn.0040a280
mov esi, 0x2c
jmp 0x444fc2
test dword [ebp - 0x74], 0x8000
je 0x444789
or dword [edi + 0x2c], 0x8000
mov eax, dword [ebp - 0x38c]
mov esi, dword [eax + 0x10]
mov dword [eax + 0x10], 0
call fcn.00412510
xor edi, edi
mov dword [ebp - 0x3ac], edi
mov dword [ebp - 0x3bc], edi
mov dword [ebp - 0x3b0], edi
test esi, esi
je 0x4447f5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa8], eax
cmp esi, 0xffffffff
jne 0x4447cf
mov dword [ebp - 0x3b0], edi
jmp 0x4447ee
mov edi, esi
mov dword [ebp - 0x3ac], edi
mov dword [ebp - 0x3bc], edi
call fcn.00412510
mov eax, dword [ebp - 0xa8]
mov dword [ebp - 0x3b0], esi
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x38c]
mov byte [ebp - 4], 0xa
mov eax, dword [ecx + 0x18]
mov dword [ebp - 0x398], eax
mov dword [ecx + 0x18], 0
call fcn.00412510
xor esi, esi
xor ecx, ecx
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x3c0], esi
cmp dword [ebp - 0x398], ecx
je 0x444874
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xa4], eax
mov eax, dword [ebp - 0x398]
cmp eax, 0xffffffff
jne 0x444847
xor ecx, ecx
jmp 0x44485c
mov esi, eax
mov dword [ebp - 0xa8], esi
mov dword [ebp - 0x3c0], esi
call fcn.00412510
mov ecx, esi
push dword [ebp - 0xa4]
mov dword [ebp - 0x398], ecx
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 0x398]
cmp byte [ebp - 0x38e], 0
xorps xmm0, xmm0
mov byte [ebp - 4], 0xb
movups xmmword [ebp - 0x5c], xmm0
je 0x444899
xor eax, eax
cmp byte [0x5f17f0], al
cmovne eax, ecx
mov dword [ebp - 0x3b0], eax
lea eax, [ebp - 0x5c]
push eax
push dword [ebp - 0x39c]
movzx eax, byte [ebp + 0x10]
push 0
push dword [ebp - 0x3a8]
push dword [ebp - 0x394]
push eax
lea eax, [ebp - 0xb8]
push eax
push eax
push dword [ebp - 0x3b8]
push dword [ebp - 0x3b4]
push dword [ebp - 0x3b0]
call dword [sym.imp.ADVAPI32.dll_CreateProcessAsUserW]
test eax, eax
jne 0x4449f6
call fcn.00414d40
test eax, eax
jg 0x4449be
call fcn.00414d40
test eax, eax
jg 0x44497e
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x38]
push str.0x_X
push eax
call fcn.004364d0
add esp, 0xc
mov dword [ebp - 0xa4], eax
push 0
push 0x197
push str.D:DCBCBT_MainImportsOpenChromeChrome_src_sandbox_src_target_process.cc
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0xc
mov dword [ebp - 0x394], 4
call fcn.00496330
mov ecx, 0xc
mov dword [ebp - 4], 0xd
add eax, 8
mov dword [ebp - 0x388], ecx
push str.CreateProcessAsUserW_failed_to_create_sandbox_process___error:
push eax
mov dword [ebp - 0x394], ecx
call fcn.0047a5e0
mov ecx, eax
add esp, 8
mov eax, dword [ebp - 0xa4]
cmp dword [eax + 0x14], 8
jb 0x444974
mov eax, dword [eax]
push eax
push ecx
call fcn.004968a0
add esp, 8
mov eax, dword [ebp - 0x388]
test al, 8
je 0x4449a2
and eax, 0xfffffff7
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x388], eax
call fcn.004965b0
mov eax, dword [ebp - 0x388]
mov dword [ebp - 4], 0xb
test al, 4
je 0x4449be
and eax, 0xfffffffb
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x388], eax
call fcn.0040a280
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x4449d9
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0xb4], 0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3a4]
mov dword [ebp - 0x38c], 0x12
mov dword [ecx], eax
jmp 0x444f3e
lea eax, [ebp - 0x5c]
xorps xmm0, xmm0
push eax
lea ecx, [ebp - 0x20]
movups xmmword [ebp - 0x20], xmm0
call fcn.0044d640
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x3a8], eax
lea eax, [ebp - 0xa4]
push eax
mov byte [ebp - 4], 0x11
call fcn.0044d7bb
mov eax, dword [ebp - 0xa4]
add esp, 4
and eax, 0x3fff
add eax, 0x200
shl eax, 0xa
and eax, 0xffff0000
jbe 0x444ac0
xor edi, edi
mov esi, eax
push 0x1c
lea eax, [ebp - 0x3c]
push eax
push edi
push dword [ebp - 0x3a8]
call dword [sym.imp.KERNEL32.dll_VirtualQueryEx]
test eax, eax
je 0x444ab4
mov eax, dword [ebp - 0x30]
mov ecx, esi
add eax, 0xffff
sub ecx, edi
and eax, 0xffff0000
mov dword [ebp - 0x39c], ecx
cmp ecx, eax
mov dword [ebp - 0x39c], eax
cmovae ecx, eax
mov dword [ebp - 0x39c], ecx
test edi, edi
je 0x444aae
cmp dword [ebp - 0x2c], 0x10000
jne 0x444aae
push 1
push 0x2000
push ecx
push edi
push dword [ebp - 0x3a8]
call dword [sym.imp.KERNEL32.dll_VirtualAllocEx]
mov ecx, dword [ebp - 0x39c]
add edi, ecx
cmp edi, esi
jb 0x444a47
mov esi, dword [ebp - 0xa8]
mov edi, dword [ebp - 0x3ac]
mov eax, dword [ebp - 0xb4]
test eax, eax
je 0x444adb
push eax
call dword [sym.imp.KERNEL32.dll_LocalFree]
mov dword [ebp - 0xb4], 0
mov eax, dword [ebp - 0x38c]
mov eax, dword [eax + 0x20]
test eax, eax
je 0x444c04
cmp byte [ebp - 0x38d], 0
jne 0x444c04
push dword [ebp - 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_AssignProcessToJobObject]
test eax, eax
jne 0x444c04
call fcn.00414d40
test eax, eax
jg 0x444bdc
call fcn.00414d40
test eax, eax
jg 0x444b9c
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x38]
push str.0x_X
push eax
call fcn.004364d0
add esp, 0xc
mov dword [ebp - 0xa4], eax
push 0
push 0x1b1
push str.D:DCBCBT_MainImportsOpenChromeChrome_src_sandbox_src_target_process.cc
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x12
mov dword [ebp - 0x394], 0x10
call fcn.00496330
push dword [ebp - 0xa4]
mov ecx, 0x30
mov dword [ebp - 4], 0x13
add eax, 8
mov dword [ebp - 0x388], ecx
push str.job_object___error:
push eax
mov dword [ebp - 0x394], ecx
call fcn.0047a5e0
add esp, 8
push eax
call fcn.0049b300
add esp, 8
mov eax, dword [ebp - 0x388]
test al, 0x20
je 0x444bc0
and eax, 0xffffffdf
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x388], eax
call fcn.004965b0
mov eax, dword [ebp - 0x388]
mov dword [ebp - 4], 0x11
test al, 0x10
je 0x444bdc
and eax, 0xffffffef
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x388], eax
call fcn.0040a280
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3a4]
push 0
push dword [ebp - 0x20]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x38c], 0x14
jmp 0x444f36
mov eax, dword [ebp - 0x38c]
mov ecx, dword [eax + 0x14]
test ecx, ecx
je 0x444d46
cmp ecx, 0xffffffff
je 0x444d46
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0xa4], eax
lea eax, [ebp - 0xa4]
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_SetThreadToken]
test eax, eax
jne 0x444d38
call fcn.00414d40
test eax, eax
jg 0x444d10
call fcn.00414d40
test eax, eax
jg 0x444cce
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea eax, [ebp - 0x38]
push str.0x_X
push eax
call fcn.004364d0
add esp, 0xc
mov dword [ebp - 0x3b4], eax
push 0
push 0x1d6
push str.D:DCBCBT_MainImportsOpenChromeChrome_src_sandbox_src_target_process.cc
lea ecx, [ebp - 0x4a4]
mov byte [ebp - 4], 0x17
mov dword [ebp - 0x394], 0x40
call fcn.00496330
push dword [ebp - 0x3b4]
mov ecx, 0xc0
mov dword [ebp - 4], 0x18
add eax, 8
mov dword [ebp - 0x388], ecx
push str.set_thread_token___error:
push eax
mov dword [ebp - 0x394], ecx
call fcn.0047a5e0
add esp, 8
push eax
call fcn.0049b300
add esp, 8
mov eax, dword [ebp - 0x388]
test al, al
jns 0x444cf4
and eax, 0xffffff7f
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x388], eax
call fcn.004965b0
mov eax, dword [ebp - 0x388]
mov dword [ebp - 4], 0x11
test al, 0x40
je 0x444d10
and eax, 0xffffffbf
lea ecx, [ebp - 0x38]
mov dword [ebp - 0x388], eax
call fcn.0040a280
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3a4]
push 0
push dword [ebp - 0x20]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x38c], 0x15
jmp 0x444f36
mov ecx, dword [ebp - 0x38c]
lea ecx, [ecx + 0x14]
call fcn.00414fa0
cmp byte [0x5f17f0], 0
jne 0x444de8
cmp byte [ebp - 0x38e], 0
je 0x444de8
mov ecx, dword [ebp - 0x20]
mov eax, 0xc0000001
mov dword [ebp - 0xa4], ecx
test ecx, ecx
je 0x444e33
mov ecx, dword [ebp - 0x1c]
test ecx, ecx
je 0x444e33
test esi, esi
je 0x444e33
mov eax, dword [0x5f3ac0]
mov dword [ebp - 0xa8], ecx
mov dword [ebp - 0xac], esi
mov dword [ebp - 0x3ac], eax
test eax, eax
jne 0x444dc5
push 0x5f3ac0
push str.NtSetInformationProcess
call fcn.004305c0
mov eax, dword [0x5f3ac0]
add esp, 8
mov dword [ebp - 0x3ac], eax
test eax, eax
je 0x444e2e
push 8
lea ecx, [ebp - 0xac]
push ecx
push 9
push dword [ebp - 0xa4]
mov ecx, eax
call dword [0x5817c0]
call dword [ebp - 0x3ac]
test eax, eax
js 0x444e33
lea eax, [ebp - 0x384]
mov dword [ebp - 0x384], 0x1003f
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_GetThreadContext]
test eax, eax
jne 0x444e61
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3a4]
push 0
push dword [ebp - 0x20]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x38c], 0x16
jmp 0x444f36
mov eax, 0xc0000001
push eax
lfence
call fcn.0049ebd0
mov ecx, dword [ebp - 0x3a4]
add esp, 4
push 0
push dword [ebp - 0x20]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x38c], 0x2e
jmp 0x444f36
mov eax, dword [ebp - 0x2d4]
mov ecx, dword [ebp - 0x40]
mov dword [ebp - 0x398], eax
lea eax, [ebp - 0x20]
push eax
call fcn.0044d850
test al, al
jne 0x444ea5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0x3a4]
push 0
push dword [ebp - 0x20]
mov dword [ecx], eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov dword [ebp - 0x38c], 0x17
jmp 0x444f36
push dword [ebp - 0x3b4]
call fcn.00413f10
mov dword [ebp - 0x39c], eax
test eax, eax
je 0x444f0d
lea ecx, [ebp - 0x44]
mov dword [ebp - 0x44], 0x5921b8
mov dword [ebp - 0x40], eax
call fcn.00402890
test al, al
jne 0x444ee4
push dword [ebp - 0x39c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x39c]
jmp 0x444f0d
lea ecx, [ebp - 0x44]
call fcn.00402e00
mov ecx, dword [ebp - 0x398]
push dword [ebp - 0x39c]
sub ecx, dword [eax + 0x28]
mov dword [ebp - 0x398], ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov eax, dword [ebp - 0x398]
mov ecx, dword [ebp - 0x38c]
mov dword [ecx + 0x2c], eax
lea eax, [ebp - 0x4c]
push eax
lea ecx, [ebp - 0x20]
call fcn.0044d960
mov ecx, dword [ebp - 0x38c]
push eax
call fcn.0044d9c0
xor eax, eax
mov dword [ebp - 0x38c], eax
lea ecx, [ebp - 0x20]
call fcn.0044dab0
mov byte [ebp - 4], 0x25
test esi, esi
je 0x444f83
cmp esi, 0xffffffff
je 0x444f83
call fcn.00412510
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x444f83
call fcn.004014a0
mov eax, dword [ebp - 0x388]
test eax, 0x400000
je 0x444f83
and eax, 0xffbfffff
lea ecx, [ebp - 0x4a4]
mov dword [ebp - 0x388], eax
call fcn.004965b0
mov byte [ebp - 4], 0x26
test edi, edi
je 0x444fbc
cmp edi, 0xffffffff
je 0x444fbc
call fcn.00412510
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x444fbc
call fcn.004014a0
test dword [ebp - 0x388], 0x800000
je 0x444fbc
lea ecx, [ebp - 0x4a4]
call fcn.004965b0
mov esi, dword [ebp - 0x38c]
push 0
mov byte [ebp - 4], 0x27
call dword [sym.imp.KERNEL32.dll_SetErrorMode]
mov eax, dword [ebp - 0x3b8]
mov dword [ebp - 4], 0x28
test eax, eax
je 0x444fe8
push eax
call fcn.00409f38
add esp, 4
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.00401682
mov esp, ebp
pop ebp
ret 0x18