joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442ea9
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
mov esi, ecx
call fcn.004426f4
xor ebx, ebx
cmp eax, 2
jne 0x442ec8
mov ecx, esi
call fcn.00442c34
jmp 0x442edb
push dword [esi + 8]
push str.Thread___s__is_being_terminated__but_has_not_been_started.
push ebx
push ebx
push ebx
call fcn.00404c99
add esp, 0x14
push dword [ebp + 0xc]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_TerminateThread]
test eax, eax
je 0x442f69
push edi
mov edi, dword [ebp + 8]
test edi, edi
je 0x442f06
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00442f71
lea ecx, [ebp - 0x14]
call fcn.0043645f
push 0x7530
push dword [esi + 4]
call dword [sym.imp.KERNEL32.DLL_WaitForSingleObject]
test eax, eax
je 0x442f51
push str.Waiting_on_terminated_thread_failed
push 0x2c9
push str.......SharedThreadsWin32ECThread.cpp
lea eax, [ebp - 0xc]
push ebx
push eax
call fcn.0042c09a
add esp, 0x10
mov ecx, eax
call fcn.0043fdec
push eax
push 0x4a4714
call fcn.00441458
add esp, 0xc
lea ecx, [ebp - 0xc]
call fcn.0044156c
test edi, edi
je 0x442f68
lea eax, [ebp - 0x14]
mov ecx, edi
push eax
call fcn.00442bfc
lea ecx, [ebp - 0x14]
call fcn.0043645f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x443bf0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x14
call fcn.0043af83
cmp eax, 0x3e8
je 0x443c37
push 0
push 0
push 0x409
push str.......SharedFileCommonECFile.cpp
lea eax, [ebp - 0x14]
push 0x4aa658
push eax
call fcn.00407235
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x443c96
mov ecx, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 0x10]
and dword [esi], 0
call fcn.0043fdec
push eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x443c7f
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x14]
push str.GetFileAttributes__
push eax
call fcn.00436b55
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x443c95
push esi
push eax
call fcn.00443b8c
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
pop esi
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x443da8
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov ecx, dword [ebp + 0xc]
push ebx
xor ebx, ebx
push edi
mov dword [ebp - 8], ebx
call fcn.0043af83
mov edi, 0x3e8
cmp eax, edi
jne 0x443e89
mov ecx, dword [ebp + 0x10]
call fcn.0043af83
cmp eax, edi
jne 0x443e89
mov ecx, dword [ebp + 0x10]
call fcn.0043fdec
mov ecx, dword [ebp + 0xc]
push eax
call fcn.0043fdec
push eax
call dword [sym.imp.KERNEL32.DLL_MoveFileW]
test eax, eax
jne 0x443e82
call dword [sym.imp.KERNEL32.DLL_GetLastError]
mov edi, eax
cmp edi, 3
jne 0x443e22
push dword [ebp + 0xc]
lea eax, [ebp - 0x1c]
inc ebx
push eax
call fcn.00443a44
pop ecx
pop ecx
mov byte [ebp - 1], bl
cmp dword [eax + 0xc], 0x3e9
je 0x443e26
mov byte [ebp - 1], 0
test bl, 1
je 0x443e33
lea ecx, [ebp - 0x1c]
call fcn.0043645f
cmp byte [ebp - 1], 0
je 0x443e6c
mov ecx, dword [ebp + 0x10]
push 0x498fa0
call fcn.0043b76a
cmp eax, 0x3e8
jne 0x443e6c
mov ecx, dword [ebp + 0x10]
call fcn.0043b147
inc eax
cmp eax, 0x104
jbe 0x443e6c
push 0x4acd00
mov ecx, dword [ebp + 8]
call fcn.004363fb
jmp 0x443eb9
push 0
push edi
lea eax, [ebp - 0x1c]
push str.MoveFile__
push eax
call fcn.00436b55
add esp, 0xc
jmp 0x443ea8
push 0x4a46ac
jmp 0x443e62
push 0
push 0
push 0x374
push str.......SharedFileCommonECFile.cpp
lea eax, [ebp - 0x1c]
push 0x4aa658
push eax
call fcn.00407235
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x1c]
call fcn.0043645f
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x444050
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
sub esp, 0x14
call fcn.0043af83
cmp eax, 0x3e8
je 0x444097
push 0
push 0
push 0x354
push str.......SharedFileCommonECFile.cpp
lea eax, [ebp - 0x14]
push 0x4aa658
push eax
call fcn.00407235
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x4440d3
mov ecx, dword [ebp + 0xc]
call fcn.0043fdec
push eax
call dword [sym.imp.KERNEL32.DLL_DeleteFileW]
test eax, eax
jne 0x4440c6
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x14]
push str.DeleteFile__
push eax
call fcn.00436b55
add esp, 0xc
jmp 0x444084
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
mov eax, dword [ebp + 8]
mov esp, ebp
pop ebp
ret
Function at 0x44421b
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
lea eax, [ebp - 0x14]
push ebx
push esi
push edi
push eax
mov edi, ecx
call fcn.00443d77
lea ecx, [ebp - 0x14]
cmp dword [eax + 0xc], 0x3e9
setne bl
call fcn.0043645f
xor esi, esi
push esi
push esi
test bl, bl
je 0x44427a
push 0x2e3
push str.......SharedFileCommonECFile.cpp
lea eax, [ebp - 0x14]
push 0x4aa658
push eax
call fcn.00407235
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x14]
call fcn.0043645f
jmp 0x444325
push dword [ebp + 0x10]
lea eax, [ebp - 0x28]
mov ecx, edi
push dword [ebp + 0xc]
push eax
call fcn.004440da
push eax
lea ecx, [ebp - 0x14]
call fcn.0043641b
lea ecx, [ebp - 0x28]
call fcn.0043645f
lea ecx, [ebp - 0x14]
call fcn.0043ff50
cmp eax, 0x7d1
jl 0x4442da
push esi
push esi
push 0x2e7
push str.......SharedFileCommonECFile.cpp
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x28]
push eax
call fcn.00406ae7
mov ecx, dword [ebp + 8]
add esp, 0x14
push eax
call fcn.0043641b
lea ecx, [ebp - 0x28]
call fcn.0043645f
jmp 0x44426d
lea ecx, [ebp - 0x14]
call fcn.0043645f
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_SetEndOfFile]
test eax, eax
jne 0x444318
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push esi
push eax
lea eax, [ebp - 0x28]
push str.SetEndOfFile__
push eax
call fcn.00436b55
mov ecx, dword [ebp + 8]
add esp, 0xc
push eax
call fcn.0043641b
lea ecx, [ebp - 0x28]
jmp 0x444270
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc

Function at 0x444331
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
lea eax, [ebp - 0x18]
push ebx
push edi
push eax
mov edi, ecx
call fcn.00443d77
lea ecx, [ebp - 0x18]
cmp dword [eax + 0xc], 0x3e9
setne bl
call fcn.0043645f
push 0
test bl, bl
je 0x44438c
push 0
push 0x1ec
push str.......SharedFileCommonECFile.cpp
lea eax, [ebp - 0x18]
push 0x4aa658
push eax
call fcn.00407235
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x18]
call fcn.0043645f
jmp 0x4443ea
cmp dword [ebp + 0x10], 0xffffffff
jbe 0x44439b
push 0
push 0x1f2
jmp 0x444363
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [edi]
call dword [sym.imp.KERNEL32.DLL_WriteFile]
test eax, eax
jne 0x4443d1
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x18]
push str.WriteFile__
push eax
call fcn.00436b55
add esp, 0xc
jmp 0x444379
mov ecx, dword [ebp + 0x14]
test ecx, ecx
je 0x4443dd
mov eax, dword [ebp - 4]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
push 0x4a46ac
call fcn.004363fb
mov eax, dword [ebp + 8]
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x444bb5
Capabilities:
Persist via run registry key
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
mov dword [ebp - 0x20], eax
test edi, edi
jne 0x444bda
xor al, al
jmp 0x444dbe
push ebx
push esi
lea ecx, [ebp - 0x18]
mov esi, 0x80000001
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersionExplorerShell_Folders
call fcn.00438b2f
mov eax, dword [ebp + 8]
and eax, 0xffff00ff
cmp eax, 0x15
jg 0x444cbf
je 0x444cb5
cmp eax, 0xb
jg 0x444c6b
je 0x444c61
dec eax
dec eax
je 0x444c57
sub eax, 3
je 0x444c4d
dec eax
je 0x444c43
dec eax
je 0x444c39
dec eax
je 0x444c2f
dec eax
jne 0x444d18
push str.SendTo
jmp 0x444d4a
push str.Recent
jmp 0x444d4a
push str.Start_Up
jmp 0x444d4a
push str.Favorites
jmp 0x444d4a
push str.Personal
jmp 0x444d4a
push str.Programs
jmp 0x444d4a
push str.Start_Menu
jmp 0x444d4a
sub eax, 0xd
je 0x444cab
dec eax
je 0x444ca1
dec eax
dec eax
je 0x444c97
sub eax, 3
je 0x444c8d
dec eax
jne 0x444d18
push str.Fonts
jmp 0x444d4a
push str.NetHood
jmp 0x444d4a
push str.Desktop
jmp 0x444d4a
push str.My_Video
jmp 0x444d4a
push str.My_Music
jmp 0x444d4a
push str.Templates
jmp 0x444d4a
cmp eax, 0x22
jg 0x444d03
je 0x444cfc
sub eax, 0x1a
je 0x444cf5
dec eax
je 0x444cee
dec eax
je 0x444ce7
sub eax, 4
je 0x444ce0
dec eax
jne 0x444d18
push str.Cookies
jmp 0x444d4a
push str.Cache
jmp 0x444d4a
push str.Local_AppData
jmp 0x444d4a
push str.PrintHood
jmp 0x444d4a
push str.AppData
jmp 0x444d4a
push str.History
jmp 0x444d4a
sub eax, 0x26
je 0x444d3b
dec eax
je 0x444d34
sub eax, 9
je 0x444d2d
sub eax, 0xa
je 0x444d26
dec eax
je 0x444d1f
xor bl, bl
jmp 0x444db2
push str.CD_Burning
jmp 0x444d4a
push str.OEM_Links
jmp 0x444d45
push str.Administrative_Tools
jmp 0x444d4a
push str.My_Pictures
jmp 0x444d4a
mov ebx, str.SoftwareMicrosoftWindowsCurrentVersion
push str.ProgramFilesDir
mov esi, 0x80000002
lea ecx, [ebp - 0x18]
call fcn.00438e7a
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
push 0x20019
push 0
push ebx
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x444d71
xor bl, bl
jmp 0x444d9f
mov esi, dword [ebp - 0x1c]
lea eax, [edi + edi]
mov dword [ebp - 0x24], eax
lea ecx, [ebp - 0x18]
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x20]
lea eax, [ebp - 0x28]
push eax
push 0
call fcn.0043fdec
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, eax
neg ebx
sbb bl, bl
inc bl
cmp dword [ebp - 0x1c], 0
je 0x444db2
push dword [ebp - 0x1c]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x1c], 0
lea ecx, [ebp - 0x18]
call fcn.00438dea
pop esi
mov al, bl
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop edi
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret 0xc
Function at 0x4479fb
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
push 0x228
mov dword [ebp - 0x248], eax
xor edi, edi
lea eax, [ebp - 0x240]
mov dword [ebp - 0x244], 0x22c
push edi
push eax
call fcn.0046e6d0
add esp, 0xc
push edi
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov esi, eax
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.DLL_Process32FirstW
test eax, eax
je 0x447af6
push ebx
mov ebx, dword [ebp + 8]
cmp dword [ebp - 0x23c], ebx
je 0x447a78
lea eax, [ebp - 0x244]
push eax
push esi
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x447a5d
jmp 0x447af5
lea eax, [ebp - 0x220]
push eax
lea ecx, [ebp - 0x18]
call fcn.00438ae2
lea eax, [ebp - 0x25c]
push eax
lea ecx, [ebp - 0x18]
call fcn.0043aff4
lea ecx, [ebp - 0x25c]
call fcn.0043645f
push dword [ebp - 0x248]
lea ecx, [ebp - 0x18]
call fcn.0043b712
cmp eax, 0x3e9
jne 0x447aed
lea ecx, [ebp - 0x18]
call fcn.0043fdec
push eax
push str.findOSDParent__
push str._s___found_a_parent__s
push edi
push edi
push 6
call fcn.00404c99
push dword [ebp - 0x248]
push dword [ebp - 0x22c]
call fcn.004479fb
add esp, 0x20
mov edi, ebx
test eax, eax
cmovne edi, eax
lea ecx, [ebp - 0x18]
call fcn.00438dea
pop ebx
test esi, esi
je 0x447b01
push esi
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x44a532
Capabilities:
Enumerate gui resources

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 0x28], esi
push edi
push str.Progman
mov dword [esi], edi
mov dword [ebp - 0x20], edi
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x44a57d
lea ecx, [ebp - 0x20]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [ebp - 0x20]
test eax, eax
je 0x44a57d
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x44a651
push ebx
lea eax, [ebp - 0x24]
push eax
push 1
push str.explorer.exe
lea ecx, [ebp - 0x18]
call fcn.00438ae2
push eax
lea eax, [ebp - 0x3c]
push eax
call fcn.0044f1e4
add esp, 0x10
lea ecx, [ebp - 0x3c]
cmp dword [eax + 0xc], 0x7d0
sete bl
call fcn.0043645f
lea ecx, [ebp - 0x18]
call fcn.00438dea
test bl, bl
je 0x44a5c7
mov ecx, dword [ebp - 0x24]
test ecx, ecx
je 0x44a5c7
mov dword [esi], ecx
jmp 0x44a5ef
lea eax, [ebp - 0x18]
push eax
call fcn.0044f405
pop ecx
lea ecx, [ebp - 0x18]
cmp dword [eax + 0xc], 0x3e9
setne bl
call fcn.0043645f
test bl, bl
je 0x44a5f4
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcessId]
mov dword [esi], eax
xor eax, eax
inc eax
jmp 0x44a650
push 1
push edi
push str.WinSta0
mov dword [ebp - 0x1c], edi
call dword [sym.imp.USER32.dll_OpenWindowStationW]
mov esi, eax
test esi, esi
jne 0x44a624
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push eax
push str.Failed_to_open_WinSta0__last_error___d
push edi
push edi
push edi
call fcn.00404c99
add esp, 0x14
jmp 0x44a643
lea eax, [ebp - 0x1c]
push eax
push 0x44a49c
push esi
call dword [sym.imp.USER32.dll_EnumDesktopsW]
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x44a643
mov ecx, dword [ebp - 0x28]
xor edi, edi
inc edi
mov dword [ecx], eax
test esi, esi
je 0x44a64e
push esi
call dword [sym.imp.USER32.dll_CloseWindowStation]
mov eax, edi
pop ebx
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x44ac24
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp - 0x244]
push ebx
push esi
mov esi, dword [ebp + 8]
push ecx
push 0x200
lea ecx, [ebp - 0x204]
push ecx
push 1
push eax
call dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
test eax, eax
jne 0x44acf9
call dword [sym.imp.KERNEL32.DLL_GetLastError]
xor ebx, ebx
push ebx
push eax
lea eax, [ebp - 0x23c]
push 0x4aed6c
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x224]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x23c]
call fcn.0043645f
lea ecx, [ebp - 0x224]
call fcn.0043ff50
cmp eax, 0x7d1
lea eax, [ebp - 0x224]
push ebx
jl 0x44acef
push ebx
push 0x5cf
push 0x49a510
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00406ae7
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x23c]
call fcn.0043645f
lea ecx, [ebp - 0x224]
call fcn.0043645f
jmp 0x44ae70
push eax
mov ecx, esi
call fcn.0043641b
jmp 0x44acdf
xor ebx, ebx
mov word [ebp - 0x208], 0x500
lea eax, [ebp - 0x228]
mov dword [ebp - 0x20c], ebx
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
jne 0x44ad88
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push ebx
push eax
lea eax, [ebp - 0x23c]
push 0x49ac90
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x224]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x23c]
call fcn.0043645f
lea ecx, [ebp - 0x224]
call fcn.0043ff50
cmp eax, 0x7d1
lea eax, [ebp - 0x224]
push ebx
jl 0x44acef
push ebx
push 0x5e1
jmp 0x44acb7
push edi
push dword [ebp - 0x228]
push dword [ebp - 0x204]
call dword [sym.imp.ADVAPI32.dll_EqualSid]
test eax, eax
setne byte [ebp - 0x20d]
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push dword [ebp - 0x228]
mov edi, eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test edi, edi
je 0x44ae4b
push ebx
push edi
lea eax, [ebp - 0x23c]
push 0x49acc4
push eax
call fcn.00436b55
add esp, 0xc
lea ecx, [ebp - 0x224]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x23c]
call fcn.0043645f
lea ecx, [ebp - 0x224]
call fcn.0043ff50
cmp eax, 0x7d1
lea eax, [ebp - 0x224]
push ebx
jl 0x44ae41
push ebx
push 0x5ea
push 0x49a510
push eax
lea eax, [ebp - 0x23c]
push eax
call fcn.00406ae7
add esp, 0x14
mov ecx, esi
push eax
call fcn.0043641b
lea ecx, [ebp - 0x23c]
call fcn.0043645f
lea ecx, [ebp - 0x224]
call fcn.0043645f
jmp 0x44ae6f
push eax
mov ecx, esi
call fcn.0043641b
jmp 0x44ae34
xor eax, eax
mov ecx, esi
cmp byte [ebp - 0x20d], al
setne al
add eax, 0x3e8
mov dword [ebp - 0x240], eax
lea eax, [ebp - 0x240]
push eax
call fcn.004363fb
pop edi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x4517ba
Capabilities:
Enumerate process modules

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
mov ebx, dword [ebp + 0x10]
push esi
push edi
mov edi, 0x400
mov esi, 0x1000
and dword [ebx], 0
and dword [ebp + 0x10], 0
xor ecx, ecx
mov eax, edi
push 4
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00452ad5
mov edx, dword [ebp + 0xc]
mov ecx, dword [edx]
push ecx
mov dword [edx], eax
call fcn.0046b30d
mov eax, dword [ebp + 0xc]
pop ecx
pop ecx
cmp dword [eax], 0
je 0x451866
lea ecx, [ebp + 0x10]
mov dword [ebp - 4], esi
push ecx
push esi
push dword [eax]
call sub.PSAPI.DLL_EnumProcesses
test eax, eax
je 0x45184a
mov eax, dword [ebp + 0x10]
test eax, eax
je 0x451843
add edi, 0x400
add esi, 0x1000
cmp dword [ebp - 4], eax
je 0x4517d7
shr eax, 2
mov dword [ebx], eax
push 0x4a46ac
mov ecx, dword [ebp + 8]
call fcn.004363fb
jmp 0x451893
push 0x4a7e70
jmp 0x451839
call dword [sym.imp.KERNEL32.DLL_GetLastError]
push 0
push eax
lea eax, [ebp - 0x18]
push 0x49b2ec
push eax
call fcn.00436b55
add esp, 0xc
jmp 0x451882
push 0
push 0
push 0x71
push 0x49b2a0
lea eax, [ebp - 0x18]
push 0x4a49f0
push eax
call fcn.00407235
add esp, 0x14
mov ecx, dword [ebp + 8]
push eax
call fcn.0043641b
lea ecx, [ebp - 0x18]
call fcn.0043645f
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x482358
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4c1280]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.DLL_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.00474dce
mov dword [ebp - 0x14], eax
cmp dword [0x4c58c8], esi
jne 0x48244b
push 0x800
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x4823d8
call dword [sym.imp.KERNEL32.DLL_GetLastError]
cmp eax, 0x57
jne 0x48252b
push esi
push esi
push str.USER32.DLL
call dword [sym.imp.KERNEL32.DLL_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x48252b
push 0x4a14e4
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
test eax, eax
je 0x48252b
push eax
call ebx
push str.GetActiveWindow
push edi
mov dword [0x4c58c8], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetLastActivePopup
push edi
mov dword [0x4c58cc], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
push str.GetUserObjectInformationW
push edi
mov dword [0x4c58d0], eax
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x4c58d8], eax
test eax, eax
je 0x482448
push str.GetProcessWindowStation
push edi
call dword [sym.imp.KERNEL32.DLL_GetProcAddress]
push eax
call ebx
mov dword [0x4c58d4], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.DLL_IsDebuggerPresent]
test eax, eax
je 0x482470
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x482463
push eax
call dword [sym.imp.KERNEL32.DLL_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x482485
push 4
pop eax
jmp 0x48252d
cmp dword [ebp - 0x14], esi
je 0x482485
push dword [0x4c58c8]
call dword [sym.imp.KERNEL32.DLL_DecodePointer]
push 3
jmp 0x48246a
mov eax, dword [0x4c58d4]
mov ebx, dword [sym.imp.KERNEL32.DLL_DecodePointer]
cmp eax, edi
je 0x4824e3
cmp dword [0x4c58d8], edi
je 0x4824e3
push eax
call ebx
push dword [0x4c58d8]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x4824e3
test eax, eax
je 0x4824e3
call ecx
test eax, eax
je 0x4824d8
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x4824d8
test byte [ebp - 8], 1
jne 0x4824e3
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x482513
mov eax, dword [0x4c58cc]
cmp eax, edi
je 0x482510
push eax
call ebx
test eax, eax
je 0x482510
call eax
mov esi, eax
test esi, esi
je 0x482510
mov eax, dword [0x4c58d0]
cmp eax, edi
je 0x482510
push eax
call ebx
test eax, eax
je 0x482510
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x4c58c8]
call ebx
test eax, eax
je 0x48252b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x48252d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0046a7e5
mov esp, ebp
pop ebp
ret
Function at 0x10011dd
Capabilities:
Create process on windows
Get common file path
Terminate process

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
push ebx
push esi
push edi
mov dword [ebp - 0x110], eax
mov esi, 0x105
push esi
lea eax, [ebp - 0x10c]
xor ebx, ebx
push eax
mov byte [ebp - 0x10c], bl
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x10010dc
test eax, eax
je 0x100123d
push edi
lea eax, [ebp - 0x10c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
jne 0x100123a
mov byte [ebp - 0x10c], bl
mov byte [ebp - 8], bl
cmp byte [ebp - 0x10c], bl
jne 0x1001253
push edi
push esi
lea eax, [ebp - 0x10c]
push eax
call fcn.01001175
push dword [ebp + 0x14]
lea eax, [ebp - 0x10c]
push ebx
push dword [ebp - 0x110]
push eax
push ebx
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
push ebx
call dword [sym.imp.KERNEL32.dll_ExitProcess]

Function at 0x1001279
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
xor ebx, ebx
push ebx
push ebx
push 1
push ebx
call dword [sym.imp.KERNEL32.dll_HeapSetInformation]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov esi, eax
mov al, byte [esi]
cmp al, 0x22
jne 0x10012b0
inc esi
mov al, byte [esi]
cmp al, bl
je 0x10012a9
cmp al, 0x22
jne 0x100129e
cmp byte [esi], 0x22
jne 0x10012c1
jmp 0x10012c0
cmp al, 0x20
jle 0x10012c1
inc esi
cmp byte [esi], 0x20
jg 0x10012b4
jmp 0x10012c1
cmp al, 0x20
jg 0x10012c7
inc esi
mov al, byte [esi]
cmp al, bl
jne 0x10012bc
lea eax, [ebp - 0x44]
push eax
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
test byte [ebp - 0x18], 1
je 0x10012e0
movzx eax, word [ebp - 0x14]
jmp 0x10012e3
push 0xa
pop eax
push eax
push esi
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call fcn.010011dd
int3

Function at 0x430005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
call 0x43000c
nop
nop
pop eax
nop
nop
nop
nop
add eax, 0x403d6f
sub eax, 0x403d15
nop
nop
nop
nop
nop
mov ebx, dword [eax]
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
nop
xor dword [ebx], edx
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
cmp ebx, ecx
nop
nop
nop
nop
jl 0x430030
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x43001e
nop
popal
nop
nop
nop
nop
jmp int.00401219