Function at 0x1001ab10
Capabilities:
Get process image filename
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x308
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x300], ecx
xor bl, bl
mov dword [ebp - 0x294], 0
push str.LOCALAPPDATA
mov byte [ebp - 0x2ed], bl
mov dword [ebp - 0x290], 7
mov word [ebp - 0x2a4], ax
call fcn.1009e1b1
mov edx, eax
add esp, 4
test edx, edx
je 0x1001affb
mov ecx, edx
lea esi, [ecx + 2]
nop dword [eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001ab70
sub ecx, esi
sar ecx, 1
push ecx
push edx
lea ecx, [ebp - 0x2a4]
call fcn.10007720
mov edi, dword [ebp - 0x294]
test edi, edi
je 0x1001ac8f
mov ebx, dword [ebp - 0x290]
lea eax, [ebp - 0x2a4]
mov ecx, dword [ebp - 0x2a4]
cmp ebx, 8
cmovae eax, ecx
cmp word [eax + edi*2 - 2], 0x5c
je 0x1001ac89
cmp edi, ebx
jae 0x1001abe3
lea eax, [edi + 1]
cmp ebx, 8
mov dword [ebp - 0x294], eax
lea eax, [ebp - 0x2a4]
cmovae eax, ecx
mov dword [eax + edi*2], 0x5c
jmp 0x1001ac89
mov ecx, SysReAllocString
mov eax, ecx
sub eax, edi
cmp eax, 1
jb 0x1001b028
lea esi, [edi + 1]
or esi, 7
cmp esi, ecx
jbe 0x1001ac03
mov esi, ecx
jmp 0x1001ac1b
mov eax, ebx
shr eax, 1
sub ecx, eax
cmp ebx, ecx
jbe 0x1001ac14
mov esi, SysReAllocString
jmp 0x1001ac1b
add eax, ebx
cmp esi, eax
cmovb esi, eax
lea eax, [esi*2 + 2]
push eax
call fcn.10022b90
mov dword [ebp - 0x2f4], eax
lea ecx, [edi + 1]
mov dword [ebp - 0x294], ecx
lea ecx, [edi + edi]
mov dword [ebp - 0x290], esi
lea edi, [ecx + eax]
push ecx
cmp ebx, 8
jb 0x1001ac67
mov esi, dword [ebp - 0x2a4]
push esi
push eax
call fcn.1008bf40
add esp, 0xc
mov dword [edi], 0x5c
push esi
call fcn.10022bb0
jmp 0x1001ac7d
lea ecx, [ebp - 0x2a4]
push ecx
push eax
call fcn.1008bf40
add esp, 0xc
mov dword [edi], 0x5c
mov eax, dword [ebp - 0x2f4]
mov dword [ebp - 0x2a4], eax
mov bl, byte [ebp - 0x2ed]
mov eax, dword [ebp - 0x300]
cmp dword [eax + 0x1c], 8
lea ecx, [eax + 8]
jb 0x1001aca1
mov ecx, dword [eax + 8]
push dword [eax + 0x18]
push ecx
lea ecx, [ebp - 0x2a4]
call fcn.1000afa0
push 4
push 0x100c0368
lea ecx, [ebp - 0x2a4]
call fcn.1000afa0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
mov esi, eax
lea eax, [ebp - 0x28c]
push 0x103
push eax
push esi
call sub.KERNEL32.dll_K32GetProcessImageFileNameW
mov edi, dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
push str.Executable_file_path_is:_
call edi
lea eax, [ebp - 0x28c]
push eax
call edi
push 0x100c03c8
call edi
push esi
call dword [sym.imp.KERNEL32.dll_GetProcessId]
push eax
lea eax, [ebp - 0x84]
push 0x100c03cc
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
call edi
push 0x100c03c8
call edi
push str.Trace__dump_config_file_path_is:_
call edi
cmp dword [ebp - 0x290], 8
lea eax, [ebp - 0x2a4]
cmovae eax, dword [ebp - 0x2a4]
push eax
call edi
push str._n
call edi
cmp dword [ebp - 0x290], 8
lea ecx, [ebp - 0x2f4]
push ecx
push 1
lea eax, [ebp - 0x2a4]
mov dword [ebp - 0x2f4], 0
cmovae eax, dword [ebp - 0x2a4]
push 0
push eax
call fcn.10071aa0
test eax, eax
jne case.default.0x1001aea5
mov eax, dword [ebp - 0x2f4]
lea edx, [ebp - 0x308]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x24]
mov esi, dword [ebp - 0x308]
mov ecx, esi
mov eax, dword [ebp - 0x304]
add ecx, 0xffffffff
adc eax, 0xffffffff
test eax, eax
ja case.default.0x1001aea5
jb 0x1001adbf
cmp ecx, 0xffe
ja case.default.0x1001aea5
add esi, 4
mov eax, esi
call fcn.1008b390
mov edi, esp
push esi
push 0
push edi
call fcn.1008ca40
mov eax, dword [ebp - 0x2f4]
add esp, 0xc
mov ecx, dword [eax]
push 0
push dword [ebp - 0x308]
push edi
push eax
call dword [ecx + 0x14]
mov ecx, dword [ebp - 0x308]
xor eax, eax
mov dword [ebp - 0x2ac], 0
mov dword [ebp - 0x2a8], 7
mov word [ebp - 0x2bc], ax
test edi, edi
je 0x1001ae9b
cmp ecx, 3
jb 0x1001ae34
cmp byte [edi], 0xef
jne 0x1001ae34
cmp byte [edi + 1], 0xbb
jne 0x1001ae34
cmp byte [edi + 2], 0xbf
jne 0x1001ae34
mov eax, 2
jmp 0x1001ae9b
cmp ecx, 2
jb 0x1001ae75
mov al, byte [edi]
cmp al, 0xff
jne 0x1001ae64
cmp byte [edi + 1], 0xfe
jne 0x1001ae64
cmp ecx, 4
jb 0x1001ae5d
cmp byte [edi + 2], 0
jne 0x1001ae5d
cmp byte [edi + 3], 0
jne 0x1001ae5d
mov eax, 5
jmp 0x1001ae9b
mov eax, 3
jmp 0x1001ae9b
cmp al, 0xfe
jne 0x1001ae75
cmp byte [edi + 1], 0xff
jne 0x1001ae75
mov eax, 4
jmp 0x1001ae9b
cmp ecx, 4
jb 0x1001ae96
cmp byte [edi], 0
jne 0x1001ae96
cmp byte [edi + 1], 0
jne 0x1001ae96
cmp byte [edi + 2], 0xfe
jne 0x1001ae96
cmp byte [edi + 3], 0xff
mov eax, 6
je 0x1001ae9b
mov eax, 1
dec eax
cmp eax, 3
ja case.default.0x1001aea5
jmp dword [eax*4 + 0x1001b030]
push edi
lea ecx, [ebp - 0x2d4]
call fcn.10016e10
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.100220d0
push eax
lea ecx, [ebp - 0x2bc]
call fcn.10019810
lea ecx, [ebp - 0x2ec]
call fcn.10006a50
lea ecx, [ebp - 0x2d4]
call fcn.10016fd0
jmp 0x1001af4b
push edi
lea ecx, [ebp - 0x2d4]
call fcn.10016e10
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2ec]
push eax
call fcn.10022250
push eax
lea ecx, [ebp - 0x2bc]
call fcn.10019810
lea ecx, [ebp - 0x2ec]
call fcn.10006a50
lea ecx, [ebp - 0x2d4]
call fcn.10016fd0
jmp 0x1001af4b
push ecx
push edi
call fcn.1001c270
add esp, 8
lea eax, [edi + 2]
push eax
lea ecx, [ebp - 0x2bc]
call fcn.10006a80
cmp dword [ebp - 0x2ac], 0
je 0x1001afd7
lea ecx, [ebp - 0x2fc]
call fcn.10018950
push 0x100c0460
lea ecx, [ebp - 0x2d4]
call fcn.10007e90
lea eax, [ebp - 0x2fc]
push eax
lea eax, [ebp - 0x2d4]
push eax
lea eax, [ebp - 0x2bc]
push eax
call fcn.1001b7e0
add esp, 0xc
lea ecx, [ebp - 0x2d4]
mov esi, eax
call fcn.10006a50
test esi, esi
je 0x1001afb5
mov ecx, dword [ebp - 0x300]
lea eax, [ebp - 0x2fc]
push eax
call fcn.1001a490
mov bl, 1
mov eax, dword [ebp - 0x2fc]
push dword [eax + 4]
lea eax, [ebp - 0x2fc]
push eax
mov ecx, eax
call fcn.10018150
push dword [ebp - 0x2fc]
call fcn.10022bb0
cmp dword [ebp - 0x2a8], 8
jb case.default.0x1001aea5
push dword [ebp - 0x2bc]
call fcn.10022bb0
mov eax, dword [ebp - 0x2f4]
test eax, eax
je 0x1001affb
mov ecx, dword [eax]
push eax
call dword [ecx + 4]
cmp dword [ebp - 0x290], 8
jb 0x1001b00f
push dword [ebp - 0x2a4]
call fcn.10022bb0
mov al, bl
lea esp, [ebp - 0x314]
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret
call fcn.10007630
nop dword [eax]
lodsb al, byte [esi]
scasb al, byte es:[edi]
add dword [eax], edx
out dx, eax
scasb al, byte es:[edi]
add dword [eax], edx
cmp al, 0xaf
add dword [eax], edx
xor ch, byte [edi - 0x74aaefff]
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100ffa04]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 8]
mov eax, 0x100fe6f0
push ebx
push esi
mov esi, ecx
xor bl, bl
cmp dword [0x100fe704], 8
lea ecx, [ebp - 0x21c]
push ecx
cmovae eax, dword [0x100fe6f0]
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x1001b20d
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegGetValueW]
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x210]
mov dword [ebp - 0x218], 0x209
push eax
lea eax, [ebp - 0x220]
push eax
push 2
push dword [0x100fe718]
push 0
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001b0ef
lea ecx, [ebp - 0x210]
lea edx, [ecx + 2]
nop dword [eax + eax]
mov ax, word [ecx]
add ecx, 2
test ax, ax
jne 0x1001b0d0
sub ecx, edx
lea eax, [ebp - 0x210]
sar ecx, 1
push ecx
push eax
lea ecx, [esi + 0x20]
call fcn.10007720
lea eax, [ebp - 0x218]
mov dword [esi + 0x38], 0
push eax
lea ebx, [esi + 0x38]
mov dword [ebp - 0x218], 4
push ebx
lea eax, [ebp - 0x220]
push eax
push 0x10
push dword [0x100fe710]
push 0
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001b16d
cmp dword [ebx], 0xffff
je 0x1001b16d
mov dword [ebp - 0x214], eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x10
push dword [0x100fe714]
push 0
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001b16d
cmp dword [ebp - 0x214], eax
setne al
mov byte [esi + 0x3e], al
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 1
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x10
push dword [0x100fe720]
push 0
push dword [ebp - 0x21c]
call edi
test eax, eax
jne 0x1001b1ab
mov eax, dword [ebp - 0x214]
mov dword [esi + 0x4c], eax
lea eax, [ebp - 0x218]
mov dword [ebp - 0x214], 0
push eax
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x220]
push eax
push 0x10
push dword [0x100fe71c]
push 0
push dword [ebp - 0x21c]
call edi
pop edi
test eax, eax
jne 0x1001b1ed
cmp dword [ebp - 0x214], eax
setne al
mov byte [esi + 0x50], al
push dword [ebp - 0x21c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov al, 1
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4
mov ecx, dword [ebp - 4]
mov al, bl
pop esi
xor ecx, ebp
pop ebx
call fcn.1008aaed
mov esp, ebp
pop ebp
ret 4