Function at 0x416629
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4a1d78]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
push ebx
mov ebx, dword [ebp + 0x18]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x28]
push esi
mov esi, dword [ebp + 0x38]
push edi
mov dword [ebp - 0x20], ecx
xor edi, edi
mov ecx, dword [ebp + 0x30]
mov word [eax], di
mov edi, dword [ebp + 0x1c]
mov dword [ebp - 0xc], eax
xor eax, eax
mov byte [ecx], al
mov dword [ebp - 8], eax
mov eax, ebx
mov dword [ebp - 0x28], ecx
xor ecx, ecx
mov dword [ebp - 0x24], edx
sub eax, ecx
je 0x4166ce
sub eax, 1
je 0x4166c5
sub eax, 1
je 0x41669c
sub eax, 1
jne 0x4166da
push edi
call fcn.00415e30
jmp 0x4166d5
test edi, edi
js 0x4166bc
mov ecx, dword [ebp - 0x20]
mov edi, 0x8007029c
push edi
push 2
push dword [ebp - 0x1c]
push dword [ebp - 0x14]
push dword [ebp - 0x18]
push dword [ebp - 0x10]
call fcn.0041698a
mov ecx, edi
call fcn.00415e0b
jmp 0x4166d5
mov ecx, edi
call fcn.00415df3
jmp 0x4166d5
mov ecx, edi
call fcn.00415ddb
xor ecx, ecx
mov dword [ebp - 8], eax
mov dword [esi], ebx
xor ebx, ebx
inc ebx
mov dword [esi + 4], edi
mov eax, ebx
lock xadd dword [0x4a2ae0], eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x4166fc
cmp word [eax], cx
jne 0x4166fe
mov eax, ecx
mov dword [esi + 0xc], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x38]
mov eax, dword [ebp - 0x10]
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 0x24]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x24], eax
mov eax, dword [ebp - 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp - 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [ebp - 0x1c]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0x20]
mov dword [esi + 0x4c], eax
xor eax, eax
mov dword [esi + 0x28], ecx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
lea edi, [esi + 0x2c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [0x4a2b40]
test edi, edi
je 0x41675f
mov ecx, edi
call dword [0x4a60bc]
call edi
jmp 0x416761
mov eax, ecx
mov edi, dword [0x4a2b24]
mov dword [esi + 0x44], eax
test edi, edi
je 0x416781
push 0x400
push dword [ebp - 0x28]
mov ecx, edi
push esi
call dword [0x4a60bc]
call edi
mov edi, dword [0x4a2b20]
test edi, edi
je 0x416796
push esi
mov ecx, edi
call dword [0x4a60bc]
call edi
xor eax, eax
cmp dword [esi + 4], eax
jl 0x4167ae
cmp dword [ebp + 0x18], 3
jne 0x416874
mov dword [esi + 4], 0x8000ffff
cmp byte [0x4a2b00], al
jne 0x4167f1
mov edi, dword [0x4a2b0c]
cmp dword [0x4a2b1c], eax
jne 0x4167c8
test edi, edi
je 0x4167f7
mov ebx, dword [0x4a2b08]
test ebx, ebx
je 0x4167e8
mov ecx, ebx
call dword [0x4a60bc]
call ebx
test al, al
jne 0x4167ec
mov edi, dword [0x4a2b0c]
xor eax, eax
mov bl, al
jmp 0x4167f7
xor ebx, ebx
inc ebx
xor eax, eax
mov edi, dword [0x4a2b0c]
cmp byte [ebp + 0x24], 0
jne 0x41681c
test bl, bl
jne 0x41681c
test edi, edi
je 0x416861
cmp byte [0x4a2b18], bl
jne 0x416861
push eax
push eax
push esi
mov ecx, edi
call dword [0x4a60bc]
call edi
jmp 0x416861
test edi, edi
je 0x41683c
cmp byte [0x4a2b18], 0
jne 0x41683c
push 0x800
push dword [ebp - 0xc]
mov ecx, edi
push esi
call dword [0x4a60bc]
call edi
mov eax, dword [ebp - 0xc]
xor ecx, ecx
cmp word [eax], cx
jne 0x416856
push esi
mov edx, 0x800
mov ecx, eax
call fcn.00415b0a
mov eax, dword [ebp - 0xc]
test bl, bl
je 0x416861
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048e170
mov esp, ebp
pop ebp
ret 0x34
call fcn.00416ae3
int3