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

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov edi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
jae 0x4560a8
mov ecx, dword [ebp - 4]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00455448
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x45619d
cmp esi, edi
jne 0x4560b6
mov eax, 0x1001
jmp 0x45619d
mov edx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
push edx
push edi
mov ecx, dword [ebp - 0x10]
add ecx, ebx
add ecx, 0x28
push ecx
call fcn.00455448
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub eax, dword [ebp - 0x10]
sub edx, dword [ebp - 0x10]
add edi, eax
add esp, 0xc
sub dword [ebp - 4], edx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.004578d8
mov ecx, dword [ebx + 0x28]
xor dword [ebx + 0x18], ecx
mov eax, dword [ebx + 0x2c]
xor dword [ebx + 0x1c], eax
mov edx, dword [ebx + 0x30]
xor dword [ebx + 0x20], edx
mov ecx, dword [ebx + 0x34]
xor dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x18]
mov dword [esi], eax
mov edx, dword [ebx + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x20]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x24]
mov dword [esi + 0xc], eax
add esi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jb 0x456173
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.004578d8
mov ecx, dword [edi]
xor dword [ebx + 0x18], ecx
mov eax, dword [edi + 4]
xor dword [ebx + 0x1c], eax
mov edx, dword [edi + 8]
xor dword [ebx + 0x20], edx
mov ecx, dword [edi + 0xc]
xor dword [ebx + 0x24], ecx
mov eax, dword [ebx + 0x18]
mov dword [esi], eax
mov edx, dword [ebx + 0x1c]
mov dword [esi + 4], edx
mov ecx, dword [ebx + 0x20]
mov dword [esi + 8], ecx
mov eax, dword [ebx + 0x24]
mov dword [esi + 0xc], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add edi, eax
mov ecx, dword [ebp - 4]
add esi, eax
cmp ecx, dword [ebp - 0xc]
jae 0x456125
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push edi
push edx
call fcn.00455448
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4562f8
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov dword [esp + 4], ecx
mov dword [esp], edx
mov ecx, dword [esp + 4]
mov esi, dword [ebx + 0x38]
mov edx, 0x10
lea eax, [ebx + 0x3c]
mov dword [ecx], edx
lea edx, [ebx + 0x18]
call fcn.004578d8
xor ecx, ecx
mov eax, dword [esp]
mov edx, eax
lea eax, [ebx + 0x28]
cmp esi, ecx
jbe 0x45633b
mov bl, byte [eax]
inc ecx
xor bl, byte [eax - 0x10]
inc eax
mov byte [edx], bl
inc edx
cmp esi, ecx
ja 0x45632d
mov eax, dword [esp + 4]
mov dword [eax], esi
xor eax, eax
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x456724
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov esi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov edi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x456784
mov ecx, dword [ebp - 4]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00455448
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x456866
cmp edi, esi
jne 0x456792
mov eax, 0x1001
jmp 0x456866
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push edi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00455448
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add edi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.004578d8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [esi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [esi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [esi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [esi + 0xc], ecx
add esi, dword [ebp - 0xc]
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 0xc]
jbe 0x45683c
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.004578d8
mov edx, dword [edi]
xor edx, dword [ebx + 0x18]
mov dword [esi], edx
mov ecx, dword [edi + 4]
xor ecx, dword [ebx + 0x1c]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
xor eax, dword [ebx + 0x20]
mov dword [esi + 8], eax
mov edx, dword [edi + 0xc]
xor edx, dword [ebx + 0x24]
mov dword [esi + 0xc], edx
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add edi, eax
mov ecx, dword [ebp - 4]
add esi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x4567fa
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push edi
push edx
call fcn.00455448
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x456870
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
mov ebx, eax
push esi
push edi
mov dword [ebp - 4], ecx
lea eax, [ebx + 0x3c]
mov edi, dword [ebp + 0xc]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], 0x10
mov esi, edx
mov edx, dword [ebx + 0x38]
mov dword [ebp - 0x10], edx
mov eax, dword [ebp - 0x10]
mov edx, dword [ebp + 8]
add eax, dword [ebp - 4]
mov dword [edx], eax
cmp eax, dword [ebp - 0xc]
ja 0x4568d0
mov ecx, dword [ebp - 4]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00455448
add esp, 0xc
mov edx, dword [ebp - 4]
add dword [ebx + 0x38], edx
mov ecx, dword [ebp + 8]
xor eax, eax
mov dword [ecx], eax
xor eax, eax
jmp 0x4569e1
cmp esi, edi
jne 0x4568de
mov eax, 0x1001
jmp 0x4569e1
mov edx, dword [ebp + 8]
mov dword [edx], eax
mov ecx, dword [ebp - 0xc]
sub ecx, dword [ebp - 0x10]
push ecx
push esi
mov eax, dword [ebp - 0x10]
add eax, ebx
add eax, 0x28
push eax
call fcn.00455448
mov edx, dword [ebp - 0xc]
mov ecx, dword [ebp - 0xc]
sub edx, dword [ebp - 0x10]
sub ecx, dword [ebp - 0x10]
add esi, edx
add esp, 0xc
sub dword [ebp - 4], ecx
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.004578d8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [ebx + 0x28]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [ebx + 0x2c]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [ebx + 0x30]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [ebx + 0x34]
mov dword [edi + 0xc], ecx
mov eax, dword [ebx + 0x28]
mov dword [ebx + 0x18], eax
mov edx, dword [ebx + 0x2c]
mov dword [ebx + 0x1c], edx
mov ecx, dword [ebx + 0x30]
mov dword [ebx + 0x20], ecx
mov eax, dword [ebx + 0x34]
mov dword [ebx + 0x24], eax
add edi, dword [ebp - 0xc]
mov edx, dword [ebp - 4]
cmp edx, dword [ebp - 0xc]
jbe 0x4569b7
lea edx, [ebx + 0x18]
mov eax, dword [ebp - 8]
call fcn.004578d8
mov ecx, dword [ebx + 0x18]
xor ecx, dword [esi]
mov dword [edi], ecx
mov eax, dword [ebx + 0x1c]
xor eax, dword [esi + 4]
mov dword [edi + 4], eax
mov edx, dword [ebx + 0x20]
xor edx, dword [esi + 8]
mov dword [edi + 8], edx
mov ecx, dword [ebx + 0x24]
xor ecx, dword [esi + 0xc]
mov dword [edi + 0xc], ecx
mov eax, dword [esi]
mov dword [ebx + 0x18], eax
mov edx, dword [esi + 4]
mov dword [ebx + 0x1c], edx
mov ecx, dword [esi + 8]
mov dword [ebx + 0x20], ecx
mov eax, dword [esi + 0xc]
mov dword [ebx + 0x24], eax
mov eax, dword [ebp - 0xc]
mov edx, dword [ebp - 0xc]
sub dword [ebp - 4], edx
add esi, eax
mov ecx, dword [ebp - 4]
add edi, eax
cmp ecx, dword [ebp - 0xc]
ja 0x45695e
mov eax, dword [ebp - 4]
lea edx, [ebx + 0x28]
push eax
push esi
push edx
call fcn.00455448
add esp, 0xc
mov ecx, dword [ebx + 0x38]
and ecx, 0xf0000000
add ecx, dword [ebp - 4]
mov dword [ebx + 0x38], ecx
mov eax, dword [ebp + 8]
mov edx, dword [ebp - 4]
sub dword [eax], edx
xor eax, eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x456b88
Capabilities:
Encode data using xor

Disassembly:
push ebx
push esi
push edi
push ecx
mov ebx, eax
mov dword [esp], ecx
mov edi, edx
mov edx, dword [esp]
mov esi, dword [ebx + 0x38]
lea eax, [ebx + 0x3c]
mov dword [edx], esi
lea edx, [ebx + 0x18]
call fcn.004578d8
xor ecx, ecx
mov edx, edi
lea eax, [ebx + 0x28]
cmp esi, ecx
jbe 0x456bbf
mov bl, byte [eax]
inc ecx
xor bl, byte [eax - 0x10]
inc eax
mov byte [edx], bl
inc edx
cmp esi, ecx
ja 0x456bb1
mov eax, dword [esp]
mov dword [eax], esi
xor eax, eax
pop edx
pop edi
pop esi
pop ebx
ret

Function at 0x45b5ec
Capabilities:
Get geographical location

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
xor edx, edx
push ebp
push 0x45b657
push dword fs:[edx]
mov dword fs:[edx], esp
push 7
lea edx, [ebp - 7]
push edx
push 0x1004
push eax
call sub.kernel32.dll_GetLocaleInfoA_1
call sub.kernel32.dll_GetACP
test eax, eax
jns 0x45b625
call fcn.00403b60
push eax
lea eax, [ebp - 0xc]
lea edx, [ebp - 7]
mov ecx, 7
call fcn.00404c20
mov eax, dword [ebp - 0xc]
pop edx
call fcn.0045b5d4
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45b65e
lea eax, [ebp - 0xc]
call fcn.004049a0
ret

Function at 0x45f05c
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push 0
push ebx
push esi
push edi
mov ebx, ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x45f0ee
push dword fs:[eax]
mov dword fs:[eax], esp
mov ecx, ebx
mov edx, dword [ebp - 4]
mov eax, esi
mov edi, dword [eax]
call dword [edi + 0xc]
cmp byte [esi + 0x30], 0
jne 0x45f0a3
lea edx, [ebp - 8]
mov eax, dword [ebx]
call fcn.0040887c
mov edx, dword [ebp - 8]
mov eax, ebx
call fcn.004049f4
lea edx, [ebp - 0xc]
mov eax, dword [esi + 0x34]
call fcn.00408b78
mov eax, dword [ebp - 0xc]
mov edx, dword [ebx]
call fcn.00404fb4
mov esi, eax
push ebx
mov ecx, esi
sub ecx, 1
jno 0x45f0c7
call fcn.00403b68
mov eax, dword [ebx]
mov edx, 1
call fcn.00404ed0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45f0f5
lea eax, [ebp - 0xc]
mov edx, 2
call fcn.004049c4
ret
Function at 0x462ed4
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffedc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor ecx, ecx
push ebp
push 0x46301c
push dword fs:[ecx]
mov dword fs:[ecx], esp
mov byte [ebp - 0xd], 0
cmp byte [0x46bf58], 0
jne 0x462f11
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463078
xor esi, esi
xor edi, edi
mov eax, dword [ebp - 0xc]
sub eax, 1
jae 0x462f22
call fcn.00403b68
test eax, eax
jb 0x46300e
inc eax
mov dword [ebp - 0x14], eax
xor edx, edx
add esi, 1
jae 0x462f3a
call fcn.00403b68
and esi, 0xff
cmp esi, 0xff
jbe 0x462f4d
call fcn.00403b60
xor eax, eax
mov al, byte [esi + 0x46de88]
add edi, eax
jae 0x462f5e
call fcn.00403b68
and edi, 0xff
cmp edi, 0xff
jbe 0x462f71
call fcn.00403b60
mov cl, byte [edi + 0x46de88]
cmp esi, 0xff
jbe 0x462f84
call fcn.00403b60
mov byte [esi + 0x46de88], cl
cmp eax, 0xff
jbe 0x462f96
call fcn.00403b60
cmp edi, 0xff
jbe 0x462fa3
call fcn.00403b60
mov byte [edi + 0x46de88], al
cmp esi, 0xff
jbe 0x462fb6
call fcn.00403b60
xor ecx, ecx
mov cl, byte [esi + 0x46de88]
add eax, ecx
jae 0x462fc7
call fcn.00403b68
and eax, 0xff
cmp edx, 0x7fff
jbe 0x462fd9
call fcn.00403b60
mov ecx, dword [ebp - 4]
mov cl, byte [ecx + edx]
cmp eax, 0xff
jbe 0x462feb
call fcn.00403b60
xor cl, byte [eax + 0x46de88]
cmp edx, 0x7fff
jbe 0x462ffe
call fcn.00403b60
mov eax, dword [ebp - 8]
mov byte [eax + edx], cl
inc edx
dec dword [ebp - 0x14]
jne 0x462f30
mov byte [ebp - 0xd], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x463078
mov al, byte [ebp - 0xd]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x465900
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffef8
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, dword [ebp + 8]
mov eax, ebx
call fcn.004049a0
lea eax, [ebp - 0x105]
xor ecx, ecx
mov edx, 0x105
call fcn.00403520
push 0
push edi
lea eax, [ebp - 0x105]
push eax
push esi
call sub.shell32.dll_SHGetSpecialFolderPathA
mov edx, ebx
lea eax, [ebp - 0x105]
call fcn.004097fc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x401710
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push 5
mov ebx, ecx
push edi
call sub.MFC42.DLL_AfxFindResourceHandle
mov esi, eax
test esi, esi
jne 0x40172f
pop edi
pop esi
pop ebp
pop ebx
ret 4
push 5
push edi
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov ebp, eax
test ebp, ebp
jne 0x401746
pop edi
pop esi
pop ebp
pop ebx
ret 4
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebx + 4], eax
add eax, 0x40
push eax
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
test eax, eax
mov dword [ebx + 8], eax
jne 0x40176b
pop edi
pop esi
pop ebp
pop ebx
ret 4
push eax
call dword [sym.imp.KERNEL32.dll_GlobalLock]
push ebp
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ecx, dword [ebx + 4]
mov esi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [ebx + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GlobalUnlock]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
ret 4
Function at 0x41c020
Capabilities:
Get graphical window text

