joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416e83
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, edx
mov edx, ecx
test esi, esi
je 0x416ead
movzx ecx, byte [edi]
movzx eax, dl
xor ecx, eax
shr edx, 8
xor edx, dword [ecx*4 + 0x407840]
inc edi
sub esi, 1
jne 0x416e95
pop edi
mov eax, edx
pop esi
pop ebp
ret 4

Function at 0x416eb5
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push edi
mov edi, dword [ebp + 8]
xor esi, esi
test edi, edi
je 0x416ee6
mov eax, esi
shl esi, 8
shr eax, 8
movzx ecx, al
movzx eax, byte [edx]
xor ecx, eax
xor si, word [ecx*2 + 0x407640]
inc edx
movzx esi, si
sub edi, 1
jne 0x416ec5
pop edi
mov ax, si
pop esi
pop ebp
ret 4

Function at 0x417bd4
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0x4180c0
call fcn.00417ef8
xor ecx, ecx
mov eax, dword [ebp + 8]
test eax, eax
je 0x417c34
cmp eax, 0xffffffff
je 0x417c34
mov dword [ebp - 4], ecx
mov edx, 0x5a4d
cmp word [eax], dx
jne 0x417c2d
mov edx, dword [eax + 0x3c]
test edx, edx
js 0x417c2d
cmp edx, 0x10000000
jae 0x417c2d
add eax, edx
mov dword [ebp - 0x1c], eax
mov ecx, dword [eax]
sub ecx, 0x4550
neg ecx
sbb ecx, ecx
not ecx
and ecx, eax
jmp 0x417c2a
mov dword [ebp - 0x1c], ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, ecx
call fcn.00417f3d
ret 4

Function at 0x417c90
Capabilities:
Enumerate pe sections

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor edx, edx
push ebx
push esi
push edi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
movzx ebx, word [ecx + 6]
add eax, 0x18
add eax, ecx
test ebx, ebx
je 0x417cce
mov edi, dword [ebp + 0xc]
mov esi, dword [eax + 0xc]
cmp edi, esi
jb 0x417cc6
mov ecx, dword [eax + 8]
add ecx, esi
cmp edi, ecx
jb 0x417cd0
inc edx
add eax, 0x28
cmp edx, ebx
jb 0x417cb6
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret

Function at 0x417da0
Capabilities:
Parse pe header

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
je 0x417db6
xor eax, eax
pop ebp
ret
mov ecx, dword [eax + 0x3c]
add ecx, eax
xor eax, eax
cmp dword [ecx], 0x4550
jne 0x417dd1
mov edx, 0x10b
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
Function at 0x40bef0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x8000]
push edi
jmp 0x40bf0a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x40bf11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x40bf00
mov eax, 1
add ebx, ebx
jne 0x40bf23
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x40bf18
jne 0x40bf34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40bf18
xor ecx, ecx
sub eax, 3
jb 0x40bf48
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x40bfba
mov ebp, eax
add ebx, ebx
jne 0x40bf53
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x40bf60
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40bf84
inc ecx
add ebx, ebx
jne 0x40bf70
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x40bf65
jne 0x40bf81
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x40bf65
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40bfa4
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40bf95
jmp 0x40bf06
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40bfa4
add edi, ecx
jmp 0x40bf06
pop esi
mov edi, esi
mov ecx, 0x13b
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40bfc2
cmp byte [edi], 1
jne 0x40bfc2
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 0x40bfc7
lea edi, [esi + 0x9000]
mov eax, dword [edi]
or eax, eax
je 0x40c036
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc878]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc8d0]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40bff4
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0xc8d8]
or eax, eax
je 0x40c030
mov dword [ebx], eax
add ebx, 4
jmp 0x40c011
call dword [esi + 0xc8d4]
mov ebp, dword [esi + 0xc8dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x20f]
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 0x40c06a
sub esp, 0xffffff80
jmp 0x404d61
Function at 0x8bcb10
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x6f4015
lea edi, [esi - 0x2f3015]
push edi
or ebp, 0xffffffff
jmp 0x8bcb32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x8bcb39
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8bcb28
mov eax, 1
add ebx, ebx
jne 0x8bcb4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x8bcb5c
jne 0x8bcb7b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8bcb7b
dec eax
add ebx, ebx
jne 0x8bcb68
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x8bcb40
add ebx, ebx
jne 0x8bcb77
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x8bcbcd
xor ecx, ecx
sub eax, 3
jb 0x8bcb93
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x8bcc02
sar eax, 1
mov ebp, eax
jmp 0x8bcb9e
add ebx, ebx
jne 0x8bcb9e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8bcb6c
inc ecx
add ebx, ebx
jne 0x8bcbac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x8bcb6c
add ebx, ebx
jne 0x8bcbb9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x8bcbae
jne 0x8bcbca
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x8bcbae
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x8bcbec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x8bcbde
jmp 0x8bcb2e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x8bcbec
add edi, ecx
jmp 0x8bcb2e
pop esi
mov edi, esi
mov ecx, 0x83cd
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x8bcc0a
cmp byte [edi], 0x63
jne 0x8bcc0a
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 0x8bcc0f
lea edi, [esi + 0x4ba000]
mov eax, dword [edi]
or eax, eax
je 0x8bcc7e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4bc0ac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x4bc0fc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x8bcc3c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x4bc104]
or eax, eax
je 0x8bcc78
mov dword [ebx], eax
add ebx, 4
jmp 0x8bcc59
call dword [esi + 0x4bc100]
mov ebp, dword [esi + 0x4bc108]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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
lea ebx, [esi - 0x1000]
lea edi, [ebx + 0x4bccd9]
push edi
xor eax, eax
stosb byte es:[edi], al
pop ecx
dec ecx
push eax
push 1
push ebx
call ecx
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x8bccca
sub esp, 0xffffff80
jmp 0x401a20
Function at 0x40105b
Capabilities:
Identify system language via api

Disassembly:
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetUserDefaultUILanguage]
movzx esi, ax
mov edx, 0x415004
xor ecx, ecx
mov edi, esi
mov eax, edx
cmp edi, dword [eax]
je 0x40107e
inc ecx
add eax, 0x10
cmp ecx, 0x11
jb 0x401071
cmp ecx, 0x11
jne 0x4010a0
mov edi, 0x3ff
xor ecx, ecx
and esi, edi
mov ax, word [edx]
and ax, di
cmp si, ax
je 0x4010a0
inc ecx
add edx, 0x10
cmp ecx, 0x10
jb 0x40108c
pop edi
mov eax, ecx
pop esi
ret
Function at 0x40157c
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
push ecx
push ecx
push ebx
push ebp
push esi
push edi
push str.SetDllDirectoryA
mov edi, str.kernel32.dll
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4015af
push 0x40ed30
mov ecx, esi
call dword [0x40d154]
call esi
xor ebp, ebp
cmp byte [esp + 0x24], 0
je 0x4016cc
lea eax, [esp + 0x10]
mov dword [esp + 0x10], ebp
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [esp + 0x10], 3
mov esi, eax
jl 0x4016a7
push dword [esi + 4]
push str._stdio
call dword [sym.imp.SHLWAPI.dll_StrCmpW]
test eax, eax
jne 0x4016a7
push ebp
push ebp
push 4
push ebp
push ebp
push 0xc0000000
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x401618
push 5
call dword [sym.imp.KERNEL32.dll_ExitProcess]
push ebp
push ebp
push 0xa
call fcn.004014d2
mov bl, al
add esp, 0xc
test bl, bl
je 0x401661
push str.AllocConsole
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
test edi, edi
je 0x401661
mov ecx, edi
call dword [0x40d154]
call edi
push ebp
push str.ConsoleWindowClass
call dword [sym.imp.USER32.dll_FindWindowA]
push ebp
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push esi
push 0xfffffffffffffff6
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
test eax, eax
je 0x401610
push esi
push 0xfffffffffffffff5
call dword [sym.imp.KERNEL32.dll_SetStdHandle]
test eax, eax
je 0x401610
test bl, bl
je 0x4016cc
push ebp
push esi
call fcn.0040370f
push 0x40f070
push eax
call fcn.00403094
add esp, 0x10
push 1
push eax
call fcn.0040309f
pop ecx
push eax
call fcn.004031d6
pop ecx
pop ecx
jmp 0x4016cc
push str.AttachConsole
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
je 0x4016cc
push 0xffffffffffffffff
mov ecx, esi
call dword [0x40d154]
call esi
lea eax, [esp + 0x14]
mov dword [esp + 0x10], ebp
push eax
lea eax, [esp + 0x14]
mov dword [esp + 0x18], ebp
push eax
push dword [esp + 0x28]
push dword [esp + 0x28]
call fcn.0040112e
mov esi, eax
add esp, 0x10
test esi, esi
je 0x401714
call fcn.0040105b
push ebp
push 0x30
push str.Adobe_AIR
push ebp
push eax
call fcn.00401020
pop ecx
pop ecx
push eax
push ebp
call dword [sym.imp.USER32.dll_MessageBoxExW]
jmp 0x401730
push dword [esp + 0x14]
push ebp
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov ecx, dword [esp + 0x14]
push eax
call dword [0x40d154]
call dword [esp + 0x18]
mov esi, eax
push esi
jmp 0x401612
Function at 0x4010b3
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
lea edi, [esi + 0x14]
mov dword [esi], 0x40b2a0
cmp dword [edi], ebx
je 0x401158
push str._mozilla.org_observer_service_1
mov edx, 0x40b7f4
mov dword [ebp - 4], ebx
lea ecx, [ebp - 4]
call fcn.00408e01
mov eax, dword [ebp - 4]
test eax, eax
je 0x401138
mov ecx, dword [eax]
push ebx
push str.profile_change_net_teardown
push ebx
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_change_teardown
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_qm
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [ebp - 4]
push ebx
push str.profile_before_change_telemetry
push ebx
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
mov eax, dword [edi]
push 1
push eax
mov ecx, dword [eax]
call dword [ecx + 0x4c]
xor edx, edx
mov ecx, edi
call fcn.00408eb0
mov eax, dword [ebp - 4]
test eax, eax
je 0x401158
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x40118f
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
push ebx
mov dword [esi + 0xc], ebx
call dword [sym.imp.xul.dll_NS_ShutdownXPCOM]
pop ecx
mov ecx, eax
shr ecx, 0x1f
test cl, 1
je 0x40118f
push eax
push str.XPCOM_shutdown_failed_with_code_0x_x
call fcn.00401593
pop ecx
pop ecx
push 1
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll_exit]
push dword [esi + 8]
push str.Finished_running__s_tests._n
call fcn.004017c8
pop ecx
pop ecx
mov ecx, dword [esi + 0x1c]
test ecx, ecx
je 0x4011ab
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x18]
test ecx, ecx
je 0x4011b8
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [edi]
test ecx, ecx
je 0x4011c4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov ecx, dword [esi + 0x10]
pop edi
pop esi
pop ebx
test ecx, ecx
je 0x4011d4
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov esp, ebp
pop ebp
ret
Function at 0x40128c
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push ecx
mov ecx, str.XIGNCODE3
call section..text
push 0x65
xor esi, esi
push esi
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
push eax
call dword [sym.imp.USER32.dll_LoadIconW]
mov dword [0x40323c], eax
cmp dword [0x403238], esi
jne 0x4012d5
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0x4011bd
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0x403240], eax
jmp 0x4012e8
push esi
push esi
push 0x401
push dword [0x403238]
call dword [sym.imp.USER32.dll_SendMessageW]
xor eax, eax
pop esi
leave
ret

Function at 0x4012ed
Capabilities:
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [0x403240], 0
je 0x401396
push ebx
push esi
push edi
xor edi, edi
mov esi, edi
cmp dword [0x403238], edi
jne 0x401321
push 0xa
call dword [sym.imp.KERNEL32.dll_Sleep]
inc esi
cmp esi, 0x64
jl 0x401305
cmp dword [0x403238], edi
mov ebx, 0x3e8
je 0x401357
mov esi, dword [sym.imp.USER32.dll_SendMessageTimeoutW]
lea eax, [ebp - 4]
push eax
push ebx
push 1
push edi
push edi
push 0x402
push dword [0x403238]
call esi
lea eax, [ebp - 4]
push eax
push ebx
push 1
push edi
push edi
push 0x10
push dword [0x403238]
call esi
push dword [0x40323c]
call dword [sym.imp.USER32.dll_DestroyIcon]
push ebx
push dword [0x403240]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401381
push edi
push dword [0x403240]
call dword [sym.imp.KERNEL32.dll_TerminateThread]
push dword [0x403240]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x403238], edi
pop edi
pop esi
pop ebx
xor eax, eax
leave
ret

Function at 0x401401
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
xor ebx, ebx
mov edi, ecx
push ebx
push str.Shell_TrayWnd
mov dword [ebp - 4], edi
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x4014a4
push esi
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push ebx
push str.TrayNotifyWnd
push ebx
push eax
call esi
test eax, eax
je 0x4014a3
push ebx
push str.SysPager
push ebx
push eax
call esi
mov ebx, eax
test ebx, ebx
je 0x4014a3
push dword [edi]
push str.ToolbarWindow32
push 0
push ebx
call esi
mov edi, eax
test edi, edi
jne 0x40149c
mov eax, dword [ebp - 4]
push dword [eax + 4]
push str.ToolbarWindow32
push edi
push ebx
call esi
mov edi, eax
test edi, edi
je 0x4014a3
push 0
push str.NotifyIconOverflowWindow
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, eax
test ecx, ecx
je 0x40149c
mov eax, dword [ebp - 4]
push dword [eax + 8]
push str.ToolbarWindow32
push 0
push ecx
call esi
test eax, eax
je 0x40149c
mov ecx, eax
call fcn.0040139a
mov ecx, edi
call fcn.0040139a
pop esi
pop edi
pop ebx
leave
ret
Function at 0x4015b0
Capabilities:
Create process on windows
Enumerate processes
Query environment variable
Set environment variable
Terminate process

Disassembly:
mov eax, 0x4017c4
call fcn.00401790
sub esp, 0x8b8
lea eax, [ebp - 0x8c4]
push ebx
push esi
push edi
mov esi, 0x104
mov edi, str.F7BB906F_6C72_4836_9E3D_3C6C9B373776
push esi
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4015f1
cmp eax, esi
jae 0x4015f1
lea eax, [ebp - 0x8c4]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
xor ebx, ebx
push ebx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_SetEnvironmentVariableW]
call edi
mov ecx, 0xd0
mov edx, ebx
mov al, byte [edx + 0x402378]
xor al, cl
inc ecx
mov byte [ebp + edx - 0x4bc], al
and ecx, 0x800000ff
jns 0x401624
dec ecx
or ecx, 0xffffff00
inc ecx
inc edx
cmp edx, 0x49c
jl 0x401604
mov byte [ebp - 0x20], bl
mov dword [ebp - 4], ebx
lea ecx, [ebp - 0x4bc]
call fcn.00401524
or dword [ebp - 4], 0xffffffff
mov esi, ebx
push 0x7e
pop edx
mov cl, byte [esi + 0x402818]
xor cl, dl
inc edx
mov byte [ebp + esi - 0x1b], cl
and edx, 0x800000ff
jns 0x401664
dec edx
or edx, 0xffffff00
inc edx
inc esi
cmp esi, 0xe
jl 0x401647
mov byte [ebp - 0xd], bl
xor esi, esi
inc esi
mov dword [ebp - 4], esi
push ebx
push ebx
push eax
lea eax, [ebp - 0x1b]
push eax
push str.open
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
or dword [ebp - 4], 0xffffffff
lea eax, [ebp - 0x6bc]
push 0x100
push eax
push str.TrayMsg
call dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
test eax, eax
je 0x4016cd
cmp eax, 0x100
jae 0x4016cd
push 0
push str.TrayMsg
call edi
mov ebx, esi
call fcn.004014a8
lea ecx, [ebp - 0x6bc]
call fcn.0040128c
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push 0
push 2
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CreateToolhelp32Snapshot]
mov esi, eax
cmp esi, 0xffffffff
je 0x401751
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x24c], 0x22c
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32FirstW]
jmp 0x401716
cmp dword [ebp - 0x244], edi
je 0x401723
lea eax, [ebp - 0x24c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_Process32NextW]
test eax, eax
jne 0x401700
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
jmp 0x401751
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call edi
push dword [ebp - 0x234]
push 0
push 0x100000
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x401751
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call edi
test ebx, ebx
je 0x40175a
call fcn.004012ed
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x406a10
Capabilities:
Encode data using base64

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0x14]
xor ebp, ebp
test edi, edi
jle 0x406b0f
mov ecx, dword [esp + 0xc]
push esi
mov esi, dword [esp + 0x14]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
xor eax, eax
mov al, byte [esi]
shr eax, 2
inc ecx
cmp edi, 2
mov al, byte [eax + edx]
mov byte [ecx - 1], al
jle 0x406a92
mov dl, byte [esi]
xor eax, eax
mov al, byte [esi + 1]
and edx, 3
shl edx, 4
shr eax, 4
or edx, eax
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov dl, byte [edx + eax]
mov byte [ecx - 1], dl
mov al, byte [esi + 1]
xor edx, edx
and eax, 0xf
mov dl, byte [esi + 2]
shl eax, 2
shr edx, 6
or eax, edx
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov al, byte [eax + edx]
mov byte [ecx - 1], al
mov dl, byte [esi + 2]
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and edx, 0x3f
mov dl, byte [edx + eax]
mov byte [ecx], dl
jmp 0x406af4
mov edx, edi
dec edx
je 0x406ad8
dec edx
jne 0x406af5
mov al, byte [esi]
xor edx, edx
mov dl, byte [esi + 1]
and eax, 3
shl eax, 4
shr edx, 4
or eax, edx
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
inc ecx
mov al, byte [eax + edx]
mov byte [ecx - 1], al
mov dl, byte [esi + 1]
xor eax, eax
and edx, 0xf
mov al, byte [esi + 2]
shl edx, 2
shr eax, 6
or edx, eax
mov eax, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
mov dl, byte [edx + eax]
mov byte [ecx], dl
jmp 0x406af0
mov al, byte [esi]
mov edx, dword [str.ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789_]
and eax, 3
shl eax, 4
inc ecx
mov al, byte [eax + edx]
mov byte [ecx - 1], al
mov byte [ecx], 0x3d
inc ecx
mov byte [ecx], 0x3d
inc ecx
sub edi, 3
add esi, 3
add ebp, 4
test edi, edi
jg 0x406a29
pop esi
mov eax, ebp
pop edi
mov byte [ecx], 0
pop ebp
ret
mov ecx, dword [esp + 0xc]
mov eax, ebp
pop edi
pop ebp
mov byte [ecx], 0
ret
Function at 0x406b20
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
sub esp, 0x208
push ebp
mov ebp, dword [esp + 0x210]
test ebp, ebp
push esi
je 0x406c3e
mov eax, dword [esp + 0x218]
test eax, eax
jle 0x406c3e
mov esi, dword [esp + 0x21c]
test esi, esi
je 0x406c3e
mov edx, dword [esp + 0x220]
test edx, edx
jle 0x406c3e
push ebx
push edi
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x10]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
mov ecx, 0x40
xor eax, eax
lea edi, [esp + 0x114]
rep stosd dword es:[edi], eax
stosb byte es:[edi], al
xor eax, eax
mov byte [esp + eax + 0x10], al
inc eax
cmp eax, 0x100
jb 0x406b87
xor eax, eax
xor ecx, ecx
cmp eax, edx
jne 0x406b9d
xor eax, eax
mov bl, byte [eax + esi]
inc eax
mov byte [esp + ecx + 0x114], bl
inc ecx
cmp ecx, 0x100
jb 0x406b97
xor ecx, ecx
xor eax, eax
mov dl, byte [esp + eax + 0x10]
mov bl, byte [esp + eax + 0x114]
add ecx, edx
add ebx, ecx
and ebx, 0xff
inc eax
mov ecx, ebx
cmp eax, 0x100
mov bl, byte [esp + ecx + 0x10]
mov byte [esp + eax + 0xf], bl
mov byte [esp + ecx + 0x10], dl
jb 0x406bb5
mov edx, dword [esp + 0x220]
xor edi, edi
xor esi, esi
xor eax, eax
test edx, edx
jbe 0x406c31
inc esi
and esi, 0xff
mov cl, byte [esp + esi + 0x10]
mov bl, cl
add ebx, edi
and ebx, 0xff
mov edi, ebx
mov bl, byte [esp + edi + 0x10]
mov byte [esp + esi + 0x10], bl
mov byte [esp + edi + 0x10], cl
mov bl, byte [esp + esi + 0x10]
add ebx, ecx
and ebx, 0xff
mov cl, byte [esp + ebx + 0x10]
mov bl, byte [eax + ebp]
xor bl, cl
mov byte [eax + ebp], bl
inc eax
cmp eax, edx
jb 0x406bf1
pop edi
pop ebx
pop esi
mov al, 1
pop ebp
add esp, 0x208
ret
pop esi
xor al, al
pop ebp
add esp, 0x208
ret

Function at 0x406e40
Capabilities:
Get mac address on windows

Disassembly:
push ecx
lea eax, [esp]
push esi
push eax
push 0
mov dword [esp + 0xc], 0
call sub.iphlpapi.dll_GetAdaptersInfo
cmp eax, 0x6f
jne 0x406e90
mov eax, 0xcccccccd
mul dword [esp + 4]
shr edx, 9
lea ecx, [edx + edx*4]
shl ecx, 7
push ecx
call sub.MFC42.DLL_operatornew
add esp, 4
lea edx, [esp + 4]
mov esi, eax
push edx
push esi
call sub.iphlpapi.dll_GetAdaptersInfo
test eax, eax
je 0x406ea3
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
mov ecx, dword [esp + 0xc]
xor eax, eax
pop esi
mov dword [ecx], eax
mov word [ecx + 4], ax
xor al, al
pop ecx
ret 4
mov eax, dword [esp + 0xc]
lea edx, [esi + 0x194]
push esi
mov ecx, dword [edx]
mov dword [eax], ecx
mov dx, word [edx + 4]
mov word [eax + 4], dx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov al, 1
pop esi
pop ecx
ret 4