Function at 0x422923
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x42d0b4]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x28]
push ebx
push esi
xor esi, esi
mov dword [ebp - 0xc], edx
mov word [eax], si
xor ebx, ebx
mov eax, dword [ebp + 0x30]
mov dword [ebp - 8], ebx
push edi
mov edi, dword [ebp + 0x1c]
mov byte [eax], bl
mov ebx, dword [ebp + 0x18]
mov eax, ebx
mov dword [ebp - 0x10], ecx
sub eax, esi
je 0x4229a2
sub eax, 1
je 0x422999
sub eax, 1
je 0x422973
sub eax, 1
jne 0x4229ac
push edi
call fcn.004162d0
jmp 0x4229a9
test edi, edi
js 0x422990
mov edi, 0x8007029c
push edi
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00422fbe
mov ecx, edi
call fcn.00422d2a
jmp 0x4229a9
mov ecx, edi
call fcn.00422d3d
jmp 0x4229a9
mov ecx, edi
call fcn.00422d17
mov dword [ebp - 8], eax
mov esi, dword [ebp + 0x38]
mov dword [esi], ebx
xor ebx, ebx
inc ebx
mov dword [esi + 4], edi
mov eax, ebx
lock xadd dword [0x447f28], eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4229d3
xor ecx, ecx
cmp word [eax], cx
jne 0x4229d5
xor eax, eax
mov dword [esi + 0xc], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_2.dll_GetCurrentThreadId]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x2c]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x10]
mov dword [esi + 0x4c], eax
xor eax, eax
push 6
pop ecx
mov dword [esi + 0x28], edx
rep stosd dword es:[edi], eax
mov edi, dword [0x42d5fc]
test edi, edi
je 0x422a2e
mov ecx, edi
call dword [0x4494a0]
call edi
mov edi, dword [0x42d5f8]
mov dword [esi + 0x44], eax
test edi, edi
je 0x422a4e
push 0x400
push dword [ebp + 0x30]
mov ecx, edi
push esi
call dword [0x4494a0]
call edi
mov edi, dword [0x448498]
test edi, edi
je 0x422a63
push esi
mov ecx, edi
call dword [0x4494a0]
call edi
xor eax, eax
cmp dword [esi + 4], eax
jl 0x422a7c
cmp dword [ebp + 0x18], 3
je 0x422a75
call fcn.004234a0
mov dword [esi + 4], 0x8000ffff
cmp byte [0x448484], al
jne 0x422abf
mov edi, dword [0x44848c]
cmp dword [0x448494], eax
jne 0x422a96
test edi, edi
je 0x422ac5
mov ebx, dword [0x448488]
test ebx, ebx
je 0x422ab6
mov ecx, ebx
call dword [0x4494a0]
call ebx
test al, al
jne 0x422aba
mov edi, dword [0x44848c]
xor eax, eax
mov bl, al
jmp 0x422ac5
xor ebx, ebx
inc ebx
xor eax, eax
mov edi, dword [0x44848c]
cmp byte [ebp + 0x24], 0
jne 0x422aea
test bl, bl
jne 0x422aea
test edi, edi
je 0x422b2f
cmp byte [0x448490], bl
jne 0x422b2f
push eax
push eax
push esi
mov ecx, edi
call dword [0x4494a0]
call edi
jmp 0x422b2f
test edi, edi
je 0x422b0a
cmp byte [0x448490], 0
jne 0x422b0a
push 0x800
push dword [ebp + 0x28]
mov ecx, edi
push esi
call dword [0x4494a0]
call edi
mov eax, dword [ebp + 0x28]
xor ecx, ecx
cmp word [eax], cx
jne 0x422b24
push esi
mov edx, 0x800
mov ecx, eax
call fcn.00422369
mov eax, dword [ebp + 0x28]
test bl, bl
je 0x422b2f
push eax
call dword [sym.imp.api_ms_win_core_debug_l1_1_1.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00416ce0
mov esp, ebp
pop ebp
ret 0x34