Disassembly:
sub esp, 0x110
push ebx
mov ebx, dword [esp + 0x118]
push ebp
mov ebp, ecx
push ebx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x41c17f
push esi
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
push edi
push ebx
lea eax, [esp + 0x24]
push str._08X
push eax
call esi
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
push 0x651
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea edx, [esp + 0x21]
push 0xfe
push edx
push ebx
mov byte [esp + 0x2c], 0x22
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov byte [esp + eax + 0x21], 0x22
mov byte [esp + eax + 0x22], 0
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push 0x653
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea ecx, [esp + 0x20]
push 0x100
push ecx
push ebx
call dword [sym.imp.USER32.dll_GetClassNameA]
lea edx, [esp + 0x20]
push edx
call fcn.004344e0
add esp, 4
test eax, eax
je 0x41c0ed
mov edi, eax
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x20]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov edi, edx
mov edx, ecx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, edx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.USER32.dll_wsprintfA]
lea eax, [esp + 0x20]
mov ecx, ebp
push eax
push 0x654
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0xfffffffffffffff0
push ebx
call dword [sym.imp.USER32.dll_GetWindowLongA]
push eax
lea ecx, [esp + 0x24]
push str._08X
push ecx
call esi
add esp, 0xc
lea edx, [esp + 0x20]
mov ecx, ebp
push edx
push 0x655
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
lea eax, [esp + 0x10]
push eax
push ebx
call dword [sym.imp.USER32.dll_GetWindowRect]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x14]
mov edi, dword [esp + 0x10]
mov edx, eax
sub edx, ecx
push edx
mov edx, dword [esp + 0x1c]
mov ebx, edx
sub ebx, edi
push ebx
push eax
push edx
push ecx
push edi
lea eax, [esp + 0x38]
push str.__d___d____d___d___dx_d
push eax
call esi
add esp, 0x20
lea ecx, [esp + 0x20]
push ecx
push 0x656
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x110
ret 4
push 0x469b3c
push 0x651
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x653
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x654
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x655
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
push 0x469b3c
push 0x656
mov ecx, ebp
call sub.MFC42.DLL_CWnd::SetDlgItemTextA
pop ebp
pop ebx
add esp, 0x110
ret 4
Function at 0x41c660
Capabilities:
Query or enumerate registry value

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x44932b
push eax
mov eax, 0x101c
mov dword fs:[0], esp
call fcn.004487b0
push esi
push 0x458ce8
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0
call fcn.00448150
mov esi, dword [esp + 0x1034]
mov dword [esp + 0x1028], 1
test esi, esi
je 0x41c705
lea eax, [esp + 4]
push 0x5c
lea ecx, [esp + 0x10]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x18]
push eax
push edx
mov byte [esp + 0x1034], 2
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 8]
mov byte [esp + 0x102c], 3
call fcn.004480f6
lea ecx, [esp + 0x14]
mov byte [esp + 0x1028], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov byte [esp + 0x1028], 1
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 4]
lea eax, [esp + 8]
push eax
push 0x20019
push 0
push ecx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov eax, dword [esp + 8]
mov dword [esp + 0x1c], 0x1000
test eax, eax
mov dword [esp + 0x10], 0
je 0x41c75d
lea edx, [esp + 0x1c]
lea ecx, [esp + 0x20]
push edx
lea edx, [esp + 0x14]
push ecx
mov ecx, dword [esp + 0x1040]
push edx
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x41c783
mov eax, dword [esp + 0x103c]
test eax, eax
je 0x41c77e
push 0x1000
lea edx, [esp + 0x24]
push eax
push edx
call dword [sym.imp.MSVCRT.dll__mbsnbcpy]
add esp, 0xc
jmp 0x41c783
mov byte [esp + 0x20], 0
mov eax, dword [esp + 8]
test eax, eax
je 0x41c792
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov esi, dword [esp + 0x1030]
lea eax, [esp + 0x20]
push eax
mov ecx, esi
call fcn.00448150
mov dword [esp + 0x18], 1
lea ecx, [esp + 4]
mov byte [esp + 0x1028], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1020]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x1028
ret
Function at 0x41c7e0
Capabilities:
Access peb ldr_data
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x449358
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
push 0x458ce8
lea ecx, [esp + 0xc]
call fcn.00448150
mov esi, dword [esp + 0x28]
mov dword [esp + 0x20], 0
test esi, esi
je 0x41c865
lea eax, [esp + 8]
push 0x5c
lea ecx, [esp + 0x14]
push eax
push ecx
call sub.MFC42.DLL_operator_1
push esi
lea edx, [esp + 0x2c]
push eax
push edx
mov byte [esp + 0x2c], 1
call sub.MFC42.DLL_operator
push eax
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 2
call fcn.004480f6
lea ecx, [esp + 0x28]
mov byte [esp + 0x20], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x20], 0
call sub.MFC42.DLL_CString::CString
mov edx, dword [esp + 8]
lea eax, [esp + 0x14]
lea ecx, [esp + 0xc]
push eax
push ecx
push 0
push 0x20006
push 0
push 0x469b3c
push 0
push edx
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edx, dword [esp + 0x30]
or ecx, 0xffffffff
mov edi, edx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
mov ecx, dword [esp + 0x10]
push edx
push 1
push eax
mov eax, dword [esp + 0x3c]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edx, dword [esp + 0xc]
mov esi, eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
lea ecx, [esp + 8]
test esi, esi
sete al
mov esi, eax
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x18]
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x423080
Capabilities:
Create thread

