joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10014b24
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x10024470]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.1000be5b
and dword [ebp - 0x14], 0
cmp dword [0x100266bc], 0
mov dword [ebp - 0x18], eax
jne 0x10014bd7
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x10014c7f
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxW
push ebx
call edi
test eax, eax
je 0x10014c7f
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x100266bc], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x100266c0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x100266c4], eax
call edi
push eax
call esi
mov dword [0x100266cc], eax
test eax, eax
je 0x10014bd7
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x100266c8], eax
mov eax, dword [0x100266c8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x10014c30
cmp dword [0x100266cc], ecx
je 0x10014c30
push eax
call esi
push dword [0x100266cc]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x10014c30
test ebx, ebx
je 0x10014c30
call edi
test eax, eax
je 0x10014c27
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x10014c27
test byte [ebp - 8], 1
jne 0x10014c30
or dword [ebp + 0x10], 0x200000
jmp 0x10014c63
mov eax, dword [0x100266c0]
cmp eax, dword [ebp - 0x18]
je 0x10014c63
push eax
call esi
test eax, eax
je 0x10014c63
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x10014c63
mov eax, dword [0x100266c4]
cmp eax, dword [ebp - 0x18]
je 0x10014c63
push eax
call esi
test eax, eax
je 0x10014c63
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x100266bc]
call esi
test eax, eax
je 0x10014c7f
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x10014c81
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10005bbc
leave
ret
Function at 0x40104a
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov esi, eax
push 0x20
pop ecx
movzx eax, word [esi]
cmp eax, 0x2d
je 0x401084
push 0x22
pop edx
cmp ax, dx
cmove ecx, edx
movzx ecx, cx
add esi, 2
movzx eax, word [esi]
test ax, ax
je 0x401084
cmp ax, cx
jne 0x401071
add esi, 2
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, eax
test edi, edi
jns 0x401098
mov eax, 0x640
jmp 0x4010b2
push ebx
xor ebx, ebx
mov eax, ebx
test edi, edi
jle 0x4010af
push 0x20
pop ecx
cmp word [esi + eax*2], cx
jne 0x4010b8
inc eax
cmp eax, edi
jl 0x4010a4
xor eax, eax
pop ebx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 4]
mov dword [ebp - 4], ebx
push eax
push ebx
push ebx
push str.AIR.InstallerPackage
push 2
push ebx
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
cmp eax, 1
jne 0x4010f5
mov eax, dword [ebp - 4]
add eax, edi
lea eax, [eax*2 + 2]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetProcessHeap]
push eax
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov edi, eax
test edi, edi
jne 0x4010fc
mov eax, 0x3e80
jmp 0x4010b1
lea eax, [ebp - 4]
push eax
push edi
push ebx
push str.AIR.InstallerPackage
push 2
push ebx
call dword [sym.imp.SHLWAPI.dll_AssocQueryStringW]
test eax, eax
je 0x40111b
mov eax, 0x3e81
jmp 0x4010b1
push 0x10
pop ecx
lea eax, [ebp - 0x14]
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x401121
or dword [ebp - 0x14], 0xffffffff
lea eax, [ebp - 0x58]
or dword [ebp - 0x10], 0xffffffff
push 0x44
pop edx
mov ecx, edx
mov byte [eax], bl
inc eax
sub ecx, 1
jne 0x401139
mov eax, dword [ebp - 4]
push 0x20
pop ecx
mov dword [ebp - 0x58], edx
mov word [edi + eax*2 - 2], cx
mov eax, dword [ebp - 4]
push esi
lea eax, [edi + eax*2]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x58]
push eax
push ebx
push ebx
push ebx
push 1
push ebx
push ebx
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x4010af
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4010b1

Function at 0x401190
Capabilities:
Terminate process

