Function at 0x1004a23
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
call fcn.01004b78
test eax, eax
je 0x10181b9
cmp dword [0x102103c], 0
je 0x1004a57
push esi
call fcn.01004f3d
cmp dword [0x102103c], 0
je 0x1004a57
call sub.PROFMAP.DLL_InitializeProfileMappingApi
push esi
call fcn.01005344
test eax, eax
jne 0x10181b2
push 2
pop ebx
push ebx
push esi
call fcn.010053e0
push 1
pop edi
mov dword [esi + 0x34], edi
call fcn.01005e0c
call fcn.01001d65
push edi
call fcn.01005c87
cmp dword [esi + 0x60], ebx
jne 0x1004ac8
push 0
mov dword [esi + 0x60], 3
and dword [0x1021688], 0
push esi
call fcn.01005f67
push dword [esi + 0x38c]
call dword [esi + 0x39c]
push 4
mov dword [0x1021688], edi
mov eax, dword [esi + 0x34]
pop edi
cmp eax, edi
je 0x10181b9
cmp eax, ebx
je 0x10181c0
push esi
call fcn.01006404
cmp dword [0x102103c], 0
mov edi, eax
je 0x10181e2
cmp edi, 4
je 0x101821b
cmp edi, ebx
je 0x1018228
push 0xc
pop eax
cmp edi, eax
je 0x10182e2
cmp edi, 0xd
je 0x10182e2
cmp edi, 0xe
je 0x10182e2
cmp edi, 5
je 0x101830e
cmp edi, 0xb
je 0x101830e
cmp edi, 0xa
je 0x101830e
cmp edi, 1
jne 0x1018276
mov eax, dword [0x102158c]
test eax, eax
je 0x1004b48
mov ecx, dword [esi + 8]
push dword [ecx + 0x24]
push eax
push 0x54
push eax
call dword [sym.imp.USER32.DLL_PostMessageW]
push 0
push esi
call fcn.010053e0
push esi
call fcn.010081f8
test eax, eax
je 0x1018273
push 9
push esi
mov dword [esi + 0x60], 6
call fcn.010053e0
push esi
call fcn.010089f6
jmp 0x1018264
mov dword [esi + 0x38], 0xb
pop edi
pop esi
pop ebx
pop ebp
ret 4
push 0
push esi
call fcn.01017f9d
test eax, eax
jge 0x1018319
cmp dword [esi + 0x34], edi
jne 0x1004ac8
mov dword [esi + 0x60], 0xd
jmp 0x10181b9
cmp edi, 0xf
je 0x10181b9
cmp edi, 4
je 0x10181b9
cmp edi, ebx
jne 0x1004add
cmp dword [esi + 0x34], 1
jne 0x1004add
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x1d4]
push 0x100c55c
call sub.NTDLL.DLL_DbgPrint
pop ecx
pop ecx
jmp 0x10181b9
push esi
call fcn.01011989
mov edi, ebx
jmp 0x1004ae6
mov eax, dword [esi + 0x34]
cmp eax, 4
je 0x10181d9
cmp eax, ebx
jne 0x1018251
push 0
push esi
call fcn.01017f9d
test eax, eax
jl 0x1018251
jne 0x1018248
cmp dword [esi + 0x34], 4
je 0x10181d9
cmp eax, 4
je 0x10181b9
mov dword [esi + 0x60], ebx
cmp edi, ebx
jne 0x10181b9
push 1
pop edi
jmp 0x1004a75
mov edi, eax
cmp edi, 9
jne 0x1018276
push esi
push 0
call fcn.01018033
push 4
pop edi
push esi
push 0
call fcn.01006246
push 0
push esi
call fcn.010025fb
cmp dword [esi + 0x60], 0xd
jne 0x1018295
cmp dword [0x102103c], 0
je 0x1018303
push edi
push esi
call fcn.01011655
cmp edi, 4
jne 0x10182a6
mov dword [esi + 0x60], ebx
mov edi, ebx
push dword [esi + 0x38c]
call dword [esi + 0x3bc]
cmp dword [0x102103c], 0
je 0x10181b9
push esi
call fcn.01003e11
mov eax, dword [esi + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_UnlockWindowStation]
mov eax, dword [esi + 8]
push dword [eax + 4]
call dword [sym.imp.USER32.DLL_LockWindowStation]
jmp 0x1018254
xor eax, eax
cmp edi, 0xd
sete al
push eax
xor eax, eax
cmp edi, 0xe
sete al
push eax
call fcn.01017c75
mov dword [esi + 0x60], ebx
mov edi, ebx
jmp 0x1018254
call dword [sym.imp.KERNEL32.DLL_DebugBreak]
jmp 0x10181b9
mov dword [esi + 0x38], edi
mov dword [esi + 0x60], eax
jmp 0x10181b9
jne 0x1018324
cmp dword [esi + 0x34], edi
je 0x10181d9
cmp eax, edi
je 0x10181b9
mov edi, ebx
jmp 0x1018251