joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44eeb8
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, ebx
call fcn.0044edc4
mov cl, 1
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004bfa18
push 0x10
lea eax, [ebx + 0x18]
push eax
mov eax, dword [ebx + 4]
push eax
call sub.WSOCK32.DLL_connect
mov edx, 0x44ef20
call fcn.0044e520
mov byte [ebx + 0x29], 0
test byte [ebx + 0x28], 0x10
jne 0x44ef0e
cmp dword [ebx + 4], 0xffffffff
setne al
mov byte [ebx + 8], al
mov cl, 2
mov edx, ebx
mov eax, ebx
mov si, 0xffff
call fcn.004bfa18
pop esi
pop ebx
ret

Function at 0x44f3a8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor ecx, ecx
mov dword [ebp - 0xc], ecx
mov ebx, edx
xor eax, eax
push ebp
push 0x44f434
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, ebx
mov ecx, 0
call fcn.004c1db0
mov eax, dword [ebp - 0xc]
call fcn.004c1bdc
push eax
call sub.WSOCK32.DLL_gethostbyname
mov ebx, eax
lea eax, [ebp - 8]
xor ecx, ecx
mov edx, 4
call fcn.004bed18
test ebx, ebx
je 0x44f418
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
movzx ecx, byte [edx]
mov byte [ebp - 8], cl
movzx ecx, byte [edx + 1]
mov byte [ebp - 7], cl
movzx ecx, byte [edx + 2]
mov byte [ebp - 6], cl
movzx eax, byte [edx + 3]
mov byte [ebp - 5], al
mov eax, dword [ebp - 8]
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f43b
lea eax, [ebp - 0xc]
call fcn.004c1288
ret

Function at 0x44f4bc
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov esi, eax
mov ebx, dword [ebp + 8]
xor eax, eax
push ebp
push 0x44f586
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebx], 2
test edi, edi
je 0x44f4f9
mov edx, edi
mov eax, esi
call fcn.0044f3a8
mov dword [ebx + 4], eax
jmp 0x44f546
cmp dword [ebp - 4], 0
je 0x44f522
lea eax, [ebp - 8]
mov edx, dword [ebp - 4]
mov ecx, 0
call fcn.004c1db0
mov eax, dword [ebp - 8]
call fcn.004c1bdc
push eax
call sub.WSOCK32.DLL_inet_addr
mov dword [ebx + 4], eax
jmp 0x44f546
cmp byte [ebp + 0xc], 0
jne 0x44f52f
xor eax, eax
mov dword [ebx + 4], eax
jmp 0x44f546
mov ecx, dword [0x7e8ce0]
mov dl, 1
mov eax, dword [0x44b9cc]
call fcn.004a8fd8
call fcn.004c09e0
cmp dword [ebp + 0x14], 0
je 0x44f562
mov edx, dword [ebp + 0x14]
mov eax, esi
call fcn.0044f444
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
jmp 0x44f570
movzx eax, word [ebp + 0x10]
push eax
call sub.WSOCK32.DLL_htons
mov word [ebx + 2], ax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44f58d
lea eax, [ebp - 8]
call fcn.004c1288
ret
Function at 0x44f598
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44f5c9
mov ecx, dword [0x7e8ce4]
mov dl, 1
mov eax, dword [0x44b9cc]
call fcn.004a8fd8
call fcn.004c09e0
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x44f5f6
mov ecx, dword [0x7e8ce8]
mov dl, 1
mov eax, dword [0x44b9cc]
call fcn.004a8fd8
call fcn.004c09e0
xor eax, eax
push ebp
push 0x44f677
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004bfa18
cmp byte [ebp + 8], 0
je 0x44f651
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0044f4bc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044ee24
jmp 0x44f66d
mov eax, dword [ebp + 0x14]
push eax
movzx eax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0044e830
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f694
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10

