Function at 0x10005c80
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xfffffffffffffffe
push 0x1008fb78
push 0x1005aa50
mov eax, dword fs:[0]
push eax
sub esp, 0x3c
mov eax, dword [0x1009cbc0]
xor dword [ebp - 8], eax
xor eax, ebp
mov dword [ebp - 0x1c], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0x10]
mov dword fs:[0], eax
mov dword [ebp - 0x18], esp
mov eax, dword [ebp + 8]
mov dword [ebp - 0x44], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 0x48], 0
mov byte [ebp - 0x38], 0
xor ecx, ecx
mov dword [ebp - 0x37], ecx
mov dword [ebp - 0x33], ecx
mov dword [ebp - 0x2f], ecx
mov dword [ebp - 0x2b], ecx
mov dword [ebp - 0x27], ecx
mov dword [ebp - 0x23], ecx
mov dword [ebp - 4], ecx
test eax, eax
jne 0x10005d91
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10005d23
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xfffffffe
lea eax, [esi + 8]
jmp 0x100064a1
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 8
test eax, eax
jle 0x10005d5f
mov byte [esi + 0xffff], 0
push esi
push str.InitializeSA
push 1
mov edx, 0x3e
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10005d77
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, 8
jmp 0x100064a1
cmp dword [0x100e2810], 0
je 0x10005e46
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10005dd8
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xfffffffe
lea eax, [esi + 0xd]
jmp 0x100064a1
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push 0xd
test eax, eax
jle 0x10005e14
mov byte [esi + 0xffff], 0
push esi
push str.InitializeSA
push 1
mov edx, 0x42
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10005e2c
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xd
jmp 0x100064a1
call fcn.100054b0
mov edi, eax
test edi, edi
je 0x10005ef8
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
jne 0x10005e8e
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x100064a1
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10005ec9
mov byte [esi + 0xffff], 0
push esi
push str.InitializeSA
push 1
mov edx, 0x46
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10005ee1
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push esi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, edi
jmp 0x100064a1
call fcn.100047e0
mov edi, eax
test edi, edi
je 0x10005f55
push 0x1000a
call fcn.1005218a
add esp, 4
mov esi, eax
test esi, esi
je 0x10005e68
push 0x100865c0
push 0xffff
push esi
call fcn.10052136
add esp, 0xc
push edi
test eax, eax
jle 0x10005ec9
mov byte [esi + 0xffff], 0
push esi
push str.InitializeSA
push 1
mov edx, 0x4a
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10005ee1
push 0x103
push esi
push 0x104
push 0x100e2608
call fcn.1005379d
add esp, 0x10
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x4c], 0
push 0x1000a
call fcn.1005218a
mov esi, eax
mov dword [ebp - 0x3c], esi
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
test esi, esi
je 0x10006059
test edi, edi
je 0x10006059
push dword [0x1009dca4]
push 0x100e22f8
push 0x100e21b8
push dword [0x1009dca8]
push 0x100e22c0
push str._s___OS:__s__s____s____s
push 0xffff
push edi
call fcn.1005211a
add esp, 0x20
test eax, eax
jle 0x10006044
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xfffffffffffffffe
push edi
call fcn.10051b84
push 0xffffffffffffffff
push edi
inc eax
push eax
push esi
lea eax, [ebp - 0x4c]
push eax
call fcn.10052d14
add esp, 0x1c
test eax, eax
je 0x1000601e
push ebx
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
jmp 0x10006024
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push ebx
mov ebx, dword [ebp - 0x3c]
push ebx
push str.InitializeSA
push 4
mov edx, 0x50
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x10006076
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000606b
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
mov esi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
call esi
mov ebx, dword [ebp - 0x3c]
test ebx, ebx
je 0x10006083
push ebx
call fcn.10052152
add esp, 4
test edi, edi
je 0x10006090
push edi
call fcn.10052152
add esp, 4
call dword [sym.imp.KERNEL32.dll_GetLastError]
lea ebx, [eax + 0x1e]
mov dword [ebp - 0x40], 0
push 0x1000a
call fcn.1005218a
mov dword [ebp - 0x3c], eax
push 0x2000a
call fcn.1005218a
add esp, 8
mov edi, eax
cmp dword [ebp - 0x3c], 0
je 0x10006159
test edi, edi
je 0x10006159
push 0x100e2608
push str.MUID:__s
push 0xffff
push edi
call fcn.1005211a
add esp, 0x10
test eax, eax
jle 0x10006144
xor eax, eax
mov word [edi + 0x1fffe], ax
push 0xfffffffffffffffe
push edi
call fcn.10051b84
push 0xffffffffffffffff
push edi
inc eax
push eax
push dword [ebp - 0x3c]
lea eax, [ebp - 0x40]
push eax
call fcn.10052d14
add esp, 0x1c
test eax, eax
je 0x10006125
push ebx
push edi
push str.wcstombs_s_error_in_log_file:__s____d_n
call fcn.10052604
add esp, 0xc
push edi
call esi
push ebx
push dword [ebp - 0x3c]
push str.InitializeSA
push 4
mov edx, 0x52
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1000616d
push ebx
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
jmp 0x1000616b
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call esi
mov eax, dword [ebp - 0x3c]
test eax, eax
je 0x1000617d
push eax
call fcn.10052152
add esp, 4
test edi, edi
je 0x1000618a
push edi
call fcn.10052152
add esp, 4
mov ecx, 0x100e22c0
lea edx, [ecx + 2]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10006192
sub ecx, edx
sar ecx, 1
push 0xffffffffffffffff
push 0x100e22c0
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp - 0x48]
push eax
call fcn.10052d14
add esp, 0x14
mov ebx, eax
test ebx, ebx
je 0x10006261
push 0x1000a
call fcn.1005218a
add esp, 4
mov edi, eax
test edi, edi
jne 0x100061fb
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call esi
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
jmp 0x100064a1
push 0x100865c0
push 0xffff
push edi
call fcn.10052136
add esp, 0xc
push ebx
test eax, eax
jle 0x10006236
mov byte [edi + 0xffff], 0
push edi
push str.InitializeSA
push 1
mov edx, 0x56
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1000624a
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call esi
push edi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, ebx
jmp 0x100064a1
call fcn.10030f90
push 0x6726
call fcn.1005218a
add esp, 4
mov edi, eax
mov dword [0x100e2810], edi
test edi, edi
jne 0x10006325
push 0x1000a
call fcn.1005218a
add esp, 4
mov edi, eax
test edi, edi
jne 0x100062bb
push str.Memory_allocation_error_in_log_file_n
call fcn.10052604
add esp, 4
push str.Memory_allocation_error_in_log_file_n
call esi
mov dword [ebp - 4], 0xfffffffe
mov eax, 5
jmp 0x100064a1
push 0x100865c0
push 0xffff
push edi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x100062f7
mov byte [edi + 0xffff], 0
push edi
push str.InitializeSA
push 1
mov edx, 0x68
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1000630b
push str.Error__d_in_swprintf_s_n
call fcn.10052604
add esp, 8
push str.Error_in_swprintf_s_n
call esi
push edi
call fcn.10052152
add esp, 4
mov dword [ebp - 4], 0xfffffffe
mov eax, 5
jmp 0x100064a1
push 0x671c
push 0
push edi
call fcn.10055aa0
add esp, 0xc
lea eax, [edi + 8]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov edi, dword [0x100e2810]
mov dword [edi + 0x6298], 0
mov dword [edi + 0x629c], 0xa
push 0x145a
call fcn.1005218a
add esp, 4
mov ecx, eax
mov dword [edi + 0x62a0], ecx
test ecx, ecx
jne 0x100063cc
push 0x1000a
call fcn.1005218a
add esp, 4
mov edi, eax
test edi, edi
je 0x10006296
push 0x100865c0
push 0xffff
push edi
call fcn.10052136
add esp, 0xc
push 5
test eax, eax
jle 0x100062f7
mov byte [edi + 0xffff], 0
push edi
push str.InitializeSA
push 1
mov edx, 0x71
mov ecx, str...ApiAuxNA.cpp
call fcn.10001cf0
add esp, 0x10
jmp 0x1000630b
imul eax, dword [edi + 0x629c], 0x208
push eax
push 0
push ecx
call fcn.10055aa0
add esp, 0xc
call fcn.1000f6a0
mov eax, dword [0x100e2810]
mov ecx, dword [ebp - 0x44]
mov dword [ecx], eax
mov dword [ebp - 4], 0xfffffffe
xor eax, eax
jmp 0x100064a1
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1005132c
mov esp, ebp
pop ebp
ret 8