joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1000444a
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push 1
pop eax
test eax, eax
je 0x10004ae5
lea eax, [ebp - 0x230]
mov dword [ebp - 0x3a0], eax
cmp dword [ebp - 0x6fc], 0
jne 0x100045ba
and byte [ebp - 0x77c], 0
and byte [ebp - 0x77b], 0
mov byte [ebp - 0x77a], 4
and byte [ebp - 0x779], 0
mov byte [ebp - 0x778], 0xb8
mov byte [ebp - 0x777], 0xc1
mov byte [ebp - 0x776], 0xa7
mov byte [ebp - 0x775], 0xab
mov byte [ebp - 0x774], 0x89
mov byte [ebp - 0x773], 0x94
xchg esp, eax
mov byte [ebp - 0x772], 0x9c
mov byte [ebp - 0x771], 0x89
mov byte [ebp - 0x770], 0x9a
clc
invalid
call [edx - 0x76e7a3a]
invalid
call dword [esi - 0x76d7a3a]
invalid
invalid
fcmovnb st(0), st(6)
test dword [ebx - 0x42000008], edx
clc
invalid
invalid
mov ebp, 0xf89485c6
invalid
call dword [edx - 0x76a7a3a]
invalid
call dword [edi - 0x7697a3a]
invalid
call [esi - 0x7687a3a]
invalid
dec dword [eax - 0x7677a3a]
invalid
jmp dword [edi - 0x7667a3a]
invalid
invalid
mov eax, 0xf89a85c6
invalid
call dword [esi + eax*8 - 0x7647b]
call dword [esi - 0x7637a3a]
invalid
call dword [esi - 0x7627a3a]
invalid
call dword [esi + eax*8 - 0x7617b]
call dword [ebp - 0x7607a3a]
invalid
invalid
fcmovnb st(0), st(6)
test dword [eax - 0x42000008], esp
mov byte [ebp - 0x75f], 0x92
mov byte [ebp - 0x75e], 0x97
mov byte [ebp - 0x75d], 0x9e
mov byte [ebp - 0x75c], 0x88
mov byte [ebp - 0x75b], 0xa7
mov byte [ebp - 0x75a], 0xa8
mov byte [ebp - 0x759], 0x82
mov byte [ebp - 0x758], 0x88
mov byte [ebp - 0x757], 0x8f
mov byte [ebp - 0x756], 0x9e
mov byte [ebp - 0x755], 0x96
mov byte [ebp - 0x754], 0xa7
mov byte [ebp - 0x753], 0x88
mov byte [ebp - 0x752], 0x82
mov byte [ebp - 0x751], 0x96
mov byte [ebp - 0x750], 0x88
mov byte [ebp - 0x74f], 0x89
mov byte [ebp - 0x74e], 0x8d
mov byte [ebp - 0x74d], 0xd5
mov byte [ebp - 0x74c], 0x9f
mov byte [ebp - 0x74b], 0x97
mov byte [ebp - 0x74a], 0x97
mov byte [ebp - 0x749], 0xfb
lea eax, [ebp - 0x77c]
push eax
call fcn.10002a4f
pop ecx
mov al, byte [ebp - 0x12c]
mov byte [ebp - 0x778], al
push 0x30
lea eax, [ebp - 0x77c]
push eax
call fcn.10002a4f
pop ecx
push eax
invalid
test esp, edi
cli
Function at 0x100057f3
Capabilities:
Delete registry key
Delete registry value

Disassembly:
mov eax, 0x100082f0
call fcn.10007c70
sub esp, 0x1c
push esi
push edi
push str.CLSID_
lea ecx, [ebp - 0x1c]
call fcn.10001b16
push dword [0x10009638]
and dword [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.10001d54
lea edx, [ebp - 0x1c]
lea ecx, [ebp - 0x28]
push str.InprocServer32
call fcn.10001a1c
push dword [eax]
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, 0x80000000
push edi
call esi
push dword [ebp - 0x28]
call fcn.100020e3
pop ecx
push dword [ebp - 0x1c]
push edi
call esi
call fcn.100054bf
test al, al
pop edi
pop esi
je 0x10005890
lea eax, [ebp - 0x10]
push eax
push 2
push 0
push dword [0x10009634]
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10005890
push dword [0x10009638]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x1c]
call fcn.100020e3
pop ecx
mov ecx, dword [ebp - 0xc]
push 1
pop eax
mov dword fs:[0], ecx
leave
ret

