joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41121a
Capabilities:
Set environment variable

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
push 0x411
lea ecx, [ebp - 4]
mov byte [0x4bdfab], 1
call fcn.0043d3c3
push 0x822
push 0
push dword [ebp - 4]
call fcn.0048f710
mov edi, dword [ebp - 4]
add esp, 0xc
push 0x104
add edi, 0x410
push edi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push str.PE_IDBASE
push 0x1000
mov esi, 0x4bdfa0
push esi
call fcn.0043f71c
push str.WM_PE_BASE
push 0x5000
push esi
call fcn.0043f71c
push str.PE_MENU_IDBASE
push pe_nt_image_headers32
push esi
call fcn.0043f71c
mov esi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
add esp, 0x24
push edi
push 0x4a5fea
call esi
push edi
mov ebx, 0x4bdfa0
push str.MyName
mov ecx, ebx
call fcn.0043cc80
push 0x5c
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
xor edi, edi
cmp eax, edi
je 0x4112e1
lea edi, [eax + 2]
push edi
push 0x4a5fd6
call esi
push edi
push str.MyName0
mov ecx, ebx
call fcn.0043cc80
xor edi, edi
push edi
push edi
push str.Desktop
call fcn.00411167
push edi
push edi
push str.Favorites
call fcn.00411167
push edi
push edi
push str.Programs
call fcn.00411167
push edi
push edi
push str.SendTo
call fcn.00411167
push edi
push edi
push str.Personal
call fcn.00411167
push edi
push str.Start_Menu
push 0x4a55c0
call fcn.00411167
add esp, 0x48
push edi
push str.Cache
push str.IECache
call fcn.00411167
push edi
push edi
push str.Startup
call fcn.00411167
push str.MicrosoftInternet_ExplorerQuick_Launch
push str.AppData
push str.QuickLaunch
call fcn.00411167
add esp, 0x24
lea ecx, [ebp - 4]
call fcn.00437884
pop edi
pop esi
pop ebx
leave
ret

Function at 0x4113cc
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x14b8
call fcn.0048faf0
push esi
mov esi, 0x4bc2c4
and word [ebp - 0x14b8], 0
mov edx, dword [esi]
mov word [ebp - 0x64], 0x26
lea ecx, [ebp - 0x62]
movsx ax, byte [edx]
mov word [ecx], ax
inc ecx
inc ecx
inc edx
test ax, ax
jne 0x4113f2
push 0xa28
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x62]
push eax
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
lea eax, [ebp - 0x14b8]
push eax
lea eax, [ebp - 0x64]
push eax
mov ecx, 0x4bdfa0
call fcn.0043cc80
add esi, 4
cmp esi, 0x4bc2d8
jl 0x4113df
pop esi
leave
ret
Function at 0x412823
Capabilities:
Acquire debug privileges

Disassembly:
cmp byte [ecx], 0
je 0x412840
and byte [0x4beb98], 0xfb
push 0
push 4
push str.SeDebugPrivilege
call fcn.0041147a
add esp, 0xc
ret

Function at 0x412a30
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
mov ebx, 0x4beb4c
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
call fcn.00403d1f
mov edi, dword [sym.imp.SHLWAPI.dll_StrChrW]
pop ecx
push 0x5c
push dword [ebp + 8]
mov byte [ebp - 4], al
jmp 0x412a88
push dword [ebp + 8]
and word [esi], 0
call fcn.0048eec0
test eax, eax
pop ecx
jne 0x412a7d
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov word [esi], 0x5c
push 0x5c
add esi, 2
push esi
call edi
mov esi, eax
test esi, esi
jne 0x412a62
cmp byte [ebp - 4], al
je 0x412a9e
push dword [ebp - 8]
call fcn.00403d30
pop ecx
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
xor eax, eax
pop esi
inc eax
pop ebx
leave
ret

