Function at 0x42edbd
Capabilities:
Accept command line arguments
Check for time delay via gettickcount
Delete file
Move file

Disassembly:
mov ecx, 0x4470a8
jmp 0x42eda0
push 0xffffffffffffffff
push 0x437aff
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c0
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x28], esi
lea eax, [esi + 4]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov al, byte [esp + 0x18]
xor ebx, ebx
mov dword [esp + 0x2d8], ebx
mov byte [esi + 0x13c], al
mov dword [esi + 0x140], ebx
mov dword [esi + 0x144], ebx
mov dword [esi + 0x148], ebx
mov byte [esp + 0x2d8], 1
mov dword [esi], 0x43a128
mov byte [esi + 0x139], 1
mov dword [esi + 0x12c], ebx
mov dword [esi + 0x130], ebx
mov byte [esi + 0x138], 1
mov dword [esi + 0x134], 2
mov byte [esi + 0x13a], 1
mov byte [esi + 0x13b], bl
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push str._loglevel:
push eax
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
cmp eax, ebx
je 0x42ee5f
add eax, 0xa
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [esi + 0x134], eax
mov ecx, 0xb
xor eax, eax
lea edi, [esp + 0x30]
mov dword [esp + 0x2c], 0x30
rep stosd dword es:[edi], eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push ebx
mov dword [esp + 0x44], eax
mov dword [esp + 0x58], str.TXLOGGER_BYCORETEAM
mov dword [esp + 0x38], 0x42f170
call dword [sym.imp.GDI32.dll_GetStockObject]
mov edx, dword [esp + 0x54]
lea ecx, [esp + 0x160]
mov dword [esp + 0x4c], eax
mov eax, dword [esp + 0x40]
push ecx
push edx
push eax
call dword [sym.imp.USER32.dll_GetClassInfoExA]
test eax, eax
jne 0x42eef7
lea ecx, [esp + 0x2c]
push ecx
call dword [sym.imp.USER32.dll_RegisterClassExA]
mov edx, dword [esp + 0x40]
push ebx
mov eax, dword [esp + 0x58]
push edx
push ebx
push ebx
push 0x64
push 0x64
push ebx
push ebx
push ebx
push str.loger_command_window
push eax
push ebx
call dword [sym.imp.USER32.dll_CreateWindowExA]
push ebx
push eax
mov dword [esi + 0x130], eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [esi + 0x130], ebx
jne 0x42eefd
mov byte [esi + 0x138], bl
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea ecx, [esp + 0x10]
mov dword [esi + 0x1c], eax
push ecx
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
xor edi, eax
push ebx
xor edi, edx
xor edi, ecx
call dword [sym.imp.MSVCRT.dll_time]
add esp, 4
xor edi, eax
jne 0x42ef4a
mov edi, 1
lea edx, [esp + 0x10]
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x14]
push eax
lea edx, [esp + 0x20]
push ecx
push edx
mov dword [esi + 0x20], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessTimes]
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
call ebp
mov edx, dword [esp + 0x18]
mov ebp, dword [esp + 0x1c]
mov ecx, dword [esp + 0x24]
mov edi, eax
mov eax, dword [esp + 0x20]
push ebx
sub eax, edx
push 0x2710
sbb ecx, ebp
push ecx
push eax
call fcn.00432a30
lea ebp, [esi + 0x28]
push 0x104
sub edi, eax
push ebp
push ebx
mov dword [esp + 0x30], edx
mov dword [esi + 0x24], edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x2e
push ebp
call dword [sym.imp.MSVCRT.dll__mbsrchr]
mov edx, eax
add esp, 8
cmp edx, ebx
je 0x42f007
mov eax, esi
mov edi, edx
sub eax, edx
mov dword [esp + 0x18], eax
lea ecx, [eax + 0x12c]
xor eax, eax
mov ebx, ecx
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, ebx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, dword [esp + 0x18]
add ecx, 0x12b
push ecx
push str..tlg
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
xor ebx, ebx
jmp 0x42f02a
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x103
sub eax, ecx
push eax
push str..tlg
push ebp
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
add esp, 0xc
push 0x445d0c
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42f04d
mov byte [esi + 0x13b], 1
jmp 0x42f130
lea edx, [esp + 0x190]
push edx
push ebp
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
cmp eax, 0xffffffff
mov dword [esp + 0x10], eax
je 0x42f130
cmp dword [esp + 0x1ac], ebx
jne 0x42f083
cmp dword [esp + 0x1b0], 0x1000000
jbe 0x42f129
mov byte [esp + 0x19], bl
call dword [sym.imp.KERNEL32.dll_GetTickCount]
xor edx, edx
mov ecx, 0x1a
div ecx
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x5c]
push 0x103
push ebp
rep stosd dword es:[edi], eax
add dl, 0x61
mov byte [esp + 0x20], dl
lea edx, [esp + 0x64]
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
lea edi, [esp + 0x68]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, 0x103
sub eax, ecx
lea ecx, [esp + 0x68]
push eax
lea eax, [esp + 0x28]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbsnbcat]
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
add esp, 0x18
lea edx, [esp + 0x5c]
push edx
call edi
lea eax, [esp + 0x5c]
push eax
push ebp
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x42f11b
push ebp
call edi
test eax, eax
jne 0x42f11b
cmp ebx, 2
jge 0x42f115
push 0x14
call dword [sym.imp.KERNEL32.dll_Sleep]
inc ebx
cmp ebx, 3
jl 0x42f0ea
lea ecx, [esp + 0x5c]
push ecx
call edi
push ebp
call edi
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
mov ecx, dword [esp + 0x2d0]
mov eax, esi
pop edi
pop esi
mov dword [esp + 0x2d0], 0xffffffff
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x2cc
ret