Function at 0x4040b0
Capabilities:
Check mutex on windows
Initialize winsock library

Disassembly:
push 0xffffffffffffffff
push 0x441823
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1a0
push ebx
xor ebx, ebx
push esi
mov esi, ecx
push edi
mov dword [esp + 0x18], esi
mov dword [esi + 0x40], ebx
mov dword [esi + 0x44], ebx
mov dword [esi + 0x48], ebx
mov dword [esi + 0x4c], ebx
mov dword [esp + 0x1b4], ebx
mov dword [esi + 0x54], ebx
mov dword [esi + 0x58], ebx
mov dword [esi + 0x5c], ebx
mov dword [esi + 0x60], ebx
mov dword [esi + 0x68], ebx
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
mov dword [esi + 0x74], ebx
mov dword [esi + 0x7c], ebx
mov dword [esi + 0x80], ebx
mov dword [esi + 0x84], ebx
lea edi, [esi + 0x88]
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
lea eax, [esp + 0x1c]
push eax
push 0x202
mov byte [esp + 0x1bc], 4
call dword [sym.imp.WS2_32.DLL_WSAStartup]
push 0x64
mov dword [0x452004], eax
mov dword [esi], ebx
call sub.MSVCR80.DLL_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1b4], 5
cmp eax, ebx
je 0x404161
mov ecx, eax
call fcn.00408f90
jmp 0x404163
xor eax, eax
push 0x64
mov byte [esp + 0x1b8], 4
mov dword [esi + 0x2c], eax
mov dword [esi + 0x30], ebx
call sub.MSVCR80.DLL_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1b4], 6
cmp eax, ebx
je 0x404194
mov ecx, eax
call fcn.00408e80
jmp 0x404196
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x1b8], 4
mov dword [esi + 0x34], eax
call fcn.00408e50
xor ecx, ecx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x9c], ebx
mov dword [esi + 0xa0], ebx
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xae], 0x1000000
mov word [esi + 0xb2], bx
mov word [esi + 0xb6], cx
mov byte [esi + 0xb4], 0xff
mov dword [esi + 0xb8], ebx
mov dword [esi + 0xbc], ebx
mov dword [esi + 0xc0], ebx
mov dword [esi + 0xc4], ebx
mov dword [esi + 0xc8], ebx
mov eax, dword [edi + 4]
mov byte [esp + 0xf], 0xf7
cmp eax, ebx
jne 0x40420e
xor edx, edx
jmp 0x404213
mov edx, dword [edi + 8]
sub edx, eax
push ebp
cmp eax, ebx
je 0x40422d
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x40422d
mov eax, dword [edi + 8]
mov byte [eax], 0xf7
inc eax
mov dword [edi + 8], eax
jmp 0x40424d
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x40423a
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea edx, [esp + 0x13]
push edx
push ebp
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00402f10
mov eax, dword [edi + 4]
mov byte [esp + 0x13], 0xc
cmp eax, ebx
jne 0x40425d
xor edx, edx
jmp 0x404262
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x40427b
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x40427b
mov eax, dword [edi + 8]
mov byte [eax], 0xc
inc eax
mov dword [edi + 8], eax
jmp 0x40429b
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x404288
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [esp + 0x13]
push ecx
push ebp
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.00402f10
mov eax, dword [edi + 4]
mov byte [esp + 0x13], 6
cmp eax, ebx
jne 0x4042ab
xor edx, edx
jmp 0x4042b0
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x4042c9
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x4042c9
mov eax, dword [edi + 8]
mov byte [eax], 6
inc eax
mov dword [edi + 8], eax
jmp 0x4042e9
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x4042d6
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea eax, [esp + 0x13]
push eax
push ebp
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00402f10
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x4042f8
xor edx, edx
jmp 0x4042fd
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x404315
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x404315
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x404335
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x404322
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea edx, [esp + 0x13]
push edx
push ebp
push edi
lea eax, [esp + 0x20]
push eax
mov ecx, edi
call fcn.00402f10
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x404344
xor edx, edx
jmp 0x404349
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x404361
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x404361
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x404381
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x40436e
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea ecx, [esp + 0x13]
push ecx
push ebp
push edi
lea edx, [esp + 0x20]
push edx
mov ecx, edi
call fcn.00402f10
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x404390
xor edx, edx
jmp 0x404395
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x4043ad
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x4043ad
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x4043cd
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x4043ba
call dword [sym.imp.MSVCR80.DLL__invalid_parameter_noinfo]
lea eax, [esp + 0x13]
push eax
push ebp
push edi
lea ecx, [esp + 0x20]
push ecx
mov ecx, edi
call fcn.00402f10
push str.BurBNetMutex
push ebx
push ebx
mov dword [esi + 0x98], ebx
call dword [sym.imp.KERNEL32.DLL_CreateMutexA]
mov ebp, dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov dword [esi + 4], eax
cmp eax, ebx
je 0x404405
call ebp
cmp eax, 0xb7
jne 0x404405
mov edx, dword [esi + 4]
push edx
call edi
mov dword [esi + 4], ebx
push str.BurBNetShared
push 0x89c
push ebx
push 4
push ebx
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.DLL_CreateFileMappingA]
mov dword [esi + 8], eax
cmp eax, ebx
je 0x404434
call ebp
cmp eax, 0xb7
jne 0x404434
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 8], ebx
mov eax, dword [esi + 8]
pop ebp
cmp eax, ebx
je 0x40449f
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [0x452534], eax
cmp eax, ebx
je 0x404496
push 0x89c
push ebx
push eax
call sub.MSVCR80.DLL_memset
mov ecx, dword [0x452534]
mov byte [ecx + 9], 0xff
mov edx, dword [0x452534]
mov byte [edx + 0xa], 1
mov eax, dword [0x452534]
mov byte [eax + 0xb], 0xff
mov ecx, dword [0x452534]
mov byte [ecx + 0xc], 1
mov edx, dword [0x452534]
add esp, 0xc
mov byte [edx + 0xd], 0xff
jmp 0x40449f
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 8], ebx
cmp dword [0x452004], ebx
jne 0x404509
cmp dword [esi + 4], ebx
je 0x404509
cmp dword [esi + 8], ebx
je 0x404509
mov ecx, dword [esi + 0x2c]
call fcn.00409030
test al, al
je 0x404509
push 0xc8
mov byte [0x45253c], bl
call sub.MSVCR80.DLL_void____cdecl_operator_new_unsigned_int_
add esp, 4
mov dword [esp + 0x10], eax
mov byte [esp + 0x1b4], 7
cmp eax, ebx
je 0x404512
mov ecx, dword [esp + 0x1c8]
mov edx, dword [esp + 0x1c4]
push ecx
mov ecx, dword [esp + 0x1c4]
push edx
mov edx, dword [esp + 0x1c4]
push ecx
push edx
mov ecx, eax
call fcn.00409880
jmp 0x404514
mov byte [0x45253c], 1
jmp 0x404517
xor eax, eax
mov dword [esi + 0x38], eax
mov ecx, dword [esp + 0x1ac]
pop edi
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x1ac
ret 0x10