Function at 0x412f2a
Capabilities:
Get memory capacity

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push 0x40
lea eax, [ebp - 0x40]
push 0
push eax
call fcn.0048f710
add esp, 0xc
lea eax, [ebp - 0x40]
push eax
mov dword [ebp - 0x40], 0x40
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
cmp dword [ebp + 8], 0
je 0x412f5f
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
leave
ret
mov eax, dword [ebp - 0x38]
mov edx, dword [ebp - 0x34]
leave
ret
Function at 0x412ff6
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 0x18]
test esi, esi
push edi
mov dword [ebp - 0xc], 0x20
je 0x413012
mov dword [ebp - 8], esi
jmp 0x41301a
lea eax, [ebp - 0xc]
mov dword [ebp - 8], eax
mov esi, eax
push dword [ebp + 0x10]
mov ax, word [esi + 2]
push dword [ebp + 0xc]
mov word [ebp - 4], ax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov ebx, eax
test ebx, ebx
je 0x413045
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
jmp 0x413047
xor edi, edi
test ebx, ebx
je 0x413057
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
jmp 0x413059
xor eax, eax
xor cl, cl
test byte [esi], 1
mov byte [ebp + 0x1b], cl
je 0x413075
test eax, eax
je 0x413156
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov cl, byte [ebp + 0x1b]
mov ebx, eax
test ebx, ebx
je 0x413156
test edi, edi
jle 0x413156
test byte [esi], 0x40
jne 0x4130e5
push 0
push edi
push ebx
call fcn.0043a7f0
add esp, 0xc
test al, al
mov byte [ebp + 0x1b], al
je 0x4130e5
test byte [esi], 0x20
je 0x4130af
test al, 2
je 0x4130af
xor eax, eax
jmp 0x41315f
push 0
lea ecx, [ebp - 0x18]
call fcn.00445727
movzx eax, word [ebp - 4]
mov esi, dword [ebp + 0x14]
push eax
lea eax, [ebp - 0x18]
push esi
push eax
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x10], edi
mov dword [ebp - 0x14], edi
call fcn.00440f1e
and dword [ebp - 0x18], 0
add esp, 0xc
lea ecx, [ebp - 0x18]
call fcn.00437884
jmp 0x413122
mov esi, dword [ebp + 0x14]
lea eax, [edi + 0x410]
push eax
mov ecx, esi
call fcn.0040dd26
push edi
push ebx
push dword [esi]
mov dword [esi + 8], edi
mov dword [esi + 4], edi
call fcn.0041255f
add esp, 0xc
cmp word [ebp - 4], 0
je 0x413122
movzx eax, word [ebp - 4]
inc edi
shr edi, 1
push edi
push eax
push dword [esi]
call fcn.00410b2f
add esp, 0xc
mov eax, dword [esi + 4]
mov edi, dword [esi]
lea ecx, [eax + 0x10]
push 0x10
add eax, edi
push 0
push eax
mov dword [esi + 8], ecx
call fcn.0048f710
movzx eax, word [ebp - 4]
push 0xc
push eax
mov eax, dword [esi + 4]
add eax, edi
push eax
call fcn.0048f710
mov esi, dword [ebp - 8]
mov cl, byte [ebp + 0x1b]
add esp, 0x18
jmp 0x413158
xor edi, edi
and ecx, 2
or dword [esi], ecx
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x413164
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push 3
push 0x80000000
push dword [ebp + 8]
lea ecx, [ebp - 8]
mov dword [ebp - 8], ebx
call fcn.004050ca
cmp dword [ebp - 8], ebx
jne 0x413195
push 0xfffffffffffffffe
pop esi
jmp 0x41325a
push edi
push dword [ebp - 8]
call fcn.00483f5d
push ebx
push ebx
push ebx
push dword [ebp - 8]
mov esi, eax
mov dword [ebp - 0x10], esi
call fcn.004389fe
add esp, 0x14
add esi, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.0043d2c0
mov edi, dword [esi]
push ebx
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 0x10]
mov dword [ebp - 0xc], ebx
push edi
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov eax, dword [ebp - 0xc]
push 6
add eax, edi
push ebx
push eax
call fcn.0048f710
mov eax, dword [ebp - 0xc]
push dword [ebp + 0x10]
mov dword [esi + 8], eax
push eax
push edi
mov dword [esi + 4], eax
call fcn.0043a7f0
add esp, 0x18
cmp al, 1
mov byte [ebp - 1], al
pop edi
jne 0x413243
push dword [0x4bdf68]
lea ecx, [ebp - 0x1c]
push esi
call fcn.0040dd72
mov eax, dword [ebp - 0xc]
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x18], eax
lea eax, [ebp - 0x1c]
push esi
push eax
call fcn.00440f1e
add esp, 0xc
push dword [esi]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
add eax, 6
push eax
mov ecx, esi
call fcn.0043d2c0
lea ecx, [ebp - 0x1c]
call fcn.00437884
push 1
push esi
call fcn.00486473
cmp byte [ebp - 1], bl
pop ecx
pop ecx
jge 0x413257
or esi, 0xffffffff
jmp 0x41325a
mov esi, dword [esi + 4]
lea ecx, [ebp - 8]
call fcn.00402b8a
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x414a44
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x264
and dword [ebp - 4], 0
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
and dword [ebp + 0xc], 0xfffffffe
and edi, 1
cmp word [ebx], 0
mov dword [ebp - 0x14], edi
je 0x414c1b
push esi
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
jmp 0x414a79
mov edi, dword [ebp - 0x14]
push ebx
mov dword [ebp - 0x10], ebx
call esi
add eax, edi
mov edi, dword [ebp - 0x10]
push edi
lea ebx, [ebx + eax*2]
call esi
and dword [ebp - 8], 0
lea eax, [edi + eax*2 - 2]
cmp word [eax], 0x5c
jne 0x414aa5
and word [eax], 0
mov dword [ebp - 8], 2
jmp 0x414ab7
push edi
call fcn.0048eec0
test eax, eax
pop ecx
je 0x414ab7
mov dword [ebp - 8], 1
push edi
lea ecx, [ebp + 8]
call fcn.00445746
cmp dword [ebp - 8], 0
je 0x414ad3
push 0x4a6c24
lea ecx, [ebp + 8]
call fcn.0043d411
and dword [ebp - 0xc], 0
lea eax, [ebp - 0x264]
push eax
push dword [ebp + 8]
lea eax, [ebp - 0xc]
push eax
call fcn.0048efb8
push dword [ebp + 8]
call fcn.0040e596
add esp, 0x10
push dword [ebp + 8]
call esi
inc eax
lea edi, [eax + eax]
mov eax, dword [ebp + 8]
mov word [edi + eax - 2], 0x5c
mov eax, dword [ebp + 8]
and word [edi + eax], 0
cmp dword [ebp - 0xc], 0
je 0x414bbe
mov eax, dword [ebp + 8]
and word [edi + eax], 0
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp + 8]
call fcn.0043d411
test byte [ebp - 0x264], 0x10
jne 0x414b69
cmp dword [ebp + 0xc], 0
push dword [ebp + 8]
je 0x414b5d
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x414ba5
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x414b58
inc eax
mov dword [ebp - 4], eax
jmp 0x414ba5
call fcn.0040fd61
test eax, eax
pop ecx
je 0x414ba5
jmp 0x414b58
cmp word [ebp - 0x238], 0x2e
jne 0x414b91
cmp word [ebp - 0x236], 0
je 0x414ba5
cmp word [ebp - 0x236], 0x2e
jne 0x414b91
cmp word [ebp - 0x234], 0
je 0x414ba5
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.00414a44
test eax, eax
pop ecx
pop ecx
jne 0x414ba5
and dword [ebp - 4], eax
lea eax, [ebp - 0x264]
push eax
lea ecx, [ebp - 0xc]
call fcn.00405140
test eax, eax
jne 0x414b1a
jmp 0x414bcc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x414bc9
inc eax
mov dword [ebp - 4], eax
lea ecx, [ebp - 0xc]
call fcn.00402bbf
xor edi, edi
cmp dword [ebp - 8], edi
je 0x414c09
cmp dword [ebp + 0xc], edi
push dword [ebp - 0x10]
je 0x414bfc
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
jne 0x414c09
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, edi
jne 0x414c06
xor eax, eax
inc eax
jmp 0x414c06
call fcn.0040fd61
cmp eax, edi
pop ecx
je 0x414c09
mov dword [ebp - 4], eax
lea ecx, [ebp + 8]
call fcn.00437884
cmp word [ebx], di
jne 0x414a76
pop esi
mov eax, dword [ebp - 4]
pop edi
pop ebx
leave
ret
Function at 0x41717b
Capabilities:
Check mutex on windows

