Function at 0x10039a0e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1009b09a
mov eax, dword fs:[0]
push eax
mov eax, 0x146c
call fcn.1008c520
push ebx
push esi
push edi
mov eax, dword [0x100af3bc]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, edx
mov dword [ebp - 0x1420], ecx
mov eax, dword [ebp + 8]
lea edi, [ebp - 0x1444]
cmp dword [0x100b01e4], 0
mov dword [ebp - 0x1418], eax
mov eax, dword [ebp + 0x14]
setne byte [ebp - 0x1411]
push 6
mov dword [ebp - 0x141c], eax
xor ebx, ebx
pop ecx
xor eax, eax
rep stosd dword es:[edi], eax
mov edx, dword [ebp + 0x18]
mov dword [ebp - 4], ebx
mov word [ebp - 0x1410], ax
mov byte [ebp - 0x410], bl
mov ecx, dword [edx]
mov eax, dword [edx + 4]
mov dword [ebp - 0x1470], ecx
mov dword [ebp - 0x146c], eax
call fcn.10039d69
mov edi, eax
mov dword [ebp - 0x1478], ebx
mov dword [ebp - 0x1474], ebx
cmp byte [edx + 8], bl
je 0x10039aba
mov dword [ebp - 0x1474], 8
xor ebx, ebx
inc ebx
mov eax, ebx
lock xadd dword [0x100b0290], eax
inc eax
mov dword [ebp - 0x1468], eax
xor ecx, ecx
mov eax, dword [ebp + 0x1c]
test eax, eax
je 0x10039ae2
mov dword [ebp - 0x1464], eax
cmp word [eax], cx
jne 0x10039ae8
mov dword [ebp - 0x1464], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [ebp - 0x1460], eax
xor ecx, ecx
mov eax, dword [ebp - 0x1418]
mov dword [ebp - 0x1454], eax
mov eax, dword [ebp - 0x141c]
mov dword [ebp - 0x1428], eax
mov eax, dword [ebp - 0x1420]
mov dword [ebp - 0x144c], edi
lea edi, [ebp - 0x1438]
mov dword [ebp - 0x1424], eax
xor eax, eax
mov dword [ebp - 0x1450], esi
mov dword [ebp - 0x145c], ecx
mov dword [ebp - 0x1458], ecx
stosd dword es:[edi], eax
mov esi, dword [0x100b0208]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1448]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x10039b65
mov ecx, esi
call dword [0x100b134c]
call esi
mov dword [ebp - 0x142c], eax
jmp 0x10039b6b
mov dword [ebp - 0x142c], ecx
mov esi, dword [0x100b01bc]
test esi, esi
je 0x10039b86
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100b134c]
call esi
mov esi, dword [0x100b01d8]
test esi, esi
je 0x10039bad
push 0x400
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x100b134c]
call esi
mov esi, dword [0x100b01d0]
test esi, esi
je 0x10039bc8
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100b134c]
call esi
mov esi, dword [0x100b01ec]
test esi, esi
je 0x10039bf5
cmp byte [ebp - 0x1411], 0
jne 0x10039bf5
test byte [ebp - 0x1474], 2
jne 0x10039bf5
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100b134c]
call esi
cmp dword [ebp - 0x1470], 0
jl 0x10039c03
call fcn.10039ecb
cmp byte [0x100b01ac], 0
jne 0x10039c35
mov esi, dword [0x100b01a8]
test esi, esi
je 0x10039c25
mov ecx, esi
call dword [0x100b134c]
call esi
movzx eax, al
jmp 0x10039c31
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x10039c42
test byte [ebp - 0x1474], 2
jne 0x10039c42
xor eax, eax
jmp 0x10039c46
xor eax, eax
mov bl, al
cmp byte [ebp - 0x1411], 0
jne 0x10039c7a
test bl, bl
jne 0x10039c7a
mov esi, dword [0x100b01b0]
test esi, esi
je 0x10039cda
cmp byte [0x100b01c0], bl
jne 0x10039cda
push eax
push eax
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100b134c]
call esi
jmp 0x10039cda
mov esi, dword [0x100b01b0]
mov edi, 0x800
test esi, esi
je 0x10039cab
cmp byte [0x100b01c0], 0
jne 0x10039cab
push edi
lea eax, [ebp - 0x1410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x100b134c]
call esi
cmp word [ebp - 0x1410], 0
jne 0x10039cc9
lea eax, [ebp - 0x1478]
mov edx, edi
push eax
lea ecx, [ebp - 0x1410]
call fcn.1002905a
test bl, bl
je 0x10039cda
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x1474], 4
jne 0x10039cec
cmp byte [0x100b01b4], 0
je 0x10039d00
mov esi, dword [0x100b01e0]
test esi, esi
je 0x10039d00
mov ecx, esi
call dword [0x100b134c]
call esi
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x1474], 1
je 0x10039d18
lea ecx, [ebp - 0x1478]
call fcn.10029dcd
cmp byte [ebp - 0x1411], 0
je 0x10039d3f
mov esi, dword [0x100b01e4]
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100b134c]
call esi
lea ecx, [ebp - 0x1478]
call fcn.1003a176
jmp 0x10039d0d