Function at 0x100436f0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100afbca
mov eax, dword fs:[0]
push eax
sub esp, 0x260
mov eax, dword [0x100d800c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x200], eax
mov dword [ebp - 0x14], eax
push 0x11c
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x1f8]
push 0
push eax
call fcn.10083a60
add esp, 0xc
push str.ntdll.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x10043a36
push 0xc0
push eax
lea eax, [ebp - 0xdc]
push eax
call fcn.10083a60
call fcn.10059440
add esp, 8
lea ecx, [ebp - 0xd4]
mov eax, dword [eax]
mov dword [ebp - 0xdc], eax
mov dword [ebp - 0xd8], 2
call fcn.10012d10
mov dword [ebp - 4], 0
mov edi, dword [ebp - 0xdc]
mov eax, dword [edi]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x100b42b0]
mov ecx, edi
call esi
cmp dword [ebp - 0xd8], eax
setl byte [ebp - 0x24]
mov dword [ebp - 4], 1
jl 0x10043996
push 0x26
mov dword [ebp - 0x21c], 0
lea ecx, [ebp - 0x21c]
push str.Could_not_load_ntdll.dll_module_handle
mov dword [ebp - 0x20c], 0
mov dword [ebp - 0x208], 0xf
mov byte [ebp - 0x21c], 0
call fcn.10005da0
mov byte [ebp - 4], 2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0
push ecx
mov edx, eax
lea ecx, [ebp - 0x24c]
call fcn.1005b840
add esp, 8
mov byte [ebp - 4], 3
mov eax, 0x7fffffff
mov ecx, dword [ebp - 0x20c]
sub eax, ecx
cmp eax, 2
jb 0x10043b79
push 2
lfence
cmp dword [ebp - 0x208], 0x10
lea eax, [ebp - 0x21c]
push 0x100c27b0
cmovae eax, dword [ebp - 0x21c]
push ecx
push eax
push ecx
push dword [ebp - 0x14]
lea ecx, [ebp - 0x264]
call fcn.10026590
lea eax, [ebp - 0x24c]
mov byte [ebp - 4], 4
push eax
lea eax, [ebp - 0x264]
push eax
push dword [ebp - 0x14]
lea ecx, [ebp - 0x234]
call fcn.10034ea0
mov edx, dword [ebp - 0x250]
cmp edx, 0x10
jb 0x100438b7
mov ecx, dword [ebp - 0x264]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100438ad
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043b74
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov edx, dword [ebp - 0x238]
cmp edx, 0x10
jb 0x100438f1
mov ecx, dword [ebp - 0x24c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x100438e7
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043b74
push edx
push ecx
call fcn.1006d8b6
add esp, 8
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0xdc]
call fcn.10023690
mov edx, dword [ebp - 0x220]
cmp edx, 0x10
jb 0x1004393d
mov ecx, dword [ebp - 0x234]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043933
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043b74
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov edx, dword [ebp - 0x208]
mov dword [ebp - 0x224], 0
mov dword [ebp - 0x220], 0xf
mov byte [ebp - 0x234], 0
cmp edx, 0x10
jb 0x10043992
mov ecx, dword [ebp - 0x21c]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x10043988
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10043b74
push edx
push ecx
call fcn.1006d8b6
add esp, 8
mov byte [ebp - 0x24], 1
lea ecx, [ebp - 0xdc]
call fcn.10021180
mov eax, dword [ebp - 0x200]
xor ecx, ecx
xorps xmm0, xmm0
mov dword [eax + 0x98], 0
movups xmmword [eax], xmm0
movq qword [eax + 0x10], xmm0
mov dword [eax + 0x18], 0
mov dword [eax + 0x1c], 0
mov dword [eax + 0x2c], 0
mov dword [eax + 0x30], 7
mov word [eax + 0x1c], cx
mov dword [eax + 0x34], ecx
mov dword [eax + 0x44], ecx
mov dword [eax + 0x48], 7
mov word [eax + 0x34], cx
mov dword [eax + 0x4c], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], 7
mov word [eax + 0x4c], cx
mov dword [eax + 0x64], ecx
mov dword [eax + 0x74], ecx
mov dword [eax + 0x78], 7
mov word [eax + 0x64], cx
mov dword [eax + 0x7c], ecx
mov dword [eax + 0x80], ecx
mov dword [eax + 0x90], ecx
mov dword [eax + 0x94], 7
mov word [eax + 0x80], cx
jmp 0x10043b59
push str.RtlGetVersion
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x10043a6d
lea eax, [ebp - 0x1f8]
mov dword [ebp - 0x1f8], 0x11c
push eax
mov ecx, esi
call dword [0x100b42b0]
call esi
mov esi, eax
test esi, esi
jne 0x10043b7e
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], 0
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_IsWow64Process]
test eax, eax
je 0x10043a96
cmp dword [ebp - 0x1c], 0
mov byte [ebp - 0x1fc], 1
jne 0x10043a9d
mov byte [ebp - 0x1fc], 0
call fcn.10043470
push 0
push dword [0x100c72b0]
mov dword [ebp - 0x14], 0x100c2014
sub esp, 0x18
mov dword [ebp - 0x18], 0
mov ecx, esp
movzx edi, ax
push 0x2c
push str.SOFTWAREMicrosoftWindows_NTCurrentVersion
mov dword [ecx], 0
mov dword [ecx + 0x10], 0
mov dword [ecx + 0x14], 7
call fcn.10004420
lea ecx, [ebp - 0x26c]
call fcn.1003b1b0
mov dword [ebp - 4], 6
lea esi, [eax + 4]
push dword [eax + 0x1c]
mov ecx, dword [eax]
push 0x20019
call fcn.1004e2c0
push ecx
mov ecx, esp
mov edx, esi
mov dword [ecx], eax
lea ecx, [ebp - 0x18]
call fcn.1004e580
add esp, 0xc
lea ecx, [ebp - 0x26c]
mov byte [ebp - 4], 8
call fcn.1003b2b0
push dword [ebp - 0x18]
mov esi, dword [ebp - 0x200]
lea eax, [ebp - 0x14]
push eax
push edi
push dword [ebp - 0x1fc]
lea edx, [ebp - 0x1f8]
mov ecx, esi
call fcn.10042cd0
mov eax, dword [ebp - 0x18]
add esp, 0x10
test eax, eax
je 0x10043b57
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
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.1006d58e
mov esp, ebp
pop ebp
ret
call fcn.100869bf
call fcn.10004010
push str.Error_calling_RtlGetVersion
lea ecx, [ebp - 0x24c]
call fcn.10005d60
lea edx, [ebp - 0x24c]
mov dword [ebp - 4], 5
mov ecx, esi
call fcn.1000a4f0
int3