Disassembly:
test byte [0x4c1003], 1
je 0x417193
push str.UCallBackhWnd
call fcn.00410418
test eax, eax
pop ecx
jne 0x417196
xor eax, eax
ret
push edi
push str.GlobalPECMD:main_u
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov edi, eax
test edi, edi
je 0x4171d1
push esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
sub esi, 0xb7
neg esi
sbb esi, esi
push edi
inc esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test esi, esi
pop esi
jne 0x4171d1
xor eax, eax
inc eax
pop edi
ret
xor eax, eax
pop edi
ret

Function at 0x418059
Capabilities:
Get disk information

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
add esi, 0x84
lea eax, [esi + 0x325]
push eax
lea ecx, [ebp - 0xc]
call fcn.0043d3c3
cmp word [edi], 0x5c
mov ebx, dword [ebp - 0xc]
push 2
pop eax
mov dword [ebp - 4], ebx
lea ebx, [ebx + esi*2]
mov dword [ebp - 8], eax
jne 0x41813c
and dword [ebp + 8], 0
push 0x2c
add edi, eax
push 0
push edi
call dword [sym.imp.SHLWAPI.dll_StrRChrW]
mov esi, eax
test esi, esi
je 0x4180cb
and word [esi], 0
inc esi
inc esi
push esi
call dword [sym.imp.USER32.dll_CharUpperW]
movzx esi, word [esi]
test si, si
je 0x4180cb
mov dword [ebp + 8], esi
push edi
call fcn.004110a0
pop ecx
push ebx
push 0x324
mov edi, eax
call dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsW]
cmp word [ebx], 0
mov esi, ebx
je 0x4181a3
mov ax, word [ebp + 8]
cmp word [esi], ax
jb 0x418129
mov ebx, dword [ebp - 4]
push edi
push esi
push str._s_sFonts
push ebx
call dword [sym.imp.USER32.dll_wsprintfW]
push ebx
call fcn.0048eec0
add esp, 0x14
test eax, eax
je 0x418129
push 0x4a6c24
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcatW]
push ebx
call fcn.00417fa1
pop ecx
mov dword [ebp - 8], eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea esi, [esi + eax*2 + 2]
cmp word [esi], 0
jne 0x4180ec
jmp 0x4181a3
push edi
call fcn.004110a0
and dword [ebp + 8], 0
mov esi, eax
push esi
call fcn.0048eec0
test eax, eax
pop ecx
pop ecx
je 0x41816d
push esi
lea ecx, [ebp + 8]
call fcn.0044580a
push 0x4a6c24
lea ecx, [ebp + 8]
call fcn.0043d411
mov esi, dword [ebp + 8]
push esi
push 0x4a71c0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_wsprintfW]
push esi
call fcn.0040e596
push esi
call fcn.0048eec0
add esp, 0x14
test eax, eax
je 0x41819b
push dword [ebp - 4]
call fcn.00417fa1
pop ecx
mov dword [ebp - 8], eax
lea ecx, [ebp + 8]
call fcn.00437884
lea ecx, [ebp - 0xc]
call fcn.00437884
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x41a87d
Capabilities:
Check for time delay via gettickcount
Log keystrokes via application hook

