Function at 0x42e9f0
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x21a4
call fcn.00424210
mov eax, dword [0x43e004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov ebx, 1
mov dword [ebp - 0x21a0], edx
mov dword [ebp - 0x21a4], eax
mov dword [ebp - 0x219c], 0
call fcn.0042ed30
test eax, eax
je 0x42ecdf
push 0x1084
lea eax, [ebp - 0x2198]
push 0
push eax
call fcn.00407d30
push 0x100
lea eax, [ebp - 0x104]
push 0
push eax
call fcn.00407d30
push 0x208
lea eax, [ebp - 0x30c]
push 0
push eax
call fcn.00407d30
push 0x208
lea eax, [ebp - 0x514]
push 0
push eax
call fcn.00407d30
push 0x800
lea eax, [ebp - 0x1114]
push 0
push eax
call fcn.00407d30
push 0x400
lea eax, [ebp - 0x914]
push 0
push eax
call fcn.00407d30
add esp, 0x48
push ebx
call dword [0x43f9d0]
test eax, eax
je 0x42ecdf
push 0
lea eax, [ebp - 0x219c]
mov dword [ebp - 0x219c], 0x80
push eax
lea eax, [ebp - 0x104]
push eax
push ebx
push str.CurrentLoginUser
call dword [0x43f9ac]
mov esi, dword [sym.imp.KERNEL32.dll_lstrcpyW]
test eax, eax
jne 0x42eafa
push 0x43a3a0
lea eax, [ebp - 0x104]
push eax
call esi
lea eax, [ebp - 0x104]
push eax
call dword [0x43f99c]
push 0x43a960
lea eax, [ebp - 0x2198]
push eax
call esi
push 0x43a968
lea eax, [ebp - 0x2192]
push eax
call esi
push 0x43a970
lea eax, [ebp - 0x218a]
push eax
call esi
push 0x43a978
lea eax, [ebp - 0x2182]
push eax
call esi
push 0x104
lea eax, [ebp - 0x30c]
mov dword [ebp - 0x1118], 0x10000000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
test eax, eax
jne 0x42eb6f
push 0x43a3a0
lea eax, [ebp - 0x30c]
push eax
call esi
lea eax, [ebp - 0x30c]
push 0x5c
push eax
call fcn.004078b9
add esp, 8
test eax, eax
je 0x42eba1
add eax, 2
push eax
lea eax, [ebp - 0x514]
push eax
call esi
lea eax, [ebp - 0x514]
push eax
lea eax, [ebp - 0x30c]
push eax
call esi
push 0x10
lea eax, [ebp - 0x30c]
push eax
lea eax, [ebp - 0x217a]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
lea eax, [ebp - 0x2158]
push eax
push dword [ebp - 0x21a4]
call dword [0x43f9cc]
push 0x43a3a0
lea eax, [ebp - 0x1938]
push eax
call esi
push 0x43a3a0
lea eax, [ebp - 0x1528]
push eax
call esi
mov edx, dword [ebp - 0x21a0]
cmp edx, 1
jne 0x42ebfd
mov edi, dword [edi + 0x418]
mov esi, edi
jmp 0x42ebff
mov esi, dword [edi]
test esi, esi
je 0x42ecd9
add edi, 4
nop word [eax + eax]
cmp edx, 1
lea eax, [esi + 0x418]
push 0x104
mov ecx, esi
cmovne ecx, eax
lea eax, [ebp - 0x914]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
push 0
lea eax, [ebp - 0x1d48]
push eax
lea eax, [ebp - 0x914]
push eax
call dword [0x43f9cc]
lea eax, [ebp - 0x2198]
push eax
call dword [0x43f9bc]
neg eax
sbb eax, eax
and ebx, eax
lea eax, [ebp - 0x1528]
push eax
lea eax, [ebp - 0x1938]
push eax
lea eax, [ebp - 0x1d48]
push eax
lea eax, [ebp - 0x2158]
push eax
lea eax, [ebp - 0x217a]
push eax
lea eax, [ebp - 0x2182]
push eax
lea eax, [ebp - 0x218a]
push eax
lea eax, [ebp - 0x2192]
push eax
lea eax, [ebp - 0x2198]
push eax
lea eax, [ebp - 0x1114]
push str.OK_Log___s____s____s____s____s____s____s____s____s__n
push eax
call fcn.00401d40
add esp, 0x2c
lea eax, [ebp - 0x1114]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
mov edx, dword [ebp - 0x21a0]
lea eax, [esi + 0x820]
cmp edx, 1
cmovne eax, edi
add edi, 4
mov esi, dword [eax]
test esi, esi
jne 0x42ec10
call dword [0x43f9c8]
mov eax, dword [0x43f998]
mov esi, dword [sym.imp.KERNEL32.dll_FreeLibrary]
test eax, eax
je 0x42ecfb
push eax
call esi
mov dword [0x43f998], 0
mov ecx, dword [0x43f9b8]
test ecx, ecx
je 0x42ed12
push ecx
call esi
mov dword [0x43f9b8], 0
mov ecx, dword [ebp - 4]
mov eax, ebx
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.00406bb3
mov esp, ebp
pop ebp
ret