Function at 0x10013380
Capabilities:
Print debug messages

Disassembly:
push ebx
mov ebx, esp
sub esp, 8
and esp, 0xfffffff8
add esp, 4
push ebp
mov ebp, dword [ebx + 4]
mov dword [esp + 4], ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051c60
mov eax, dword fs:[0]
push eax
push ebx
sub esp, 0x78
mov eax, dword [0x10069008]
xor eax, ebp
mov dword [ebp - 0x14], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xorps xmm0, xmm0
lea eax, [ebp - 0x40]
push eax
movups xmmword [ebp - 0x34], xmm0
movups xmmword [ebp - 0x24], xmm0
call fcn.10034c4e
add esp, 4
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 0x64]
push eax
call fcn.10034f3b
lea eax, [ebp - 0x64]
push eax
push 0x10062660
lea eax, [ebp - 0x34]
push 0x20
push eax
call fcn.1003562d
lea esi, [ebp - 0x34]
add esp, 0x18
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x10013400
sub esi, ecx
call fcn.10003010
lea ecx, [ebx + 0xc]
mov dword [ebp - 0x6c], eax
push ecx
push 0
push dword [ebx + 8]
mov ecx, dword [eax]
push 0
push 0
push dword [eax + 4]
or ecx, 2
push ecx
call fcn.10032ea8
or ecx, 0xffffffff
add esp, 0x1c
test eax, eax
cmovs eax, ecx
mov ecx, 0x1000
cmp eax, 0xffffffff
cmove eax, ecx
add eax, 2
add eax, esi
push eax
mov dword [ebp - 0x68], eax
call fcn.1002f5a3
mov edi, eax
add esp, 4
mov dword [ebp - 0x70], edi
test edi, edi
je 0x100135fa
push dword [ebp - 0x68]
push 0
push edi
call fcn.1002caf0
add esp, 0xc
lea eax, [ebp - 0x34]
push eax
push 0x10062674
push 0xffffffffffffffff
lea eax, [esi + 1]
push eax
push edi
call fcn.10015520
add esp, 0x14
lea eax, [ebx + 0xc]
push eax
mov eax, dword [ebp - 0x68]
push 0
push dword [ebx + 8]
sub eax, esi
push eax
lea eax, [edi + esi]
push eax
mov eax, dword [ebp - 0x6c]
push dword [eax + 4]
push dword [eax]
call fcn.10032ecc
mov esi, edi
add esp, 0x1c
lea ecx, [esi + 1]
nop
mov al, byte [esi]
inc esi
test al, al
jne 0x100134b0
sub esi, ecx
je 0x100135f1
push 0
push 0
inc esi
push esi
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov dword [ebp - 0x68], eax
test eax, eax
jg 0x100134e3
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x100135f1
xor ecx, ecx
mov edx, 2
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.10015565
mov ecx, dword [ebp - 0x68]
add esp, 4
mov edx, eax
xor eax, eax
shr ecx, 1
mov edi, edx
rep stosd dword es:[edi], eax
push dword [ebp - 0x68]
adc ecx, ecx
mov dword [ebp - 0x6c], edx
push edx
push esi
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x70]
push edi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
jg 0x10013537
push edi
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov esi, dword [ebp - 0x6c]
jmp 0x100135e8
push 0x1006bb58
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov esi, dword [ebp - 0x6c]
xor eax, eax
mov ecx, esi
mov dword [ebp - 0x88], 0
mov dword [ebp - 0x78], 0
mov dword [ebp - 0x74], 7
mov word [ebp - 0x88], ax
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x10013570
sub ecx, edx
sar ecx, 1
push ecx
push esi
lea ecx, [ebp - 0x88]
call fcn.100028f0
lea eax, [ebp - 0x88]
mov dword [ebp - 4], 0
push eax
mov ecx, 0x1006bb70
call fcn.1000dd00
mov edx, dword [ebp - 0x74]
cmp edx, 8
jb 0x100135dd
mov ecx, dword [ebp - 0x88]
lea edx, [edx*2 + 2]
mov eax, ecx
cmp edx, 0x1000
jb 0x100135d3
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x10013618
push edx
push ecx
call fcn.10015573
add esp, 8
push 0x1006bb58
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push esi
call fcn.1001556e
add esp, 4
push edi
call fcn.1002f5ae
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.10015557
mov esp, ebp
pop ebp
mov esp, ebx
pop ebx
ret
call fcn.1002f7e9
int3