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

Disassembly:
push 0xffffffffffffffff
push 0x441d73
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 [0x454028], 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 0x404611
mov ecx, eax
call fcn.00409360
jmp 0x404613
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 0x404644
mov ecx, eax
call fcn.00409250
jmp 0x404646
xor eax, eax
push 1
mov ecx, eax
mov byte [esp + 0x1b8], 4
mov dword [esi + 0x34], eax
call fcn.00409220
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 0x4046be
xor edx, edx
jmp 0x4046c3
mov edx, dword [edi + 8]
sub edx, eax
push ebp
cmp eax, ebx
je 0x4046dd
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x4046dd
mov eax, dword [edi + 8]
mov byte [eax], 0xf7
inc eax
mov dword [edi + 8], eax
jmp 0x4046fd
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x4046ea
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.004033c0
mov eax, dword [edi + 4]
mov byte [esp + 0x13], 0xc
cmp eax, ebx
jne 0x40470d
xor edx, edx
jmp 0x404712
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x40472b
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x40472b
mov eax, dword [edi + 8]
mov byte [eax], 0xc
inc eax
mov dword [edi + 8], eax
jmp 0x40474b
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x404738
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.004033c0
mov eax, dword [edi + 4]
mov byte [esp + 0x13], 6
cmp eax, ebx
jne 0x40475b
xor edx, edx
jmp 0x404760
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x404779
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x404779
mov eax, dword [edi + 8]
mov byte [eax], 6
inc eax
mov dword [edi + 8], eax
jmp 0x404799
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x404786
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.004033c0
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x4047a8
xor edx, edx
jmp 0x4047ad
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x4047c5
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x4047c5
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x4047e5
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x4047d2
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.004033c0
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x4047f4
xor edx, edx
jmp 0x4047f9
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x404811
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x404811
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x404831
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x40481e
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.004033c0
mov eax, dword [edi + 4]
mov byte [esp + 0x13], bl
cmp eax, ebx
jne 0x404840
xor edx, edx
jmp 0x404845
mov edx, dword [edi + 8]
sub edx, eax
cmp eax, ebx
je 0x40485d
mov ecx, dword [edi + 0xc]
sub ecx, eax
cmp edx, ecx
jae 0x40485d
mov eax, dword [edi + 8]
mov byte [eax], bl
inc eax
mov dword [edi + 8], eax
jmp 0x40487d
mov ebp, dword [edi + 8]
cmp eax, ebp
jbe 0x40486a
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.004033c0
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 0x4048b5
call ebp
cmp eax, 0xb7
jne 0x4048b5
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 0x4048e4
call ebp
cmp eax, 0xb7
jne 0x4048e4
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 0x40494f
push ebx
push ebx
push ebx
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov dword [0x454564], eax
cmp eax, ebx
je 0x404946
push 0x89c
push ebx
push eax
call sub.MSVCR80.dll_memset
mov ecx, dword [0x454564]
mov byte [ecx + 9], 0xff
mov edx, dword [0x454564]
mov byte [edx + 0xa], 1
mov eax, dword [0x454564]
mov byte [eax + 0xb], 0xff
mov ecx, dword [0x454564]
mov byte [ecx + 0xc], 1
mov edx, dword [0x454564]
add esp, 0xc
mov byte [edx + 0xd], 0xff
jmp 0x40494f
mov eax, dword [esi + 8]
push eax
call edi
mov dword [esi + 8], ebx
cmp dword [0x454028], ebx
jne 0x4049b9
cmp dword [esi + 4], ebx
je 0x4049b9
cmp dword [esi + 8], ebx
je 0x4049b9
mov ecx, dword [esi + 0x2c]
call fcn.00409400
test al, al
je 0x4049b9
push 0xc8
mov byte [0x45456c], 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 0x4049c2
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.00409d00
jmp 0x4049c4
mov byte [0x45456c], 1
jmp 0x4049c7
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