Function at 0x100058b4
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
mov eax, 0x10008312
call fcn.10007c70
push ecx
push ebx
push esi
mov esi, ecx
xor ebx, ebx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], ebx
mov byte [esi + 0xc], bl
mov dword [ebp - 4], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
lea ecx, [esi + 0x20]
mov byte [ebp - 4], 1
call fcn.10001a90
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
mov dword [esi + 0x34], ebx
mov dword [esi + 0x38], ebx
mov byte [esi + 0x3c], bl
mov byte [esi + 0x3d], bl
push 0x1000c0c0
mov dword [esi], 0x10009c0c
mov dword [esi + 4], 0x10009bfc
call dword [sym.imp.KERNEL32.dll_InterlockedIncrement]
push 0xbe
push dword [0x1000c0b8]
call dword [sym.imp.USER32.dll_LoadBitmapW]
mov ecx, dword [ebp - 0xc]
mov dword [esi + 0x38], eax
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x407281
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x461124], 0
jne 0x4072bf
xor ecx, ecx
push esi
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
movzx edx, dl
neg edx
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x407295
mov dword [ecx*4 + 0x461120], eax
inc ecx
cmp ecx, 0x100
jl 0x407290
pop esi
cmp dword [ebp + 0x10], 0
mov eax, dword [ebp + 8]
not eax
jbe 0x4072ec
mov ecx, dword [ebp + 0xc]
movzx edx, byte [ecx]
dec dword [ebp + 0x10]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x461120]
inc ecx
cmp dword [ebp + 0x10], 0
ja 0x4072cd
not eax
pop ebp
ret 0xc

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
mov ebx, 0x408f6c
nop
nop
mov ecx, 0x168e49d8
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x430024
nop
mov eax, section..data
nop
mov ebx, 0x42e3d0
nop
nop
mov ecx, 0x950da9
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
popal
nop
nop
jmp 0x401219
Function at 0x4042b0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x14]
push edi
mov edi, dword [ebp + 0xc]
push 0x51061c
push eax
lea eax, [ebp - 0x410]
push eax
call fcn.004bd1b6
add esp, 0xc
test eax, eax
je 0x4042fa
pop edi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
push esi
push 2
push 0
push dword [ebp - 0x410]
mov dword [ebp - 0xc], 0x637d0232
mov dword [ebp - 8], 0x4e0c156f
call fcn.004bd72b
push dword [ebp - 0x410]
call fcn.004bdd61
mov esi, eax
add esp, 0x10
cmp esi, 0x400
jb 0x404335
mov esi, 0x400
mov eax, esi
push 2
neg eax
push eax
push dword [ebp - 0x410]
call fcn.004bd72b
push dword [ebp - 0x410]
lea eax, [ebp - 0x40c]
push esi
push 1
push eax
call fcn.004bdf7c
lea ecx, [esi - 1]
add esp, 0x1c
xor eax, eax
test ecx, ecx
jle 0x40439d
jmp 0x404370
mov dl, byte [ebp + ecx - 0x40c]
sub dl, byte [ebp + ecx - 0x40d]
cmp dl, byte [ebp + eax - 0xc]
jne 0x40438c
inc eax
cmp eax, 8
je 0x40439d
jmp 0x404398
test eax, eax
je 0x404398
xor eax, eax
cmp dl, 0x32
sete al
dec ecx
test ecx, ecx
jg 0x404370
cmp ecx, 5
jge 0x4043c4
push dword [ebp - 0x410]
call fcn.004bd319
add esp, 4
or eax, 0xffffffff
pop esi
pop edi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
sub ecx, dword [ebp + ecx - 0x411]
sub ecx, esi
push 2
sub ecx, 5
push ecx
push dword [ebp - 0x410]
call fcn.004bd72b
push dword [ebp - 0x410]
lea eax, [ebp - 0x411]
mov byte [ebp - 0x411], 0
push 1
push 1
push eax
call fcn.004bdf7c
add esp, 0x1c
cmp byte [ebp - 0x411], 0x15
push dword [ebp - 0x410]
jne 0x4043a8
push 1
lea eax, [ebp - 0x418]
mov dword [ebp - 0x418], 0
push 4
push eax
call fcn.004bdf7c
mov esi, dword [ebp - 0x418]
add esp, 0x10
push dword [ebp - 0x410]
cmp dword [ebp + 0x10], esi
jb 0x4043a8
push esi
push 1
push edi
call fcn.004bdf7c
push dword [ebp - 0x410]
mov dword [ebx], esi
call fcn.004bd319
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
xor eax, eax
pop esi
pop edi
pop ebx
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
Function at 0x410da0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5095b8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push ebx
push esi
push edi
mov eax, dword [0x54112c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push 8
mov dword [esi + 0x30], 0
mov dword [esi + 8], 0
mov dword [esi + 0x10], 0
mov dword [esi + 0x14], 0x201
mov dword [esi + 0x18], 6
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0xc], 0
call fcn.0048bf4f
mov edi, eax
add esp, 4
test edi, edi
je 0x410e3d
push 1
mov dword [ebp - 4], 0
call fcn.0046fd65
add esp, 4
mov dword [edi + 4], eax
jmp 0x410e3f
xor edi, edi
mov eax, dword [ebp + 8]
mov dword [esi + 0x30], edi
mov dword [esi + 0x38], eax
mov dword [esi + 0x3c], 0
mov edi, dword [edi + 4]
mov ecx, edi
mov dword [ebp - 4], 1
mov dword [ebp - 0x10], edi
mov eax, dword [edi]
call dword [eax + 4]
lea eax, [ebp - 0x14]
mov dword [ebp - 4], 2
push eax
call fcn.00407340
add esp, 4
mov ecx, eax
mov edx, dword [eax]
push 0x20
mov eax, dword [edx + 0x20]
call eax
mov bl, al
mov dword [ebp - 4], 3
test edi, edi
je 0x410ea1
mov edx, dword [edi]
mov ecx, edi
call dword [edx + 8]
test eax, eax
je 0x410ea1
mov edx, dword [eax]
mov ecx, eax
push 1
call dword [edx]
cmp dword [esi + 0x38], 0
mov dword [ebp - 4], 0xffffffff
mov byte [esi + 0x40], bl
jne 0x410f08
mov eax, dword [esi + 0xc]
mov ecx, dword [esi + 0x10]
and eax, 0x13
or eax, 4
mov dword [esi + 0xc], eax
and ecx, eax
je 0x410f08
push 1
test cl, 4
jne 0x410f2b
test cl, 2
je 0x410ee4
lea eax, [ebp - 0x14]
push eax
call fcn.00411030
add esp, 8
push eax
push str.ios_base::failbit_set
jmp 0x410f3d
lea eax, [ebp - 0x1c]
push eax
call fcn.00411030
add esp, 8
lea ecx, [ebp - 0x44]
push eax
push str.ios_base::eofbit_set
call fcn.00408140
push 0x5361ec
lea eax, [ebp - 0x44]
jmp 0x410f4d
cmp byte [ebp + 0xc], 0
je 0x410f17
push esi
call fcn.00470bd4
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x14]
push eax
call fcn.00411030
add esp, 8
push eax
push str.ios_base::badbit_set
lea ecx, [ebp - 0x30]
call fcn.00408140
push 0x5361ec
lea eax, [ebp - 0x30]
push eax
call fcn.004b0404
int3
Function at 0x41b0c0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x70
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
push 0
push esi
mov dword [ebp - 0x70], eax
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0x10
shl eax, 0x15
push eax
push 3
push 0
push 7
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41b18b
lea eax, [ebp - 0x38]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileInformationByHandle]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x41b18b
mov esi, dword [ebp - 0x70]
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_GetFileAttributesW]
and eax, 0x10
shl eax, 0x15
push eax
push 3
push 0
push 7
push 0
push esi
call dword [sym.imp.KERNEL32.DLL_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x41b18b
lea eax, [ebp - 0x6c]
push eax
push edi
call dword [sym.imp.KERNEL32.DLL_GetFileInformationByHandle]
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.DLL_CloseHandle]
test esi, esi
je 0x41b18b
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x50]
jne 0x41b18b
mov eax, dword [ebp - 0xc]
cmp eax, dword [ebp - 0x40]
jne 0x41b18b
mov eax, dword [ebp - 8]
cmp eax, dword [ebp - 0x3c]
jne 0x41b18b
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
Function at 0x41b8f0
Capabilities:
Get common file path
Get program files directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a2e8
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x22c], esi
mov dword [ebp - 0x228], 0
call fcn.00418b00
lea eax, [ebp - 0x224]
mov dword [ebp - 4], 0
push eax
mov dword [ebp - 0x228], 1
mov dword [ebp - 0x224], 0
call dword [sym.imp.KERNEL32.DLL_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.DLL_IsWow64Process]
or ebx, 0xffffffff
cmp dword [ebp - 0x224], 0
je 0x41ba36
push 0x104
lea eax, [ebp - 0x218]
push eax
push str._ProgramW6432_
call dword [sym.imp.KERNEL32.DLL_ExpandEnvironmentStringsW]
test eax, eax
je 0x41ba36
cmp eax, 0x104
ja 0x41ba36
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004187f0
mov eax, dword [ebp - 0x21c]
mov edi, dword [esi]
sub edi, 0x10
mov dword [ebp - 4], 1
lea edx, [eax - 0x10]
cmp edx, edi
je 0x41ba1b
cmp dword [edi + 0xc], 0
jl 0x41ba0a
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x41ba0a
push edx
call fcn.0041b3d0
mov dword [ebp - 0x220], eax
lea ecx, [edi + 0xc]
add esp, 4
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41b9fd
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [esi], eax
jmp 0x41ba15
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.00421100
mov eax, dword [ebp - 0x21c]
lea edx, [eax - 0x10]
mov byte [ebp - 4], 0
mov eax, ebx
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41ba36
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [esi]
cmp dword [eax - 0xc], 0
jne 0x41baea
lea eax, [ebp - 0x218]
push eax
push 0
push 0
push 0x26
push 0
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004187f0
mov eax, dword [ebp - 0x21c]
mov edi, dword [esi]
sub edi, 0x10
mov dword [ebp - 4], 2
lea edx, [eax - 0x10]
cmp edx, edi
je 0x41bad1
cmp dword [edi + 0xc], 0
jl 0x41bac0
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x41bac0
push edx
call fcn.0041b3d0
mov dword [ebp - 0x220], eax
lea ecx, [edi + 0xc]
add esp, 4
mov eax, ebx
lock xadd dword [ecx], eax
dec eax
test eax, eax
jg 0x41bab3
mov ecx, dword [edi]
push edi
mov eax, dword [ecx]
call dword [eax + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [esi], eax
jmp 0x41bacb
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.00421100
mov eax, dword [ebp - 0x21c]
mov byte [ebp - 4], 0
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ebx
dec ebx
test ebx, ebx
jg 0x41baea
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
push str.ReasonReason_Antivirus
mov ecx, esi
call fcn.0041b040
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
Function at 0x41c6c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a4c8
mov eax, dword fs:[0]
push eax
sub esp, 0x228
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov ecx, esi
mov dword [ebp - 0x234], esi
mov dword [ebp - 0x224], 0
call fcn.00418b00
mov dword [ebp - 0x224], 1
mov dword [ebp - 0x230], 0
mov dword [ebp - 0x22c], 0
mov dword [ebp - 0x228], 0
push 0x20119
push 0x512550
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x230]
mov dword [ebp - 4], 1
call fcn.0041fc70
mov ebx, dword [ebp - 0x230]
test eax, eax
jne 0x41c86c
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push str.InstallSource
push ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41c86c
mov eax, dword [ebp - 0x220]
cmp eax, 1
je 0x41c7a8
cmp eax, 2
jne 0x41c86c
mov eax, dword [ebp - 0x21c]
test eax, eax
je 0x41c7cc
test al, 1
jne 0x41c86c
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x41c7d5
jmp 0x41c86c
xor eax, eax
mov word [ebp - 0x218], ax
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x21c]
call fcn.004187f0
mov eax, dword [ebp - 0x21c]
or ecx, 0xffffffff
mov edi, dword [esi]
sub edi, 0x10
mov byte [ebp - 4], 2
lea edx, [eax - 0x10]
cmp edx, edi
je 0x41c853
cmp dword [edi + 0xc], 0
jl 0x41c83f
mov ecx, dword [edx]
cmp ecx, dword [edi]
jne 0x41c83f
push edx
call fcn.0041b3d0
add esp, 4
mov dword [ebp - 0x220], eax
or ecx, 0xffffffff
lea edx, [edi + 0xc]
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x41c838
mov ecx, dword [edi]
push edi
mov edx, dword [ecx]
call dword [edx + 4]
mov eax, dword [ebp - 0x220]
add eax, 0x10
mov dword [esi], eax
jmp 0x41c84a
push dword [eax - 0xc]
mov ecx, esi
push eax
call fcn.00421100
mov eax, dword [ebp - 0x21c]
or ecx, 0xffffffff
mov byte [ebp - 4], 1
add eax, 0xfffffff0
lock xadd dword [eax + 0xc], ecx
dec ecx
test ecx, ecx
jg 0x41c86c
mov ecx, dword [eax]
push eax
mov edx, dword [ecx]
call dword [edx + 4]
test ebx, ebx
je 0x41c877
push ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
Function at 0x41cde0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a596
mov eax, dword fs:[0]
push eax
sub esp, 0x2b0
mov eax, dword [0x54112c]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
mov dword [ebp - 0x2bc], 0
mov dword [ebp - 0x2b8], 0
mov dword [ebp - 0x2b4], 0
push 0x2001f
push str.SOFTWAREReasonReason_Antivirus
push reloc.WS2_32.dll_bind
lea ecx, [ebp - 0x2bc]
mov dword [ebp - 4], 0
call fcn.0041fc70
test eax, eax
jne 0x41ceb8
lea eax, [ebp - 0x2b0]
mov dword [ebp - 0x2b0], 0x208
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x2ac]
push eax
push 0
push 0x5137d0
push dword [ebp - 0x2bc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x41ceb8
mov eax, dword [ebp - 0x2ac]
cmp eax, 1
je 0x41ce9a
cmp eax, 2
jne 0x41ceb8
mov ecx, dword [ebp - 0x2b0]
test ecx, ecx
je 0x41cf23
test cl, 1
jne 0x41ceb8
mov eax, ecx
shr eax, 1
cmp word [ebp + eax*2 - 0x21a], 0
je 0x41cf2c
lea eax, [ebp - 0x2a8]
push eax
call fcn.0041bee0
mov edi, eax
add esp, 4
cmp esi, edi
je 0x41cf07
mov ecx, esi
call fcn.00404470
mov ecx, dword [edi]
mov dword [esi], ecx
mov ecx, dword [edi + 4]
mov dword [esi + 4], ecx
mov eax, dword [edi + 8]
mov dword [esi + 8], eax
mov eax, dword [edi + 0xc]
mov dword [esi + 0xc], eax
mov eax, dword [edi + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [edi + 0x14]
mov dword [esi + 0x14], eax
mov dword [edi + 0x10], 0
mov dword [edi + 0x14], 0xf
mov byte [edi], 0
lea ecx, [ebp - 0x2a8]
call fcn.00409090
cmp dword [esi + 0x10], 0
jbe 0x41d011
mov bl, 1
jmp 0x41d013
xor eax, eax
mov word [ebp - 0x218], ax
mov edx, dword [esi + 0x14]
lea eax, [ebp - 0x218]
shr ecx, 1
lea eax, [eax + ecx*2]
mov dword [ebp - 0x2ac], eax
mov eax, esi
cmp edx, 0x10
jb 0x41cf49
mov eax, dword [esi]
mov ebx, dword [esi + 0x10]
mov edi, esi
add ebx, eax
cmp edx, 0x10
jb 0x41cf57
mov edi, dword [esi]
push ecx
lea ecx, [ebp - 0x230]
mov dword [ebp - 0x220], 0
mov dword [ebp - 0x21c], 0xf
mov byte [ebp - 0x230], 0
call fcn.00404640
push dword [ebp - 0x2ac]
lea eax, [ebp - 0x218]
push dword [ebp - 0x2ac]
lea ecx, [ebp - 0x230]
push eax
call fcn.004126d0
sub ebx, edi
mov byte [ebp - 4], 1
cmp dword [esi + 0x14], 0x10
mov eax, esi
jb 0x41cfac
mov eax, dword [esi]
sub edi, eax
cmp dword [ebp - 0x21c], 0x10
lea eax, [ebp - 0x230]
jb 0x41cfc3
mov eax, dword [ebp - 0x230]
push dword [ebp - 0x220]
mov ecx, esi
push eax
push ebx
push edi
call fcn.004044d0
mov edx, dword [ebp - 0x21c]
cmp edx, 0x10
jb 0x41cf1c
mov ecx, dword [ebp - 0x230]
inc edx
mov eax, ecx
cmp edx, 0x1000
jb 0x41d003
mov ecx, dword [ecx - 4]
add edx, 0x23
sub eax, ecx
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x41d042
push edx
push ecx
call fcn.0048bf7f
add esp, 8
mov bl, 1
jmp 0x41d013
xor bl, bl
mov eax, dword [ebp - 0x2bc]
test eax, eax
je 0x41d024
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0048bf8d
mov esp, ebp
pop ebp
ret
call fcn.004bce09
int3
Function at 0x41e570
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x50a7e0
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x54112c]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, ecx
mov dword [ebp - 0x18], eax
cmp dword [ebp + 0x10], 0
jle 0x41e748
push 0x3f7
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
lea ecx, [ebp - 0x10]
mov edi, eax
call fcn.00418b00
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call fcn.00418b00
push edi
mov byte [ebp - 4], 1
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ebx, [eax + 1]
test ebx, ebx
js 0x41e75e
mov esi, dword [ebp - 0x10]
mov ecx, 1
mov eax, dword [esi - 8]
sub ecx, dword [esi - 4]
sub eax, ebx
or eax, ecx
jge 0x41e604
push ebx
lea ecx, [ebp - 0x10]
call fcn.0041fd20
mov esi, dword [ebp - 0x10]
push ebx
push esi
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
cmp eax, 0xffffffff
jne 0x41e61e
push dword [esi - 8]
push esi
call fcn.004d9665
add esp, 8
test eax, eax
js 0x41e75e
cmp eax, dword [esi - 8]
jg 0x41e75e
fild dword [ebp + 0xc]
mov dword [esi - 0xc], eax
xor ecx, ecx
mov word [esi + eax*2], cx
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fst qword [ebp - 0x28]
fild dword [ebp + 0x10]
fstp qword [ebp - 0x20]
fld qword [ebp - 0x20]
fst qword [ebp - 0x20]
fxch st(1)
fmul qword [0x513a28]
fdivrp st(1)
fadd qword [0x5139f0]
call fcn.0048ca00
push eax
lea eax, [ebp - 0x14]
push str._d__
push eax
call fcn.0041b810
mov eax, dword [ebp - 0x14]
add esp, 0xc
test eax, eax
je 0x41e768
mov ecx, dword [ebp - 0x10]
mov edx, eax
mov si, word [ecx]
cmp si, word [edx]
jne 0x41e6ad
test si, si
je 0x41e6a9
mov si, word [ecx + 2]
cmp si, word [edx + 2]
jne 0x41e6ad
add ecx, 4
add edx, 4
test si, si
jne 0x41e687
xor ecx, ecx
jmp 0x41e6b2
sbb ecx, ecx
or ecx, 1
test ecx, ecx
je 0x41e6be
push eax
push edi
call dword [sym.imp.USER32.dll_SetWindowTextW]
mov eax, dword [ebp - 0x18]
push 0x3f3
push dword [eax + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
mov edi, dword [sym.imp.USER32.dll_SendMessageW]
mov esi, eax
push connect
push 0
push 0x401
push esi
call edi
fld qword [ebp - 0x28]
fmul qword [0x513a58]
fdiv qword [ebp - 0x20]
fadd qword [0x5139f0]
call fcn.0048ca00
push 0
push eax
push 0x402
push esi
call edi
mov edx, dword [ebp - 0x14]
or esi, 0xffffffff
mov byte [ebp - 4], 0
add edx, 0xfffffff0
mov eax, esi
lock xadd dword [edx + 0xc], eax
dec eax
test eax, eax
jg 0x41e729
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
add edx, 0xfffffff0
lock xadd dword [edx + 0xc], esi
dec esi
test esi, esi
jg 0x41e748
mov ecx, dword [edx]
push edx
mov eax, dword [ecx]
call dword [eax + 4]
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x80070057
call fcn.0041b1a0
push 0x80004005
call fcn.0041b1a0
int3