joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426cb7
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, eax
test edi, edi
je 0x426ccb
add edi, 0xffffffc0
jmp 0x426ccd
xor edi, edi
push dword [ebp + 8]
mov ebx, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [edi + 4]
mov dword [ebp - 0xc], 1
call ebx
mov esi, eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
or dword [ebp - 8], 0xffffffff
mov dword [ebp - 4], eax
push eax
mov eax, dword [ebp + 0xc]
call fcn.00408eae
test eax, eax
je 0x426d1a
mov ecx, dword [ebp - 4]
inc ecx
push ecx
push eax
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
or eax, 0xffffffff
call fcn.00409cd2
mov eax, dword [ebp - 4]
cmp dword [ebp - 8], eax
jge 0x426d4b
and dword [ebp - 0xc], 0
push 0xffffffffffffffff
add edi, 0x40
call dword [sym.imp.USER32.dll_MessageBeep]
test edi, edi
je 0x426d3a
lea eax, [edi - 0x40]
jmp 0x426d3c
xor eax, eax
push dword [ebp + 8]
push dword [eax + 4]
call ebx
push eax
call dword [sym.imp.USER32.dll_SetFocus]
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x4273e4
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x1c
push esi
call fcn.0041004a
test eax, eax
je 0x427481
lea eax, [esp + 8]
push eax
xor esi, esi
push 0x28
mov dword [esp + 0x10], esi
mov dword [esp + 0x14], esi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
jne 0x427431
cmp dword [esp + 8], esi
je 0x42742d
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor al, al
jmp 0x427498
lea eax, [esp + 0x14]
push eax
push str.SeShutdownPrivilege
push esi
call dword [sym.imp.ADVAPI32.dll_LookupPrivilegeValueW]
push esi
push esi
push esi
lea eax, [esp + 0x1c]
push eax
push esi
push dword [esp + 0x1c]
mov dword [esp + 0x28], 1
mov dword [esp + 0x34], 2
call dword [sym.imp.ADVAPI32.dll_AdjustTokenPrivileges]
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x42741d
cmp dword [esp + 8], esi
je 0x427486
push dword [esp + 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x427486
call fcn.0042749d
push 0x80040002
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
test eax, eax
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42749d
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
mov eax, dword [0x456090]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebx, eax
push 0x452ff4
push ebx
mov dword [ebp - 0x248], ebx
call esi
xor edi, edi
cmp eax, edi
jne 0x4274e8
cmp ebx, edi
je 0x4275fe
push ebx
jmp 0x4275f8
push edi
push 2
call eax
mov dword [ebp - 0x250], eax
cmp eax, 0xffffffff
jne 0x427501
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x4274da
push str._WindowsFolder_explorer.exe
lea eax, [ebp - 0x23c]
call fcn.004045c6
push edi
lea eax, [ebp - 0x23c]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0041621e
mov eax, dword [ebp - 0x23c]
add esp, 0xc
add eax, 0xfffffff0
call fcn.0040469f
push 0x452fe4
push ebx
call esi
push 0x452fd4
push dword [ebp - 0x248]
mov ebx, eax
call esi
push 0x228
mov dword [ebp - 0x23c], eax
lea eax, [ebp - 0x234]
push edi
push eax
call fcn.00430790
mov esi, dword [ebp - 0x250]
add esp, 0xc
lea eax, [ebp - 0x238]
push eax
push esi
mov dword [ebp - 0x238], 0x22c
call ebx
jmp 0x4275cd
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x240]
push eax
call fcn.0040ac10
test eax, eax
jne 0x4275bf
push dword [ebp - 0x230]
push edi
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ebx, eax
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
cmp ebx, edi
je 0x4275bf
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea eax, [ebp - 0x238]
push eax
push esi
call dword [ebp - 0x23c]
test eax, eax
jne 0x427584
mov eax, dword [ebp - 0x240]
add eax, 0xfffffff0
call fcn.0040469f
cmp esi, edi
je 0x4275ea
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x248], edi
je 0x4275fe
push dword [ebp - 0x248]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043076b
leave
ret

