Function at 0x1004b01e
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b7eda
mov eax, dword fs:[0]
push eax
mov eax, 0x146c
call fcn.100a7d30
push ebx
push esi
push edi
mov eax, dword [0x100cfa9c]
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 [0x100d08d0], 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.1004b378
mov ecx, ebx
mov dword [ebp - 0x1478], ebx
cmp byte [edx + 8], cl
mov edi, eax
push 8
pop eax
cmovne ecx, eax
inc ebx
mov dword [ebp - 0x1474], ecx
mov ecx, ebx
lock xadd dword [0x100d0990], ecx
inc ecx
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x1468], ecx
xor ecx, ecx
test eax, eax
je 0x1004b0ec
mov dword [ebp - 0x1464], eax
cmp word [eax], cx
jne 0x1004b0f2
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 esi, dword [0x100d08f4]
mov dword [ebp - 0x145c], ecx
mov dword [ebp - 0x1458], ecx
mov dword [ebp - 0x1448], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [ebp - 0x1444]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x1004b174
mov ecx, esi
call dword [0x100d2370]
call esi
mov dword [ebp - 0x142c], eax
jmp 0x1004b17a
mov dword [ebp - 0x142c], ecx
mov esi, dword [0x100d08ac]
test esi, esi
je 0x1004b195
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100d2370]
call esi
mov esi, dword [0x100d08c4]
test esi, esi
je 0x1004b1bc
push 0x400
lea eax, [ebp - 0x410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x100d2370]
call esi
mov esi, dword [0x100d08c0]
test esi, esi
je 0x1004b1d7
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100d2370]
call esi
mov esi, dword [0x100d08d8]
test esi, esi
je 0x1004b204
cmp byte [ebp - 0x1411], 0
jne 0x1004b204
test byte [ebp - 0x1474], 2
jne 0x1004b204
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100d2370]
call esi
cmp dword [ebp - 0x1470], 0
jl 0x1004b212
call fcn.1004b4e2
cmp byte [0x100d089c], 0
jne 0x1004b244
mov esi, dword [0x100d0898]
test esi, esi
je 0x1004b234
mov ecx, esi
call dword [0x100d2370]
call esi
movzx eax, al
jmp 0x1004b240
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x1004b251
test byte [ebp - 0x1474], 2
jne 0x1004b251
xor ecx, ecx
jmp 0x1004b255
xor ecx, ecx
mov bl, cl
cmp byte [ebp - 0x1411], 0
jne 0x1004b289
test bl, bl
jne 0x1004b289
mov esi, dword [0x100d08a0]
test esi, esi
je 0x1004b2e9
cmp byte [0x100d08b0], bl
jne 0x1004b2e9
push ecx
push ecx
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100d2370]
call esi
jmp 0x1004b2e9
mov esi, dword [0x100d08a0]
mov edi, 0x800
test esi, esi
je 0x1004b2ba
cmp byte [0x100d08b0], 0
jne 0x1004b2ba
push edi
lea eax, [ebp - 0x1410]
mov ecx, esi
push eax
lea eax, [ebp - 0x1478]
push eax
call dword [0x100d2370]
call esi
cmp word [ebp - 0x1410], 0
jne 0x1004b2d8
lea eax, [ebp - 0x1478]
mov edx, edi
push eax
lea ecx, [ebp - 0x1410]
call fcn.1003306a
test bl, bl
je 0x1004b2e9
lea eax, [ebp - 0x1410]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [ebp - 0x1474], 4
jne 0x1004b2fb
cmp byte [0x100d08a4], 0
je 0x1004b30f
mov esi, dword [0x100d08cc]
test esi, esi
je 0x1004b30f
mov ecx, esi
call dword [0x100d2370]
call esi
or dword [ebp - 4], 0xffffffff
test byte [ebp - 0x1474], 1
je 0x1004b327
lea ecx, [ebp - 0x1478]
call fcn.10033e14
cmp byte [ebp - 0x1411], 0
je 0x1004b34e
mov esi, dword [0x100d08d0]
lea eax, [ebp - 0x1410]
push eax
lea eax, [ebp - 0x1478]
mov ecx, esi
push eax
call dword [0x100d2370]
call esi
lea ecx, [ebp - 0x1478]
call fcn.1004b797
jmp 0x1004b31c