joyce8/EMBER2024-capa huggingface dataset:
Function at 0x460984
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x54], ebx
mov dword [ebp - 0x58], ebx
mov dword [ebp - 0x50], ebx
mov dword [ebp - 0x4c], ebx
mov dword [ebp - 0x14], ecx
mov dword [ebp - 0x10], edx
mov ebx, eax
lea eax, [ebp - 0xc]
mov edx, dword [0x4091c8]
call fcn.004057c0
xor eax, eax
push ebp
push 0x460b25
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46dd44], 0
jne 0x4609df
mov ecx, dword [0x479f80]
mov dl, 1
mov eax, dword [0x409950]
call fcn.0040e2b0
call fcn.00404798
lea eax, [ebp - 0x28]
xor ecx, ecx
mov edx, 0x10
call fcn.00403858
mov eax, ebx
call fcn.00405690
mov dword [ebp - 0x24], eax
mov esi, 0x460b34
lea edi, [ebp - 0x38]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
lea eax, [ebp - 0x38]
mov dword [ebp - 0xc], eax
lea eax, [ebp - 8]
call fcn.00406758
xor eax, eax
mov dword [ebp - 4], eax
mov eax, ebx
call fcn.004056a0
test eax, eax
jle 0x460ac8
mov dword [ebp - 0x18], 0x10
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x48]
push eax
call sub.kernel32.dll_GetComputerNameA
test eax, eax
je 0x460ab4
lea eax, [ebp - 0x4c]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404fc0
mov edi, dword [ebp - 0x4c]
test edi, edi
je 0x460a5a
sub edi, 4
mov edi, dword [edi]
lea eax, [ebp - 0x50]
mov edx, ebx
call fcn.00404fd8
mov esi, dword [ebp - 0x50]
test esi, esi
je 0x460a70
sub esi, 4
mov esi, dword [esi]
push esi
lea eax, [ebp - 0x54]
mov edx, ebx
call fcn.00404fd8
mov eax, dword [ebp - 0x54]
call fcn.004051e0
push eax
push edi
lea eax, [ebp - 0x58]
lea edx, [ebp - 0x48]
mov ecx, 0x10
call fcn.00404fc0
mov eax, dword [ebp - 0x58]
call fcn.004051e0
push eax
push 1
push 0x400
call sub.kernel32.dll_CompareStringA_1
sub eax, 2
test eax, eax
sete al
jmp 0x460ab6
xor eax, eax
test al, al
je 0x460ac1
mov ebx, 0x15
jmp 0x460acd
mov ebx, 0x10
jmp 0x460acd
mov ebx, 0x15
lea eax, [ebp - 0xc]
push eax
push 1
lea eax, [ebp - 0x28]
push eax
push ebx
push 0
mov eax, dword [ebp - 0x10]
push eax
call dword [0x46dd44]
call fcn.00460804
mov eax, dword [ebp - 4]
call fcn.00460804
mov eax, dword [ebp - 0x14]
mov edx, dword [ebp - 8]
call fcn.00406770
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x460b2c
lea eax, [ebp - 0x58]
mov edx, 4
call fcn.00404d74
lea eax, [ebp - 0xc]
mov edx, dword [0x4091c8]
call fcn.00405890
ret
Function at 0x4672d0
Capabilities:
Encode data using xor

Disassembly:
push ebp
push ebx
push esi
push edi
push eax
mov eax, 4
add esp, 0xfffff004
push eax
dec eax
jne 0x4672da
mov eax, dword [esp + 0x4000]
add esp, 0xffffffe8
mov esi, ecx
mov ebx, eax
mov dword [esp + 8], esi
add edx, ebx
mov dword [esp + 0x10], edx
movzx eax, word [ebx]
mov dword [esp], eax
or eax, eax
je 0x4673f3
add ebx, 2
mov eax, dword [esp]
test ah, 0x80
je 0x467328
and eax, 0x7fff
movzx edx, word [ebx]
shl edx, 0xf
or eax, edx
mov dword [esp], eax
add ebx, 2
lea ebp, [esi - 1]
mov ecx, dword [ebx]
add ebx, 4
mov dword [esp + 0x14], ecx
cmp ebx, dword [esp + 0x10]
mov edi, 1
jae 0x4673f3
mov ecx, dword [esp + 0x14]
test ecx, edi
jne 0x46737c
mov al, byte [ebx]
inc ebx
mov byte [esi], al
inc esi
cmp ebx, dword [esp + 0x10]
lea eax, [esi - 3]
jae 0x4673f3
cmp eax, ebp
jbe 0x467376
inc ebp
mov eax, dword [ebp]
mov edx, eax
shr eax, 0xc
xor eax, edx
and eax, 0xfff
mov dword [esp + eax*4 + 0x1c], ebp
add edi, edi
jne 0x467347
jmp 0x46732b
movzx edx, word [ebx]
add ebx, 2
mov eax, edx
and edx, 0xf
add edx, 2
shr eax, 4
cmp edx, 2
jne 0x467399
movzx edx, byte [ebx]
inc ebx
add edx, 0x12
mov eax, dword [esp + eax*4 + 0x1c]
mov ecx, esi
mov dword [esp + 0x18], edx
sub ecx, eax
cmp ecx, edx
jl 0x4673e8
mov ecx, edx
mov edx, esi
call fcn.0040334c
cmp esi, ebp
jbe 0x4673ce
inc ebp
mov edx, dword [ebp]
mov eax, edx
shr edx, 0xc
xor eax, edx
and eax, 0xfff
cmp esi, ebp
mov dword [esp + eax*4 + 0x1c], ebp
ja 0x4673b6
add esi, dword [esp + 0x18]
cmp ebx, dword [esp + 0x10]
jae 0x4673f3
add edi, edi
lea ebp, [esi - 1]
je 0x46732b
jmp 0x467343
mov ecx, edx
mov edx, esi
call fcn.004672bc
jmp 0x4673b2
mov eax, dword [esp]
add esp, 0x401c
pop edi
pop esi
pop ebx
pop ebp
ret

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

Disassembly:
push ebx
add esp, 0xffffffc0
lea eax, [esp + 4]
push eax
push 0x40
push pe_nt_image_headers32
mov ebx, fcn.0040334c
push ebx
call sub.kernel32.dll_VirtualProtect
mov eax, ebx
cmp byte [eax], 0xe9
je 0x468c6a
cmp word [eax], 0x25ff
jne 0x468c26
mov byte [eax], 0xe9
mov eax, ebx
mov edx, dword [0x481f04]
sub edx, eax
sub edx, 5
inc eax
mov dword [eax], edx
jmp 0x468c6a
lea edx, [esp + 8]
mov eax, dword [0x481f04]
mov ecx, 0x38
call dword [0x481f04]
mov eax, dword [0x481f04]
sub eax, ebx
add dword [esp + 0x16], eax
add dword [esp + 0x1c], eax
add dword [esp + 0x27], eax
add dword [esp + 0x36], eax
add dword [esp + 0x3b], eax
lea edx, [esp + 8]
mov ecx, ebx
xor eax, eax
movzx ebx, byte [edx + eax]
mov byte [ecx + eax], bl
inc eax
cmp eax, 0x38
jne 0x468c5d
push esp
mov eax, dword [esp + 8]
push eax
push pe_nt_image_headers32
push fcn.0040334c
call sub.kernel32.dll_VirtualProtect
push 0x38
push fcn.0040334c
call sub.kernel32.dll_GetCurrentProcess
push eax
call sub.kernel32.dll_FlushInstructionCache
add esp, 0x40
pop ebx
ret
Function at 0x469134
Capabilities:
Get file size
Read file via mapping

Disassembly:
push ebx
push esi
push edi
push ebp
push ecx
mov ebp, edx
mov edi, eax
xor ebx, ebx
mov eax, ebp
call fcn.0040af58
test al, al
je 0x4691c3
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, ebp
call fcn.004051e0
push eax
call sub.kernel32.dll_CreateFileA
mov esi, eax
mov dword [edi + 0xc], esi
cmp esi, 0xffffffff
je 0x4691c3
push esp
push esi
call sub.kernel32.dll_GetFileSize
xor edx, edx
mov dword [edi + 0x20], eax
mov dword [edi + 0x24], edx
cmp dword [edi + 0x24], 0
jne 0x46918e
cmp dword [edi + 0x20], 0xffffffff
je 0x4691c3
push 0
push 0
push 0
push 2
push 0
mov eax, dword [edi + 0xc]
push eax
call sub.kernel32.dll_CreateFileMappingA
mov esi, eax
mov dword [edi + 0x10], esi
test esi, esi
je 0x4691c3
push 0
push 0
push 0
push 4
push esi
call sub.kernel32.dll_MapViewOfFile
mov ebp, eax
mov dword [edi + 0x14], ebp
test ebp, ebp
je 0x4691c3
mov bl, 1
mov eax, ebx
pop edx
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x469b94
Capabilities:
Get token membership

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
mov eax, dword [0x46dee8]
mov dword [ebp - 7], eax
mov ax, word [0x46deec]
mov word [ebp - 3], ax
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push ebx
push 0x20
push 2
lea eax, [ebp - 7]
push eax
call sub.advapi32.dll_AllocateAndInitializeSid
cmp eax, 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
push ebp
push 0x469c26
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp - 1], 0
je 0x469c0f
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 0xc]
push eax
push 0
call sub.advapi32.dll_CheckTokenMembership
test eax, eax
jne 0x469c05
mov byte [ebp - 1], 0
jmp 0x469c0f
cmp dword [ebp - 0x10], 1
sbb eax, eax
inc eax
mov byte [ebp - 1], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x469c2d
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_FreeSid
ret
Function at 0x469cd5
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov edi, eax
mov bl, 1
mov eax, dword [ebp - 8]
cmp eax, 6
ja case.0x469c8f.0
jmp dword [eax*4 + 0x469c96]
mov esi, 0x20
jmp 0x469ce1
mov esi, 0x20
jmp 0x469ce1
mov esi, 0x80
jmp 0x469ce1
mov esi, 0x80
jmp 0x469ce1
mov esi, pe_nt_image_headers32
jmp 0x469ce1
mov esi, pe_nt_image_headers32
jmp 0x469ce1
mov esi, 0x80
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403858
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.00403858
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
or esi, 0x200
push esi
push 0
push 0
push 0
mov eax, edi
call fcn.004051e0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x469d58
cmp byte [ebp - 1], 0
je 0x469d5a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
jmp 0x469d5a
xor ebx, ebx
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x469cdc
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffa4
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov byte [ebp - 1], dl
mov edi, eax
mov bl, 1
mov eax, dword [ebp - 8]
cmp eax, 6
ja case.0x469c8f.0
jmp dword [eax*4 + 0x469c96]
mov esi, 0x20
jmp 0x469ce1
mov esi, 0x20
jmp 0x469ce1
mov esi, 0x80
jmp 0x469ce1
mov esi, 0x80
jmp 0x469ce1
mov esi, pe_nt_image_headers32
jmp 0x469ce1
mov esi, pe_nt_image_headers32
jmp 0x469ce1
mov esi, 0x80
lea eax, [ebp - 0x4c]
xor ecx, ecx
mov edx, 0x44
call fcn.00403858
lea eax, [ebp - 0x5c]
xor ecx, ecx
mov edx, 0x10
call fcn.00403858
mov dword [ebp - 0x4c], 0x44
lea eax, [ebp - 0x5c]
push eax
lea eax, [ebp - 0x4c]
push eax
push 0
push 0
or esi, 0x200
push esi
push 0
push 0
push 0
mov eax, edi
call fcn.004051e0
push eax
push 0
call sub.kernel32.dll_CreateProcessA
cmp eax, 1
sbb eax, eax
inc eax
test al, al
je 0x469d58
cmp byte [ebp - 1], 0
je 0x469d5a
push 0xffffffffffffffff
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_WaitForSingleObject
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_GetExitCodeProcess
jmp 0x469d5a
xor ebx, ebx
mov eax, dword [ebp - 0x5c]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, dword [ebp - 0x58]
push eax
call sub.kernel32.dll_CloseHandle
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x46a1f8
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x46a200
push ecx
push ebx
push esi
mov ebx, edx
mov dword [ebp - 0x10], eax
xor eax, eax
push ebp
push 0x46a377
push dword fs:[eax]
mov dword fs:[eax], esp
mov esi, dword [0x479f74]
mov esi, dword [esi]
lea edx, [ebp - 0xc]
mov dword [ebp - 0x1c], esi
mov eax, dword [ebp - 0x1c]
call fcn.0040ef30
lea eax, [ebp - 4]
mov edx, dword [ebp - 0xc]
call fcn.00404de8
lea eax, [ebp - 8]
call fcn.00404d50
cmp dword [ebp - 8], 0
jne 0x46a2a1
call fcn.004035ac
push dword [ebp - 4]
call sub.kernel32.dll_GetCurrentProcessId
xor edx, edx
push edx
push eax
lea eax, [ebp - 0x20]
call fcn.0040ab78
push dword [ebp - 0x20]
push 0x46a38c
mov eax, 0x98967f
call fcn.004035d4
lea edx, [ebp - 0x24]
call fcn.0040aa8c
push dword [ebp - 0x24]
push 0x46a38c
push ebx
lea eax, [ebp - 8]
mov edx, 6
call fcn.004050e4
mov eax, dword [ebp - 8]
call fcn.0040af58
test al, al
jne 0x46a251
mov dl, 1
mov eax, dword [0x417d9c]
call fcn.00403ef4
mov dword [ebp - 0x14], eax
xor eax, eax
push ebp
push 0x46a348
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x28]
mov eax, dword [0x481f40]
call fcn.0040a920
mov edx, dword [ebp - 0x28]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
call dword [ecx + 0x74]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46a34f
mov eax, dword [ebp - 0x14]
call fcn.00403f24
mov eax, dword [ebp - 8]
call fcn.0040af58
test al, al
je 0x46a32d
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x10]
push 0x46a398
push dword [ebp - 8]
lea eax, [ebp - 0x2c]
mov edx, 3
call fcn.004050e4
mov eax, dword [ebp - 0x2c]
mov ecx, 2
mov dl, 1
call fcn.00469c74
mov eax, dword [ebp - 8]
call fcn.0040af58
test al, al
je 0x46a347
mov eax, dword [ebp - 8]
call fcn.004051e0
push eax
call sub.kernel32.dll_DeleteFileA
ret
Function at 0x401000
Capabilities:
Accept command line arguments
Create process on windows

Disassembly:
mov eax, 0x105c
call fcn.004012d0
push esi
lea eax, [esp + 4]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov edi, eax
lea esi, [esp + 0x864]
cmp dword [esp + 8], 2
jl 0x4010b3
mov ecx, dword [edi + 4]
push ecx
call fcn.004012af
add esp, 4
cmp eax, 0xc
jb 0x4010b3
mov edx, dword [edi + 4]
push str.nvuninst.exe
push edx
call fcn.004012af
mov ecx, dword [edi + 4]
add esp, 4
lea edx, [ecx + eax*2 - 0x18]
push edx
call fcn.0040122f
add esp, 8
test eax, eax
jne 0x4010b3
cmp dword [esp + 8], 4
jge 0x401093
push 0x40010
push str.NVUPNPBR_Syntax_Error
push str.SYNTAX_2__:_tnvupnpbr.exe__NVUninstPath___Command___Arguments__nEXAMPLE_2__:_tnvupnpbr.exe__C:_temp_nvuninst.exe__UnifyUninst__NVIDIA_nForce_Drivers_Driver1_nvuPath1_Driver2_nvuPath2__n_n_NVUninstPath_and_Arguments_must_be_enclosed_in_quotation_marks_if_they_contain_spaces
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop esi
add esp, 0x105c
ret 0x10
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 8]
mov edx, dword [edi + 4]
push eax
push ecx
push edx
lea eax, [esp + 0x70]
push str.__s___s__s
push eax
call fcn.004011c0
add esp, 0x14
jmp 0x401100
cmp dword [esp + 8], 5
jge 0x4010de
push 0x40010
push str.NVUPNPBR_Syntax_Error
push str.SYNTAX_1__:_tnvupnpbr.exe__NVUPNP64Path___AtomWindowType___DeviceID___INFPath__nEXAMPLE_1__:_tnvupnpbr.exe__C:_temp_nvupnp64.exe__40354__PCIVEN_10DEDEV_0308___C:_temp_nv4_disp.inf__n_n_AtomWindowType_can_be_obtained_from_a_call_to_GetWindowInfo__
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
pop edi
xor eax, eax
pop esi
add esp, 0x105c
ret 0x10
mov ecx, dword [edi + 0x10]
mov edx, dword [edi + 0xc]
mov eax, dword [edi + 8]
push ecx
mov ecx, dword [edi + 4]
push edx
push eax
push ecx
lea edx, [esp + 0x74]
push str.__s___s___s____s_
push edx
call fcn.004011c0
add esp, 0x18
mov eax, dword [esp + 0x64]
xor edi, edi
cmp ax, di
je 0x401128
lea ecx, [esp + 0x64]
lea edx, [esp + 0x864]
sub ecx, edx
mov word [esi], ax
mov ax, word [ecx + esi + 2]
add esi, 2
cmp ax, di
jne 0x401118
lea eax, [esp + 0x20]
mov word [esi], di
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoW]
lea ecx, [esp + 0x10]
lea edx, [esp + 0x20]
push ecx
push edx
push edi
push edi
push 0x8000000
push 1
push edi
lea eax, [esp + 0x80]
push edi
push eax
push edi
mov dword [esp + 0x48], 0x44
mov dword [esp + 0x4c], edi
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], edi
mov dword [esp + 0x7c], edi
mov word [esp + 0x7a], di
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
push 0xffffffffffffffff
mov ecx, dword [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [esp + 0xc]
mov eax, dword [esp + 0x10]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
push ecx
call esi
mov edx, dword [esp + 0x14]
push edx
call esi
pop edi
pop esi
mov eax, dword [esp + 4]
add esp, 0x105c
ret 0x10
Function at 0x4028c5
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x407570
cmp edx, dword [eax]
je 0x4028e7
add eax, 8
inc ecx
cmp eax, 0x407600
jl 0x4028d8
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x407570]
jne 0x402a15
mov eax, dword [0x407d48]
cmp eax, 1
je 0x4029ef
test eax, eax
jne 0x402918
cmp dword [0x4074c4], 1
je 0x4029ef
cmp edx, 0xfc
je 0x402a15
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x40294f
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.004037a0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00402d90
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x402992
lea eax, [ebp - 0x1a4]
push eax
call fcn.00402d90
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x4063b0
push edi
call fcn.00404520
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.004037a0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.004037b0
lea eax, [ebp - 0xa0]
push 0x406390
push eax
call fcn.004037b0
push dword [esi + 0x407574]
lea eax, [ebp - 0xa0]
push eax
call fcn.004037b0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0040448e
add esp, 0x2c
pop edi
jmp 0x402a15
lea eax, [ebp + 8]
lea esi, [esi + 0x407574]
push 0
push eax
push dword [esi]
call fcn.00402d90
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x444004]
jne 0x40100a
repz ret
jmp fcn.00401374

Function at 0x406a57
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.00404663
and dword [ebp - 4], 0
cmp dword [0x44601c], 0
mov ebx, eax
jne 0x406b08
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x406bb9
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x406bb9
push eax
call fcn.004045f1
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x44601c], eax
call esi
push eax
call fcn.004045f1
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x446020], eax
call esi
push eax
call fcn.004045f1
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x446024], eax
call esi
push eax
call fcn.004045f1
pop ecx
mov dword [0x44602c], eax
test eax, eax
je 0x406b08
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004045f1
pop ecx
mov dword [0x446028], eax
mov eax, dword [0x446028]
cmp eax, ebx
je 0x406b60
cmp dword [0x44602c], ebx
je 0x406b60
push eax
call fcn.0040466c
push dword [0x44602c]
mov esi, eax
call fcn.0040466c
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x406b60
test edi, edi
je 0x406b60
call esi
test eax, eax
je 0x406b57
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x406b57
test byte [ebp - 0xc], 1
jne 0x406b60
or dword [ebp + 0x10], 0x200000
jmp 0x406b99
mov eax, dword [0x446020]
cmp eax, ebx
je 0x406b99
push eax
call fcn.0040466c
pop ecx
test eax, eax
je 0x406b99
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x406b99
mov eax, dword [0x446024]
cmp eax, ebx
je 0x406b99
push eax
call fcn.0040466c
pop ecx
test eax, eax
je 0x406b99
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x44601c]
call fcn.0040466c
pop ecx
test eax, eax
je 0x406bb9
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x406bbb
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x43d380
Capabilities:
Query environment variable

Disassembly:
sub esp, 0xc04
mov eax, dword [0x444004]
xor eax, esp
mov dword [esp + 0xc00], eax
mov eax, dword [0x444f20]
push ebx
mov ebx, dword [0x82bb0c]
push edi
mov edi, dword [0x82b954]
call fcn.0043d290
cmp dword [0x82bb0c], 0x2f
jne 0x43d3bb
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
call fcn.0043d2d0
cmp dword [0x82bb0c], 0x568
pop edi
pop ebx
jne 0x43d3f2
push 0
push 0
lea eax, [esp + 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetConsoleAliasesW]
push 0
lea ecx, [esp + 4]
push ecx
push str.vijedugayuwevulofucezawaki_reseh_dodevehewipelif
call dword [sym.imp.KERNEL32.dll_GetVolumePathNameA]
mov ecx, dword [esp + 0xc00]
xor ecx, esp
call fcn.00401000
add esp, 0xc04
ret
Function at 0x5817f0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x124000]
push edi
jmp 0x58180a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x581811
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x581800
mov eax, 1
add ebx, ebx
jne 0x581823
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x581834
jne 0x581853
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x581853
dec eax
add ebx, ebx
jne 0x581840
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x581818
add ebx, ebx
jne 0x58184f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x5818a5
xor ecx, ecx
sub eax, 3
jb 0x58186b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x5818da
sar eax, 1
mov ebp, eax
jmp 0x581876
add ebx, ebx
jne 0x581876
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x581844
inc ecx
add ebx, ebx
jne 0x581884
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x581844
add ebx, ebx
jne 0x581891
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x581886
jne 0x5818a2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x581886
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x5818c4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x5818b6
jmp 0x581806
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x5818c4
add edi, ecx
jmp 0x581806
pop esi
mov edi, esi
mov ecx, 0x40f0
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x5818e2
cmp byte [edi], 0x11
jne 0x5818e2
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x5818e7
lea edi, [esi + 0x17a000]
mov eax, dword [edi]
or eax, eax
je 0x58195f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x21d268]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x21d3e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x581914
mov ecx, edi
jns 0x581943
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x21d3e8]
or eax, eax
je 0x581959
mov dword [ebx], eax
add ebx, 4
jmp 0x581931
call dword [esi + 0x21d3f8]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x581990
cmp al, 0xef
ja 0x581983
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x581965
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x581972
mov ebp, dword [esi + 0x21d3ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x23f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x5819c4
sub esp, 0xffffff80
jmp 0x420577
Function at 0x4215f7
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
les eax, [eax]
add byte [eax], cl
push edi
movzx edi, word [edx]
movzx ecx, word [esi]
sub ecx, edi
jne 0x421621
sub esi, edx
test di, di
je 0x421621
add edx, 2
movzx edi, word [edx]
movzx ecx, word [esi + edx]
sub ecx, edi
je 0x42160e
pop edi
pop esi
test ecx, ecx
jns 0x42162c
or ecx, 0xffffffff
jmp 0x421631
jle 0x421631
xor ecx, ecx
inc ecx
mov eax, ecx
xor eax, ebx

Function at 0x4223c0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0x10]
push esi
push edi
mov edi, dword [ebp + 8]
mov esi, edi
test ecx, ecx
je 0x422404
mov edx, dword [ebp + 0xc]
sub edx, edi
movzx eax, word [edx + edi]
mov word [edi], ax
add edi, 2
mov cx, si
je 0x4223e8
dec ecx
jne 0x4223d6
test ecx, ecx
je 0x422404
dec ecx
je 0x422404
xor eax, eax
movzx edx, ax
mov eax, edx
shl edx, 0x10
or eax, edx
shr ecx, 1
rep stosd dword es:[edi], eax
adc ecx, ecx
rep stosw word es:[edi], ax
pop edi
mov eax, esi
pop esi
xor eax, ebx