Disassembly:
sub esp, 0x28
push esi
xor esi, esi
mov dword [esp + 4], esi
mov dword [esp + 8], 0x4233f0
mov dword [esp + 0xc], esi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
lea ecx, [esp + 4]
push ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], esi
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], esi
mov dword [esp + 0x28], esi
mov dword [esp + 0x2c], str.SpyxxProcessPacket
call dword [sym.imp.USER32.dll_RegisterClassA]
test ax, ax
jne 0x4230d5
xor eax, eax
pop esi
add esp, 0x28
ret
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 8]
mov edx, dword [0x46beb8]
push esi
push eax
mov eax, dword [edx + 0x20]
push esi
push eax
push esi
push esi
push esi
push esi
push 0x40000000
push esi
push str.SpyxxProcessPacket
push esi
call dword [sym.imp.USER32.dll_CreateWindowExA]
cmp eax, esi
mov dword [0x46bb4c], eax
jne 0x423110
xor eax, eax
pop esi
add esp, 0x28
ret
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, esi
mov dword [0x46bc94], eax
jne 0x42312a
xor eax, eax
pop esi
add esp, 0x28
ret
mov ecx, dword [0x46bb4c]
push ecx
push 0x10000
push 0x423160
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
xor edx, edx
cmp eax, 0xffffffff
mov dword [0x46bc98], eax
setne dl
mov eax, edx
pop esi
add esp, 0x28
ret
Function at 0x4250a0
Capabilities:
Write file on windows

Disassembly:
mov eax, dword [esp + 8]
push ebx
mov ebx, dword [esp + 8]
push esi
mov esi, ecx
push eax
push ebx
lea ecx, [esi + 0x44]
call fcn.004244e0
mov esi, dword [esi + 0x40]
mov eax, dword [esi + 0x704]
test eax, eax
je 0x425105
mov edx, dword [esi + 0x714]
cmp edx, 0xffffffff
je 0x425105
push edi
lea ecx, [esp + 0x14]
push 0
push ecx
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
not ecx
dec ecx
push ecx
push ebx
push edx
call edi
mov eax, dword [esi + 0x714]
lea edx, [esp + 0x14]
push 0
push edx
push 2
push 0x461b1c
push eax
call edi
pop edi
pop esi
pop ebx
ret 8

Function at 0x425bc0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x30
lea eax, [esp + 0x1c]
lea ecx, [esp + 4]
push eax
lea edx, [esp + 0x38]
push ecx
lea eax, [esp + 0x10]
push edx
lea ecx, [esp + 0x18]
push eax
lea edx, [esp + 0x20]
push ecx
lea eax, [esp + 0x28]
push edx
lea ecx, [esp + 0x30]
push eax
push ecx
mov ecx, dword [esp + 0x54]
lea edx, [esp + 0x20]
push 0
lea eax, [esp + 0x48]
push edx
push eax
push ecx
mov dword [esp + 0x30], 0xa
call dword [sym.imp.ADVAPI32.dll_RegQueryInfoKeyA]
test eax, eax
jne 0x425c16
mov eax, dword [esp + 0x34]
add esp, 0x30
ret
or eax, 0xffffffff
add esp, 0x30
ret