Disassembly:
sub esp, 0x1c
push ebx
push esi
push edi
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
test byte [esp + 0x32], 1
jne 0x41a8a6
cmp dword [0x4bdf28], ebx
jne 0x41a8a6
mov dword [0x4bdf24], ebx
movzx eax, byte [esp + 0x30]
add dword [0x4bdf28], 1
cmp dword [0x4bdf20], ebx
mov dword [esp + 0x30], eax
jne 0x41a8eb
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
push 0x41a77e
push 0xd
call dword [sym.imp.USER32.dll_SetWindowsHookExW]
cmp eax, ebx
mov dword [0x4bdf20], eax
jne 0x41a8eb
sub dword [0x4bdf28], 1
xor esi, esi
jmp 0x41a9dc
push ebp
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov ebp, dword [sym.imp.KERNEL32.dll_GetTickCount]
call ebp
mov esi, dword [esp + 0x30]
mov edi, eax
add edi, esi
cmp esi, 0x4e20
jb 0x41a913
push 1
call fcn.00439385
pop ecx
cmp dword [esp + 0x34], 2
jne 0x41a9a9
cmp esi, ebx
jne 0x41a9a9
push 0xa
pop esi
jmp 0x41a9a9
cmp dword [esp + 0x34], 2
je 0x41a93c
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41a9b5
cmp byte [0x4bc2c0], bl
jle 0x41a9b5
push 0xa
pop eax
cmp esi, eax
ja 0x41a94d
mov eax, esi
push 0x4ff
push eax
push ebx
push ebx
push ebx
call dword [sym.imp.USER32.dll_MsgWaitForMultipleObjects]
jmp 0x41a9a1
cmp dword [0x4bdf24], ebx
jne 0x41a9b5
cmp dword [esp + 0x34], 2
je 0x41a977
call ebp
mov esi, edi
sub esi, eax
cmp esi, ebx
jle 0x41a9a9
push 1
push ebx
push ebx
push ebx
lea eax, [esp + 0x20]
push eax
call dword [sym.imp.USER32.dll_PeekMessageW]
test eax, eax
je 0x41a9a9
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
cmp byte [0x4bc2c0], bl
jg 0x41a95e
cmp dword [0x4bdf24], ebx
je 0x41a92b
push 0x4beb4c
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4bdf24]
sub dword [0x4bdf28], 1
pop ebp
jne 0x41a9d5
mov dword [0x4bdf24], ebx
mov esi, eax
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 0x1c
ret
Function at 0x41bb40
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x70]
sub esp, 0xd0
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
mov dword [0x4be0d8], eax
call fcn.0040e320
call fcn.0048fdcb
call fcn.004124b1
xor ebx, ebx
mov esi, 0x4bdfa0
push ebx
mov ecx, esi
call fcn.0040ed87
call fcn.0040563d
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x4bdca8]
or eax, dword [0x4bdcac]
jne 0x41bba0
push 0x4bdca8
call dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0x4bdcb0
call dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
push 0x4bdf00
call dword [sym.imp.KERNEL32.dll_GetSystemTimeAsFileTime]
push ebx
push 0x34ca
call fcn.004113bc
push 0xd6fc6
push 0x311f1
lea eax, [ebp - 0x60]
push str._06lu_06lu
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x18
lea eax, [ebp - 0x60]
push eax
push 0x4a7686
mov ecx, esi
call fcn.0043cc80
lea eax, [ebp - 0x60]
push eax
push str.PECMDVER
mov ecx, esi
call fcn.0043cc80
push str.X86_U
lea ecx, [ebp + 0x68]
call fcn.00445746
push dword [0x4bc0f0]
lea ecx, [ebp + 0x68]
call fcn.0043d411
push dword [ebp + 0x68]
mov ecx, esi
push 0x4a765c
call fcn.0043cc80
push 0x4a7658
push 0x4a7648
mov ecx, esi
call fcn.0043ccd0
push ebx
push 0x34d7
call fcn.004113bc
call fcn.0041121a
push ebx
push 0x34d9
call fcn.004113bc
mov eax, dword [ebp + 0x78]
mov dword [0x4bde84], eax
mov eax, dword [ebp + 0x7c]
mov dword [0x4bc290], eax
call fcn.004380c2
push str.WM_TaskbarRestart
push dword [0x4be100]
mov esi, 0x4bdfa0
push esi
call fcn.0043f6f0
mov edi, dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
add esp, 0x1c
push str.__PID
call edi
push eax
push esi
call fcn.0043f6f0
add esp, 0xc
push str.__PPID
call edi
push eax
call fcn.004049e9
pop ecx
push eax
push esi
call fcn.0043f6f0
push str.__HINST
push dword [0x4bde84]
push esi
call fcn.0043f6f0
add esp, 0x18
push 0x4a75dc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
call fcn.0043f6f0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetTickCount]
add eax, 0x34e2
push ebx
push eax
call fcn.004113bc
movzx eax, word [0x4c1010]
push str.SYSCODEPAGE
push eax
push esi
call fcn.0043f6f0
add esp, 0x14
push 0x20a
lea ecx, [ebp + 0x6c]
call fcn.0043d3c3
push dword [ebp + 0x6c]
mov edi, 0x208
push edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
push dword [ebp + 0x6c]
mov ecx, esi
push 0x4a7214
call fcn.0043ccd0
push dword [ebp + 0x6c]
mov ecx, esi
push str._CD
call fcn.0043ccd0
mov eax, dword [ebp + 0x6c]
mov word [eax + 4], bx
push dword [ebp + 0x6c]
mov ecx, esi
push str.CurDrv
call fcn.0043ccd0
mov eax, dword [ebp + 0x6c]
push edi
push eax
push ebx
mov word [eax], bx
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push dword [ebp + 0x6c]
mov ecx, esi
push str.CurFile
call fcn.0043ccd0
call fcn.004113cc
lea ecx, [ebp + 0x6c]
call fcn.00437884
lea ecx, [ebp + 0x68]
call fcn.00437884
pop edi
pop esi
pop ebx
add ebp, 0x70
leave
ret
Function at 0x41c7ea
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
push esi
mov esi, ecx
cmp dword [esi + 8], 0
jne 0x41c811
push dword [esp + 0xc]
push dword [esp + 0xc]
call fcn.0040ebda
test eax, eax
je 0x41c811
call fcn.0040ec61
test eax, eax
mov dword [esp + 0xc], eax
jne 0x41c818
xor eax, eax
jmp 0x41c8da
mov ecx, dword [esi + 0x10]
mov ecx, dword [ecx + 0x34]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
push ebp
push edi
push 0x40
mov ebp, 0x3000
push ebp
push eax
push ecx
call ebx
mov edi, eax
test edi, edi
jne 0x41c850
push 0x40
push ebp
push dword [esp + 0x20]
push eax
call ebx
mov edi, eax
test edi, edi
jne 0x41c850
xor eax, eax
jmp 0x41c8d7
push dword [esp + 0x14]
mov ecx, esi
push edi
call fcn.00412be5
mov eax, dword [esi + 0x10]
xor ebx, ebx
cmp dword [eax + 0xa0], ebx
jbe 0x41c87d
cmp dword [eax + 0xa4], ebx
jbe 0x41c87d
push edi
mov ecx, esi
call fcn.0040ea90
test eax, eax
je 0x41c849
push edi
mov ecx, esi
call fcn.0040eaef
test eax, eax
jne 0x41c898
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x41c849
mov eax, dword [esi + 0x10]
mov dword [eax + 0x34], edi
mov eax, dword [esi + 0x10]
mov eax, dword [eax + 0x28]
push ebx
xor ebp, ebp
inc ebp
push ebp
add eax, edi
push edi
mov dword [esi + 4], eax
call eax
test eax, eax
jne 0x41c8d0
push ebx
push ebx
push edi
call dword [esi + 4]
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
mov dword [esi + 4], ebx
jmp 0x41c849
mov dword [esi], ebp
mov dword [esi + 8], edi
mov eax, ebp
pop edi
pop ebp
pop ebx
pop esi
ret 8
Function at 0x42c3cb
Capabilities:
Check for time delay via gettickcount
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov byte [ebp - 1], bl
jmp 0x42c3e6
inc byte [ebp - 1]
inc eax
inc eax
mov dword [ebp + 8], eax
cmp word [eax], 0x2a
je 0x42c3de
lea eax, [ebp + 8]
push eax
call fcn.00407fcf
mov al, byte [ebp - 1]
mov byte [0x4bdeca], al
mov eax, dword [ebp + 8]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 2]
push eax
lea eax, [ebp - 6]
push eax
lea eax, [ebp - 5]
push eax
lea edi, [ebp - 3]
lea esi, [ebp - 4]
lea eax, [ebp + 8]
mov byte [ebp - 3], 0x2a
mov byte [ebp - 5], bl
mov byte [ebp - 4], 1
mov byte [ebp - 2], bl
call fcn.0041a9ec
mov eax, dword [ebp + 8]
add esp, 0x10
cmp word [eax], bx
je 0x42c50f
mov esi, 0x4beb4c
push esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp byte [ebp - 1], bl
je 0x42c45f
cmp dword [0x4bde7c], ebx
je 0x42c45f
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
jmp 0x42c56b
mov eax, dword [ebp + 8]
movsx ecx, byte [ebp - 3]
mov byte [0x4bc2a5], 0xff
movzx edx, word [eax]
cmp ecx, edx
mov byte [0x4bdebd], 1
jne 0x42c489
movzx eax, word [eax + 2]
cmp ecx, eax
jne 0x42c489
mov byte [0x4bc2a5], bl
mov edi, dword [ebp - 0x10]
push 0x4bdbcc
push 0x10000
push edi
push 0x42c3ba
push 0x100000
push ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [ebp - 0x10], eax
cmp word [edi], bx
jne 0x42c4ce
cmp byte [0x4bdebd], bl
je 0x42c4ea
call esi
sub eax, dword [ebp - 0x10]
cmp eax, 0x7d0
jae 0x42c4ea
push ebx
push ebx
push 0x14
mov ecx, 0x4bdfa0
call fcn.004137db
jmp 0x42c4c1
cmp byte [ebp - 2], bl
je 0x42c56b
test byte [ebp - 4], 0x40
je 0x42c56b
jmp 0x42c505
push ebx
push ebx
push 1
mov ecx, 0x4bdfa0
call fcn.004137db
cmp dword [0x4bde7c], ebx
jne 0x42c4f7
jmp 0x42c56b
movsx eax, byte [ebp - 2]
push eax
movsx eax, byte [ebp - 5]
push eax
lea esi, [ebp - 0xc]
mov eax, esi
push eax
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], 0xbb8
call fcn.00410f73
mov edi, dword [sym.imp.KERNEL32.dll_GetTickCount]
add esp, 0xc
call edi
cmp byte [ebp - 2], bl
mov dword [ebp - 0x14], eax
je 0x42c567
mov esi, 0x4bde7c
mov dword [ebp - 0x10], 0xfa0
jmp 0x42c567
call edi
sub eax, dword [ebp - 0x14]
cmp eax, dword [ebp - 0x10]
jae 0x42c56b
push ebx
push ebx
push 0xa
mov ecx, 0x4bdfa0
call fcn.004137db
cmp dword [esi], ebx
jne 0x42c54f
pop edi
pop esi
xor eax, eax
pop ebx
leave
ret
Function at 0x42ea75
Capabilities:
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x6c]
sub esp, 0xa4
push ebx
push esi
mov esi, dword [ebp + 0x7c]
push edi
push 0x4a733c
lea ecx, [ebp + 0x64]
sar esi, 0x10
call fcn.00445746
mov ebx, dword [ebp + 0x74]
push esi
push dword [ebx]
call fcn.00410abb
pop ecx
pop ecx
push 0x20a
lea ecx, [ebp + 0x68]
mov dword [ebp + 0x74], eax
call fcn.0043d3c3
push dword [ebp + 0x68]
push 0x208
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
mov edi, dword [ebp + 0x78]
push edi
lea ecx, [ebp - 0x38]
call fcn.0040e79e
push edi
lea ecx, [ebp - 0x38]
call fcn.0040ed87
push dword [ebp + 0x68]
mov eax, dword [edi + 0x14]
push 0x4a7214
mov dword [ebp - 0x24], eax
call fcn.0043cc80
movzx eax, si
push eax
lea ecx, [ebp - 0x38]
mov word [ebp - 0xc], si
call fcn.0043bff5
mov ecx, dword [ebp + 0x7c]
lea eax, [ebp - 0x38]
push eax
lea eax, [ebp + 0x64]
push eax
push dword [ebp + 0x74]
push 0
push ebx
call fcn.0042456b
movzx esi, ax
or esi, dword [ebp + 0x7c]
add esp, 0x14
mov edi, 0x4beb4c
push edi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
and dword [ebp + 0xc], 0
push edi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
push 0
lea ecx, [ebp - 0x38]
call fcn.0042e9eb
lea ecx, [ebp + 8]
call fcn.00437884
lea ecx, [ebp + 0x68]
call fcn.00437884
lea ecx, [ebp + 0x64]
call fcn.00437884
pop edi
mov eax, esi
pop esi
pop ebx
add ebp, 0x6c
leave
ret