Function at 0x44f6a0
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov dword [ebp - 8], ecx
mov edi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44f6d1
mov ecx, dword [0x7e8cec]
mov dl, 1
mov eax, dword [0x44b9cc]
call fcn.004a8fd8
call fcn.004c09e0
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov ebx, eax
mov eax, dword [ebp - 4]
mov dword [eax + 4], ebx
inc ebx
jne 0x44f6fe
mov ecx, dword [0x7e8ce8]
mov dl, 1
mov eax, dword [0x44b9cc]
call fcn.004a8fd8
call fcn.004c09e0
xor eax, eax
push ebp
push 0x44f77a
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xffff
call fcn.004bfa18
cmp byte [ebp + 8], 0
je 0x44f756
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 1
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0044f4bc
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
movsd dword es:[edi], dword [esi]
mov eax, dword [ebp - 4]
call fcn.0044eeb8
jmp 0x44f770
mov eax, dword [ebp + 0x10]
push eax
movzx eax, word [ebp + 0xc]
push eax
push 0
push 1
mov ecx, dword [ebp - 8]
mov edx, edi
mov eax, dword [ebp - 4]
call fcn.0044e830
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x44f797
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x44f9a4
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.0044ec4c
xor eax, eax
push ebp
push 0x44fb17
push dword fs:[eax]
mov dword fs:[eax], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x44fb01
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x44f9f0
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44f9fa
call fcn.004c0ad4
jmp 0x44fb1e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00465f3c
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1010]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 0xc]
mov ebx, eax
test ebx, ebx
jle 0x44faf6
push 0
push ebx
lea eax, [ebp - 0x1010]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_send
mov edi, eax
cmp edi, 0xffffffff
jne 0x44faa9
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x44fa96
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004bfa18
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
push ebp
call fcn.0044f95c
pop ecx
mov eax, dword [ebp - 4]
movzx edx, byte [0x44fb2c]
cmp dl, byte [eax + 0x28]
je 0x44fafd
call fcn.004a8e8c
jmp 0x44fafd
mov eax, dword [ebp - 0xc]
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00465f5c
jmp 0x44fafd
cmp edi, ebx
jge 0x44fac5
mov eax, dword [ebp - 0xc]
add eax, edi
cdq
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00465f5c
jmp 0x44f9fa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [eax]
call dword [edx]
push edx
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00465f3c
cmp edx, dword [esp + 4]
jne 0x44fae5
cmp eax, dword [esp]
pop edx
pop eax
jne 0x44f9fa
push ebp
call fcn.0044f95c
pop ecx
jmp 0x44fafd
push ebp
call fcn.0044f95c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fb1e
mov eax, dword [ebp - 4]
call fcn.0044ec54
ret
movzx eax, byte [ebp - 5]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x44fb60
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov esi, ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44fc82
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044ec4c
xor eax, eax
push ebp
push 0x44fc65
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44fbb0
call fcn.004c0ad4
jmp 0x44fc6c
push 0
push esi
push ebx
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_send
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44fc4f
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44fc4f
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004bfa18
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x44fc4f
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.004a7f60
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x44fca0
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0x11
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x7e8cd8]
mov dl, 1
mov eax, dword [0x44b9cc]
call fcn.004a90a8
call fcn.004c09e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fc6c
mov eax, dword [ebp - 4]
call fcn.0044ec54
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fc89
lea eax, [ebp - 0x28]
call fcn.004c1264
ret
Function at 0x44fcf0
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x44fe61
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.0044ec4c
xor eax, eax
push ebp
push 0x44fe44
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x44fd55
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x44fd55
lea eax, [ebp - 8]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_ioctlsocket
jmp 0x44fe2e
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x44fd68
call fcn.004c0ad4
jmp 0x44fe4b
lea eax, [ebp - 0x10]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_ioctlsocket
test eax, eax
jne 0x44fd8f
cmp dword [ebp - 0x10], 0
jle 0x44fd8f
cmp ebx, dword [ebp - 0x10]
jle 0x44fd8f
mov ebx, dword [ebp - 0x10]
push 0
push ebx
push esi
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_recv
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
jne 0x44fe2e
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x44fe2e
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov si, 0xfffe
call fcn.004bfa18
mov eax, dword [ebp - 4]
mov edx, dword [eax + 4]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 8]
cmp dword [ebp - 0xc], 0
je 0x44fe2e
lea edx, [ebp - 0x2c]
mov eax, dword [ebp - 0xc]
call fcn.004a7f60
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x28], eax
mov byte [ebp - 0x24], 0x11
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x20], eax
mov byte [ebp - 0x1c], 0
mov eax, 0x44fe80
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0x11
lea eax, [ebp - 0x28]
push eax
push 2
mov ecx, dword [0x7e8cd8]
mov dl, 1
mov eax, dword [0x44b9cc]
call fcn.004a90a8
call fcn.004c09e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe4b
mov eax, dword [ebp - 4]
call fcn.0044ec54
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44fe68
lea eax, [ebp - 0x2c]
call fcn.004c1264
ret
Function at 0x46e084
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x46e122
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x46e0e6
cmp byte [ebx + 0x10], 0
jne 0x46e0e6
cmp byte [ebx + 0x3c], 0
jne 0x46e0e6
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x46e107
lea edx, [ebp - 4]
mov eax, dword [0x7e8cc0]
call fcn.004c54a4
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x45d048]
call fcn.004a8ea4
call fcn.004c09e0
jmp 0x46e107
lea edx, [ebp - 8]
mov eax, dword [0x7e8cc0]
call fcn.004c54a4
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x45d048]
call fcn.004a8ea4
call fcn.004c09e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x46e129
lea eax, [ebp - 8]
mov edx, 2
call fcn.004c12c4
ret

Function at 0x46ea30
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x46ea7e
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0046dfd0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x46ea97
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x46eaa0
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0046dfd0
dec esi
jne 0x46eac2
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x470ac8
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x7ea16c
cmp dword [edi], 0
jne 0x470b44
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x7ea168]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x7de3d0
mov ecx, 2
call fcn.004be5ac
mov edx, 0x470aa0
lea eax, [esi + 5]
call fcn.00470ac0
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.00470ac0
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x470b19
mov dword [0x7ea168], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x47653c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4766b7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.004c168c
mov eax, dword [ebp - 4]
call fcn.00475e9c
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x47658e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.004c26b0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00477130
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x47666d
xor eax, eax
push ebp
push 0x476666
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0047613c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.004766ec
test al, al
je 0x476644
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004c13ec
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x476644
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.004c2244
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0047609c
test al, al
je 0x47663e
mov eax, dword [ebp - 8]
call fcn.004c2244
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.004c2294
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.0047653c
dec ebx
cmp ebx, 0xffffffff
jne 0x4765ed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x47666d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0047613c
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 4]
call fcn.004c2244
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00476128
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0047609c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4766be
lea eax, [ebp - 0x3c]
call fcn.004c1264
lea eax, [ebp - 8]
mov edx, 2
call fcn.004c12c4
ret
Function at 0x476758
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x476810
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004766ec
test al, al
je 0x4767f2
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004c13ec
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x4767f2
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004c2244
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov eax, dword [ebp - 4]
call fcn.004c2244
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004c2294
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x4767ab
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476817
lea eax, [ebp - 0x2c]
call fcn.004c1264
lea eax, [ebp - 4]
call fcn.004c1264
ret

Function at 0x4769c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x2c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov edi, eax
xor eax, eax
push ebp
push 0x476a80
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 8]
mov edx, dword [eax]
call dword [edx + 0x44]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.004766ec
test al, al
je 0x476a62
mov ecx, dword [ebp - 0x1c]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004c13ec
mov ebx, dword [ebp - 0x20]
dec ebx
test ebx, ebx
jl 0x476a62
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x1c]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004c2244
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.ADVAPI32.DLL_RegEnumValueW
mov eax, dword [ebp - 4]
call fcn.004c2244
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.004c2294
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 8]
mov ecx, dword [eax]
call dword [ecx + 0x38]
inc esi
dec ebx
jne 0x476a1b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x476a87
lea eax, [ebp - 0x2c]
call fcn.004c1264
lea eax, [ebp - 4]
call fcn.004c1264
ret
Function at 0x47700c
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.00475eb4
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.004c2244
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0047609c
test al, al
jne 0x477074
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7e8c94]
mov dl, 1
mov eax, dword [0x473d68]
call fcn.004a90a8
call fcn.004c09e0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x477080
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.004c2244
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0047609c
test al, al
jne 0x4770e1
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x7e8c90]
mov dl, 1
mov eax, dword [0x473d68]
call fcn.004a90a8
call fcn.004c09e0
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00475ee4
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x4776e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x477808
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0047613c
xor eax, eax
push ebp
push 0x4777e3
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.004766ec
test al, al
je 0x4777c7
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004775c0
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004c13ec
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x4777c7
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.004c2244
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0047609c
test al, al
je 0x4777c3
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.004c2244
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.004c2294
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.004775c0
pop ecx
inc edi
dec ebx
jne 0x47776b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4777ea
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0047613c
ret