Function at 0x4218f0
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
and esp, 0xfffffff8
mov eax, 0x1464
call fcn.004fd000
mov eax, dword [ebp + 8]
push ebx
push esi
mov esi, dword [ebp + 0x18]
mov ebx, ecx
mov dword [esp + 8], eax
mov eax, dword [ebp + 0x14]
mov dword [esp + 0x10], eax
xor eax, eax
mov ecx, dword [esi]
push edi
mov word [esp + 0x470], ax
mov edi, edx
mov byte [esp + 0x70], al
mov eax, dword [esi + 4]
push ecx
mov dword [esp + 0x24], ecx
mov dword [esp + 0x28], eax
call fcn.0041fbf0
and dword [esp + 0x1c], 0
cmp byte [esi + 8], 0
mov dword [esp + 0x10], eax
mov dword [esp + 0x18], 3
je 0x42195a
mov dword [esp + 0x1c], 8
xor ecx, ecx
inc ecx
lock xadd dword [0x501068], ecx
inc ecx
and dword [esp + 0x2c], 0
mov dword [esp + 0x28], ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esp + 0x30], eax
xor ecx, ecx
mov eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x10]
mov dword [esp + 0x44], eax
mov eax, dword [esp + 0x14]
mov dword [esp + 0x40], edi
lea edi, [esp + 0x58]
mov dword [esp + 0x68], eax
xor eax, eax
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], ecx
mov dword [esp + 0x6c], ebx
stosd dword es:[edi], eax
mov esi, dword [0x50104c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esp + 0x48]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
test esi, esi
je 0x4219d0
mov ecx, esi
call dword [0x5035f0]
call esi
mov dword [esp + 0x64], eax
jmp 0x4219d4
mov dword [esp + 0x64], ecx
mov esi, dword [0x501014]
test esi, esi
je 0x4219ed
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x5035f0]
call esi
mov esi, dword [0x501030]
test esi, esi
je 0x421a10
push 0x400
lea eax, [esp + 0x74]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x5035f0]
call esi
mov esi, dword [0x501028]
test esi, esi
je 0x421a29
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x5035f0]
call esi
mov esi, dword [0x50103c]
test esi, esi
je 0x421a49
test byte [esp + 0x1c], 2
jne 0x421a49
lea eax, [esp + 0x18]
mov ecx, esi
push eax
call dword [0x5035f0]
call esi
cmp dword [esp + 0x20], 0
jl 0x421a62
mov ecx, 0x8000ffff
mov dword [esp + 0x20], ecx
call fcn.0041fda1
mov dword [esp + 0x24], eax
cmp byte [0x501008], 0
jne 0x421a94
mov esi, dword [0x501000]
test esi, esi
je 0x421a84
mov ecx, esi
call dword [0x5035f0]
call esi
movzx eax, al
jmp 0x421a90
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
neg eax
sbb eax, eax
neg eax
test eax, eax
je 0x421a9b
test byte [esp + 0x1c], 2
je 0x421ac3
mov esi, dword [0x50100c]
test esi, esi
je 0x421b1f
cmp byte [0x50101c], 0
jne 0x421b1f
push 0
push 0
lea eax, [esp + 0x20]
mov ecx, esi
push eax
call dword [0x5035f0]
call esi
jmp 0x421b1f
mov esi, dword [0x50100c]
mov edi, 0x800
test esi, esi
je 0x421af3
cmp byte [0x50101c], 0
jne 0x421af3
push edi
lea eax, [esp + 0x474]
mov ecx, esi
push eax
lea eax, [esp + 0x20]
push eax
call dword [0x5035f0]
call esi
cmp word [esp + 0x470], 0
jne 0x421b11
lea eax, [esp + 0x18]
mov edx, edi
push eax
lea ecx, [esp + 0x474]
call fcn.0041f8ce
lea eax, [esp + 0x470]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
test byte [esp + 0x1c], 4
jne 0x421b2f
cmp byte [0x501010], 0
je 0x421b43
mov esi, dword [0x501038]
test esi, esi
je 0x421b43
mov ecx, esi
call dword [0x5035f0]
call esi
lea ecx, [esp + 0x18]
call fcn.004202ef
int3