Function at 0x1000272e
Capabilities:
Access peb ldr_data
Check if file exists
Get process heap flags
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x56c
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [ebp - 0x2c], eax
push 0x104
push 0x100081c0
push dword [ebp - 0x2c]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x100081c0
call fcn.10005909
pop ecx
push 0x104
lea eax, [ebp - 0x260]
push eax
push dword [0x10008044]
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea eax, [ebp - 0x260]
push eax
call fcn.10005909
pop ecx
lea eax, [ebp - 0x260]
push eax
push 0x100080a0
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push str.winmm.dll
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x260]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x34], eax
push dword [ebp - 0x34]
push dword [ebp + 8]
call fcn.10001a68
pop ecx
pop ecx
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov dword [0x10008054], eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [0x10008058], eax
mov eax, dword [0x10008040]
mov ecx, dword [0x10008054]
mov dword [eax + 0x430], ecx
call fcn.10002df7
mov dword [ebp - 0x50], eax
push str.config.txt
mov eax, dword [0x10008040]
add eax, 0x8b0
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov eax, dword [0x10008040]
add eax, 0x8b0
push eax
mov eax, dword [0x10008040]
call dword [eax + 0x12094]
pop ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10002830
jmp 0x10002b0b
mov dword [ebp - 0x3c], str.State_DisAegHijack
mov dword [ebp - 0x38], str.var_1842_
and dword [ebp - 0x24], 0
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x38]
push dword [ebp - 0x3c]
push dword [ebp - 0x18]
push dword [0x10008040]
call fcn.1000595b
add esp, 0x14
test eax, eax
je 0x10002866
jmp 0x10002b0b
push dword [ebp - 0x18]
mov eax, dword [0x10008040]
call dword [eax + 0x1209c]
pop ecx
mov eax, dword fs:[0x18]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
add eax, 0xc
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov byte [ebp - 2], 0
mov byte [ebp - 1], 0
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
add eax, 0x24
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 8]
add eax, 0x2c
mov dword [ebp - 0x20], eax
push 0
push 0
push 0x104
lea eax, [ebp - 0x15c]
push eax
mov eax, dword [ebp - 0x1c]
movzx eax, word [eax]
push eax
mov eax, dword [ebp - 0x1c]
push dword [eax + 4]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push 0
push 0
push 0x104
lea eax, [ebp - 0x364]
push eax
mov eax, dword [ebp - 0x20]
movzx eax, word [eax]
push eax
mov eax, dword [ebp - 0x20]
push dword [eax + 4]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
lea eax, [ebp - 0x15c]
push eax
call fcn.10005909
pop ecx
and dword [ebp - 0x10], 0
jmp 0x10002923
mov eax, dword [ebp - 0x10]
inc eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 2
jae 0x1000294c
mov eax, dword [ebp - 0x10]
push dword [eax*4 + 0x10008020]
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
jne 0x1000294a
mov byte [ebp - 1], 1
jmp 0x1000294c
jmp 0x1000291c
movzx eax, byte [ebp - 1]
test eax, eax
jne 0x10002a80
push 0x100081c0
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10002a80
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp + 8]
je 0x10002a80
movzx eax, byte [ebp - 2]
test eax, eax
jne 0x10002993
cmp dword [ebp - 0x24], 0
je 0x10002a80
push 0x100080a0
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea eax, [ebp - 0x364]
push eax
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
lea eax, [ebp - 0x15c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x10002a7e
push dword [ebp - 8]
call fcn.10002c70
pop ecx
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 0x48], ecx
mov eax, dword [ebp - 0x48]
mov ecx, dword [ebp - 0xc]
add ecx, dword [eax + 0x28]
mov dword [ebp - 0xc], ecx
push 0
push 0x40
push 0x1000
push dword [ebp - 0xc]
call fcn.100058bf
add esp, 0x10
mov eax, dword [ebp - 0xc]
mov dword [eax], 0x1b8
mov eax, dword [ebp - 0xc]
mov dword [eax + 4], 0xcc200
and dword [ebp - 0x28], 0
push 0x104
lea eax, [ebp - 0x56c]
push eax
push 0x104
lea eax, [ebp - 0x15c]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
lea eax, [ebp - 0x56c]
push eax
lea eax, [ebp - 0x58]
push eax
call dword [sym.imp.ntdll.dll_RtlInitUnicodeString]
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x58]
push eax
push 0
push 0
call dword [sym.imp.ntdll.dll_LdrLoadDll]
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
mov dword [ebp - 0x4c], eax
push dword [ebp - 0x28]
push dword [ebp - 0x4c]
call fcn.10001a68
pop ecx
pop ecx
jmp 0x10002abb
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 8]
cmp ecx, dword [eax + 0x18]
jne 0x10002a96
push dword [ebp - 8]
call fcn.10002c70
pop ecx
jmp 0x10002abb
mov eax, dword [ebp - 8]
mov eax, dword [eax + 0x18]
cmp eax, dword [ebp - 0x2c]
jne 0x10002abb
push str.IFollow.exe
lea eax, [ebp - 0x364]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcmpA]
test eax, eax
jne 0x10002abb
mov byte [ebp - 2], 1
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [ebp - 0x14]
jne 0x1000289f
push dword [ebp - 0x50]
call fcn.10002cf9
pop ecx
push dword [0x10008054]
push 0
push 0
push 0x494d46
call fcn.10002b1c
add esp, 0x10
push 0x1000196c
push dword [sym.imp.ntdll.dll_NtContinue]
call fcn.10002d56
pop ecx
pop ecx
mov dword [0x10008060], eax
xor eax, eax
inc eax
jmp 0x10002b1a
push 0xc0000001
push 0xffffffffffffffff
call dword [sym.imp.ntdll.dll_NtTerminateProcess]
xor eax, eax
leave
ret