Function at 0x42955f
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
mov esi, eax
push 0x3f7
push dword [esi + 4]
call edi
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push 0
push eax
call ebx
push 0x3eb
push dword [esi + 4]
call edi
push 0
push eax
mov dword [ebp - 4], eax
call ebx
push 0x3ec
push dword [esi + 4]
call edi
xor edi, edi
push edi
push eax
call ebx
mov ebx, dword [sym.imp.USER32.dll_GetWindowRect]
lea eax, [ebp - 0x14]
push eax
add esi, 0x88
push dword [esi]
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x10], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 8], edi
call ebx
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 4]
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov dword [ebp - 0x18], edi
call ebx
mov eax, dword [ebp - 0x18]
push 0x222
push edi
mov dword [ebp - 8], eax
push esi
lea eax, [ebp - 0x14]
call fcn.0041d664
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42bd6a
Capabilities:
Delete directory
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x457fa0]
push ebx
push esi
push edi
mov ecx, 0x457fa0
call dword [eax + 0xc]
mov edi, dword [ebp + 8]
mov ebx, dword [ebp + 0x10]
add eax, 0x10
mov dword [ebp - 0x14], eax
mov eax, dword [edi + 0x88]
mov ecx, dword [eax + 0xc]
mov eax, dword [ebx + 0x10]
add ecx, 4
call fcn.00409233
add eax, 0x24
mov eax, dword [eax]
sub eax, 0x10
call fcn.00409cf0
mov esi, eax
add esi, 0x10
cmp dword [esi - 0xc], 0
mov dword [ebp - 8], esi
je 0x42bed4
mov eax, dword [edi + 0x8c]
mov eax, dword [eax]
sub eax, 0x10
call fcn.00409cf0
add eax, 0x10
lea esi, [ebp - 4]
mov dword [ebp - 4], eax
call fcn.00409d6a
mov eax, dword [ebx + 0x14]
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00402357
call fcn.00409d6a
lea eax, [ebp - 0xc]
push eax
call fcn.00424df7
mov eax, dword [eax]
pop ecx
push dword [eax - 0xc]
push eax
mov eax, esi
call fcn.00402357
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040469f
xor bl, bl
mov esi, edi
call fcn.0042bf99
push 0x8a
lea esi, [ebp - 0xc]
call fcn.00422027
pop ecx
push dword [ebp - 0xc]
push 2
push dword [edi + 0xfc]
push dword [ebp + 0xc]
call fcn.0041ffca
mov ecx, dword [ebp - 4]
push 0
push dword [ebp - 8]
call fcn.00422742
mov bl, al
pop ecx
pop ecx
test bl, bl
jne 0x42beb7
cmp byte [0x458cfc], al
je 0x42be82
push str.MD5_of_downloaded_file_is_invalid.
lea eax, [ebp - 0x10]
call fcn.0041692e
push eax
call fcn.0041693f
push eax
mov eax, 0x458ccc
call fcn.00415cee
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040469f
lea esi, [ebp - 4]
call fcn.004020c4
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x5c
call fcn.00408ce3
mov ecx, eax
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00408df0
push dword [eax]
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [ebp - 0xc]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040469f
test bl, bl
je 0x42befd
mov esi, dword [ebp - 8]
push dword [edi + 0xfc]
push dword [ebp + 0xc]
call fcn.00420862
mov ecx, dword [edi + 0x88]
mov ecx, dword [ecx + 0xc]
add ecx, 4
call fcn.00409233
mov byte [eax + 0x68], 1
mov byte [ebp + 0xf], 1
jmp 0x42bf6a
inc dword [edi + 0x194]
mov eax, dword [0x457fa0]
mov ecx, 0x457fa0
call dword [eax + 0xc]
add eax, 0x10
push 0x8b
lea esi, [ebp - 0x10]
mov dword [ebp - 0xc], eax
call fcn.00422027
pop ecx
lea edi, [ebp - 0xc]
call fcn.0040896f
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.0040469f
mov esi, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
push esi
push 2
push dword [eax + 0xfc]
push dword [ebp + 0xc]
call fcn.0041ffca
mov eax, dword [ebp + 0x10]
mov dword [eax + 0xc], 1
lea eax, [esi - 0x10]
mov byte [ebp + 0xf], 0
call fcn.0040469f
mov edi, dword [ebp + 8]
mov esi, dword [ebp - 8]
cmp dword [esi - 0xc], 0
je 0x42bf7c
mov bl, 1
mov esi, edi
call fcn.0042bf99
mov esi, dword [ebp - 8]
lea eax, [esi - 0x10]
call fcn.0040469f
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.0040469f
mov al, byte [ebp + 0xf]
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x42d837
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebx + 0x7c]
push edi
call fcn.0041c407
mov eax, dword [ebx + 0x7c]
xor esi, esi
push esi
push 0x3025
call fcn.0041c4a5
mov eax, dword [ebx + 0x7c]
push esi
push 0x3023
call fcn.0041c4a5
mov eax, dword [ebx + 0x7c]
push esi
push 0x3024
call fcn.0041c4a5
mov edi, dword [sym.imp.USER32.dll_GetDlgItem]
push 0x401
push dword [ebx + 4]
call edi
push 1
push eax
call dword [sym.imp.USER32.dll_EnableWindow]
push 0x7f04
push ebx
call fcn.0042dbef
push ebx
call fcn.0042d958
mov dword [ebx + 0x90], esi
push 0
lea esi, [ebx + 0x88]
push dword [esi]
call fcn.0041b3d2
test eax, eax
jne 0x42d922
mov esi, dword [esi]
add esi, 0x48
lea eax, [ebx + 0x84]
mov byte [esi + 0x19], 0
mov byte [esi + 0x18], 0
mov dword [esi + 0x10], eax
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [esi + 0x1c], eax
lea eax, [ebp - 4]
push eax
xor eax, eax
push eax
push esi
push 0x427089
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xae
lea esi, [ebp - 4]
call fcn.00422027
pop ecx
mov edi, eax
call fcn.0042dfd3
mov dword [ebx + 0x9c], eax
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040469f
push 0
push 0x3e8
push 1
push dword [ebx + 4]
call dword [sym.imp.USER32.dll_SetTimer]
jmp 0x42d952
mov eax, dword [ebx + 0x7c]
mov esi, dword [sym.imp.USER32.dll_GetParent]
mov byte [eax + 0x99], 1
push dword [ebx + 4]
call esi
push 2
push eax
call edi
push dword [ebx + 4]
mov edi, eax
call esi
push edi
push 2
push 0x111
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
pop edi
xor eax, eax
pop esi
leave
ret

