joyce8/EMBER2024-capa huggingface dataset:
Function at 0x442910
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push 0xffffffffffffffff
push 0x47627b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
mov eax, dword [esp + 0x40]
push ebx
push esi
lea ecx, [esp + 8]
push eax
push ecx
mov ecx, dword [esp + 0x4c]
call fcn.00442a30
mov esi, eax
lea edx, [esp + 0x48]
xor ebx, ebx
push edx
lea ecx, [esp + 0x1c]
mov dword [esp + 0x40], ebx
mov dword [esp + 0x4c], 0x4db790
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
mov al, byte [esi]
mov ecx, dword [sym.imp.MSVCP60.dll_unsigned_int_const_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::npos]
mov byte [esp + 0x24], al
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
mov edx, dword [ecx]
lea ecx, [esp + 0x24]
push edx
push ebx
push esi
mov byte [esp + 0x48], 1
call dword [sym.imp.MSVCP60.dll_public:_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char______thiscall_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char__::assign_class_std::basic_string_char__struct_std::char_traits_char___class_std::allocator_char___const___unsigned_int__unsigned_int_]
mov eax, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
mov dword [esp + 0x18], eax
mov eax, dword [esp + 0xc]
mov byte [esp + 0x3c], 3
cmp eax, ebx
je 0x4429bb
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4429b2
cmp al, 0xff
je 0x4429b2
dec al
mov byte [ecx], al
jmp 0x4429bb
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
call fcn.0046db70
mov eax, dword [esp + 0x28]
mov ecx, dword [sym.imp.MSVCP60.dll_const_std::runtime_error::vftable]
cmp eax, ebx
mov dword [esp + 0x3c], 0xffffffff
mov dword [esp + 0x18], ecx
je 0x442a07
lea ecx, [eax - 1]
mov al, byte [eax - 1]
cmp al, bl
je 0x4429fe
cmp al, 0xff
je 0x4429fe
dec al
mov byte [ecx], al
jmp 0x442a07
push ecx
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x18]
mov dword [esp + 0x28], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x30], ebx
call dword [sym.imp.MSVCRT.dll_public_virtual:_void___thiscall_exception::destructor_void_]
mov ecx, dword [esp + 0x34]
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x38
ret
Function at 0x444770
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x476356
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
xor ebx, ebx
mov eax, 0xa
push edi
mov dword [esp + 0x18], esi
mov dword [esi + 8], 0x4ba4bc
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], eax
mov dword [esp + 0x24], ebx
mov dword [esi + 0x24], 0x4ba4a8
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], 0x11
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov dword [esi + 0x3c], eax
mov al, byte [esp + 0x13]
mov cl, byte [esp + 0x13]
push 0x14
mov byte [esp + 0x28], 1
mov byte [esi + 0x40], al
mov byte [esi + 0x41], cl
mov byte [esi + 0x48], bl
call sub.MFC42.DLL_operatornew
mov edi, eax
add esp, 4
lea ecx, [esp + 0x14]
mov ebp, edi
mov dword [edi + 4], ebx
mov dword [edi + 0x10], 1
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::constructor_void_]
cmp dword [0x4dc134], ebx
jne 0x444826
mov dword [0x4dc134], edi
mov dword [edi], ebx
mov edx, dword [0x4dc134]
xor ebp, ebp
mov dword [edx + 8], ebx
mov ecx, dword [0x4dc130]
inc ecx
mov dword [0x4dc130], ecx
lea ecx, [esp + 0x14]
call dword [sym.imp.MSVCP60.dll_public:_void___thiscall_std::_Lockit::destructor_void_]
cmp ebp, ebx
je 0x44484a
push ebp
call sub.MFC42.DLL_operatordelete
add esp, 4
mov edi, dword [0x4dc134]
push 0x14
call sub.MFC42.DLL_operatornew
mov dword [eax + 4], edi
mov dword [eax + 0x10], ebx
mov ecx, dword [esp + 0x20]
mov dword [esi + 0x44], eax
mov dword [esi + 0x4c], ebx
mov dword [eax], eax
mov eax, dword [esi + 0x44]
add esp, 4
mov dword [eax + 8], eax
mov dword [esi], 0x4ba4a4
mov dword [esi + 4], ebx
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x4453c0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_GetAsyncKeyState]
push 0x12
call esi
mov bx, word [esp + 0xc]
mov cl, bl
sar eax, 0xf
shr cl, 2
and eax, 1
and ecx, 1
xor eax, ecx
test ax, ax
je 0x4453eb
pop esi
xor eax, eax
pop ebx
ret
push 0x11
call esi
mov dl, bl
sar eax, 0xf
shr dl, 1
and eax, 1
and edx, 1
xor eax, edx
test ax, ax
je 0x445408
pop esi
xor eax, eax
pop ebx
ret
push 0x10
call esi
sar eax, 0xf
and eax, 0xffff
and ebx, 0xffff
not eax
xor eax, ebx
pop esi
and eax, 1
pop ebx
ret

Function at 0x445530
Capabilities:
Set global application hook

Disassembly:
mov eax, dword [esp + 4]
push esi
test eax, eax
je 0x445579
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov esi, dword [sym.imp.USER32.dll_SetWindowsHookExA]
push eax
push 0x445470
push 0
call esi
mov dword [0x4dc124], eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x445598
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push 0
push 0x445430
push 3
call esi
mov dword [0x4dc120], eax
pop esi
ret
mov eax, dword [0x4dc124]
mov esi, dword [sym.imp.USER32.dll_UnhookWindowsHookEx]
push eax
call esi
mov eax, dword [esp + 0xc]
test eax, eax
je 0x445598
mov ecx, dword [0x4dc120]
push ecx
call esi
pop esi
ret

Function at 0x446d40
Capabilities:
Link many functions at runtime

Disassembly:
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov eax, dword [esi + 4]
push 1
push eax
call edi
mov ecx, dword [esi + 4]
push 2
push ecx
mov dword [esi + 0x18], eax
call edi
mov edx, dword [esi + 4]
push 4
push edx
mov dword [esi + 0x1c], eax
call edi
mov dword [esi + 0x20], eax
mov eax, dword [esi + 4]
push 5
push eax
call edi
mov ecx, dword [esi + 4]
push 6
push ecx
mov dword [esi + 0x24], eax
call edi
mov edx, dword [esi + 4]
push 7
push edx
mov dword [esi + 0x28], eax
call edi
mov dword [esi + 0x34], eax
mov eax, dword [esi + 4]
push 9
push eax
call edi
mov ecx, dword [esi + 4]
push 0xa
push ecx
mov dword [esi + 0x2c], eax
call edi
mov dword [esi + 0x30], eax
pop edi
pop esi
ret
Function at 0x4474b0
Capabilities:
Encode data using xor

Disassembly:
push 0xffffffffffffffff
mov eax, dword fs:[0]
push 0x476586
push eax
mov eax, 0x25cc
mov dword fs:[0], esp
call fcn.0041eb90
mov eax, dword [0x4dbdf0]
push ebx
push ebp
push esi
mov esi, dword [esp + 0x25e8]
lea ecx, [esp + 0x10]
push edi
mov edi, dword [esp + 0x25f0]
push ecx
mov ecx, dword [esp + 0x25f8]
mov dword [esp + 0x18], esi
mov dword [esp + 0x1c], edi
mov dword [esp + 0x20], eax
call fcn.00435f90
xor ebx, ebx
xor eax, eax
mov dl, byte [eax + 0x4ba4d4]
xor dl, 0x7d
mov byte [esp + eax + 0xf08], dl
inc eax
cmp eax, 0x16d1
jb 0x447507
lea eax, [esp + 0xf08]
mov ecx, esi
push eax
mov byte [esp + 0x25dd], bl
call fcn.0043a820
mov ebp, dword [sym.imp.USER32.dll_SendMessageA]
test al, al
jne 0x447558
cmp dword [edi + 0x40], ebx
je 0x447558
mov ecx, esi
call fcn.0043a1e0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0xc9
push ecx
call ebp
xor eax, eax
mov dl, byte [eax + 0x4bbba8]
xor dl, 0x7d
mov byte [esp + eax + 0x30], dl
inc eax
cmp eax, 0xed7
jb 0x44755a
lea eax, [esp + 0x30]
mov ecx, esi
push eax
mov byte [esp + 0xf0b], bl
call fcn.0043a820
and eax, 0xff
mov dword [esp + 0x20], eax
jne 0x4475a6
cmp dword [edi + 0x40], ebx
je 0x4475a6
mov ecx, esi
call fcn.0043a1e0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0xc9
push ecx
call ebp
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push str.On_Error_Resume_Next:QMEngine.SetRunTimeParam__u:QMRoutine.SetRunTimeParam__u:On_Error_Goto_0
lea ecx, [esp + 0x28]
mov dword [esp + 0x25e8], ebx
call fcn.0042e900
mov ecx, dword [esp + 0x28]
lea edx, [esp + 0x14]
lea eax, [esp + 0x14]
push edx
push eax
lea edx, [esp + 0x18]
push ecx
push edx
mov byte [esp + 0x25f4], 1
call sub.MFC42.DLL_CString::Format_1
mov eax, dword [esp + 0x20]
add esp, 0x10
mov ecx, esi
push eax
call fcn.0043aa40
and eax, 0xff
mov dword [esp + 0x20], eax
jne 0x447618
cmp dword [edi + 0x40], ebx
je 0x447618
mov ecx, esi
call fcn.0043a1e0
mov ecx, dword [edi + 0x40]
push eax
push ebx
push 0xc9
push ecx
call ebp
lea ecx, [esp + 0x24]
mov byte [esp + 0x25e4], bl
call fcn.0042eb60
lea ecx, [esp + 0x10]
mov dword [esp + 0x25e4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x25dc]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x25d8
ret
Function at 0x449200
Capabilities:
Check for time delay via queryperformancecounter

Disassembly:
sub esp, 0x20
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], 0
call dword [sym.imp.WINMM.dll_timeGetTime]
mov ebp, dword [esp + 0x34]
mov ebx, dword [sym.imp.KERNEL32.dll_QueryPerformanceFrequency]
mov esi, dword [sym.imp.KERNEL32.dll_QueryPerformanceCounter]
mov edi, dword [sym.imp.KERNEL32.dll_Sleep]
mov dword [esp + 0x14], eax
lea eax, [esp + 0x18]
push eax
call ebx
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push 0
push 2
push ecx
push edx
call fcn.0046f4a0
push 0
push 0x3e8
push edx
push eax
call fcn.0046f3f0
mov dword [esp + 0x18], eax
lea eax, [esp + 0x28]
push eax
mov dword [esp + 0x20], edx
call esi
push 0
call edi
lea ecx, [esp + 0x20]
push ecx
call esi
mov ecx, dword [esp + 0x20]
mov eax, dword [esp + 0x28]
mov edx, dword [esp + 0x2c]
sub ecx, eax
mov eax, dword [esp + 0x24]
sbb eax, edx
mov edx, dword [esp + 0x1c]
cmp eax, edx
jl 0x449266
jg 0x449295
cmp ecx, dword [esp + 0x18]
jb 0x449266
lea edx, [esp + 0x10]
push 1
push edx
push 0x64
call fcn.00439180
mov ecx, eax
call fcn.00439b70
test dword [esp + 0x10], ebp
je 0x4492c5
call dword [sym.imp.WINMM.dll_timeGetTime]
sub eax, dword [esp + 0x14]
cmp eax, 0x7d0
jb 0x44922f
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 4
Function at 0x44c1a0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x250
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [ebp - 4], eax
lea edi, [ecx + ecx + 2]
push edi
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
add esp, 4
test esi, esi
jne 0x44c1d9
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
push edi
push ebx
push esi
call dword [sym.imp.MSVCRT.dll_mbstowcs]
push esi
call dword [sym.imp.MSVCRT.dll__wcslwr]
add esp, 0x10
mov dword [ebp - 8], eax
mov dword [ebp + 8], 0
mov eax, dword fs:[0x30]
mov dword [ebp + 8], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
cmp ecx, 1
mov eax, dword [eax + 0xc]
lea edx, [eax + 0xc]
mov dword [ebp + 8], edx
jne 0x44c21a
mov ebx, dword [edx]
mov dword [ebp + 8], edx
jmp 0x44c240
cmp ecx, 2
jne 0x44c22b
add eax, 0x14
mov edx, eax
mov dword [ebp + 8], eax
mov ebx, dword [edx]
jmp 0x44c240
cmp ecx, 3
jne 0x44c236
add eax, 0x1c
mov dword [ebp + 8], eax
mov edx, dword [ebp + 8]
mov ebx, dword [edx]
jmp 0x44c240
mov ecx, dword [ebp + 0xc]
mov esi, ebx
lea eax, [ecx*8]
sub esi, eax
mov ecx, 0x12
add esi, 8
lea edi, [ebp - 0x50]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 0x28]
lea ecx, [ebp - 0x250]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll_wcscpy]
lea edx, [ebp - 0x250]
push edx
call dword [sym.imp.MSVCRT.dll__wcslwr]
mov ecx, dword [ebp - 8]
push ecx
push eax
call dword [sym.imp.MSVCRT.dll_wcsstr]
add esp, 0x14
test eax, eax
je 0x44c29e
mov edx, dword [ebx + 4]
mov eax, dword [ebx]
mov dword [ebp - 4], 1
mov dword [edx], eax
mov ecx, dword [ebx]
mov edx, dword [ebx + 4]
mov dword [ecx + 4], edx
mov eax, dword [ebp + 0xc]
mov ebx, dword [ebp - 0x50]
cmp eax, 1
je 0x44c2bb
cmp eax, 2
jne 0x44c2b3
mov ebx, dword [ebp - 0x48]
jmp 0x44c2bb
cmp eax, 3
jne 0x44c2bb
mov ebx, dword [ebp - 0x40]
cmp ebx, dword [ebp + 8]
jne 0x44c23d
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.MSVCRT.dll_free]
mov eax, dword [ebp - 4]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x451020
Capabilities:
Encrypt data using blowfish

Disassembly:
mov eax, dword [esp + 0xc]
sub esp, 0x4c
push ebx
push ebp
mov ebp, ecx
mov ebx, dword [esp + 0x5c]
mov ecx, dword [eax]
cmp ebx, 1
mov dword [ebp], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 4], edx
mov ecx, dword [eax]
mov dword [ebp + 8], ecx
mov edx, dword [eax + 4]
mov dword [ebp + 0xc], edx
jae 0x451070
lea eax, [esp + 0x60]
lea ecx, [esp + 0x10]
push eax
mov dword [esp + 0x64], str.Incorrect_key_length
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_char_const__const_const__]
lea ecx, [esp + 0x10]
push 0x4d1870
push ecx
call sub.MSVCRT.dll__CxxThrowException
cmp ebx, 0x38
jbe 0x45107a
mov ebx, 0x38
mov ecx, ebx
push esi
mov esi, dword [esp + 0x5c]
mov edx, ecx
push edi
lea edi, [esp + 0x24]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
lea edx, [ebp + 0x10]
and ecx, 3
xor eax, eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x12
mov esi, 0x4bd16c
mov edi, edx
mov dword [esp + 0x64], 0x12
rep movsd dword es:[edi], dword [esi]
lea edi, [ebp + 0x58]
mov ecx, 0x400
mov esi, 0x4bd1b4
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x24]
mov esi, edx
xor edx, edx
mov dword [esp + 0x68], 4
mov edi, edx
xor edx, edx
mov dl, byte [ecx]
shl edi, 8
or edx, edi
inc ecx
inc eax
cmp eax, ebx
jne 0x4510e5
xor eax, eax
lea ecx, [esp + 0x24]
mov edi, dword [esp + 0x68]
dec edi
mov dword [esp + 0x68], edi
jne 0x4510ce
mov edi, dword [esi]
add esi, 4
xor edi, edx
mov edx, dword [esp + 0x64]
mov dword [esi - 4], edi
dec edx
mov dword [esp + 0x64], edx
jne 0x4510c4
xor edi, edi
lea esi, [ebp + 0x10]
mov dword [esp + 0x10], edi
mov dword [esp + 0x14], edi
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00451190
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x12
jb 0x451112
lea eax, [ebp + 0x58]
mov dword [esp + 0x68], 4
mov ebx, eax
xor edi, edi
mov esi, ebx
lea eax, [esp + 0x10]
mov ecx, ebp
push eax
call fcn.00451190
mov ecx, dword [esp + 0x10]
mov edx, dword [esp + 0x14]
mov dword [esi], ecx
add esi, 4
inc edi
mov dword [esi], edx
inc edi
add esi, 4
cmp edi, 0x100
jl 0x451148
mov eax, dword [esp + 0x68]
add ebx, 0x400
dec eax
mov dword [esp + 0x68], eax
jne 0x451144
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x4c
ret 0xc
Function at 0x4524f0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x47701f
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x1c]
push ebp
push esi
push edi
lea esi, [eax + 7]
mov edi, ecx
shr esi, 3
shl esi, 3
push esi
mov dword [esp + 0x10], 0
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x30]
mov edx, dword [esp + 0x28]
add esp, 4
mov ebp, eax
push ecx
push esi
push ebp
push edx
mov ecx, edi
call fcn.00452070
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push ebp
lea ecx, [esp + 0x2c]
mov dword [esp + 0x2c], eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, esi
xor eax, eax
mov edx, ecx
mov edi, ebp
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push ebp
and ecx, 3
mov dword [esp + 0x1c], 1
rep stosb byte es:[edi], al
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x24]
add esp, 4
lea eax, [esp + 0x28]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0xc], 1
lea ecx, [esp + 0x28]
mov byte [esp + 0x18], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10]
mov eax, esi
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x10
ret 0x10

Function at 0x4525c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x477057
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebp
push esi
push edi
mov ebp, ecx
mov dword [esp + 0x10], 0
mov eax, dword [esp + 0x28]
mov dword [esp + 0x1c], 1
mov eax, dword [eax - 8]
lea edi, [eax + 0xa]
push edi
call sub.MFC42.DLL_operatornew
mov ecx, dword [esp + 0x30]
add esp, 4
mov esi, eax
lea edx, [esp + 0x28]
push ecx
push edi
push esi
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push edx
call sub.MFC42.DLL_CString::CString_2
mov ecx, ebp
call fcn.00452430
call sub.MFC42.DLL_AfxGetEmptyString
mov eax, dword [eax]
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, edi
xor eax, eax
mov edx, ecx
mov edi, esi
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
push esi
and ecx, 3
mov byte [esp + 0x20], 2
rep stosb byte es:[edi], al
call sub.MFC42.DLL_operatordelete
mov esi, dword [esp + 0x28]
add esp, 4
lea eax, [esp + 0xc]
mov ecx, esi
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [esp + 0x10], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x28]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
pop ebp
add esp, 0x14
ret 0xc

Function at 0x452af0
Capabilities:
Encode data using xor

Disassembly:
push edi
push 0x4d7860
push 0x4dc248
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
add esp, 8
test edi, edi
je 0x452b45
mov eax, dword [0x4da074]
push esi
xor esi, esi
test eax, eax
jbe 0x452b3a
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_fputc]
xor eax, eax
push edi
mov al, byte [esi + 0x4bf2c8]
xor eax, 0x7d
push eax
call ebx
mov eax, dword [0x4da074]
add esp, 8
inc esi
cmp esi, eax
jb 0x452b1d
pop ebx
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
pop esi
pop edi
ret
Function at 0x452f80
Capabilities:
Create service

Disassembly:
push esi
push edi
call fcn.00453000
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov esi, eax
test esi, esi
je 0x452ff2
mov cl, byte [esp + 0x10]
mov eax, dword [esp + 0xc]
dec cl
push 0
neg cl
push 0
push 0
sbb ecx, ecx
push 0
and ecx, 0xfffffffe
push 0
push eax
add ecx, 3
push 1
push ecx
push 1
push 0xf01ff
push str.TLGDDPP
push str.TLGDDPP
push esi
call dword [sym.imp.ADVAPI32.dll_CreateServiceA]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov edi, eax
call esi
test edi, edi
je 0x452ff2
push edi
call esi
call fcn.00453060
pop edi
pop esi
ret 8
pop edi
xor al, al
pop esi
ret 8

Function at 0x4530d0
Capabilities:
Stop service

Disassembly:
sub esp, 0x1c
push esi
push edi
push 0xf003f
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
je 0x45312a
push 0xf01ff
push str.TLGDDPP
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
mov esi, eax
call edi
test esi, esi
je 0x45312a
lea eax, [esp + 8]
push ebx
push eax
push 1
push esi
call dword [sym.imp.ADVAPI32.dll_ControlService]
test eax, eax
push esi
setne bl
call edi
mov al, bl
pop ebx
pop edi
pop esi
add esp, 0x1c
ret
pop edi
xor al, al
pop esi
add esp, 0x1c
ret
Function at 0x453150
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4c7928
push 0x41ec70
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push ebx
push esi
push edi
xor esi, esi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 4], esi
push str.qsefyjil
push esi
push 1
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [0x4dc55c], eax
cmp eax, esi
je 0x45328d
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
je 0x45328d
push 0x4d7860
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov edi, eax
mov dword [ebp - 0x34], edi
cmp edi, esi
je 0x4531f7
mov dword [ebp - 0x38], esi
mov ebx, dword [sym.imp.MSVCRT.dll_fputc]
cmp esi, dword [0x4da0b4]
push edi
jae 0x4531ec
xor ecx, ecx
mov cl, byte [esi + 0x4c48c8]
xor ecx, 0x7d
push ecx
call ebx
add esp, 8
inc esi
mov dword [ebp - 0x38], esi
jmp 0x4531cc
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor esi, esi
cmp dword [ebp + 0x14], esi
je 0x453213
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004536c0
add esp, 8
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x45328d
push esi
push 0x80
push 3
push esi
push esi
push 0xc0000000
push str..hkSymbolicLink
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov dword [0x4dc554], eax
cmp eax, 0xffffffff
je 0x45328d
mov dword [ebp - 0x24], esi
push esi
push esi
push esi
push 0x453140
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x24], eax
cmp eax, esi
je 0x45328d
mov dword [0x4dc558], eax
mov ecx, dword [ebp + 8]
mov dword [ebp - 0x28], ecx
push esi
lea edx, [ebp - 0x2c]
push edx
push 4
lea eax, [ebp - 0x30]
push eax
push 8
lea ecx, [ebp - 0x28]
push ecx
push 0x8000201c
mov edx, dword [0x4dc554]
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
mov dword [ebp - 0x20], eax
cmp eax, esi
je 0x45328d
mov dword [ebp - 0x1c], 1
mov dword [ebp - 4], 0xffffffff
call fcn.004532b0
mov eax, edi
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x4532b0
Capabilities:
Delete file
Terminate thread

Disassembly:
mov edi, dword [ebp - 0x1c]
cmp edi, esi
jne 0x4532f3
mov eax, dword [0x4dc55c]
cmp eax, esi
je 0x4532cd
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4dc55c], esi
mov eax, dword [0x4dc554]
cmp eax, 0xffffffff
je 0x4532e4
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [0x4dc554], esi
mov eax, dword [ebp - 0x24]
cmp eax, esi
je 0x4532f3
push esi
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov eax, dword [ebp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
ret

Function at 0x4534b0
Capabilities:
Log keystrokes

Disassembly:
mov eax, dword [0x4dc55c]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x4534d5
push 1
push eax
call fcn.00453500
add esp, 4
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
ret
xor eax, eax
ret