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

Disassembly:
push 0xffffffffffffffff
push 0x44c523
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 [0x45c004], 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 0x404181
mov ecx, eax
call fcn.00408fb0
jmp 0x404183
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 0x4041b4
mov ecx, eax
call fcn.00408ea0
jmp 0x4041b6
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x1b8], 4
mov dword [esi + 0x34], eax
call fcn.00408e70
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 0x40422e
xor edx, edx
jmp 0x404233
mov edx, dword [edi + 8]
sub edx, eax
push ebp
cmp eax, ebx
je 0x40424d
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x40424d
mov eax, dword [edi + 8]
mov byte [eax], 0xf7
inc eax
mov dword [edi + 8], eax
jmp 0x40426d
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x40425a
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.00402f30
mov eax, dword [edi + 4]
mov byte [esp + 0x13], 0xc
cmp eax, ebx
jne 0x40427d
xor edx, edx
jmp 0x404282
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x40429b
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x40429b
mov eax, dword [edi + 8]
mov byte [eax], 0xc
inc eax
mov dword [edi + 8], eax
jmp 0x4042bb
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x4042a8
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.00402f30
mov eax, dword [edi + 4]
mov byte [esp + 0x13], 6
cmp eax, ebx
jne 0x4042cb
xor edx, edx
jmp 0x4042d0
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x4042e9
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x4042e9
mov eax, dword [edi + 8]
mov byte [eax], 6
inc eax
mov dword [edi + 8], eax
jmp 0x404309
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x4042f6
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.00402f30
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x404318
xor edx, edx
jmp 0x40431d
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x404335
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x404335
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x404355
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x404342
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.00402f30
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x404364
xor edx, edx
jmp 0x404369
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x404381
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x404381
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x4043a1
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x40438e
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.00402f30
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x4043b0
xor edx, edx
jmp 0x4043b5
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x4043cd
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x4043cd
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x4043ed
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x4043da
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.00402f30
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 0x404425
call ebp
cmp eax, 0xb7
jne 0x404425
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 0x404454
call ebp
cmp eax, 0xb7
jne 0x404454
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 0x4044bf
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.DLL_MapViewOfFile]
mov dword [0x45c5c4], eax
cmp eax, ebx
je 0x4044b6
push 0x89c
push ebx
push eax
call sub.MSVCR80.DLL_memset
mov ecx, dword [0x45c5c4]
mov byte [ecx + 9], 0xff
mov edx, dword [0x45c5c4]
mov byte [edx + 0xa], 1
mov eax, dword [0x45c5c4]
mov byte [eax + 0xb], 0xff
mov ecx, dword [0x45c5c4]
mov byte [ecx + 0xc], 1
mov edx, dword [0x45c5c4]
add esp, 0xc
mov byte [edx + 0xd], 0xff
jmp 0x4044bf
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 8], ebx
cmp dword [0x45c004], ebx
jne 0x404529
cmp dword [esi + 4], ebx
je 0x404529
cmp dword [esi + 8], ebx
je 0x404529
mov ecx, dword [esi + 0x2c]
call fcn.00409050
test al, al
je 0x404529
push 0xc8
mov byte [0x45c5cc], 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 0x404532
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 0x404534
mov byte [0x45c5cc], 1
jmp 0x404537
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