joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4011b0
Capabilities:
Encode data using xor

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_InitializeAcl]
xor esi, esi
nop word [eax + eax]
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x93
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x56
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x41
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0xfb
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xdb
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xa4
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x12
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x51
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xf4
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x62
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xd2
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xf9
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x67
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x36
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0x10
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xe6
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x42
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xb7
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x38
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0xc9
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x9e
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xa6
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x50
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xc5
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x29
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0x58
push 0
push 0
push 0
call edi
xor byte [esi + section..BSs], 0xc8
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xa2
push 0
push 0
push 0
call edi
add byte [esi + section..BSs], 0xcf
inc esi
cmp esi, 0x55c00
jb 0x4011c0
pop edi
pop esi
ret
Function at 0x402dd0
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x402e0f
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x402e0f
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x402e0f
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x402e0f
cmp dword [ecx + 0x74], 0xe
jbe 0x402e0f
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x40915b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x417394
push 0x41738c
push str.FlsAlloc
push 0x1e
call fcn.00408fdc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40918f
push dword [ebp + 8]
mov ecx, esi
call dword [0x41513c]
call esi
jmp 0x409195
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x4091d9
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x4173a4
push 0x41739c
push str.FlsGetValue
push 0x20
call fcn.00408fdc
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409210
push dword [ebp + 8]
mov ecx, esi
call dword [0x41513c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x10289062
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x102890a1
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x102890a1
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x102890a1
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x102890a1
cmp dword [ecx + 0x74], 0xe
jbe 0x102890a1
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x1028c181
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1028c21e
push ebx
push esi
call fcn.1028c14a
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1028c0de
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1028c1cb
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1028c21d
push edi
push eax
call fcn.10289b77
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1028c1eb
call fcn.10289b3d
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1028c21c
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1028c0de
add esp, 0x20
test eax, eax
jne 0x1028c20a
push edi
call fcn.10289b3d
jmp 0x1028c212
push ebx
call fcn.10289b3d
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1028c48b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10294550
push 0x10294548
push str.FlsAlloc
push 0x1f
call fcn.1028c3a7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1028c4bf
push dword [ebp + 8]
mov ecx, esi
call dword [0x1029213c]
call esi
jmp 0x1028c4c5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x1028c509
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10294560
push 0x10294558
push str.FlsGetValue
push 0x21
call fcn.1028c3a7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1028c540
push dword [ebp + 8]
mov ecx, esi
call dword [0x1029213c]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x1028c548
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x10294568
push 0x10294560
push str.FlsSetValue
push 0x22
call fcn.1028c3a7
mov esi, eax
add esp, 0x10
test esi, esi
je 0x1028c582
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x1029213c]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x102915f0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x1029161d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x1029161d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401000
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3f4
mov eax, dword [0x417008]
xor eax, esp
mov dword [esp + 0x3f0], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.USER32.dll_LoadStringW]
push 0x64
push 0x419098
push 0x67
push esi
call edi
push 0x64
push 0x4192f0
push 0x6d
push esi
call edi
xor ebx, ebx
push ebx
push 0x4192f0
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, eax
cmp edi, ebx
je 0x40107b
push 1
push edi
call dword [sym.imp.USER32.dll_ShowWindow]
push edi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f0]
xor ecx, esp
call fcn.004048cc
mov esp, ebp
pop ebp
ret 0x10
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
mov eax, esi
call fcn.004011f0
push ebx
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
mov edi, 1
push ecx
mov dword [esp + 0x20], edi
mov dword [esp + 0x24], ebx
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
call sub.gdiplus.dll_GdiplusStartup
test eax, eax
je 0x4010dd
push 0x10
push 0x419098
push str.Error_loading_GDI_library_
push ebx
call dword [sym.imp.USER32.dll_MessageBoxW]
mov eax, edi
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x3f0]
xor ecx, esp
call fcn.004048cc
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [ebp + 0x14]
push edx
mov eax, esi
call fcn.00401280
add esp, 4
test eax, eax
je 0x401062
push 0x6d
push esi
call dword [sym.imp.USER32.dll_LoadAcceleratorsW]
push 0x3b4
mov esi, eax
lea eax, [esp + 0x48]
push ebx
push eax
call fcn.004077e0
mov edx, dword [0x4193b8]
mov ecx, dword [0x419090]
add esp, 0xc
push 0x6c
push edx
mov dword [esp + 0x48], 0x3b8
mov dword [esp + 0x4c], ecx
mov dword [esp + 0x50], edi
mov dword [esp + 0x54], 7
mov dword [esp + 0x58], 0x401
call dword [sym.imp.USER32.dll_LoadIconW]
push 0x100
mov dword [esp + 0x58], eax
push 0x419098
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
lea ecx, [esp + 0x40]
push ecx
push ebx
mov ebx, dword [sym.imp.SHELL32.dll_Shell_NotifyIconW]
call ebx
mov edi, dword [sym.imp.USER32.dll_GetMessageW]
push 0
push 0
push 0
lea edx, [esp + 0x30]
push edx
call edi
test eax, eax
je 0x4011c0
mov ecx, dword [esp + 0x24]
lea eax, [esp + 0x24]
push eax
push esi
push ecx
call dword [sym.imp.USER32.dll_TranslateAcceleratorW]
test eax, eax
jne 0x4011af
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.USER32.dll_TranslateMessage]
lea eax, [esp + 0x24]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageW]
push 0
push 0
push 0
lea ecx, [esp + 0x30]
push ecx
call edi
test eax, eax
jne 0x401184
lea edx, [esp + 0x40]
push edx
push 2
call ebx
mov eax, dword [esp + 0x10]
push eax
call sub.gdiplus.dll_GdiplusShutdown
mov ecx, dword [esp + 0x3fc]
mov eax, dword [esp + 0x2c]
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.004048cc
mov esp, ebp
pop ebp
ret 0x10
Function at 0x402540
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x58
push ebp
xor eax, eax
push esi
mov dword [esp + 0x10], eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
push edi
lea eax, [esp + 0x20]
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
mov esi, dword [sym.imp.USER32.dll_GetWindowRect]
push eax
call esi
push 0
push str.Shell_TrayWnd
call dword [sym.imp.USER32.dll_FindWindowW]
lea ecx, [esp + 0x10]
push ecx
push eax
call esi
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x24]
push eax
mov ecx, eax
push ecx
call dword [sym.imp.USER32.dll_SubtractRect]
mov ebp, dword [esp + 0x28]
mov edi, dword [esp + 0x2c]
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov eax, dword [ebx + 0x240]
mov esi, ebp
lea edx, [esp + 0x34]
sub esi, eax
sub edi, eax
mov eax, dword [ebx]
push edx
push eax
mov dword [esp + 0x3c], 0x2c
mov dword [esp + 0x40], 1
call dword [sym.imp.USER32.dll_GetWindowPlacement]
mov eax, dword [ebx]
mov ecx, dword [esp + 0x2c]
lea edx, [esp + 0x34]
push edx
push eax
mov dword [esp + 0x58], esi
mov dword [esp + 0x5c], edi
mov dword [esp + 0x60], ebp
mov dword [esp + 0x64], ecx
call dword [sym.imp.USER32.dll_SetWindowPlacement]
pop edi
pop esi
pop ebp
add esp, 0x58
ret
Function at 0x4044a0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x258
mov eax, dword [0x417008]
xor eax, esp
mov dword [esp + 0x254], eax
mov eax, dword [esp + 0x25c]
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x18]
push ecx
lea edx, [esp + 0x60]
push edx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x104
call dword [sym.imp.KERNEL32.dll_GetComputerNameW]
lea eax, [esp + 0x5c]
push eax
mov word [esp + 0x5c], 0
call dword [sym.imp.KERNEL32.dll_lstrlenW]
cmp eax, 0xe
jl 0x404506
push 0xe
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x44]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpynW]
jmp 0x404541
xor edx, edx
lea ebx, [eax + eax]
lea edi, [esp + 0x3c]
nop
xor ecx, ecx
test eax, eax
jle 0x404538
mov esi, edi
lea ebp, [ecx + edx]
cmp ebp, 0xe
jge 0x40452e
mov bp, word [esp + ecx*2 + 0x5c]
add bp, dx
add bp, cx
mov word [esi], bp
add ecx, 1
add esi, 2
cmp ecx, eax
jl 0x404518
add edx, eax
add edi, ebx
cmp edx, 0xe
jl 0x404510
mov byte [esp + 0x38], 0
xor edx, edx
jmp 0x404550
mov al, byte [esp + edx + 0x3d]
add al, byte [esp + edx + 0x3c]
mov cl, al
shr al, 4
movsx eax, al
add eax, 0xffffffff
and cl, 0xf
cmp eax, 0xe
ja case.default.0x40456b
jmp dword [eax*4 + 0x4046b8]
mov al, 0x66
jmp 0x4045b0
mov al, 0x65
jmp 0x4045b0
mov al, 0x64
jmp 0x4045b0
mov al, 0x63
jmp 0x4045b0
mov al, 0x62
jmp 0x4045b0
mov al, 0x61
jmp 0x4045b0
mov al, 0x39
jmp 0x4045b0
mov al, 0x38
jmp 0x4045b0
mov al, 0x37
jmp 0x4045b0
mov al, 0x36
jmp 0x4045b0
mov al, 0x35
jmp 0x4045b0
mov al, 0x34
jmp 0x4045b0
mov al, 0x33
jmp 0x4045b0
mov al, 0x32
jmp 0x4045b0
mov al, 0x31
jmp 0x4045b0
mov al, 0x30
mov byte [esp + edx + 0x1c], al
movsx eax, cl
add eax, 0xffffffff
cmp eax, 0xe
ja case.default.0x4045bf
jmp dword [eax*4 + 0x4046f4]
mov al, 0x66
jmp 0x404604
mov al, 0x65
jmp 0x404604
mov al, 0x64
jmp 0x404604
mov al, 0x63
jmp 0x404604
mov al, 0x62
jmp 0x404604
mov al, 0x61
jmp 0x404604
mov al, 0x39
jmp 0x404604
mov al, 0x38
jmp 0x404604
mov al, 0x37
jmp 0x404604
mov al, 0x36
jmp 0x404604
mov al, 0x35
jmp 0x404604
mov al, 0x34
jmp 0x404604
mov al, 0x33
jmp 0x404604
mov al, 0x32
jmp 0x404604
mov al, 0x31
jmp 0x404604
mov al, 0x30
mov byte [esp + edx + 0x1d], al
add edx, 2
cmp edx, 0x1c
jl 0x404550
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x1c]
push ecx
mov byte [eax], 0
xor esi, esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
test eax, eax
jle 0x40469f
mov ebp, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea ebx, [esp + 0x1c]
sub ebx, 1
lea esp, [esp]
mov ecx, dword [esp + 0x14]
mov dl, byte [ebx + esi + 1]
lea eax, [esp + 0x10]
lea edi, [esi + 1]
push eax
push ecx
mov byte [esp + 0x18], dl
mov byte [esp + 0x19], 0
call ebp
test esi, esi
je 0x40468e
lea edx, [esp + 0x1c]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
sub eax, 1
cmp esi, eax
je 0x40468e
mov eax, edi
and eax, 0x80000003
jns 0x404680
dec eax
or eax, 0xfffffffc
inc eax
jne 0x40468e
mov ecx, dword [esp + 0x14]
push 0x414058
push ecx
call ebp
lea edx, [esp + 0x1c]
push edx
mov esi, edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
cmp esi, eax
jl 0x404640
mov ecx, dword [esp + 0x264]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.004048cc
add esp, 0x258
ret
Function at 0x4048cc
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x417008]
jne 0x4048d6
repz ret
jmp fcn.00404c15

Function at 0x408b5c
Capabilities:
Contain obfuscated stackstrings

Disassembly:
imul ecx, dword [ebp - 0x8c]
mov dword [ebp + 0xc], ecx
mov byte [ebp - 0x40], bl
mov byte [ebp - 0x3f], bl
mov byte [ebp - 0x3e], 0xec
mov byte [ebp - 0x3d], bl
mov byte [ebp - 0x3c], 0x45
mov byte [ebp - 0x3b], 0x7a
mov byte [ebp - 0x3a], 0x61
mov byte [ebp - 0x39], 0x67
mov byte [ebp - 0x38], 0x66
mov byte [ebp - 0x37], 0x72
mov byte [ebp - 0x36], 0x7f
mov byte [ebp - 0x35], 0x52
push edx

Function at 0x4090b0
Capabilities:
Contain obfuscated stackstrings

Disassembly:
call dword [ecx - 0x3a]
test dword [ebx + 0x75fffffc], esi

Function at 0x409573
Capabilities:
Contain obfuscated stackstrings

Disassembly:
and byte [ebp - 0x6b7], 0
mov byte [ebp - 0x6b6], 0x9b
and byte [ebp - 0x6b5], 0
mov byte [ebp - 0x6b4], 0x33
mov byte [ebp - 0x6b3], 0x16
mov byte [ebp - 0x6b2], 0xd
invalid

Function at 0x40a215
Capabilities:
Contain obfuscated stackstrings

Disassembly:
je 0x40a914
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x40a3e9
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
mov byte [ebp - 0x76f], 0x96
mov byte [ebp - 0x76e], 0xdb
mov byte [ebp - 0x76d], 0xbd
mov byte [ebp - 0x76c], 0x92
mov byte [ebp - 0x76b], 0x97
mov byte [ebp - 0x76a], 0x9e
mov byte [ebp - 0x769], 0x88
mov byte [ebp - 0x768], 0xa7
mov byte [ebp - 0x767], 0xb8
mov byte [ebp - 0x766], 0x94
mov byte [ebp - 0x765], 0x96
mov byte [ebp - 0x764], 0x96
mov byte [ebp - 0x763], 0x94
mov byte [ebp - 0x762], 0x95
mov byte [ebp - 0x761], 0xdb
mov byte [ebp - 0x760], 0xbd
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
invalid
invalid
movsd dword es:[edi], dword [esi]
clc
invalid

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

Disassembly:
pushal
nop
mov eax, section..text
nop
mov ebx, 0x40de38
nop
mov ecx, 0x1fe31fbe
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43304e
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x433024
nop
mov eax, section..data
nop
nop
mov ebx, 0x4304d8
nop
mov ecx, 0x76d9782b
nop
test eax, eax
nop
nop
nop
nop
nop
je 0x433084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
add eax, 4
cmp eax, ebx
nop
nop
nop
nop
nop
nop
jne 0x43306c
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x4013e0
Capabilities:
Terminate process

Disassembly:
cmp dword [0x4b0a44], 0
je 0x401456
cmp dword [0x4b0a50], 0
je 0x40141c
mov eax, dword [0x4b0a48]
push 0x4b0ca0
mov ecx, dword [eax]
push eax
call dword [ecx + 0x10]
mov ecx, dword [0x4b0a50]
test ecx, ecx
je 0x40141c
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4b0a50], 0
mov ecx, dword [0x4b0a54]
test ecx, ecx
je 0x401436
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4b0a54], 0
mov ecx, dword [0x4b0a48]
test ecx, ecx
je 0x401450
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [0x4b0a48], 0
call dword [sym.imp.ole32.dll_CoUninitialize]
push edi
push str.Album_Player
push str.AP2106
call dword [sym.imp.USER32.dll_FindWindowW]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
jne 0x401565
cmp dword [0x4af74c], 0
push esi
je 0x401486
call fcn.00406b80
jmp 0x4014ef
push dword [0x4b0a5c]
mov esi, dword [sym.imp.KERNEL32.dll_ResetEvent]
call esi
push dword [0x4b0a64]
call esi
mov eax, dword [0x4a500c]
mov dword [eax], 0x50f
mov eax, dword [0x4a500c]
mov dword [eax + 4], 0
mov eax, dword [0x4a500c]
mov dword [eax + 0x10], 0
mov eax, dword [0x4a500c]
mov dword [eax + 0x14], 0
mov eax, dword [0x4a500c]
mov dword [eax + 8], 0
mov eax, dword [0x4a500c]
mov dword [eax + 0xc], 0
push dword [0x4b0a5c]
call dword [sym.imp.KERNEL32.dll_SetEvent]
mov eax, dword [0x4b0a3c]
mov esi, dword [sym.imp.KERNEL32.dll_TerminateProcess]
test eax, eax
je 0x401520
push 0x3e8
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401520
push 0
push dword [0x4b0a3c]
call esi
push dword [0x4b0a3c]
call edi
push 0x3e8
push dword [0x4b0a38]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x401547
push 0
push dword [0x4b0a38]
call esi
push dword [0x4b0a38]
call edi
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push str.approxy.exe
push str.ap2decoder.exe
call fcn.00406120
add esp, 8
pop esi
push dword [0x4a500c]
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push dword [0x4b0a58]
call edi
push dword [0x4b0a60]
call edi
push dword [0x4b0a5c]
call edi
push dword [0x4b0a64]
call edi
push dword [0x4b0a68]
call edi
pop edi
ret
Function at 0x4023f0
Capabilities:
Check if file exists
Write file on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x45d3cb
push eax
mov dword fs:[0], esp
sub esp, 0x94
push esi
mov esi, dword [ebp + 8]
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x402563
cmp byte [0x4b16c4], 0x73
mov eax, 0x4b16c0
jne 0x40243e
mov dword [0x4b16c1], 0x70747468
mov eax, 0x4b16c1
push str.HTTP_1.0
push 0x461990
push eax
lea ecx, [ebp - 0xa0]
call fcn.0042ba20
push 1
push 0
lea ecx, [ebp - 0x5c]
mov dword [ebp - 4], 0
call fcn.0042b5f0
push 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xa0]
push eax
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 1
call fcn.0042f4c0
test eax, eax
je 0x4024b2
push eax
call fcn.00427b50
add esp, 4
lea ecx, [ebp - 0x14]
push eax
call fcn.00428ee0
mov eax, dword [ebp - 0x14]
test eax, eax
je 0x402545
add eax, 0xfffffff8
push eax
call fcn.00447dbf
add esp, 4
jmp 0x402545
mov ecx, dword [ebp - 0x10]
push edi
mov edi, dword [ecx + 0x14]
test edi, edi
jne 0x4024c5
mov eax, dword [ecx]
push 1
call dword [eax]
jmp 0x402544
lea ecx, [ebp - 0x28]
call fcn.00428b80
lea eax, [ebp - 0x28]
push eax
mov ecx, edi
mov byte [ebp - 4], 2
call fcn.0042d910
test eax, eax
jne 0x40252b
push eax
push 0x80
push 2
push eax
push eax
push 0x40000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x40252b
push 0
push 0
push 0
push esi
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
push esi
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
lea eax, [ebp - 0x14]
push eax
push dword [ebp - 0x18]
push dword [ebp - 0x20]
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x402538
mov eax, dword [ecx]
push 1
call dword [eax]
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 1
call fcn.00428bb0
pop edi
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], 0
call fcn.0042be40
lea ecx, [ebp - 0xa0]
mov dword [ebp - 4], 0xffffffff
call fcn.0042c0d0
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x406060
Capabilities:
Enumerate files on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
lea edx, [ebp - 0x450]
sub esp, 0x450
sub edx, eax
movzx ecx, word [eax]
mov word [edx + eax], cx
lea eax, [eax + 2]
test cx, cx
jne 0x406074
lea ecx, [ebp - 0x450]
add ecx, 0xfffffffe
lea esp, [esp]
mov ax, word [ecx + 2]
lea ecx, [ecx + 2]
test ax, ax
jne 0x406090
mov eax, dword [0x461930]
mov dword [ecx], eax
mov eax, dword [0x461934]
push esi
mov dword [ecx + 4], eax
push edi
lea eax, [ebp - 0x250]
push eax
lea eax, [ebp - 0x450]
push eax
xor esi, esi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x406111
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
mov eax, dword [ebp - 0x224]
add eax, 0xffffffd0
cmp ax, 9
ja 0x4060fa
mov eax, dword [ebp - 0x222]
add eax, 0xffffffd0
cmp ax, 9
ja 0x4060fa
cmp word [ebp - 0x220], 0x20
jne 0x4060fa
inc esi
lea eax, [ebp - 0x250]
push eax
push edi
call ebx
cmp eax, 1
je 0x4060d1
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x406120
Capabilities:
Enumerate processes
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x22c
push ebx
push edi
push 0
push 0xf
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
lea eax, [ebp - 0x22c]
push eax
push edi
mov dword [ebp - 0x22c], 0x22c
call sub.KERNEL32.dll_Process32FirstW
mov ebx, dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x4061c0
push esi
jmp 0x406160
push dword [ebp + 8]
lea eax, [ebp - 0x208]
push eax
call fcn.004485cc
add esp, 8
test eax, eax
je 0x40618c
push dword [ebp + 0xc]
lea eax, [ebp - 0x208]
push eax
call fcn.004485cc
add esp, 8
test eax, eax
jne 0x4061ae
push dword [ebp - 0x224]
push 0
push 1
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
test esi, esi
je 0x4061ae
push 0
push esi
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
push esi
call ebx
lea eax, [ebp - 0x22c]
push eax
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x406160
pop esi
push edi
call ebx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x406350
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0x4b0a7c
push 0
mov dword [0x4b0a88], 7
call dword [sym.imp.SHELL32.dll_Shell_NotifyIconA]
push 0
push dword [ebp + 8]
call dword [sym.imp.USER32.dll_ShowWindow]
pop ebp
ret