Function at 0x100436b0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100a60fb
mov eax, dword fs:[0]
push eax
mov eax, 0x1264
call fcn.10066800
mov eax, dword [0x100ca1c4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push dword [ebp + 0x10]
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x1260]
mov edi, dword [ebp + 0xc]
push esi
push eax
mov dword [ebp - 0x1270], 1
call fcn.10043430
push dword [ebp - 0x1260]
mov dword [ebp - 4], 0
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10043720
xor ebx, ebx
jmp 0x10043ef0
lea ecx, [ebp - 0x1259]
call fcn.10039710
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043823
push 0x208
lea eax, [ebp - 0x218]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x10043769
call fcn.1003a760
jmp 0x1004376e
call fcn.10041590
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x218]
lea ecx, [edi + 4]
lea esi, [edx + 2]
nop
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043790
sub edx, esi
lea eax, [ebp - 0x218]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.10038e50
mov edx, eax
test edx, edx
jne 0x100437c1
xor ecx, ecx
jmp 0x100437d5
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x100437c6
sub ecx, esi
sar ecx, 1
push ecx
push edx
mov ecx, edi
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.1003a680
mov edx, eax
test edx, edx
jne 0x10043800
xor ecx, ecx
push ecx
push edx
lea ecx, [edi + 8]
call fcn.1000cd50
jmp 0x10043e1d
mov ecx, edx
lea esi, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10043805
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [edi + 8]
call fcn.1000cd50
jmp 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.10035180
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x100438d9
push 0x208
lea eax, [ebp - 0x420]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x1004386c
call fcn.1003a840
jmp 0x10043871
call fcn.10040790
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0x420]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x420]
lea ecx, [edi + 4]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043891
sub edx, esi
lea eax, [ebp - 0x420]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.10037020
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [ebp - 0x1259]
call fcn.10035880
push eax
lea ecx, [edi + 8]
call fcn.10011c40
jmp 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.1003c0c0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
jne 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.1003b8e0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x100439ac
push 0x208
lea eax, [ebp - 0x628]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x1004393f
call fcn.10040170
jmp 0x10043944
call fcn.100406b0
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0x628]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x628]
lea ecx, [edi + 4]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043964
sub edx, esi
lea eax, [ebp - 0x628]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.1003eab0
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [ebp - 0x1259]
call fcn.1003cd60
push eax
lea ecx, [edi + 8]
call fcn.10011c40
jmp 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.1003db60
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
jne 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.100389f0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043a7f
push 0x208
lea eax, [ebp - 0x830]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x10043a12
call fcn.1003d380
jmp 0x10043a17
call fcn.1003e570
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0x830]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x830]
lea ecx, [edi + 4]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043a37
sub edx, esi
lea eax, [ebp - 0x830]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.100382f0
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [ebp - 0x1259]
call fcn.10036e60
push eax
lea ecx, [edi + 8]
call fcn.10011c40
jmp 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.10040090
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043b38
push 0x208
lea eax, [ebp - 0xa38]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x10043ac8
call fcn.1003c280
jmp 0x10043acd
call fcn.1003f610
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0xa38]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0xa38]
lea ecx, [edi + 4]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043af0
sub edx, esi
lea eax, [ebp - 0xa38]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.100355e0
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [ebp - 0x1259]
call fcn.1003fc30
push eax
lea ecx, [edi + 8]
call fcn.10011c40
jmp 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.10035340
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043bee
push 0x208
lea eax, [ebp - 0xc40]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x10043b81
call fcn.1003cf20
jmp 0x10043b86
call fcn.1003eff0
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0xc40]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0xc40]
lea ecx, [edi + 4]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043ba6
sub edx, esi
lea eax, [ebp - 0xc40]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.100372c0
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [ebp - 0x1259]
call fcn.10038830
push eax
lea ecx, [edi + 8]
call fcn.10011c40
jmp 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.1003fa70
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043ca8
push 0x208
lea eax, [ebp - 0xe48]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x10043c37
call fcn.10038910
jmp 0x10043c3c
call fcn.10040cd0
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0xe48]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0xe48]
lea ecx, [edi + 4]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043c60
sub edx, esi
lea eax, [ebp - 0xe48]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.1003a3e0
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [ebp - 0x1259]
call fcn.1003fdf0
push eax
lea ecx, [edi + 8]
call fcn.10011c40
jmp 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.10038130
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043d5e
push 0x208
lea eax, [ebp - 0x1050]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x10043cf1
call fcn.1003d000
jmp 0x10043cf6
call fcn.10041670
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0x1050]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x1050]
lea ecx, [edi + 4]
lea esi, [edx + 2]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043d16
sub edx, esi
lea eax, [ebp - 0x1050]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.100405d0
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [ebp - 0x1259]
call fcn.1003fb50
push eax
lea ecx, [edi + 8]
call fcn.10011c40
jmp 0x10043e1d
lea ecx, [ebp - 0x1259]
call fcn.1003f8b0
push eax
push esi
call fcn.10011c90
add esp, 8
test al, al
je 0x10043e15
push 0x208
lea eax, [ebp - 0x1258]
push 0
push eax
call fcn.10080c30
add esp, 0xc
call fcn.10043f50
lea ecx, [ebp - 0x1259]
test eax, eax
je 0x10043da7
call fcn.1003d540
jmp 0x10043dac
call fcn.1003d0e0
push eax
push dword [ebp - 0x1260]
lea eax, [ebp - 0x1258]
push eax
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea edx, [ebp - 0x1258]
lea ecx, [edi + 4]
lea esi, [edx + 2]
nop dword [eax]
mov ax, word [edx]
add edx, 2
test ax, ax
jne 0x10043dd0
sub edx, esi
lea eax, [ebp - 0x1258]
sar edx, 1
push edx
push eax
call fcn.1000cd50
lea ecx, [ebp - 0x1259]
call fcn.1003f0d0
push eax
mov ecx, edi
call fcn.10011c40
lea ecx, [ebp - 0x1259]
call fcn.1003dd20
push eax
lea ecx, [edi + 8]
call fcn.10011c40
jmp 0x10043e1d
xor eax, eax
mov dword [ebp - 0x1270], eax
mov dword [edi + 0xc], 0
cmp dword [0x100ca150], 0
je 0x10043ed1
push str.ntdll.dll
mov dword [ebp - 0x1268], 0
xor ebx, ebx
mov dword [ebp - 0x126c], 0
mov dword [ebp - 0x1264], 0
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, eax
test esi, esi
je 0x10043ec7
push str.RtlGetNtVersionNumbers
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x10043e9b
lea ecx, [ebp - 0x1264]
push ecx
lea ecx, [ebp - 0x126c]
push ecx
lea ecx, [ebp - 0x1268]
push ecx
call eax
movzx eax, word [ebp - 0x1264]
mov ebx, 1
mov dword [ebp - 0x1264], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
test ebx, ebx
je 0x10043ec7
cmp dword [ebp - 0x1268], 5
jne 0x10043ec7
mov eax, dword [0x100f36e4]
mov ecx, 1
cmp dword [ebp - 0x126c], ecx
cmove eax, ecx
mov dword [0x100f36e4], eax
mov dword [0x100ca150], 0
cmp dword [0x100f36e4], 0
je 0x10043eea
call fcn.100443b0
test eax, eax
je 0x10043eea
mov dword [edi + 0xc], 1
mov ebx, dword [ebp - 0x1270]
mov eax, dword [ebp - 0x1260]
or ecx, 0xffffffff
mov dword [ebp - 4], 0xffffffff
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x10043f15
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, ebx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100665d9
mov esp, ebp
pop ebp
ret 0xc