joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10005890
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2058
call fcn.10020f30
mov eax, dword [0x100682b0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 8], 3
jae 0x100058c3
mov eax, 0x80070057
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019170
mov esp, ebp
pop ebp
ret
push ebx
push esi
mov esi, dword [eax]
mov ecx, dword [esi + 0x24]
mov eax, dword [esi + 0x20]
mov dword [ebp - 0x2010], ecx
mov ecx, dword [esi + 0x28]
mov dword [ebp - 0x200c], ecx
mov edx, dword [esi + 0x2c]
mov dword [ebp - 0x2008], edx
cmp ax, 5
jne 0x100058fa
fld qword [ebp - 0x200c]
call fcn.1004b330
mov ebx, eax
jmp 0x100058fc
mov ebx, ecx
test ebx, ebx
jne 0x10005915
pop esi
mov eax, 0x80070057
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019170
mov esp, ebp
pop ebp
ret
mov ecx, dword [esi + 0x14]
mov eax, dword [esi + 0x10]
mov dword [ebp - 0x2010], ecx
mov ecx, dword [esi + 0x18]
mov dword [ebp - 0x200c], ecx
mov edx, dword [esi + 0x1c]
push edi
mov dword [ebp - 0x2008], edx
cmp ax, 5
jne 0x10005949
fld qword [ebp - 0x200c]
call fcn.1004b330
mov edi, eax
jmp 0x1000594b
mov edi, ecx
mov ecx, dword [esi + 4]
mov eax, dword [esi]
mov dword [ebp - 0x2010], ecx
mov ecx, dword [esi + 8]
mov dword [ebp - 0x200c], ecx
mov edx, dword [esi + 0xc]
mov dword [ebp - 0x2008], edx
cmp ax, 5
jne 0x1000597d
fld qword [ebp - 0x200c]
call fcn.1004b330
mov esi, eax
jmp 0x1000597f
mov esi, ecx
xor eax, eax
push 0x1ffe
push eax
lea ecx, [ebp - 0x2002]
push ecx
mov word [ebp - 0x2004], ax
call fcn.1001ba60
push ebx
lea edx, [ebp - 0x2004]
push 0x1005e4bc
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
push 0x44
lea eax, [ebp - 0x2058]
push 0
push eax
call fcn.1001ba60
add esp, 0x24
xor eax, eax
lea ecx, [ebp - 0x2014]
push ecx
lea edx, [ebp - 0x2058]
push edx
push eax
push eax
push eax
push eax
push eax
push eax
mov dword [ebp - 0x2014], eax
mov dword [ebp - 0x2010], eax
mov dword [ebp - 0x200c], eax
mov dword [ebp - 0x2008], eax
lea eax, [ebp - 0x2004]
push eax
push 0
mov dword [ebp - 0x2058], 0x44
mov dword [ebp - 0x202c], 1
mov word [ebp - 0x2028], di
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
pop edi
test esi, esi
je 0x10005a2c
mov ecx, dword [ebp - 0x2014]
push 0xffffffffffffffff
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov edx, dword [ebp - 0x2014]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push edx
call esi
mov eax, dword [ebp - 0x2010]
push eax
call esi
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
xor eax, eax
pop ebx
call fcn.10019170
mov esp, ebp
pop ebp
ret
Function at 0x10006c70
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051238
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x100682b0]
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 edi, ecx
xor ebx, ebx
cmp dword [edi + 0x44], ebx
je 0x10006d91
cmp byte [edi + 0x49], bl
je 0x10006d91
mov eax, dword [edi]
mov edx, dword [eax + 0xc]
push 0xffffffffffffffff
call edx
cmp eax, 0xffffffff
je 0x10006d85
mov ecx, 0xf
xor eax, eax
mov byte [ebp - 0x2c], bl
mov dword [ebp - 0x18], ecx
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x28], eax
mov dword [ebp - 0x1c], 8
cmp ecx, 0x10
jae 0x10006ce5
lea eax, [ebp - 0x2c]
mov byte [eax + 8], bl
mov dword [ebp - 4], ebx
mov eax, dword [ebp - 0x2c]
mov ebx, dword [ebp - 0x18]
mov edx, eax
cmp ebx, 0x10
jae 0x10006cfd
lea edx, [ebp - 0x2c]
mov eax, edx
add edx, dword [ebp - 0x1c]
mov ecx, dword [edi + 0x44]
mov esi, dword [ecx]
lea ebx, [ebp - 0x30]
push ebx
push edx
push eax
lea eax, [edi + 0x4c]
push eax
mov eax, dword [esi + 0x18]
call eax
sub eax, 0
je 0x10006d26
dec eax
je 0x10006d2a
sub eax, 2
lea ecx, [ebp - 0x2c]
jne 0x10006d80
jmp 0x10006d8c
mov byte [edi + 0x49], 0
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
mov ecx, eax
cmp ebx, 0x10
jae 0x10006d3a
lea ecx, [ebp - 0x2c]
mov esi, dword [ebp - 0x30]
sub esi, ecx
je 0x10006d63
cmp ebx, 0x10
jae 0x10006d49
lea eax, [ebp - 0x2c]
mov ecx, dword [edi + 0x54]
push ecx
push esi
push 1
push eax
call fcn.1001ab0f
add esp, 0x10
cmp esi, eax
jne 0x10006d7d
mov ebx, dword [ebp - 0x18]
mov eax, dword [ebp - 0x2c]
cmp byte [edi + 0x49], 0
je 0x10006d89
test esi, esi
jne 0x10006cf1
push esi
push 8
lea ecx, [ebp - 0x2c]
call fcn.10001350
jmp 0x10006ceb
lea ecx, [ebp - 0x2c]
call fcn.100021d0
xor al, al
jmp 0x10006d93
lea ecx, [ebp - 0x2c]
call fcn.100021d0
mov al, 1
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.10019170
mov esp, ebp
pop ebp
ret
Function at 0x10007250
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050b7b
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x100682b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x14], esi
lea ecx, [esi + 4]
mov dword [esi], vtable.std::basic_streambuf_char__struct_std::char_traits_char__.0
call fcn.1002f07b
push 4
mov dword [ebp - 4], 0
call fcn.100199d3
mov edi, eax
add esp, 4
test edi, edi
je 0x100072d0
call fcn.1002ef53
mov dword [edi], eax
call fcn.1002ed12
push 0
lea ecx, [ebp - 0x10]
mov ebx, eax
call fcn.1002f03c
mov eax, dword [ebx + 4]
cmp eax, 0xffffffff
jae 0x100072c6
inc eax
mov dword [ebx + 4], eax
lea ecx, [ebp - 0x10]
call fcn.1002f064
jmp 0x100072d2
xor edi, edi
lea eax, [esi + 8]
mov dword [esi + 0x10], eax
lea ecx, [esi + 0x18]
mov dword [esi + 0x20], ecx
lea edx, [esi + 0x1c]
mov dword [esi + 0x24], edx
mov dword [esi + 0x38], edi
lea eax, [esi + 0xc]
mov dword [esi + 0x14], eax
lea ecx, [esi + 0x28]
mov dword [esi + 0x30], ecx
lea edx, [esi + 0x2c]
mov dword [esi + 0x34], edx
mov dword [eax], 0
mov eax, dword [esi + 0x24]
mov dword [eax], 0
mov ecx, dword [esi + 0x34]
mov dword [ecx], 0
mov edx, dword [esi + 0x10]
mov dword [edx], 0
mov eax, dword [esi + 0x20]
mov dword [eax], 0
mov ecx, dword [esi + 0x30]
mov dword [ecx], 0
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x10007bb0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x808
mov eax, dword [0x100682b0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0x10]
nop
nop
nop
nop
nop
nop
nop
push 0
call dword [sym.imp.ole32.dll_OleInitialize]
xor eax, eax
push 0x7fe
push eax
lea ecx, [ebp - 0x802]
push ecx
mov word [ebp - 0x804], ax
call fcn.1001ba60
push 0x1005e4f0
push esi
call fcn.1001a430
add esp, 0x14
cmp eax, esi
jne 0x10007c66
push esi
lea edx, [ebp - 0x804]
push 0x1005e4f4
push edx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea eax, [ebp - 0x808]
push eax
lea ecx, [ebp - 0x804]
push ecx
mov dword [ebp - 0x808], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x808], 3
jge 0x10007c58
push eax
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10019170
mov esp, ebp
pop ebp
ret 0x10
mov edx, dword [eax + 8]
mov eax, dword [eax + 4]
push 0
push 1
push edx
push eax
jmp 0x10007cc1
push 0x1005e4fc
push esi
call fcn.1001a430
add esp, 8
cmp eax, esi
jne 0x10007cc6
push esi
lea ecx, [ebp - 0x804]
push 0x1005e4f4
push ecx
call dword [sym.imp.USER32.dll_wsprintfW]
add esp, 0xc
lea edx, [ebp - 0x808]
push edx
lea eax, [ebp - 0x804]
push eax
mov dword [ebp - 0x808], 0
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp dword [ebp - 0x808], 3
jl 0x10007c40
mov ecx, dword [eax + 8]
mov edx, dword [eax + 4]
push 1
push 1
push ecx
push edx
call sym.web_skin.dll_DownloadW
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.10019170
mov esp, ebp
pop ebp
ret 0x10
Function at 0x10007ce0
Capabilities:
Create http request
Delete file
Download and write a file
Read data from internet
Receive and write data from server to client
Receive data
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050780
mov eax, dword fs:[0]
push eax
sub esp, 0x2c
push ebx
push esi
push edi
mov eax, dword [0x100682b0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x10], esp
mov edi, ecx
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor ebx, ebx
push 0x100000
push 0x40
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
push ebx
push 0x80
push 2
push ebx
push ebx
push 0xc0000000
mov esi, eax
push edi
mov dword [ebp - 0x38], esi
mov byte [ebp - 0x11], bl
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x24], eax
cmp eax, 0xffffffff
jne 0x10007d6a
push 0x100640e0
lea eax, [ebp - 0x28]
push eax
mov dword [ebp - 0x28], str.error
call fcn.1001b990
push ebx
push ebx
push ebx
push ebx
push ebx
call dword [sym.imp.WININET.dll_InternetOpenW]
mov dword [ebp - 0x20], eax
cmp eax, ebx
jne 0x10007d91
push 0x100640e0
lea ecx, [ebp - 0x2c]
push ecx
mov dword [ebp - 0x2c], str.error
call fcn.1001b990
mov edx, dword [ebp + 8]
push ebx
push 0x84000002
push ebx
push ebx
push edx
push eax
call dword [sym.imp.WININET.dll_InternetOpenUrlW]
mov edi, eax
mov dword [ebp - 0x1c], edi
cmp edi, ebx
jne 0x10007dc2
push 0x100640e0
lea eax, [ebp - 0x30]
push eax
mov dword [ebp - 0x30], str.error
call fcn.1001b990
lea ecx, [ebp - 0x18]
push ecx
mov eax, 0x100000
push eax
push esi
push edi
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x10007ddd
mov byte [ebp - 0x11], bl
jmp 0x10007de8
mov eax, dword [ebp - 0x18]
cmp eax, ebx
jne 0x10007e4f
mov byte [ebp - 0x11], 1
push 0x100640e0
lea edx, [ebp - 0x34]
push edx
mov dword [ebp - 0x34], 0x1005e508
call fcn.1001b990
mov eax, dword [ebp - 0x24]
cmp eax, 0xffffffff
je 0x10007e0c
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x1c]
xor ebx, ebx
cmp eax, ebx
je 0x10007e1c
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, dword [ebp - 0x20]
cmp eax, ebx
je 0x10007e2a
push eax
call dword [sym.imp.WININET.dll_InternetCloseHandle]
mov eax, 0x10007e30
ret
mov edx, dword [ebp - 0x24]
push ebx
lea ecx, [ebp - 0x18]
push ecx
push eax
push esi
push edx
call dword [sym.imp.KERNEL32.dll_WriteFile]
jmp 0x10007dc2
Function at 0x10007f10
Capabilities:
Create directory
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x61c
call fcn.1001a250
push 0x61c
mov esi, eax
push 0
push esi
call fcn.1001ba60
mov eax, dword [ebp + 8]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcpyW]
add esp, 0x10
push eax
push esi
call ebx
mov ecx, dword [ebp + 0xc]
push ecx
lea edi, [esi + 0x410]
push edi
call ebx
push edi
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecW]
push 0
push edi
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
mov edx, dword [ebp + 0xc]
push edx
push edi
call ebx
mov eax, dword [ebp + 0x14]
push 0
push 0
push esi
push 0x10007e70
push 0
push 0
mov dword [esi + 0x618], eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
cmp dword [ebp + 0x10], 0
mov esi, eax
je 0x10007f93
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x10
Function at 0x10008730
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
push 0x1034
push 0x40
mov ebx, eax
mov edi, ecx
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov esi, eax
mov eax, dword [ebp + 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [esi + 0x800]
push edx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov ecx, dword [ebp + 0x14]
mov ax, word [ebp + 0xc]
push 0
mov dword [esi + 0x1010], ecx
push 0x1005e2e3
lea ecx, [esi + 0x1014]
mov word [esi + 0x1030], ax
mov dword [esi + 0x1000], edi
mov dword [esi + 0x1004], 0x8001
mov dword [esi + 0x100c], ebx
call fcn.10007150
push 0
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
push 0
push edi
push 0x12c
push 0x12c
push 0
push 0
push 0x40800004
push str.msg_nmsg
push str.edit
push 0
call dword [sym.imp.USER32.dll_CreateWindowExA]
push 0
push 0
push esi
push 0x100085a0
push 0
mov edi, eax
push 0
mov dword [esi + 0x1008], edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp + 0xc], eax
test ebx, ebx
je 0x10008824
push 8
push 0x40
call dword [sym.imp.KERNEL32.dll_GlobalAlloc]
mov edx, dword [ebp + 0xc]
push 0
push 0
push eax
push 0x100086e0
push 0
push 0
mov dword [eax], ebx
mov dword [eax + 4], edx
call dword [sym.imp.KERNEL32.dll_CreateThread]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0xc]
mov ebx, dword [sym.imp.USER32.dll_SetPropA]
push eax
push str.hTrd
push edi
call ebx
push 0x10008650
push 0xfffffffffffffffc
push edi
call dword [sym.imp.USER32.dll_SetWindowLongA]
push eax
push str.OldWindowProc
push edi
call ebx
cmp dword [ebp + 0x14], 0
jne 0x10008870
mov ecx, dword [ebp + 0xc]
push 0x124f80
push ecx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, esi
call fcn.10008540
push esi
call dword [sym.imp.KERNEL32.dll_GlobalFree]
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret 0x10
Function at 0x10008fa0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10051b68
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100682b0]
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
lea eax, [ebp + 8]
push eax
sub esp, 0x1c
mov dword [ebp - 4], 2
mov dword [ebp - 0x14], esp
mov ecx, esp
xor esi, esi
push 0xffffffffffffffff
push esi
mov edx, eax
mov ebx, 0xf
mov dword [ecx + 0x14], ebx
mov dword [ecx + 0x10], esi
push edx
mov dword [ebp - 0x18], esi
lea edi, [ebp - 0x18]
mov byte [ecx], 0
call fcn.10001400
mov ecx, edi
call fcn.100089d0
add esp, 0x20
lea edi, [esi + 0x10]
test al, al
jne 0x10009045
cmp dword [ebp + 0x1c], edi
jb 0x10009021
mov eax, dword [ebp + 8]
push eax
call fcn.10019165
add esp, 4
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], esi
mov byte [ebp + 8], 0
cmp dword [ebp + 0x38], edi
jb 0x1000903c
mov ecx, dword [ebp + 0x24]
push ecx
call fcn.10019165
add esp, 4
lea edx, [ebp + 0x40]
push edx
jmp 0x10009132
mov eax, dword [ebp + 8]
mov dword [ebp - 0x14], esi
cmp dword [ebp + 0x1c], edi
jae 0x10009053
lea eax, [ebp + 8]
mov edx, dword [ebp - 0x18]
lea ecx, [ebp - 0x14]
push ecx
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x10009010
cmp word [ebp + 0x40], 8
jne 0x100090d9
mov edi, dword [ebp + 0x48]
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push edi
call esi
lea ebx, [eax + 2]
test edi, edi
jne 0x10009084
xor eax, eax
jmp 0x100090b0
push edi
call esi
inc eax
cmp eax, 0x3fffffff
jle 0x10009093
xor eax, eax
jmp 0x100090b0
lea esi, [eax + eax]
mov eax, esi
call fcn.1001b580
mov ecx, esi
mov edx, 3
mov eax, edi
mov esi, esp
mov dword [ebp - 0x18], esp
call fcn.10001000
cmp dword [ebp + 0x38], 0x10
mov ecx, dword [ebp + 0x24]
jae 0x100090bc
lea ecx, [ebp + 0x24]
push ebx
push eax
mov eax, dword [ebp - 0x14]
push 1
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, 0x10
lea ebx, [edi - 1]
xor esi, esi
jmp 0x100090f8
mov eax, dword [ebp + 0x24]
cmp dword [ebp + 0x38], edi
jae 0x100090e4
lea eax, [ebp + 0x24]
mov edx, dword [ebp - 0x14]
push 4
lea ecx, [ebp + 0x48]
push ecx
push 4
push esi
push eax
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov eax, dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp + 0x1c], edi
jb 0x10009113
mov ecx, dword [ebp + 8]
push ecx
call fcn.10019165
add esp, 4
mov dword [ebp + 0x1c], ebx
mov dword [ebp + 0x18], esi
mov byte [ebp + 8], 0
cmp dword [ebp + 0x38], edi
jb 0x1000912e
mov edx, dword [ebp + 0x24]
push edx
call fcn.10019165
add esp, 4
lea eax, [ebp + 0x40]
push eax
mov dword [ebp + 0x38], ebx
mov dword [ebp + 0x34], esi
mov byte [ebp + 0x24], 0
call dword [sym.imp.OLEAUT32.dll_VariantCopy]
mov al, 1
lea esp, [ebp - 0x28]
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.10019170
mov esp, ebp
pop ebp
ret
Function at 0x10009fd0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 0x10]
test esi, esi
jne 0x10009fe3
lea eax, [esi + 0xd]
pop esi
pop ebp
ret 0xc
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push edi
xor edi, edi
lea ecx, [ecx]
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10009ff0
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
push edi
push eax
mov eax, dword [edx]
push 7
push 0
push ecx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop ebx
pop esi
pop ebp
ret 0xc

