Function at 0x10044b30
Capabilities:
Check os version
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x1007dd98
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xcc
push ebx
push ebp
push esi
push edi
push 0x10096e30
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea eax, [esp + 0x18]
push 0x10084910
push eax
call fcn.1001f310
mov ecx, dword [esp + 0x20]
mov ebx, dword [esp + 0xf4]
mov eax, dword [ebx + 4]
push 0x1388
xor edi, edi
push edi
push 1
push ecx
push eax
mov dword [esp + 0x100], edi
call fcn.10021df0
add esp, 0x1c
mov dword [esp + 0x34], edi
mov dword [esp + 0x38], edi
mov dword [esp + 0x3c], edi
mov eax, dword [esp + 0x18]
mov ecx, dword [ebx]
lea edx, [esp + 0x30]
push edx
push eax
mov byte [esp + 0xec], 1
call fcn.10043cd0
mov ecx, dword [esp + 0x18]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [esp + 0x1c], edi
mov dword [esp + 0x44], edi
mov dword [esp + 0x48], edi
mov dword [esp + 0x4c], edi
mov dword [esp + 0x24], edi
mov dword [esp + 0x28], edi
mov dword [esp + 0x2c], edi
mov esi, dword [esp + 0x34]
cmp esi, dword [esp + 0x38]
mov byte [esp + 0xe4], 3
je 0x10044d61
add esi, 0x14
jmp 0x10044c00
lea ebp, [esi - 0x14]
mov ecx, ebp
call fcn.10040820
test eax, eax
jne 0x10044c1d
push ebp
lea ecx, [esp + 0x44]
call fcn.10043630
jmp 0x10044d04
mov edx, dword [0x10098a04]
mov ecx, 0x10098a04
call dword [edx + 0xc]
lea edi, [eax + 0x10]
mov dword [esp + 0x10], edi
mov ecx, esi
mov byte [esp + 0xe4], 4
call fcn.1000d0f0
mov ecx, eax
call fcn.1000cd40
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
test ecx, ecx
je 0x10044cc1
lea ecx, [esp + 0x14]
push 0x1008490c
push ecx
call fcn.1001f310
add esp, 8
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0xe8], 5
call fcn.10004aa0
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
mov byte [esp + 0xe4], 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10044c9b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x10]
mov eax, dword [esi]
push 0x1388
push 0
push 0
push edi
push eax
call fcn.10021df0
add esp, 0x14
lea eax, [esp + 0x10]
push eax
lea ecx, [esi + 0x38]
call fcn.10004aa0
lea eax, [ebx + 4]
push eax
lea ecx, [esi + 0x3c]
call fcn.10004aa0
push ebp
lea ecx, [esp + 0x24]
mov dword [esi + 0x40], 5
call fcn.10043630
lea eax, [edi - 0x10]
mov byte [esp + 0xe4], 3
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10044d00
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov edi, dword [esp + 0x28]
mov ecx, dword [esp + 0x38]
add esi, 0x8c
lea eax, [esi - 0x14]
cmp eax, ecx
jne 0x10044c00
mov eax, dword [esp + 0x44]
test eax, eax
je 0x10044d61
mov ecx, dword [esp + 0x48]
mov edx, eax
sub ecx, edx
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov ecx, edx
shr ecx, 0x1f
add ecx, edx
mov dword [esp + 0x14], ecx
je 0x10044d61
cmp dword [ebx + 0xc], 1
jne 0x10044d61
push 0
push 0x100848fc
push 0x100848d4
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
mov eax, dword [ebx + 0xc]
sub eax, 0
mov ebp, 1
je 0x10044da8
dec eax
je 0x10044da1
dec eax
jne 0x10044daa
mov esi, dword [esp + 0x24]
xor ebp, ebp
cmp esi, edi
je 0x10044daa
mov edi, edi
mov eax, dword [esi + 0x6c]
push str.true
push eax
call fcn.1006a17e
add esp, 8
test eax, eax
jne 0x10044da1
add esi, 0x8c
cmp esi, edi
jne 0x10044d80
jmp 0x10044daa
mov ebp, 1
jmp 0x10044daa
xor ebp, ebp
mov eax, dword [esp + 0x24]
test eax, eax
je 0x10044f94
mov ecx, edi
sub ecx, eax
mov eax, 0xea0ea0eb
imul ecx
add edx, ecx
sar edx, 7
mov eax, edx
shr eax, 0x1f
add eax, edx
mov dword [esp + 0x14], eax
je 0x10044f94
test ebp, ebp
mov dword [esp + 0x14], 1
je 0x10044edf
push 0x100848c8
lea ecx, [esp + 0x14]
call fcn.10005e50
push 5
push 0x100848c0
lea ecx, [esp + 0x18]
mov byte [esp + 0xec], 6
call fcn.1000cde0
mov esi, dword [esp + 0x24]
mov eax, dword [esi + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.1000cde0
push 7
push 0x100848b8
lea ecx, [esp + 0x18]
call fcn.1000cde0
add esi, 0x8c
cmp esi, edi
je 0x10044e7b
lea esp, [esp]
push 8
push 0x100848ac
lea ecx, [esp + 0x18]
call fcn.1000cde0
mov eax, dword [esi + 8]
mov ecx, dword [eax - 0xc]
push ecx
push eax
lea ecx, [esp + 0x18]
call fcn.1000cde0
push 7
push 0x100848b8
lea ecx, [esp + 0x18]
call fcn.1000cde0
add esi, 0x8c
cmp esi, edi
jne 0x10044e40
push 1
push 0x100848a8
lea ecx, [esp + 0x18]
call fcn.1000cde0
mov ecx, dword [esp + 0x10]
push 4
push 0x1008489c
push ecx
call dword [sym.imp.USER32.dll_GetFocus]
push eax
call dword [sym.imp.USER32.dll_MessageBoxA]
cmp eax, 6
je 0x10044ead
xor esi, esi
jmp 0x10044eb1
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
mov byte [esp + 0xe4], 3
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x10044ed7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test esi, esi
je 0x10044f94
mov esi, dword [esp + 0x24]
cmp esi, edi
je 0x10044f94
mov ebp, 0xbb8
mov ecx, dword [ebx]
push esi
call fcn.10043a60
test eax, eax
je 0x10044f14
mov eax, dword [ebx + 8]
mov ecx, dword [esi + 4]
push eax
push ecx
call fcn.1004fd10
add esp, 8
mov dword [esp + 0x1c], 1
lea ecx, [esp + 0x50]
call fcn.10040ac0
mov eax, dword [esi + 4]
push eax
lea ecx, [esp + 0x54]
mov byte [esp + 0xe8], 7
call fcn.10040f00
mov eax, dword [esp + 0xa4]
or eax, 1
push 7
lea ecx, [esp + 0x54]
mov dword [esp + 0xa8], eax
mov dword [esp + 0xb8], ebp
call fcn.10041680
mov ecx, dword [ebx]
call fcn.100436c0
lea ecx, [esp + 0x50]
mov byte [esp + 0xe4], 3
call fcn.10040c60
add esi, 0x8c
cmp esi, edi
jne 0x10044ef0
mov eax, dword [esp + 0x1c]
test eax, eax
je 0x10044f94
push 1
push 0
push 0xbd6
call fcn.1001d430
add esp, 0xc
push 0x10096e30
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebx + 8]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10044fbc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov eax, dword [ebx + 4]
sub eax, 0x10
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x10044fd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
push ebx
call fcn.10069196
mov ebx, dword [esp + 0x28]
add esp, 4
test ebx, ebx
mov byte [esp + 0xe4], 2
je 0x10045012
cmp ebx, edi
mov esi, ebx
je 0x10045009
mov ecx, esi
call fcn.10040c60
add esi, 0x8c
cmp esi, edi
jne 0x10044ff8
push ebx
call fcn.10069196
add esp, 4
mov ebx, dword [esp + 0x44]
test ebx, ebx
mov byte [esp + 0xe4], 1
je 0x1004504a
mov edi, dword [esp + 0x48]
cmp ebx, edi
mov esi, ebx
je 0x10045041
lea esp, [esp]
mov ecx, esi
call fcn.10040c60
add esi, 0x8c
cmp esi, edi
jne 0x10045030
push ebx
call fcn.10069196
add esp, 4
mov edi, dword [esp + 0x34]
test edi, edi
mov byte [esp + 0xe4], 0
je 0x1004507e
mov ebx, dword [esp + 0x38]
cmp edi, ebx
mov esi, edi
je 0x10045075
mov ecx, esi
call fcn.10040c60
add esi, 0x8c
cmp esi, ebx
jne 0x10045064
push edi
call fcn.10069196
add esp, 4
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov dword [esp + 0xe4], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
pop edi
pop esi
pop ebp
pop ebx
jg 0x100450ab
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
mov ecx, dword [esp + 0xcc]
mov dword fs:[0], ecx
add esp, 0xd8
ret