Disassembly:
push esi
call fcn.0040104a
mov esi, eax
test esi, esi
je 0x4011b9
call fcn.004db000
push 0x30
shl eax, 4
push 0x40352c
push dword [eax + 0x404008]
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x4018c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41dc18
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x4263d0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x30]
call fcn.00401a10
xor edi, edi
mov dword [ebp - 4], edi
xor eax, eax
push 0x40
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x38], eax
mov dword [ebp - 0x34], eax
lea eax, [ebp - 0x88]
push edi
push eax
mov dword [ebp - 0x40], edi
call fcn.004113e0
mov ecx, 5
add esp, 0xc
xor ebx, ebx
lea esi, [ebp - 0x30]
mov dword [ebp - 0x8c], 0x44
mov dword [ebp - 0x60], 1
mov word [ebp - 0x5c], cx
call fcn.00401e10
mov eax, dword [ebp - 0x30]
mov ebx, 8
cmp dword [ebp - 0x1c], ebx
jae 0x401952
mov eax, esi
lea edx, [ebp - 0x40]
push edx
lea ecx, [ebp - 0x8c]
push ecx
push edi
push edi
push edi
push edi
push edi
push edi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x4019ad
mov edx, dword [ebp - 0x40]
push 0xffffffffffffffff
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 0x3c]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push eax
call esi
mov ecx, dword [ebp - 0x40]
push ecx
call esi
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], ebx
jb 0x4019a5
mov edx, dword [ebp - 0x30]
push edx
call fcn.0040bd66
add esp, 4
xor eax, eax
mov word [ebp - 0x30], ax
jmp 0x4019e7
push 0x10
push str.NwSapSetup
push str.The_setup_application_was_not_able_to_find_NWSAPSETUP.EXE_in_its_current_folder._Please_make_sure_that_the_required_executable_is_available.
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_MessageBoxW]
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x1c], ebx
jb 0x4019de
mov ecx, dword [ebp - 0x30]
push ecx
call fcn.0040bd66
add esp, 4
xor edx, edx
mov word [ebp - 0x30], dx
lea eax, [edx + 0xb]
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], 7
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0040bd71
mov esp, ebp
pop ebp
ret 4
Function at 0x402d10
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41c8b3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4263d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_wchar_t__struct_std::char_traits_wchar_t__.0
call fcn.0040b101
mov dword [ebp - 4], 0
push 4
call fcn.0040bf58
mov edi, eax
add esp, 4
test edi, edi
je 0x402d94
call fcn.0040b553
mov dword [edi], eax
call fcn.0040b312
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.0040b247
mov byte [ebp - 4], 1
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x402d86
inc eax
mov dword [ebx + 4], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x10]
call fcn.0040b26f
jmp 0x402d96
xor edi, edi
mov dword [esi + 0x38], edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov dword [ebp - 4], 0xffffffff
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x405320
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41dd2a
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x4263d0]
xor eax, esp
mov dword [esp + 0x3c], eax
push ebx
push esi
mov eax, dword [0x4263d0]
xor eax, esp
push eax
lea eax, [esp + 0x50]
mov dword fs:[0], eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor ebx, ebx
xor ecx, ecx
mov word [esp + 0xc], cx
mov ecx, eax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], ebx
lea esi, [ecx + 2]
mov dx, word [ecx]
add ecx, 2
cmp dx, bx
jne 0x405376
sub ecx, esi
sar ecx, 1
push ecx
lea esi, [esp + 0x10]
call fcn.00404c70
mov dword [esp + 0x58], ebx
lea edx, [esp + 0x28]
push edx
mov ecx, esi
call section..text
mov byte [esp + 0x58], 1
push eax
call fcn.004018c0
mov esi, eax
mov byte [esp + 0x58], bl
cmp dword [esp + 0x40], 8
jb 0x4053c4
mov eax, dword [esp + 0x2c]
push eax
call fcn.0040bd66
add esp, 4
xor ecx, ecx
mov dword [esp + 0x40], 7
mov dword [esp + 0x3c], ebx
mov word [esp + 0x2c], cx
mov dword [esp + 0x58], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x4053f3
mov edx, dword [esp + 0xc]
push edx
call fcn.0040bd66
add esp, 4
xor eax, eax
mov word [esp + 0xc], ax
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], ebx
mov eax, esi
mov ecx, dword [esp + 0x50]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x3c]
xor ecx, esp
call fcn.0040bd71
mov esp, ebp
pop ebp
ret 0x10
Function at 0x406440
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41dafd
mov eax, dword fs:[0]
push eax
sub esp, 0x27c
mov eax, dword [0x4263d0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp dword [esi + 0x10], 0
jne 0x40647d
xor al, al
jmp 0x40653d
push 4
push 0x422418
push esi
xor eax, eax
call fcn.004029f0
test eax, eax
je 0x4064d9
lea edi, [ebp - 0x2c]
mov ecx, esi
call fcn.00406560
mov dword [ebp - 4], 0
mov ecx, eax
call fcn.00406440
mov bl, al
mov dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x18], 8
jb 0x4064c3
mov eax, dword [ebp - 0x2c]
push eax
call fcn.0040bd66
add esp, 4
xor ecx, ecx
mov dword [ebp - 0x18], 7
mov dword [ebp - 0x1c], 0
mov word [ebp - 0x2c], cx
jmp 0x40653b
lea edx, [ebp - 0x288]
push esi
push edx
lea ecx, [ebp - 0x280]
call fcn.0040a210
add esp, 8
mov dword [ebp - 4], 2
mov eax, dword [ebp - 0x288]
or edi, 0xffffffff
cmp eax, edi
je 0x406519
test eax, eax
je 0x406519
mov dword [ebp - 4], edi
lea esi, [ebp - 0x288]
call fcn.00408a00
mov al, 1
jmp 0x40653d
cmp dword [esi + 0x14], 8
jb 0x406521
mov esi, dword [esi]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, edi
setne bl
mov dword [ebp - 4], edi
lea esi, [ebp - 0x288]
call fcn.00408a00
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0040bd71
mov esp, ebp
pop ebp
ret
Function at 0x40ab60
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x41d111
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
push edi
mov eax, dword [0x4263d0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov eax, 0x80
lea esi, [ebp - 0x24]
call fcn.0040a9b0
mov dword [ebp - 4], 1
mov edi, dword [ebp - 0x20]
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebp + 0x18]
mov esi, edi
sub esi, ebx
sar esi, 1
call fcn.00404520
push eax
mov eax, dword [ebp + 0x14]
push esi
push ebx
call fcn.00404520
push eax
mov eax, dword [ebp + 0x10]
call fcn.00404520
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404520
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esi - 1]
cmp eax, ecx
jb 0x40acd0
lea ecx, [ecx]
lea ecx, [esi + esi]
mov dword [ebp - 0x10], ecx
cmp esi, ecx
jbe 0x40ac16
lea esi, [ebx + ecx*2]
cmp esi, edi
je 0x40ac93
push 0
push edi
push esi
call fcn.0040bfe0
add esp, 0xc
mov dword [ebp - 0x20], esi
jmp 0x40ac90
jae 0x40ac93
mov eax, ecx
sub eax, esi
mov edx, 0x7fffffff
sub edx, eax
cmp edx, esi
jb 0x40ad3c
add esi, eax
mov eax, dword [ebp - 0x1c]
sub eax, ebx
sar eax, 1
cmp esi, eax
jbe 0x40ac64
mov ecx, eax
shr ecx, 1
mov edx, 0x7fffffff
sub edx, ecx
cmp edx, eax
jae 0x40ac4b
xor eax, eax
jmp 0x40ac4d
add eax, ecx
cmp eax, esi
cmovb eax, esi
push eax
lea ecx, [ebp - 0x24]
call fcn.0040aa90
mov ebx, dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x10]
mov eax, edi
sub eax, ebx
sar eax, 1
mov edx, ecx
sub edx, eax
je 0x40ac8a
xor eax, eax
movzx esi, ax
mov eax, esi
shl esi, 0x10
or eax, esi
mov ecx, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
mov edi, dword [ebp - 0x20]
lea ecx, [edi + edx*2]
mov dword [ebp - 0x20], ecx
mov edi, dword [ebp - 0x20]
mov eax, dword [ebp + 0x18]
mov esi, edi
sub esi, ebx
sar esi, 1
call fcn.00404520
push eax
mov eax, dword [ebp + 0x14]
push esi
push ebx
call fcn.00404520
push eax
mov eax, dword [ebp + 0x10]
call fcn.00404520
push eax
mov eax, dword [ebp + 0xc]
call fcn.00404520
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea edx, [esi - 1]
cmp eax, edx
jae 0x40abf0
mov esi, dword [ebp + 8]
xor edi, edi
xor eax, eax
mov dword [esi + 0x14], 7
mov dword [esi + 0x10], edi
mov word [esi], ax
mov eax, ebx
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x40acf0
sub eax, edx
sar eax, 1
push eax
mov eax, ebx
call fcn.00404c70
mov dword [ebp - 0x14], 1
mov byte [ebp - 4], 0
cmp ebx, edi
je 0x40ad1f
push ebx
call fcn.0040bd66
add esp, 4
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x20], edi
mov dword [ebp - 0x1c], edi
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push str.vector_T__too_long
call fcn.0040af49
int3
Function at 0x40ae60
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x41d668
mov eax, dword fs:[0]
push eax
sub esp, 0x28
mov eax, dword [0x4263d0]
xor eax, esp
mov dword [esp + 0x20], eax
push esi
mov eax, dword [0x4263d0]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
mov ecx, dword [esi + 0xc]
lea eax, [esp + 0xc]
push eax
call fcn.0040a4f0
add esp, 4
mov dword [esp + 0x38], 0
push eax
push ecx
push str._Error_message:
push ecx
add esi, 0x10
push esi
push edi
call fcn.00404a80
add esp, 0xc
push eax
call fcn.00403fc0
add esp, 0xc
push eax
call fcn.00404a80
add esp, 8
mov dword [esp + 0x38], 0xffffffff
cmp dword [esp + 0x20], 8
jb 0x40aef2
mov ecx, dword [esp + 0xc]
push ecx
call fcn.0040bd66
add esp, 4
xor edx, edx
mov dword [esp + 0x20], 7
mov dword [esp + 0x1c], 0
mov word [esp + 0xc], dx
mov eax, edi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x20]
xor ecx, esp
call fcn.0040bd71
mov esp, ebp
pop ebp
ret