Function at 0x42f19d
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x456090]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
push ebx
push edi
mov edi, ecx
jne 0x42f1db
lea eax, [ebp - 0x210]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x210]
push eax
push esi
call fcn.004045a3
mov eax, dword [0x457fa0]
mov ecx, 0x457fa0
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x214], eax
mov eax, edi
lea edi, [ebp - 0x214]
call fcn.0040896f
lea eax, [ebp - 0x218]
xor ecx, ecx
push eax
inc ecx
mov eax, esi
call fcn.00410531
mov edi, 0x44a8c0
push edi
push eax
call fcn.004090ca
test eax, eax
mov eax, dword [ebp - 0x218]
setne bl
add eax, 0xfffffff0
call fcn.0040469f
test bl, bl
je 0x42f239
push edi
push esi
call fcn.00402171
push str.AI_WSP_
push esi
call fcn.00402171
mov edi, dword [ebp - 0x214]
push dword [edi - 0xc]
mov eax, esi
push edi
call fcn.00402357
push 0
push dword [esi]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [edi - 0x10]
call fcn.0040469f
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.0043076b
leave
ret
Function at 0x42f5a8
Capabilities:
Check if file exists

Disassembly:
push ebp
lea ebp, [esp - 0x78]
sub esp, 0xd4
mov eax, dword [0x456090]
xor eax, ebp
mov dword [ebp + 0x74], eax
push esi
push edi
mov edi, edx
push dword [edi]
mov esi, ecx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x42f5de
mov ecx, 0x457fa0
call fcn.00402110
jmp 0x42f666
mov edi, dword [edi]
push 0x453568
lea eax, [ebp - 0x58]
push edi
push eax
call fcn.004347c2
add esp, 0xc
mov ecx, 0x457fa0
test eax, eax
jne 0x42f5d4
mov eax, dword [0x457fa0]
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x5c], eax
jmp 0x42f62d
push dword [ebp - 0x58]
lea eax, [ebp - 0x54]
push 0x64
push eax
call fcn.00434849
add esp, 0xc
test eax, eax
je 0x42f63a
lea eax, [ebp - 0x54]
push eax
lea eax, [ebp - 0x5c]
push eax
call fcn.00402171
push dword [ebp - 0x58]
call fcn.00434815
pop ecx
test eax, eax
je 0x42f60b
push ebx
push dword [ebp - 0x58]
call fcn.00434981
pop ecx
lea ebx, [ebp - 0x5c]
call fcn.004090f0
mov edi, dword [ebp - 0x5c]
add edi, 0xfffffff0
mov eax, edi
call fcn.00409cf0
add eax, 0x10
mov dword [esi], eax
mov eax, edi
call fcn.0040469f
pop ebx
mov ecx, dword [ebp + 0x74]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.0043076b
add ebp, 0x78
leave
ret

