joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000bd00
Capabilities:
Log keystrokes

Disassembly:
push 0xffffffffffffffff
push 0x100134a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push 0x1001ad9c
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 4]
mov dword [esp + 0x28], 0
call sub.MFC42.DLL_CString::CString_3
mov eax, dword [esp + 0x34]
mov byte [esp + 0x28], 1
cmp eax, 0x100
jne 0x1000bd4e
push 0x1001a548
jmp 0x1000bd53
push 0x1001a544
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_2
mov eax, dword [esp + 0x30]
push ebx
push esi
push edi
push 0
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
mov ebx, eax
push 0x1001ad9c
lea ecx, [esp + 0x20]
mov dword [esp + 0x44], ebx
call sub.MFC42.DLL_CString::CString_2
xor ecx, ecx
mov eax, ebx
mov cl, bh
and eax, 0xff
mov esi, ecx
xor ecx, ecx
mov cl, byte [esp + 0x42]
push eax
shr ebx, 0x18
push esi
push ecx
push ebx
lea edx, [esp + 0x30]
push str._.2x_.2x_.2x_.2x
push edx
mov byte [esp + 0x4c], 2
call dword [sym.imp.MSVCRT.dll_sprintf]
lea edi, [esp + 0x38]
or ecx, 0xffffffff
xor eax, eax
mov word [esp + 0x25], 0
repne scasb al, byte es:[edi]
not ecx
dec ecx
push str.0001
mov byte [esp + 0x2a], 0
mov dl, byte [esp + ecx + 0x3b]
lea eax, [esp + ecx + 0x3c]
mov byte [esp + 0x29], dl
lea edx, [esp + 0x30]
mov cl, byte [eax - 2]
lea eax, [esp + 0x28]
mov byte [esp + 0x28], cl
mov ecx, dword [esp + 0x2c]
push eax
push ecx
push str._s_s_s
push edx
call sub.MFC42.DLL_CString::Format
mov ecx, dword [esp + 0x40]
lea eax, [esp + 0x44]
push eax
push 0x1001a51c
push ecx
mov dword [esp + 0x50], 0
call dword [sym.imp.MSVCRT.dll_sscanf]
mov esi, dword [esp + 0x50]
add esp, 0x38
lea ecx, [esp + 0x1c]
mov byte [esp + 0x34], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x34], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x34], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x2c]
mov eax, esi
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret
Function at 0x1000cad0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10013520
push eax
mov dword fs:[0], esp
push ebp
mov ebp, dword [esp + 0x28]
push esi
test ebp, ebp
push edi
je 0x1000cc5c
mov eax, dword [esp + 0x34]
test eax, eax
je 0x1000cc5c
mov esi, dword [esp + 0x38]
test esi, esi
je 0x1000cc5c
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x40]
mov dword [eax], 0xffffffff
mov dword [ecx], 0xffffffff
lea ecx, [esp + 0x30]
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esp + 0x38]
mov dword [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString_3
push 0
push esi
mov byte [esp + 0x1c], 1
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
cmp eax, 0xffffffff
je 0x1000cc3d
push 0x3a
push esi
call dword [sym.imp.MSVCRT.dll__mbschr]
add esp, 8
test eax, eax
jne 0x1000cb91
push 0x1001a558
push esi
call dword [sym.imp.MSVCRT.dll__mbsstr]
add esp, 8
test eax, eax
jne 0x1000cb91
push 0x1001a558
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_2
push esi
lea ecx, [esp + 0x34]
call fcn.100101ca
jmp 0x1000cb9b
push esi
lea ecx, [esp + 0x34]
call sub.MFC42.DLL_CString::operator_2
mov edx, dword [esp + 0x30]
lea ecx, [esp + 0x38]
push edx
push 0x400
push 0x400
call sub.MFC42.DLL_CString::GetBufferSetLength
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0
push ebp
push 0x1001a55c
call edi
cmp eax, 0x3ff
jne 0x1000cbf8
mov esi, 0x400
mov eax, dword [esp + 0x30]
add esi, 0x400
push eax
push esi
push esi
lea ecx, [esp + 0x44]
call sub.MFC42.DLL_CString::GetBufferSetLength
push eax
push 0
push ebp
push 0x1001a55c
call edi
lea ecx, [esi - 1]
cmp eax, ecx
je 0x1000cbd0
push 0xffffffffffffffff
lea ecx, [esp + 0x3c]
call sub.MFC42.DLL_CString::ReleaseBuffer
mov edx, dword [esp + 0x44]
mov eax, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x40]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
mov eax, dword [esp + 0x38]
push ecx
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x38]
push eax
push ecx
push edx
call fcn.1000cc70
add esp, 0x28
lea ecx, [esp + 0x38]
mov byte [esp + 0x14], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x30]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0xc
ret
Function at 0x1000e320
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10016800
push 0x10010450
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
add esp, 0xffffffcc
push ebx
push esi
push edi
mov dword [ebp - 0x18], esp
push 0x1c
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x30]
mov dword [ebp - 0x38], edx
mov eax, dword [ebp - 0x38]
movzx ecx, word [eax]
cmp ecx, 0x5a4d
je 0x1000e384
mov byte [ebp - 0x3d], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3d]
jmp 0x1000e41f
mov edx, dword [ebp - 0x38]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0x3c]
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
cmp dword [ecx], 0x4550
je 0x1000e3ab
mov byte [ebp - 0x3e], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3e]
jmp 0x1000e41f
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0x38]
add eax, dword [edx + 0xd8]
cmp dword [ebp + 0xc], eax
jb 0x1000e3e6
mov ecx, dword [ebp - 0x3c]
mov edx, dword [ebp - 0x38]
add edx, dword [ecx + 0xd8]
mov eax, dword [ebp - 0x3c]
add edx, dword [eax + 0xdc]
cmp dword [ebp + 0xc], edx
jae 0x1000e3e6
mov byte [ebp - 0x3f], 1
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x3f]
jmp 0x1000e41f
mov byte [ebp - 0x40], 0
mov dword [ebp - 4], 0xffffffff
mov al, byte [ebp - 0x40]
jmp 0x1000e41f
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1000e4a0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [0x1001aee0]
mov dword [ebp - 4], eax
jmp 0x1000e4b9
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 4]
mov dword [ebp - 4], edx
cmp dword [ebp - 4], 0
je 0x1000e4d6
lea eax, [ebp - 8]
push eax
push 0x40
push 0x10000
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
jmp 0x1000e4b0
mov esp, ebp
pop ebp
ret
Function at 0x1000e4e0
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1001aef0], eax
je 0x1000e4fe
mov eax, 0x10dd
jmp 0x1000e5df
mov eax, dword [0x1001af00]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x1000e57c
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x14]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x10]
movzx eax, byte [edx + 0x36]
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0
jne 0x1000e55a
mov ecx, dword [ebp - 4]
cmp dword [ecx + 0x10], 0
je 0x1000e55a
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x10]
push eax
call fcn.1000e650
add esp, 4
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x18]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
jmp 0x1000e506
mov dword [0x1001af00], 0
call fcn.1000e5f0
mov ecx, dword [0x1001aefc]
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0
je 0x1000e5c9
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.KERNEL32.dll_ResumeThread]
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov ecx, dword [ebp - 0x1c]
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edx, dword [ebp - 0x14]
mov dword [ebp - 0x10], edx
jmp 0x1000e594
mov dword [0x1001aefc], 0
mov dword [0x1001aef0], 0
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000eb40
Capabilities:
Hook routines via microsoft detours

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
cmp dword [eax], 0x52727464
je 0x1000eb55
xor eax, eax
jmp 0x1000ebca
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 4]
add edx, 0x10000
mov dword [ebp - 8], edx
mov eax, dword [ebp + 8]
add eax, 0x48
mov dword [ebp - 0xc], eax
mov dword [ebp - 0x10], 0
jmp 0x1000eb82
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
cmp dword [ebp - 0x10], 0x38d
jae 0x1000ebc5
mov edx, dword [ebp - 0x10]
imul edx, edx, 0x48
mov eax, dword [ebp - 0xc]
cmp dword [eax + edx + 0x40], 0
je 0x1000ebc3
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 4]
jb 0x1000ebbf
mov ecx, dword [ebp - 0x10]
imul ecx, ecx, 0x48
mov edx, dword [ebp - 0xc]
mov eax, dword [edx + ecx + 0x40]
cmp eax, dword [ebp - 8]
jb 0x1000ebc3
xor eax, eax
jmp 0x1000ebca
jmp 0x1000eb79
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1000ec70
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
cmp dword [0x1001aef4], 0
je 0x1000ec89
mov eax, dword [0x1001aef4]
jmp 0x1000ed29
call dword [sym.imp.KERNEL32.dll_GetCurrentThread]
cmp dword [ebp + 8], eax
jne 0x1000ec9b
xor eax, eax
jmp 0x1000ed29
push 8
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x1000ecf1
mov dword [ebp - 4], 8
cmp dword [ebp - 8], 0
je 0x1000ecda
mov ecx, dword [ebp - 8]
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 0x10]
push edx
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 8], 0
mov eax, dword [ebp - 4]
mov dword [0x1001aef4], eax
mov dword [0x1001aef8], 0
mov eax, dword [ebp - 4]
jmp 0x1000ed29
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
cmp eax, 0xffffffff
jne 0x1000ed0b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 4], eax
jmp 0x1000ecbb
mov edx, dword [ebp - 8]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 8]
mov edx, dword [0x1001aefc]
mov dword [ecx], edx
mov eax, dword [ebp - 8]
mov dword [0x1001aefc], eax
xor eax, eax
mov esp, ebp
pop ebp
ret 4
Function at 0x1000f550
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 8]
push eax
call fcn.1000f620
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0xc]
jae 0x1000f60c
cmp dword [ebp - 4], 0x50000000
jb 0x1000f58c
cmp dword [ebp - 4], 0x80000000
ja 0x1000f58c
mov dword [ebp - 4], 0x80010000
jmp 0x1000f565
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000f5b2
jmp 0x1000f60c
cmp dword [ebp - 0x10], 0x10000
jne 0x1000f5f5
cmp dword [ebp - 0x14], 0x10000
jb 0x1000f5f5
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1000f5e8
mov eax, dword [ebp - 0x24]
jmp 0x1000f60e
mov eax, dword [ebp - 4]
add eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000f607
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x14]
push ecx
call fcn.1000f620
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000f565
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x1000f650
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [ebp + 0xc]
sub eax, 0x10000
push eax
call fcn.1000f720
add esp, 4
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 8]
jbe 0x1000f714
cmp dword [ebp - 4], 0x50000000
jb 0x1000f691
cmp dword [ebp - 4], 0x80000000
ja 0x1000f691
mov dword [ebp - 4], 0x4fff0000
jmp 0x1000f66a
push 0x1c
push 0
lea edx, [ebp - 0x20]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
push 0x1c
lea eax, [ebp - 0x20]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualQuery]
test eax, eax
jne 0x1000f6b7
jmp 0x1000f714
cmp dword [ebp - 0x10], 0x10000
jne 0x1000f6fa
cmp dword [ebp - 0x14], 0x10000
jb 0x1000f6fa
push 0x40
push 0x3000
push 0x10000
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x24], eax
cmp dword [ebp - 0x24], 0
je 0x1000f6ed
mov eax, dword [ebp - 0x24]
jmp 0x1000f716
mov eax, dword [ebp - 4]
sub eax, 0x10000
mov dword [ebp - 4], eax
jmp 0x1000f70f
mov ecx, dword [ebp - 0x1c]
sub ecx, 0x10000
push ecx
call fcn.1000f720
add esp, 4
mov dword [ebp - 4], eax
jmp 0x1000f66a
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x1000f750
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0xc], 0
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
cmp dword [0x1001aef0], eax
je 0x1000f775
mov eax, 0x10dd
jmp 0x1000f90d
cmp dword [0x1001aef4], 0
je 0x1000f788
mov eax, dword [0x1001aef4]
jmp 0x1000f90d
cmp dword [ebp + 8], 0
jne 0x1000f798
mov eax, 6
jmp 0x1000f90d
mov eax, dword [ebp + 8]
cmp dword [eax], 0
jne 0x1000f7c1
mov dword [ebp - 0xc], 6
mov ecx, dword [ebp - 0xc]
mov dword [0x1001aef4], ecx
mov edx, dword [ebp + 8]
mov dword [0x1001aef8], edx
mov eax, dword [ebp - 0xc]
jmp 0x1000f90d
push 0x18
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x1000f81a
mov dword [ebp - 0xc], 8
mov ecx, dword [ebp - 0xc]
mov dword [0x1001aef4], ecx
cmp dword [ebp - 0x18], 0
je 0x1000f809
mov edx, dword [ebp - 0x18]
mov dword [ebp - 0x20], edx
mov eax, dword [ebp - 0x20]
push eax
call sub.MFC42.DLL_operatordelete
add esp, 4
mov dword [ebp - 0x18], 0
mov ecx, dword [ebp + 8]
mov dword [0x1001aef8], ecx
mov eax, dword [ebp - 0xc]
jmp 0x1000f90d
push 0
mov edx, dword [ebp + 8]
mov eax, dword [edx]
push eax
call fcn.1000e1f0
mov dword [ebp - 0x10], eax
push 0
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000e1f0
mov dword [ebp + 0xc], eax
mov edx, dword [ebp - 0x10]
movzx eax, byte [edx + 0x36]
mov dword [ebp - 8], eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 0x40]
sub edx, dword [ebp - 8]
mov dword [ebp - 4], edx
cmp dword [ebp - 8], 0
je 0x1000f85a
cmp dword [ebp - 8], 0x1e
jbe 0x1000f876
mov dword [ebp - 0xc], 9
cmp dword [0x1001aee8], 0
je 0x1000f871
jmp 0x1000f7ea
jmp 0x1000f7e1
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 0x44]
cmp ecx, dword [ebp + 0xc]
je 0x1000f89d
mov dword [ebp - 0xc], 9
cmp dword [0x1001aee8], 0
je 0x1000f898
jmp 0x1000f7ea
jmp 0x1000f7e1
mov dword [ebp - 0x14], 0
lea edx, [ebp - 0x14]
push edx
push 0x40
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000f8ca
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0xc], eax
jmp 0x1000f7e1
mov edx, dword [ebp - 0x18]
mov dword [edx + 4], 1
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 8], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x10]
mov dword [edx + 0x10], eax
mov ecx, dword [ebp - 0x18]
mov edx, dword [ebp - 4]
mov dword [ecx + 0xc], edx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x14]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 0x18]
mov eax, dword [0x1001af00]
mov dword [edx], eax
mov ecx, dword [ebp - 0x18]
mov dword [0x1001af00], ecx
xor eax, eax
mov esp, ebp
pop ebp
ret 8
Function at 0x10010660
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x10013653
push eax
mov eax, 0x1004
mov dword fs:[0], esp
call fcn.10010470
push esi
push edi
mov ecx, 0x3ff
xor eax, eax
lea edi, [esp + 0xd]
mov byte [esp + 0xc], 0
rep stosd dword es:[edi], eax
mov esi, dword [esp + 0x101c]
lea ecx, [esp + 8]
stosw word es:[edi], ax
push esi
mov dword [esp + 0x1018], 0
stosb byte es:[edi], al
call fcn.100101c4
push 0x22
lea ecx, [esp + 0xc]
mov byte [esp + 0x1018], 1
call fcn.10012d88
push esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
push 0x22
lea ecx, [esp + 0xc]
call fcn.10012d7c
push 0x1001a614
push 0x1001a610
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
mov eax, dword [esp + 0x1020]
mov edx, dword [esp + 8]
push eax
lea ecx, [esp + 0x10]
push 0x1000
push ecx
push 0x1001ad9c
push edx
push str.language
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 0xc]
test al, al
jne 0x10010742
mov eax, dword [esp + 0x1024]
test eax, eax
je 0x10010761
mov eax, dword [esp + 0x1020]
push eax
mov eax, dword [esp + 0xc]
push eax
push eax
push str.language
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
jmp 0x10010761
lea ecx, [esp + 0xc]
push ecx
mov ecx, esi
call sub.MFC42.DLL_CString::operator_2
push 0x1001a610
push 0x1001a614
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::Replace
lea ecx, [esp + 8]
mov byte [esp + 0x1014], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x1020]
mov dword [esp + 0x1014], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x100c]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1010
ret
Function at 0x10010d40
Capabilities:
Set registry value

