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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
mov edi, edx
push edi
push 0
push dword [section..data]
mov dword [ebp - 8], edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, edi
shr ebx, 2
mov dword [ebp - 4], eax
test ebx, ebx
je 0x4016d4
mov edi, esi
mov ecx, eax
sub edi, eax
mov edx, ebx
mov eax, dword [edi + ecx]
mov dword [ecx], eax
lea ecx, [ecx + 4]
dec edx
jne 0x4016c3
mov edi, dword [ebp - 8]
mov eax, dword [ebp - 4]
shl ebx, 2
cmp ebx, edi
jae 0x4016ef
mov edx, edi
sub esi, eax
lea ecx, [ebx + eax]
sub edx, ebx
mov al, byte [ecx + esi]
mov byte [ecx], al
lea ecx, [ecx + 1]
dec edx
jne 0x4016e4
mov eax, dword [ebp - 4]
lea esi, [edi - 8]
lea ecx, [eax - 8]
add ecx, edi
mov ebx, esi
mov edx, dword [ecx + 4]
mov dword [ebp - 0x10], ecx
mov ecx, dword [ecx]
shr ebx, 2
and esi, 3
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], ecx
test ebx, ebx
je 0x401731
lea ecx, [ebx + edx]
mov edx, dword [eax]
movzx ecx, cl
ror edx, cl
mov ecx, dword [ebp - 8]
add eax, 4
xor edx, ecx
sub edx, ebx
mov dword [eax - 4], edx
mov edx, dword [ebp - 0xc]
dec ebx
jne 0x401714
test esi, esi
je 0x40173d
xor byte [eax], cl
lea eax, [eax + 1]
dec esi
jne 0x401735
mov edi, dword [ebp - 0x10]
mov edi, dword [edi - 4]
push edi
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapAlloc]
mov ebx, dword [ebp - 4]
mov esi, eax
mov edx, esi
mov ecx, ebx
call section..text
push ebx
push 0
push dword [section..data]
call dword [sym.imp.KERNEL32.dll_HeapFree]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
mov dword [eax], edi
pop edi
mov dword [ecx], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x42e000
Capabilities:
Encode data using xor

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..reloc
nop
nop
nop
push 4
nop
nop
nop
nop
nop
pop edi
nop
cmp eax, 0
nop
nop
nop
je 0x42e072
nop
nop
nop
nop
nop
mov ebx, 0x407ef8
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
nop
nop
div edi
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x189d1489
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
nop
loop 0x42e060
nop
mov eax, section..data
nop
nop
nop
cmp eax, 0
nop
nop
nop
je 0x42e0d2
nop
mov ebx, 0x42cd70
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
nop
nop
sub ecx, eax
nop
xor edx, edx
nop
nop
nop
nop
nop
nop
push eax
nop
nop
mov eax, ecx
nop
nop
nop
nop
nop
div edi
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
nop
nop
nop
nop
pop eax
nop
nop
mov esi, 0x2fc905ba
nop
xor dword [eax], esi
nop
nop
nop
nop
nop
nop
nop
nop
add eax, edi
nop
nop
nop
nop
loop 0x42e0c0
nop
nop
nop
nop
nop
popal
jmp 0x401219
Function at 0x401000
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x41fb3c
mov eax, dword fs:[0]
push eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov esi, dword [esp + 0x24]
xor ebx, ebx
lea edi, [esi + 0x10]
mov ecx, edi
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov byte [esi + 8], bl
mov byte [esi + 9], bl
mov dword [esi + 0xc], ebx
call sub.mfc90u.dll_CStringArray::CStringArray
mov dword [esp + 0x1c], ebx
lea ebp, [esi + 0x28]
mov ecx, ebp
mov byte [esi + 0x24], bl
mov byte [esi + 0x25], bl
call dword [0x42497c]
lea ecx, [esi + 0x2c]
call dword [0x42497c]
lea ecx, [esi + 0x30]
call dword [0x42497c]
mov byte [esp + 0x1c], 3
lea ecx, [esi + 0x3c]
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
call sub.mfc90u.dll_CStringArray::CStringArray
mov byte [esp + 0x1c], 4
lea ecx, [esi + 0x58]
mov dword [esi + 0x50], ebx
mov dword [esi + 0x54], ebx
call sub.mfc90u.dll_CStringArray::CStringArray
mov byte [esp + 0x1c], 5
lea ecx, [esi + 0x74]
mov dword [esi + 0x6c], ebx
mov dword [esi + 0x70], ebx
call sub.mfc90u.dll_CStringArray::CStringArray
mov byte [esp + 0x1c], 6
lea ecx, [esi + 0x90]
mov dword [esi + 0x88], ebx
mov dword [esi + 0x8c], ebx
call sub.mfc90u.dll_CStringArray::CStringArray
mov byte [esp + 0x1c], 7
lea ecx, [esi + 0xac]
mov dword [esi + 0xa4], ebx
mov dword [esi + 0xa8], ebx
call sub.mfc90u.dll_CStringArray::CStringArray
push 0xffffffffffffffff
mov byte [esp + 0x20], 8
push ebx
mov ecx, edi
mov dword [esi + 0xc0], ebx
call sub.mfc90u.dll_CStringArray::SetSize
mov ecx, ebp
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea ecx, [esi + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
lea ecx, [esi + 0x30]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::Empty]
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x3c]
call sub.mfc90u.dll_CStringArray::SetSize
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x58]
call sub.mfc90u.dll_CStringArray::SetSize
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x74]
call sub.mfc90u.dll_CStringArray::SetSize
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0x90]
call sub.mfc90u.dll_CStringArray::SetSize
push 0xffffffffffffffff
push ebx
lea ecx, [esi + 0xac]
call sub.mfc90u.dll_CStringArray::SetSize
mov eax, esi
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0xc
ret 4
Function at 0x4024a0
Capabilities:
Parse pe header