Function at 0x40bd71
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x4263d0]
jne 0x40bd7b
repz ret
jmp fcn.00410f7a
Function at 0x416dac
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4263d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp + 0xc]
push esi
push edi
mov dword [ebp - 0x1c], eax
call fcn.00410854
and dword [ebp - 0x14], 0
cmp dword [0x428a9c], 0
mov dword [ebp - 0x18], eax
jne 0x416e5f
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov ebx, eax
test ebx, ebx
je 0x416f07
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x4218c0
push ebx
call edi
test eax, eax
je 0x416f07
mov esi, dword [sym.imp.KERNEL32.dll_EncodePointer]
push eax
call esi
push str.GetActiveWindow
push ebx
mov dword [0x428a9c], eax
call edi
push eax
call esi
push str.GetLastActivePopup
push ebx
mov dword [0x428aa0], eax
call edi
push eax
call esi
push str.GetUserObjectInformationW
push ebx
mov dword [0x428aa4], eax
call edi
push eax
call esi
mov dword [0x428aac], eax
test eax, eax
je 0x416e5f
push str.GetProcessWindowStation
push ebx
call edi
push eax
call esi
mov dword [0x428aa8], eax
mov eax, dword [0x428aa8]
mov ecx, dword [ebp - 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, ecx
je 0x416eb8
cmp dword [0x428aac], ecx
je 0x416eb8
push eax
call esi
push dword [0x428aac]
mov edi, eax
call esi
mov ebx, eax
test edi, edi
je 0x416eb8
test ebx, ebx
je 0x416eb8
call edi
test eax, eax
je 0x416eaf
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call ebx
test eax, eax
je 0x416eaf
test byte [ebp - 8], 1
jne 0x416eb8
or dword [ebp + 0x10], 0x200000
jmp 0x416eeb
mov eax, dword [0x428aa0]
cmp eax, dword [ebp - 0x18]
je 0x416eeb
push eax
call esi
test eax, eax
je 0x416eeb
call eax
mov dword [ebp - 0x14], eax
test eax, eax
je 0x416eeb
mov eax, dword [0x428aa4]
cmp eax, dword [ebp - 0x18]
je 0x416eeb
push eax
call esi
test eax, eax
je 0x416eeb
push dword [ebp - 0x14]
call eax
mov dword [ebp - 0x14], eax
push dword [0x428a9c]
call esi
test eax, eax
je 0x416f07
push dword [ebp + 0x10]
push dword [ebp - 0x1c]
push dword [ebp - 0x20]
push dword [ebp - 0x14]
call eax
jmp 0x416f09
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040bd71
leave
ret
Function at 0x4029c5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x25c
push esi
push edi
lea edi, [ebp - 0x25c]
mov ecx, 0x97
mov eax, 0xcccccccc
rep stosd dword es:[edi], eax
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [str.073110116101114110101116082101097100070105108101]
push ecx
call fcn.004013f3
add esp, 8
mov esi, esp
lea edx, [ebp - 0x104]
push edx
mov edi, esp
push str.wininet.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
cmp edi, esp
call fcn.00402b65
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp esi, esp
call fcn.00402b65
mov dword [0x40acf8], eax
call fcn.00401d70
test eax, eax
jne 0x402a60
call fcn.00402331
call fcn.0040260d
call fcn.004018cb
xor eax, eax
jmp 0x402b50
mov eax, dword [ebp + 0x10]
push eax
call fcn.00402c80
add esp, 4
test eax, eax
je 0x402a85
push str.start
mov ecx, dword [ebp + 0x10]
push ecx
call fcn.00402fa0
add esp, 8
test eax, eax
jne 0x402af1
push 0x44
push 0
lea edx, [ebp - 0x25c]
push edx
call fcn.00403020
add esp, 0xc
mov dword [ebp - 0x230], 1
mov word [ebp - 0x22c], 5
push str.__start
push 0x40abf4
call fcn.00402e90
add esp, 8
mov esi, esp
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x25c]
push ecx
push 0
push 0
push 0
push 0
push 0
push 0
push 0x40abf4
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
cmp esi, esp
call fcn.00402b65
xor eax, eax
jmp 0x402b50
call fcn.00402985
mov byte [ebp - 0x208], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x207]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x208]
push edx
push 0x40abf4
call fcn.00401d9b
add esp, 8
lea eax, [ebp - 0x208]
push eax
call fcn.00402c80
add esp, 4
cmp eax, 0x26
jne 0x402b46
lea ecx, [ebp - 0x208]
push ecx
call fcn.00402075
add esp, 4
call fcn.0040260d
mov eax, 1
pop edi
pop esi
add esp, 0x25c
cmp ebp, esp
call fcn.00402b65
mov esp, ebp
pop ebp
ret 0x10

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