Disassembly:
sub esp, 0x114
push edi
call fcn.10010289
push eax
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_AFX_MAINTAIN_STATE2::AFX_MAINTAIN_STATE2
push 1
call sub.MFC42.DLL_COleObjectFactory::UpdateRegistryAll
mov ecx, 0x3f
xor eax, eax
lea edi, [esp + 0x19]
mov byte [esp + 0x18], 0
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [esp + 8]
mov dword [esp + 8], 0
push eax
push 0x10014ad0
call dword [sym.imp.ole32.dll_StringFromCLSID]
push 0x100
lea edx, [esp + 0x1c]
mov ecx, dword [esp + 0xc]
push ecx
push edx
call dword [sym.imp.MSVCRT.dll_wcstombs]
mov eax, dword [esp + 0x14]
add esp, 0xc
push eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
push str.CLSID_
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 8]
call fcn.100101ca
push str.InProcServer32
lea ecx, [esp + 8]
call fcn.100101ca
lea edx, [esp + 0xc]
mov eax, dword [esp + 4]
push edx
push eax
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
push str.Apartment
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::operator_2
mov ecx, dword [esp + 4]
mov eax, dword [ecx - 8]
lea ecx, [esp + 4]
push eax
push 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
push 1
mov edx, dword [esp + 0x18]
push 0
push str.ThreadingModel
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [esp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x10]
xor eax, eax
pop edi
mov dword [ecx + 4], edx
add esp, 0x114
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x1001aeee
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1001aefd
pop dword [ebp - 0x38]
mov eax, 0x1001aefd
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0x6dad26f4
add dword [ebp - 0x48], 0xe0a51e57
mov dword [ebp - 0x44], 0x6f48efa4
add dword [ebp - 0x44], 0xc2ea5ca1
mov dword [ebp - 0x40], 0x2fa424fb
sub dword [ebp - 0x40], 0xe357e0cd
mov dword [ebp - 0x3c], 0x17fcfa61
add dword [ebp - 0x3c], 0xe803059f
lea eax, [ebp - 0x48]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x47d34b3a
sub dword [ebp - 0x48], 0xd360e1e4
mov dword [ebp - 0x44], 0x705fed07
add dword [ebp - 0x44], 0xd10c746e
mov dword [ebp - 0x40], 0x593eab1e
sub dword [ebp - 0x40], 0xf5cf3eb2
mov dword [ebp - 0x3c], 0x45374dc3
add dword [ebp - 0x3c], 0xbac8b23d
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, 0xea65457d
add eax, 0x259c7a83
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x372fe
push 0
call eax
mov ecx, 0x16e624d8
sub ecx, 0x16e5ddd0
xor edi, edi
add edi, eax
mov ebx, 0xca9fdf0b
add ebx, 0x456288f5
add ebx, dword [ebp - 0x38]
mov edx, 0xe74535a5
sub dword [ebp - 4], 0x348cb8da
mov esi, dword [ebx]
sub dword [ebp - 8], edx
add esi, edx
xor dword [ebp - 0x1c], edx
mov dword [edi], esi
sub dword [ebp - 8], edi
add edi, 0x5b42ba7a
add edi, 0xa4bd458a
add ebx, 4
loop 0x1001b011
add eax, 0x10ef3
xor ebx, ebx
add ebx, eax
add eax, 0x999079a5
sub eax, 0x999079a0
mov ecx, 0x3af2a62b
add ecx, 0xd50d59d5
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x684fa0
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x17a000]
push edi
or ebp, 0xffffffff
jmp 0x684fc2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x684fc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x684fb8
mov eax, 1
add ebx, ebx
jne 0x684fdb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x684fec
jne 0x68500b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x68500b
dec eax
add ebx, ebx
jne 0x684ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x684fd0
add ebx, ebx
jne 0x685007
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x68505d
xor ecx, ecx
sub eax, 3
jb 0x685023
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x685092
sar eax, 1
mov ebp, eax
jmp 0x68502e
add ebx, ebx
jne 0x68502e
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x684ffc
inc ecx
add ebx, ebx
jne 0x68503c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x684ffc
add ebx, ebx
jne 0x685049
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x68503e
jne 0x68505a
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x68503e
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x68507c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x68506e
jmp 0x684fbe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x68507c
add edi, ecx
jmp 0x684fbe
pop esi
mov edi, esi
mov ecx, 0x526a
mov al, 0xe8
repne scasb al, byte es:[edi]
jne 0x6850b7
cmp byte [edi], 0x14
jne 0x68509c
mov eax, dword [edi]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
add eax, esi
stosd dword es:[edi], eax
jmp 0x68509a
lea ecx, [0xffecd]
lea ebx, [0x59b118be]
mov eax, ebx
shr eax, 0x10
lea edi, [esi + eax]
lea eax, [esi]
add ecx, eax
mov al, byte [edi]
xor al, bl
add bl, bh
mov byte [edi], al
inc edi
cmp edi, ecx
jne 0x6850cf
lea edi, [esi]
xor eax, eax
add eax, edi
lea edi, [esi + 0x280000]
mov eax, dword [edi]
or eax, eax
je 0x685133
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x2dedac]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x2defc8]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x6850e8
mov ecx, edi
jns 0x685117
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 + 0x2defcc]
or eax, eax
je 0x68512d
mov dword [ebx], eax
add ebx, 4
jmp 0x685105
call dword [esi + 0x2defdc]
mov ebp, dword [esi + 0x2defd0]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x24f]
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 0x685167
sub esp, 0xffffff80
jmp 0x4afee6