Disassembly:
push 0xffffffffffffffff
push 0x41f9e3
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, dword [esp + 0x24]
xor esi, esi
mov dword [esp + 0x10], esi
push 0x42508c
mov ecx, ebx
mov dword [esp + 0x20], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea ecx, [esp + 0x28]
mov dword [esp + 0x10], 1
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Trim]
push eax
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
mov eax, dword [esp + 0x28]
mov edi, dword [eax - 0xc]
cmp edi, esi
jle 0x402748
nop
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
movzx eax, ax
cmp ax, 0x30
je 0x402736
cmp ax, 0x31
je 0x402736
cmp ax, 0x32
je 0x402736
cmp ax, 0x33
je 0x402736
cmp ax, 0x34
je 0x402736
cmp ax, 0x35
je 0x402736
cmp ax, 0x36
je 0x402736
cmp ax, 0x37
je 0x402736
cmp ax, 0x38
je 0x402736
cmp ax, 0x39
je 0x402736
cmp ax, 0x41
je 0x402736
cmp ax, 0x42
je 0x402736
cmp ax, 0x43
je 0x402736
cmp ax, 0x44
je 0x402736
cmp ax, 0x45
je 0x402736
cmp ax, 0x46
je 0x402736
cmp ax, 0x47
je 0x402736
cmp ax, 0x48
je 0x402736
cmp ax, 0x49
je 0x402736
cmp ax, 0x4a
je 0x402736
cmp ax, 0x4b
je 0x402736
cmp ax, 0x4c
je 0x402736
cmp ax, 0x4d
je 0x402736
cmp ax, 0x4e
je 0x402736
cmp ax, 0x4f
je 0x402736
cmp ax, 0x50
je 0x402736
cmp ax, 0x51
je 0x402736
cmp ax, 0x52
je 0x402736
cmp ax, 0x53
je 0x402736
cmp ax, 0x54
je 0x402736
cmp ax, 0x55
je 0x402736
cmp ax, 0x56
je 0x402736
cmp ax, 0x57
je 0x402736
cmp ax, 0x58
je 0x402736
cmp ax, 0x59
je 0x402736
cmp ax, 0x5a
je 0x402736
cmp ax, 0x61
je 0x402736
cmp ax, 0x62
je 0x402736
cmp ax, 0x63
je 0x402736
cmp ax, 0x64
je 0x402736
cmp ax, 0x65
je 0x402736
cmp ax, 0x66
je 0x402736
cmp ax, 0x67
je 0x402736
cmp ax, 0x68
je 0x402736
cmp ax, 0x69
je 0x402736
cmp ax, 0x6a
je 0x402736
cmp ax, 0x6b
je 0x402736
cmp ax, 0x6c
je 0x402736
cmp ax, 0x6d
je 0x402736
cmp ax, 0x6e
je 0x402736
cmp ax, 0x6f
je 0x402736
cmp ax, 0x70
je 0x402736
cmp ax, 0x71
je 0x402736
cmp ax, 0x72
je 0x402736
cmp ax, 0x73
je 0x402736
cmp ax, 0x74
je 0x402736
cmp ax, 0x75
je 0x402736
cmp ax, 0x76
je 0x402736
cmp ax, 0x77
je 0x402736
cmp ax, 0x78
je 0x402736
cmp ax, 0x79
je 0x402736
cmp ax, 0x7a
jne 0x40273f
push eax
mov ecx, ebx
call dword [0x4247a0]
inc esi
cmp esi, edi
jl 0x402510
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov eax, ebx
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x403450
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
push 0x41f959
mov eax, dword fs:[0]
push eax
push ebx
push esi
push edi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov dword [esp + 0x18], 0
mov eax, dword [esp + 0x28]
mov edi, dword [eax - 0xc]
test edi, edi
jne 0x4034a7
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor al, al
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
xor bl, bl
xor esi, esi
test edi, edi
jle 0x4034c2
nop
push esi
lea ecx, [esp + 0x2c]
call dword [sym.imp.mfc90u.dll_ATL::CSimpleStringT_wchar_t_1_::operator__]
inc esi
xor bl, al
cmp esi, edi
jl 0x4034b0
mov edx, dword [esp + 0x24]
xor eax, eax
test edx, edx
jbe 0x4034d8
mov ecx, dword [esp + 0x20]
xor byte [eax + ecx], bl
inc eax
cmp eax, edx
jb 0x4034d0
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov al, 1
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0xc
ret 0xc
Function at 0x405560
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x420a59
mov eax, dword fs:[0]
push eax
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
lea ecx, [esp + 0x14]
mov dword [esp + 0xc], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimLeft]
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::TrimRight]
mov eax, dword [esp + 0x14]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4055c1
mov edx, dword [0x4407e8]
lea ecx, [esp + 0x14]
push ecx
push edx
mov ecx, 0x4407e0
call sub.mfc90u.dll_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x14]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret
Function at 0x405ec0
Capabilities:
Get file size

Disassembly:
push ecx
push esi
push edi
push 0
push 0x80
push 3
push 0
push 7
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x405f35
lea ecx, [esp + 8]
push ecx
push esi
mov dword [esp + 0x10], 0
call dword [sym.imp.KERNEL32.dll_GetFileSize]
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp edi, 0xffffffff
je 0x405f35
mov edx, dword [esp + 8]
fild dword [esp + 8]
test edx, edx
jge 0x405f17
fadd qword [0x42d920]
fmul qword [0x42d920]
mov dword [esp + 8], edi
fild dword [esp + 8]
test edi, edi
jge 0x405f2f
fadd qword [0x42d920]
pop edi
faddp st(1)
pop esi
pop ecx
ret
fldz
pop edi
pop esi
pop ecx
ret
Function at 0x407ed0
Capabilities:
Delete file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x421b4b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebp
push esi
push edi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x28]
mov eax, dword [ebp]
push 0x80
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x407ff1
mov eax, dword [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x407fde
lea ecx, [esp + 0x28]
call dword [0x42497c]
push 0x42508c
push str.IDS_STR_LIST_FILE
lea eax, [esp + 0x1c]
mov dword [esp + 0x28], 0
mov esi, dword [sym.imp.ASOHelper.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CSystweakApp::LoadStringW_wchar_t_const___wchar_t_const__]
push eax
mov ecx, 0x440670
call esi
mov edi, eax
push 0x42508c
push str.IDS_UNABLE_TODELETE
lea ecx, [esp + 0x18]
push ecx
mov ecx, 0x440670
mov byte [esp + 0x2c], 1
call esi
mov byte [esp + 0x20], 2
mov edx, dword [edi]
mov ecx, dword [ebp]
mov eax, dword [eax]
push edx
push ecx
push eax
lea edx, [esp + 0x34]
push edx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::Format]
add esp, 0x10
lea ecx, [esp + 0x10]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
lea ecx, [esp + 0x14]
mov byte [esp + 0x20], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
mov esi, dword [esp + 0x28]
call fcn.00407cc0
lea eax, [esp + 0x28]
push eax
mov ecx, 0x440858
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_3]
lea ecx, [esp + 0x28]
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_clas]
xor eax, eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
mov ecx, dword [ebp]
push 0
push ecx
push 0x3005
push 4
call dword [sym.imp.SHELL32.dll_SHChangeNotify]
mov eax, 1
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
Function at 0x408010
Capabilities:
Check if file exists
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1008
call fcn.0041eaa0
mov eax, dword [0x436028]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x1002]
push ecx
mov word [ebp - 0x1004], ax
call sub.MSVCR90.dll_memset
xor edx, edx
push 0x7fe
push edx
lea eax, [ebp - 0x802]
push eax
mov word [ebp - 0x804], dx
call sub.MSVCR90.dll_memset
add esp, 0x18
lea ecx, [ebp - 0x804]
push ecx
push 0x400
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
push str.SYSTWEAK_ENCRYPT
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jg 0x4080b9
lea eax, [esi + esi]
call fcn.0041ead0
mov edi, esp
test edi, edi
je 0x4080b9
push esi
push edi
push 0xffffffffffffffff
xor edx, edx
push str.SYSTWEAK_ENCRYPT
push edx
push 3
mov word [edi], dx
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov esi, eax
neg esi
sbb esi, esi
and esi, edi
jmp 0x4080bb
xor esi, esi
lea eax, [ebp - 0x1004]
push eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
push eax
push esi
lea ecx, [ebp - 0x804]
push ecx
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp - 0x804]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4080e0
sub eax, edx
sar eax, 1
jne 0x4080f5
xor eax, eax
jmp 0x408136
lea eax, [ebp - 0x1004]
lea edx, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408100
sub eax, edx
sar eax, 1
je 0x4080f1
lea edx, [ebp - 0x804]
push edx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4080f1
lea eax, [ebp - 0x1004]
push eax
mov ecx, ebx
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::operator_2]
mov eax, 1
lea esp, [ebp - 0x1010]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0041e2f2
mov esp, ebp
pop ebp
ret
Function at 0x408af0
Capabilities:
Hash data using sha1