Function at 0x42f679
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
mov eax, dword [0x457fa0]
push ebx
push esi
push edi
mov edi, 0x457fa0
mov ecx, edi
call dword [eax + 0xc]
mov ecx, dword [ebp + 0x10]
add eax, 0x10
lea esi, [ebp - 8]
mov dword [ebp - 8], eax
call fcn.0042f19d
mov ebx, dword [ebp - 8]
cmp dword [ebx - 0xc], 0
jne 0x42f6c3
mov esi, dword [ebp + 8]
mov ecx, edi
call fcn.00402110
lea eax, [ebx - 0x10]
call fcn.0040469f
mov eax, esi
jmp 0x42f75e
lea esi, [ebp - 4]
call fcn.0042f763
mov eax, dword [ebp - 4]
cmp dword [eax - 0xc], 0
jne 0x42f6eb
mov esi, dword [ebp + 8]
mov ecx, edi
call fcn.00402110
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040469f
jmp 0x42f6b4
push str.__o_enumsolutions
lea eax, [ebp - 4]
push eax
call fcn.00402171
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 8]
call fcn.0040896f
push 0x44a8c0
push edi
call fcn.00402171
push str.Solutions.list
push edi
call fcn.00402171
push dword [edi]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42f72e
push dword [edi]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [edi]
mov esi, dword [ebp - 4]
push esi
call fcn.00421878
pop ecx
add ebx, 0xfffffff0
pop ecx
mov eax, ebx
call fcn.00409cf0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
lea eax, [esi - 0x10]
call fcn.0040469f
mov eax, ebx
call fcn.0040469f
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
Function at 0x42f964
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push esi
push edi
push str.SOFTWAREMicrosoftShared_ToolsWeb_Server_Extensions_
lea eax, [ebp - 4]
call fcn.004045c6
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00402357
mov edi, dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push 0x20019
xor esi, esi
push esi
push edi
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42f9c5
mov esi, dword [ebp + 8]
mov ecx, 0x457fa0
call fcn.00402110
lea eax, [edi - 0x10]
call fcn.0040469f
mov eax, esi
jmp 0x42faae
push ebx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
push eax
push esi
push str.Location
push dword [ebp - 0x10]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
mov eax, dword [0x457fa0]
mov ebx, 0x457fa0
mov ecx, ebx
call dword [eax + 0xc]
mov edi, eax
add edi, 0x10
cmp dword [ebp - 0xc], 0xea
mov dword [ebp + 0xc], edi
jne 0x42fa40
push dword [ebp - 8]
lea esi, [ebp + 0xc]
call fcn.00404500
lea eax, [ebp - 8]
push eax
call fcn.004020c4
push eax
lea eax, [ebp - 0x14]
push eax
push 0
push str.Location
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0xc], eax
or eax, 0xffffffff
call fcn.00409cd2
mov edi, dword [ebp + 0xc]
xor esi, esi
cmp dword [ebp - 0xc], esi
jne 0x42fa8e
cmp dword [edi - 0xc], esi
je 0x42fa8e
push str.BINSTSADM.EXE
lea eax, [ebp + 0xc]
push eax
call fcn.00402171
mov edi, dword [ebp + 0xc]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42fa8e
lea esi, [edi - 0x10]
mov eax, esi
call fcn.00409cf0
mov edi, dword [ebp + 8]
add eax, 0x10
mov dword [edi], eax
mov eax, esi
call fcn.0040469f
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, edi
jmp 0x42faad
mov esi, dword [ebp + 8]
mov ecx, ebx
call fcn.00402110
lea eax, [edi - 0x10]
call fcn.0040469f
mov eax, dword [ebp - 4]
add eax, 0xfffffff0
call fcn.0040469f
mov eax, esi
pop ebx
pop edi
pop esi
leave
ret

Function at 0x42fab2
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [eax]
push esi
push edi
sub eax, 0x10
mov esi, ecx
call fcn.00409cf0
add eax, 0x10
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 4]
call fcn.00402357
mov edi, dword [ebp - 4]
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x42fafc
add edi, 0xfffffff0
mov eax, edi
call fcn.00409cf0
add eax, 0x10
mov dword [esi], eax
mov eax, edi
jmp 0x42fb09
mov ecx, 0x457fa0
call fcn.00402110
lea eax, [edi - 0x10]
call fcn.0040469f
pop edi
mov eax, esi
pop esi
leave
ret
Function at 0x42fc59
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
jne 0x42fc6f
xor al, al
jmp 0x42fcdc
push ebx
push esi
call dword [sym.imp.USER32.dll_EmptyClipboard]
mov eax, dword [ebp + 8]
mov eax, dword [eax]
mov eax, dword [eax - 0xc]
lea esi, [eax + eax]
lea eax, [esi + 2]
push eax
push 0x42
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov ebx, eax
mov dword [edi], ebx
test ebx, ebx
je 0x42fca4
push ebx
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov dword [ebp - 4], eax
test eax, eax
jne 0x42fca8
xor al, al
jmp 0x42fcda
mov ecx, dword [ebp + 8]
push esi
push dword [ecx]
push eax
call fcn.00433030
mov ecx, dword [ebp - 4]
add esp, 0xc
xor eax, eax
push ebx
mov word [esi + ecx], ax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
push dword [edi]
push dword [edi + 8]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov al, 1
pop esi
pop ebx
leave
ret 4

Function at 0x430523
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call

Disassembly:
cmp dword [0x45801c], 0
push esi
jne 0x430496
call fcn.004303bc
test eax, eax
je 0x4304d9
mov eax, dword [0x45801c]
cmp eax, 1
jne 0x4304b7
push 0xd
push 0
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
test eax, eax
je 0x4304d9
pop esi
ret
push eax
call dword [0x458024]
test eax, eax
jne 0x430521
push 0x40
mov eax, 0x1000
push eax
push eax
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov esi, eax
test esi, esi
jne 0x4304dd
xor eax, eax
pop esi
ret
mov eax, dword [esi]
push edi
push dword [0x45801c]
call dword [0x458024]
mov edi, eax
test edi, edi
je 0x430502
push 0x8000
push 0
push esi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x43051e
mov edi, esi
add esi, 0xff0
push edi
push dword [0x45801c]
call dword [0x458020]
add edi, 0x10
cmp edi, esi
jb 0x43050a
mov eax, edi
pop edi
pop esi
ret
jmp 0x430483

Function at 0x43076b
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x456090]
jne 0x430775
repz ret
jmp fcn.00434d1c
Function at 0x43f2a0
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00435587
and dword [ebp - 4], 0
cmp dword [0x458aec], 0
mov ebx, eax
jne 0x43f351
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x43f402
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x43f402
push eax
call fcn.00435515
mov dword [esp], 0x4490f0
push edi
mov dword [0x458aec], eax
call esi
push eax
call fcn.00435515
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x458af0], eax
call esi
push eax
call fcn.00435515
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x458af4], eax
call esi
push eax
call fcn.00435515
pop ecx
mov dword [0x458afc], eax
test eax, eax
je 0x43f351
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.00435515
pop ecx
mov dword [0x458af8], eax
mov eax, dword [0x458af8]
cmp eax, ebx
je 0x43f3a9
cmp dword [0x458afc], ebx
je 0x43f3a9
push eax
call fcn.00435590
push dword [0x458afc]
mov esi, eax
call fcn.00435590
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x43f3a9
test edi, edi
je 0x43f3a9
call esi
test eax, eax
je 0x43f3a0
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x43f3a0
test byte [ebp - 0xc], 1
jne 0x43f3a9
or dword [ebp + 0x10], 0x200000
jmp 0x43f3e2
mov eax, dword [0x458af0]
cmp eax, ebx
je 0x43f3e2
push eax
call fcn.00435590
pop ecx
test eax, eax
je 0x43f3e2
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x43f3e2
mov eax, dword [0x458af4]
cmp eax, ebx
je 0x43f3e2
push eax
call fcn.00435590
pop ecx
test eax, eax
je 0x43f3e2
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x458aec]
call fcn.00435590
pop ecx
test eax, eax
je 0x43f402
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x43f404
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x44e858
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x20], ecx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00404914
mov edi, dword [ebp + 8]
add edi, 0xffffff00
xor eax, eax
push ebp
push 0x44e94e
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 0x59
xor ebx, ebx
xor esi, esi
mov eax, dword [ebp - 4]
call fcn.00404724
test eax, eax
jle 0x44e91d
mov dword [ebp - 0x1c], eax
mov dword [ebp - 0xc], 1
lea eax, [ebx + 1]
mov ecx, dword [ebp - 0x18]
add ecx, 0xa7
cdq
idiv ecx
mov ebx, edx
xor eax, eax
mov al, byte [edi + ebx]
add eax, esi
cdq
idiv ecx
mov esi, edx
mov al, byte [edi + ebx]
mov byte [ebp - 0xd], al
mov al, byte [edi + esi]
mov byte [edi + ebx], al
mov al, byte [ebp - 0xd]
mov byte [edi + esi], al
xor eax, eax
mov al, byte [edi + ebx]
xor edx, edx
mov dl, byte [edi + esi]
add eax, edx
cdq
idiv ecx
mov al, byte [edi + edx]
mov byte [ebp - 0xe], al
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 0xc]
mov dl, byte [edx + ecx - 1]
mov cl, byte [ebp - 0xe]
xor dl, cl
call fcn.0040464c
mov edx, dword [ebp - 0x20]
lea eax, [ebp - 0x14]
call fcn.0040472c
inc dword [ebp - 0xc]
dec dword [ebp - 0x1c]
jne 0x44e8af
mov eax, dword [ebp - 8]
mov edx, dword [ebp - 0x14]
call fcn.004044b8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44e955
lea eax, [ebp - 0x20]
call fcn.00404464
lea eax, [ebp - 0x14]
call fcn.00404464
lea eax, [ebp - 4]
call fcn.00404464
ret

Function at 0x44f4d0
Capabilities:
Accept command line arguments

Disassembly:
push ebx
push esi
add esp, 0xfffffdf0
mov ebx, edx
mov esi, eax
mov eax, ebx
call fcn.00404b44
test esi, esi
jne 0x44f507
push 0x20a
lea eax, [esp + 8]
push eax
push 0
call sub.kernel32.dll_GetModuleFileNameW
mov ecx, eax
lea edx, [esp + 4]
mov eax, ebx
call fcn.00404c30
jmp 0x44f52e
call sub.kernel32.dll_GetCommandLineW
mov dword [esp], eax
mov edx, ebx
mov eax, dword [esp]
call fcn.0044f2c0
mov dword [esp], eax
test esi, esi
je 0x44f52e
mov eax, dword [ebx]
xor edx, edx
call fcn.00404cbc
je 0x44f52e
dec esi
jmp 0x44f50f
add esp, 0x210
pop esi
pop ebx
ret