Function at 0x1000a020
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [0x100682b0]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
push edi
mov eax, ecx
mov esi, dword [eax + 4]
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0x120]
push edx
xor edi, edi
or esi, 0x2001f
push esi
push edi
mov dword [ebp - 0x124], eax
mov eax, dword [eax]
push ecx
push eax
mov dword [ebp - 0x128], ecx
mov dword [ebp - 0x118], edi
mov dword [ebp - 0x114], edi
mov dword [ebp - 0x110], edi
mov dword [ebp - 0x120], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [ebp - 0x118]
mov ebx, eax
cmp ebx, edi
jne 0x1000a0b4
xor eax, eax
cmp ecx, edi
je 0x1000a096
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x120]
and esi, 0x300
mov ebx, eax
mov dword [ebp - 0x118], ecx
mov dword [ebp - 0x114], esi
cmp eax, edi
je 0x1000a0d4
cmp ecx, edi
je 0x1000a0bf
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, ebx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10019170
mov esp, ebp
pop ebp
ret 4
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [ebp - 0x130]
push eax
push edi
push edi
push edi
lea edx, [ebp - 0x11c]
push edx
lea eax, [ebp - 0x10c]
push eax
push edi
push ecx
mov dword [ebp - 0x11c], 0x100
call esi
test eax, eax
jne 0x1000a15c
jmp 0x1000a110
lea ecx, [ebp - 0x10c]
push ecx
lea ecx, [ebp - 0x118]
call fcn.1000a020
mov ebx, eax
cmp ebx, edi
jne 0x1000a1b2
lea edx, [ebp - 0x130]
push edx
mov edx, dword [ebp - 0x118]
push edi
push edi
push edi
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x10c]
push ecx
push edi
push edx
mov dword [ebp - 0x11c], 0x100
call esi
test eax, eax
je 0x1000a110
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x1000a173
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x118], edi
mov ebx, dword [ebp - 0x128]
mov eax, dword [ebp - 0x124]
mov dword [ebp - 0x114], edi
call fcn.10009e30
mov esi, eax
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x1000a19d
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.10019170
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 0x118]
cmp eax, edi
je 0x1000a1c3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 8]
pop edi
pop esi
mov eax, ebx
xor ecx, ebp
pop ebx
call fcn.10019170
mov esp, ebp
pop ebp
ret 4
Function at 0x10014d40
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10050a00
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x100682b0]
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 eax, dword [ebp + 8]
push eax
lea esi, [ebp - 0x18]
call fcn.10014c40
xor ebx, ebx
mov dword [ebp - 4], ebx
mov edi, dword [ebp - 0x18]
cmp edi, ebx
jne 0x10014d93
push str.WebEvalScript:m_sHtmlDoc_is_NULL_
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
jmp 0x10014ec4
mov dword [ebp - 0x14], ebx
mov byte [ebp - 4], 1
mov ecx, dword [edi]
mov eax, dword [ecx + 0x1b0]
lea edx, [ebp - 0x14]
push edx
push edi
call eax
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x1c]
push edx
push 0x800
push 1
lea edx, [ebp - 0x20]
push edx
mov dword [ebp - 0x20], str.evalScript
mov dword [ebp - 0x1c], ebx
mov ecx, dword [eax]
push 0x10052590
push eax
mov eax, dword [ecx + 0x14]
call eax
cmp eax, ebx
jl 0x10014ea3
mov esi, dword [ebp + 0xc]
xor eax, eax
mov ecx, 8
mov word [ebp - 0x30], cx
mov dword [ebp - 0x2e], eax
mov dword [ebp - 0x2a], eax
mov dword [ebp - 0x26], eax
mov word [ebp - 0x22], ax
cmp esi, ebx
je 0x10014e29
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea edi, [eax + 1]
cmp edi, 0x3fffffff
jle 0x10014e0f
xor eax, eax
jmp 0x10014e26
lea eax, [edi + edi]
call fcn.1001b580
mov ecx, esp
mov eax, esi
push 3
mov edx, edi
mov esi, ecx
call fcn.10003940
mov edi, dword [ebp - 0x18]
push eax
call dword [sym.imp.OLEAUT32.dll_SysReAllocString]
push ebx
push ebx
lea edx, [ebp - 0x30]
mov dword [ebp - 0x50], edx
lea edx, [ebp - 0x40]
push edx
mov dword [ebp - 0x28], eax
lea edx, [ebp - 0x50]
push edx
mov edx, dword [ebp - 0x1c]
push 1
mov eax, 8
mov word [ebp - 0x40], ax
xor eax, eax
push 0x800
mov dword [ebp - 0x3e], eax
mov dword [ebp - 0x3a], eax
mov dword [ebp - 0x36], eax
mov word [ebp - 0x32], ax
mov eax, dword [ebp - 0x14]
push 0x10052590
mov dword [ebp - 0x48], 1
mov dword [ebp - 0x44], ebx
mov ecx, dword [eax]
push edx
push eax
mov eax, dword [ecx + 0x18]
call eax
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10014e92
mov ecx, dword [eax]
mov edx, dword [ecx + 8]
push eax
call edx
mov dword [ebp - 4], 0xffffffff
mov eax, dword [edi]
mov ecx, dword [eax + 8]
push edi
call ecx
jmp 0x10014ec4
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
cmp eax, ebx
je 0x10014eb5
mov edx, dword [eax]
push eax
mov eax, dword [edx + 8]
call eax
mov dword [ebp - 4], 0xffffffff
mov ecx, dword [edi]
mov edx, dword [ecx + 8]
push edi
call edx
xor eax, eax
lea esp, [ebp - 0x60]
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.10019170
mov esp, ebp
pop ebp
ret 8