Disassembly:
sub esp, 0xfc
mov eax, dword [0x436028]
xor eax, esp
mov dword [esp + 0xf8], eax
mov eax, dword [esp + 0x104]
push ebp
mov ebp, dword [esp + 0x104]
push esi
push edi
mov dword [esp + 0xc], eax
xor eax, eax
push 0x48
mov esi, ecx
push eax
lea ecx, [esp + 0xb0]
push ecx
mov byte [esp + 0xfc], 0
mov dword [esp + 0xfd], eax
mov dword [esp + 0x101], eax
mov dword [esp + 0x105], eax
mov dword [esp + 0x109], eax
mov word [esp + 0x10d], ax
mov byte [esp + 0x10f], al
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0xac], eax
mov dword [esp + 0xb0], eax
call sub.MSVCR90.dll_memset
mov eax, esi
add esp, 0xc
mov dword [esp + 0x94], 0x67452301
mov dword [esp + 0x98], 0xefcdab89
mov dword [esp + 0x9c], 0x98badcfe
mov dword [esp + 0xa0], 0x10325476
mov dword [esp + 0xa4], 0xc3d2e1f0
mov dword [esp + 0xac], 0
mov dword [esp + 0xa8], 0
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x408bd1
sub eax, edx
sar eax, 1
push 3
mov edi, eax
lea edx, [esp + 0x18]
push esi
lea eax, [esp + 0x18]
mov dword [esp + 0x18], edx
call fcn.00403620
mov eax, dword [esp + 0x10]
push eax
mov eax, edi
lea esi, [esp + 0x98]
call fcn.0040b550
mov eax, dword [esp + 0x14]
lea ecx, [esp + 0x18]
add esp, 4
cmp eax, ecx
je 0x408c22
push eax
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea ecx, [esp + 0x94]
lea edi, [esp + 0xf0]
call fcn.0040b5f0
mov edx, dword [esp + 0xf0]
mov eax, dword [esp + 0xf4]
mov ecx, dword [esp + 0xf8]
mov dword [ebp], edx
mov edx, dword [esp + 0xfc]
mov dword [ebp + 4], eax
mov eax, dword [esp + 0x100]
mov dword [ebp + 8], ecx
mov ecx, dword [esp + 0xc]
mov dword [ebp + 0xc], edx
pop edi
mov dword [ebp + 0x10], eax
mov dword [ecx], 0x14
mov ecx, dword [esp + 0x100]
pop esi
pop ebp
xor ecx, esp
mov al, 1
call fcn.0041e2f2
add esp, 0xfc
ret 8
Function at 0x409c50
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x421a43
mov eax, dword fs:[0]
push eax
sub esp, 0x90
push ebx
push ebp
push esi
mov eax, dword [0x436028]
xor eax, esp
push eax
lea eax, [esp + 0xa0]
mov dword fs:[0], eax
push 0x1000
call dword [sym.imp.MSVCR90.dll_malloc]
add esp, 4
push 0x1000
mov esi, eax
push 0
push esi
call sub.MSVCR90.dll_memset
add esp, 0xc
push 0x10
push 0x1000
push esi
lea ecx, [esp + 0x20]
call sub.mfc90u.dll_CMemFile::CMemFile
push 1
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x42672c
mov dword [esp + 0xb4], 0
call dword [sym.imp.mfc90u.dll_ATL::CStringT_wchar_t_class_StrTraitMFC_DLL_wchar_t_class_ATL::ChTraitsCRT_wchar_t_____::CStringT_wchar_t_class]
lea eax, [esp + 0x1c]
push eax
lea esi, [esp + 0x48]
call fcn.00402cf0
mov byte [esp + 0xa8], 1
mov edx, dword [0x4407e0]
mov eax, dword [edx + 8]
lea ecx, [esp + 0x40]
push ecx
mov ecx, 0x4407e0
call eax
mov ecx, esi
call fcn.004031d0
lea ecx, [esp + 0x14]
call sub.mfc90u.dll_CMemFile::GetLength
lea ecx, [esp + 0x14]
mov ebp, eax
call sub.mfc90u.dll_CMemFile::Detach
mov ecx, dword [edi + 0x10]
push ebp
mov esi, eax
push esi
push 3
push 0
push str.Regfiles
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ebx, eax
mov dword [edi + 4], ebx
mov dword [edi + 0xc], ebp
mov dword [edi + 8], 3
test esi, esi
je 0x409d46
push esi
call dword [sym.imp.MSVCR90.dll_free]
add esp, 4
lea ecx, [esp + 0x3c]
mov byte [esp + 0xa8], 0
call fcn.004030c0
lea ecx, [esp + 0x14]
mov dword [esp + 0xa8], 0xffffffff
call fcn.0041ddec
test ebx, ebx
jne 0x409d74
lea eax, [ebx + 1]
jmp 0x409d76
xor eax, eax
mov ecx, dword [esp + 0xa0]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebp
pop ebx
add esp, 0x9c
ret

Function at 0x409d90
Capabilities:
Encrypt data using blowfish

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.MSVCR90.dll_memmove]
push 0x48
mov esi, eax
push 0x43a418
push esi
mov dword [esi + 0x1048], 0
call edi
push 0x1000
push 0x43a460
add esi, 0x48
push esi
call edi
add esp, 0x18
pop edi
pop esi
ret

Function at 0x409ec0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
mov edi, edx
mov dword [esp + 0x10], 0x10
lea ecx, [ecx]
xor ecx, dword [edi]
add edi, 4
mov eax, ecx
shr eax, 8
movzx ebx, al
movzx ebp, cl
shr eax, 8
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [edx + ecx*4 + 0x48]
movzx eax, al
add ecx, dword [edx + eax*4 + 0x448]
movzx eax, word [esp + 0x14]
xor ecx, dword [edx + eax*4 + 0x848]
movzx eax, bp
add ecx, dword [edx + eax*4 + 0xc48]
xor ecx, esi
sub dword [esp + 0x10], 1
mov esi, ebx
jne 0x409ee0
mov eax, dword [edx + 0x44]
mov esi, dword [esp + 0x1c]
mov edx, dword [edx + 0x40]
xor eax, ebx
pop edi
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
pop esi
xor edx, ecx
pop ebp
mov dword [eax], edx
pop ebx
add esp, 8
ret 8
Function at 0x409f60
Capabilities:
Encode data using xor

Disassembly:
sub esp, 8
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
mov eax, dword [esp + 0x10]
push ebx
push ebp
push esi
mov esi, dword [eax]
push edi
lea edi, [edx + 0x44]
mov dword [esp + 0x10], 0x10
mov edi, edi
xor ecx, dword [edi]
sub edi, 4
mov eax, ecx
shr eax, 8
movzx ebx, al
movzx ebp, cl
shr eax, 8
mov dword [esp + 0x14], ebx
mov ebx, ecx
mov ecx, eax
shr ecx, 8
and ecx, 0xff
mov ecx, dword [edx + ecx*4 + 0x48]
movzx eax, al
add ecx, dword [edx + eax*4 + 0x448]
movzx eax, word [esp + 0x14]
xor ecx, dword [edx + eax*4 + 0x848]
movzx eax, bp
add ecx, dword [edx + eax*4 + 0xc48]
xor ecx, esi
sub dword [esp + 0x10], 1
mov esi, ebx
jne 0x409f80
mov eax, dword [edx]
mov esi, dword [esp + 0x1c]
mov edx, dword [edx + 4]
xor eax, ebx
pop edi
mov dword [esi], eax
mov eax, dword [esp + 0x1c]
pop esi
xor edx, ecx
pop ebp
mov dword [eax], edx
pop ebx
add esp, 8
ret 8

Function at 0x40a050
Capabilities:
Encode data using xor
Encrypt data using blowfish
Encrypt data using rc4 prga

Disassembly:
sub esp, 8
push ebx
mov ebx, dword [sym.imp.MSVCR90.dll_memmove]
push ebp
push esi
push 0x48
push 0x43a418
push edi
mov esi, eax
mov dword [edi + 0x1048], 0
call ebx
push 0x1000
lea eax, [edi + 0x48]
push 0x43a460
push eax
call ebx
add esp, 0x18
mov dword [edi + 0x1048], 1
xor eax, eax
mov dword [esp + 0x10], edi
mov dword [esp + 0xc], 0x12
lea ecx, [ecx]
movsx ecx, ax
lea eax, [ecx + 1]
cdq
mov ebx, 7
idiv ebx
lea eax, [ecx + 2]
movzx ebp, byte [edx + esi]
movzx edx, byte [ecx + esi]
shl edx, 8
or ebp, edx
cdq
idiv ebx
shl ebp, 8
movzx eax, byte [edx + esi]
or ebp, eax
lea eax, [ecx + 3]
cdq
idiv ebx
shl ebp, 8
lea eax, [ecx + 4]
mov ecx, 7
mov ebx, dword [esp + 0x10]
add ebx, 4
mov dword [esp + 0x10], ebx
movzx edx, byte [edx + esi]
or ebp, edx
cdq
idiv ecx
xor dword [ebx - 4], ebp
sub dword [esp + 0xc], 1
movzx eax, dx
jne 0x40a0a0
xor eax, eax
mov dword [esp + 0xc], eax
mov dword [esp + 0x10], eax
mov esi, edi
lea ebx, [ecx + 2]
jmp 0x40a110
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x10]
push eax
mov edx, edi
call fcn.00409ec0
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x10]
mov dword [esi], ecx
mov dword [esi + 4], edx
add esi, 8
sub ebx, 1
jne 0x40a110
lea esi, [edi + 0x4c]
lea ebp, [ebx + 4]
lea esp, [esp]
mov ebx, 0x80
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x10]
push ecx
mov edx, edi
call fcn.00409ec0
mov edx, dword [esp + 0xc]
mov eax, dword [esp + 0x10]
mov dword [esi - 4], edx
mov dword [esi], eax
add esi, 8
sub ebx, 1
jne 0x40a145
sub ebp, 1
jne 0x40a140
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret