Function at 0x43d1a0
Capabilities:
Allocate thread local storage
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4a2d06
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xe4
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], ecx
mov dword [ecx], ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
push str._s__u
lea eax, [ebp - 0xf0]
push 0x40
push eax
call dword [sym.imp.MSVCRT.dll__snwprintf]
add esp, 0x14
lea ecx, [ebp - 0xf0]
mov word [ebp - 0x70], bx
push ecx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
cmp esi, ebx
mov dword [ebp - 0x1c], esi
je 0x43d439
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x43d225
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov ecx, 0xf
xor eax, eax
lea edi, [ebp - 0x6a]
mov word [ebp - 0x6c], bx
rep stosd dword es:[edi], eax
lea edx, [ebp - 0x6c]
push 0x1f
push edx
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
mov dword [ebp - 4], ebx
stosw word es:[edi], ax
call fcn.0043cf10
xor edi, edi
cmp eax, edi
mov dword [ebp - 0x18], edi
je 0x43d280
mov word [ebp + eax*2 - 0x6c], di
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x6c]
push 0x4bbb84
push ecx
call dword [sym.imp.MSVCRT.dll_swscanf]
add esp, 0xc
cmp eax, 1
jne 0x43d280
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 0x18]
mov dword [eax], edx
jmp 0x43d41c
xor esi, esi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x43d29b
push 0x5c0
push esi
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov esi, eax
mov dword [ebp - 0x2c], esi
test esi, esi
je 0x43d30a
lea edx, [esi + 8]
mov dword [esi], 0
mov dword [esi + 4], 0xffffffff
mov ecx, 0x168
lea edi, [edx + 8]
xor eax, eax
mov dword [edx], 0
rep stosd dword es:[edi], eax
mov dword [edx + 0x5ac], edx
mov dword [edx + 0x5a8], edx
mov dword [edx + 0x5b0], edx
mov ebx, 2
mov dword [esi + 0x5bc], eax
mov byte [ebp - 4], bl
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi + 4], eax
jne 0x43d303
lea ecx, [ebp - 0x24]
push 0x4afce8
push ecx
mov dword [ebp - 0x24], ebx
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp - 0x1c]
mov dword [esi], edx
jmp 0x43d30c
xor esi, esi
mov eax, dword [ebp - 0x14]
mov byte [ebp - 4], 0
test esi, esi
mov dword [eax], esi
jne 0x43d32e
lea ecx, [ebp - 0x20]
push 0x4afce8
push ecx
mov dword [ebp - 0x20], 1
call sub.MSVCRT.dll__CxxThrowException
push esi
lea edx, [ebp - 0x6c]
push 0x4bbb84
push edx
mov ebx, 1
call dword [sym.imp.MSVCRT.dll_swprintf]
add esp, 0xc
lea eax, [ebp - 0x6c]
push eax
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
call fcn.0043d010
test eax, eax
jne 0x43d419
lea ecx, [ebp - 0x28]
push 0x4afce8
push ecx
mov dword [ebp - 0x28], 3
call sub.MSVCRT.dll__CxxThrowException
push str.1830B7BD_F7A3_4c4d_989B_C004DE465EDE
call fcn.0043d090
mov esi, dword [ebp - 0x1c]
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov edx, dword [ebp - 0x14]
mov ebx, dword [edx]
test ebx, ebx
mov dword [ebp - 0x18], ebx
je 0x43d40c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
je 0x43d3a0
push eax
call dword [sym.imp.KERNEL32.dll_TlsFree]
mov eax, dword [ebx]
test eax, eax
je 0x43d3ad
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esi, dword [ebx + 0x5b0]
lea edi, [ebx + 8]
cmp esi, edi
je 0x43d3dd
mov ebx, dword [esi + 0x5a8]
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x43d3d4
push esi
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
cmp ebx, edi
mov esi, ebx
jne 0x43d3ba
mov ebx, dword [ebp - 0x18]
mov dword [edi + 0x5ac], edi
mov dword [edi + 0x5a8], edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
test eax, eax
je 0x43d3fd
push ebx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp - 0x14]
mov dword [eax], 0
mov eax, 0x43d439
ret
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 0x43d439
ret
mov esi, dword [ebp - 0x1c]
mov ecx, dword [ebp - 0x14]
push esi
mov eax, dword [ecx]
inc dword [eax + 0x5bc]
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
test ebx, ebx
jne 0x43d439
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp - 0x14]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret