Function at 0x451410
Capabilities:
Check mutex on windows
Check os version

Disassembly:
sub esp, 0x38c
xor ecx, ecx
mov dword [esp + 0x15], ecx
push ebp
mov dword [esp + 0x1d], ecx
mov dword [esp + 0x21], ecx
push esi
xor eax, eax
mov dword [esp + 0x29], ecx
mov word [esp + 0x2d], cx
push edi
mov dword [esp + 0x10], eax
lea edx, [esp + 0xf8]
xor ebp, ebp
push edx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x18], eax
mov byte [esp + 0x24], al
mov byte [esp + 0x37], cl
mov byte [esp + 0x48], cl
mov byte [esp + 0xc0], cl
mov byte [esp + 0x84], cl
mov dword [esp + 0xfc], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x4514b0
cmp dword [esp + 0xfc], 5
jb 0x4514b0
mov eax, dword [str.Global_]
mov ecx, dword [0x46bbcc]
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], ecx
mov dword [esp + 0xbc], eax
mov dword [esp + 0xc0], ecx
mov dword [esp + 0x80], eax
mov dword [esp + 0x84], ecx
lea edi, [esp + 0x44]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4514b5
mov ecx, 7
mov esi, str.KaseyaWinSockHookMapObj_v42
rep movsd dword es:[edi], dword [esi]
lea edi, [esp + 0xbc]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4514d1
mov ecx, 6
mov esi, str.KaseyaWsckInitShmemMutex
rep movsd dword es:[edi], dword [esi]
movsb byte es:[edi], byte [esi]
lea edi, [esp + 0x80]
dec edi
mov edi, edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x4514f0
mov ecx, 8
mov esi, str.KaseyaAppInternetAccessMapObj_v42
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x10]
push ecx
movsw word es:[edi], word [esi]
call fcn.004322a0
add esp, 8
lea edx, [esp + 0xbc]
push edx
push ebp
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
cmp edi, ebp
mov dword [esp + 0x1c], edi
je 0x451546
push 0x3a98
push edi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x44]
push ecx
push ebp
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
cmp eax, ebp
mov dword [0x4ce61c], eax
jne 0x451591
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x10]
push eax
call fcn.004322a0
add esp, 8
lea ecx, [esp + 0x44]
push ecx
push 0x40074
push ebp
push 4
lea edx, [esp + 0x1c]
push edx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x4ce61c], eax
push ebp
push ebp
push ebp
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edx, eax
cmp edx, ebp
mov dword [0x4ce620], edx
jne 0x4515b1
or esi, 0xffffffff
jmp 0x4516f8
xor eax, eax
mov edi, edx
mov ecx, 0x1001d
rep stosd dword es:[edi], eax
mov ecx, dword [esp + 0x3a0]
mov eax, dword [esp + 0x39c]
mov dword [edx], eax
mov eax, dword [esp + 0x3a4]
mov dword [edx + 4], ecx
mov ecx, dword [esp + 0x3a8]
mov dword [edx + 8], eax
mov dword [edx + 0xc], ecx
mov ecx, dword [0x4ce630]
xor eax, eax
cmp ecx, ebp
setne al
push ebx
lea ecx, [edx + 0x70]
push ecx
mov dword [edx + 0x5c], eax
mov eax, 1
mov dword [edx + 0x60], eax
mov dword [edx + 0x14], eax
lea eax, [edx + 0x6c]
push eax
add edx, 0x74
push 0x40000
push edx
call fcn.00447b40
lea ecx, [esp + 0x54]
push ecx
lea edx, [esp + 0x50]
push edx
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x5c]
push ecx
call fcn.004510a0
add esp, 0x20
test eax, eax
je 0x451645
mov dword [esp + 0x1c], ebp
mov ebx, 0x28
mov esi, 0x29e0
jmp 0x451651
mov esi, dword [esp + 0x44]
mov ebx, dword [esp + 0x3c]
mov ebp, dword [esp + 0x40]
lea edx, [esp + 0x84]
push edx
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
mov dword [0x4ce618], eax
jne 0x4516a0
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.004322a0
add esp, 8
lea edx, [esp + 0x84]
push edx
push esi
push 0
push 4
lea eax, [esp + 0x20]
push eax
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [0x4ce618], eax
push 0
push 0
push 0
push 2
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov edi, eax
test edi, edi
mov dword [0x4ce624], edi
jne 0x4516c0
or esi, 0xffffffff
jmp 0x4516f3
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [0x4ce620]
mov dword [eax + 0x64], ebx
mov dword [eax + 0x10], esi
mov eax, dword [esp + 0x1c]
push eax
push ebp
call fcn.00451270
push ebp
mov esi, eax
call fcn.0045932f
add esp, 0xc
mov edi, dword [esp + 0x20]
pop ebx
test edi, edi
je 0x45175e
mov eax, dword [esp + 0x34]
test eax, eax
jne 0x45171e
push edi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x38c
ret
lea ecx, [esp + 0x198]
push str.WARNING:_wshInitSharedData___initialized_memory_mapped_shared_memory_segment_without_obtaining_mutex._n
push ecx
call fcn.00458ee7
lea edx, [esp + 0x19c]
push edx
mov dword [esp + 0x1a0], 1
call fcn.0043e010
add esp, 0xc
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x38c
ret
lea eax, [esp + 0x198]
push str.WARNING:_wshInitSharedData___initialized_memory_mapped_shared_memory_segment_without_creating_mutex._n
push eax
call fcn.00458ee7
lea ecx, [esp + 0x19c]
push ecx
mov dword [esp + 0x1a0], 1
call fcn.0043e010
add esp, 0xc
pop edi
mov eax, esi
pop esi
pop ebp
add esp, 0x38c
ret