Disassembly:
pushal
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
nop
add eax, 0x403ac5
nop
sub eax, 0x403a6b
nop
nop
nop
nop
mov ebx, dword [eax]
nop
mov ecx, dword [eax + 4]
nop
nop
nop
nop
nop
mov edx, dword [eax + 8]
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
popal
nop
nop
nop
jmp fcn.00401219
Function at 0x409e20
Capabilities:
Get common file path
Move file

Disassembly:
sub esp, 0x200
lea eax, [esp]
push 0xff
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
test eax, eax
je 0x409ecb
push ebx
push esi
lea ecx, [esp + 8]
push edi
push ecx
lea edx, [esp + 0x110]
push 0x40e244
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
mov edi, 0x40e23c
or ecx, 0xffffffff
xor eax, eax
add esp, 0xc
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0xc]
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov eax, dword [esp + 0x210]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
test eax, eax
pop ebx
je 0x409eb5
lea eax, [esp + 0x100]
lea ecx, [esp]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret
lea edx, [esp]
lea eax, [esp + 0x100]
push edx
push eax
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
add esp, 0x200
ret

Function at 0x510024
Capabilities:
Packed with generic packer

Disassembly:
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [edx], al
add al, byte [eax]
add byte [eax], al
cld
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add al, byte [eax]
add byte [eax], al
cld
invalid
stc
jb 0x51002e
pop ds
xor esi, dword [ecx - 0x49]
jno 0x50ffe2
cwde
leave
jmp 0x51008f
pushal
jmp 0x510034
call 0x51003f
dec ecx
stc
mov dl, 0xed
pop ecx
pop ebx
jb 0x510049
jne 0x50ffd9
jge 0x510029
sbb dword [edx - 0x383c7edc], 0xffffffff
invalid
add ebx, 0xffffffc7
jmp 0x510058
cmp dword [ebx], 0
stc
jmp 0x510067
je 0x5100ed
jmp 0x510076
mov ecx, ebx
jmp 0x510081
add ebx, 4
jmp 0x510089
mov edx, dword [ebx]
jmp 0x510097
and eax, 0x8ced9cec
in eax, dx
cmp ebp, dword [ebx + 3]
sar ecx, cl
add edx, ebx
stc
jb 0x5100a3
mov ah, 0xb1
mov ebx, 0xc91a740d
mov eax, dword [ebx + 4]
jmp 0x5100ac
sub dword [edx], 0x3c62176a
jmp 0x5100b6
add edx, 4
jmp 0x5100bf
sub eax, 1
jmp 0x5100c6
jne 0x5100a6
jmp 0x5100d0
add ebx, 8
jmp 0x5100d7
sub dword [ecx], 1
stc
jb 0x5100de
and ecx, dword [edi]
test dword [eax + 0x72ffffff], esp
add dh, byte [ecx + 0xee83b]
add byte [eax], al
jne 0x510084
jb 0x5100e8
mov cl, 0x3b
call 0x5100fb
jmp 0x5100f1
popal
jmp 0x5100f6
jmp 0x50ed00