joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1048c8
Capabilities:
Persist via winlogon helper dll registry key
Set registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 5
push 0
push 0
dec ecx
jne 0x1048d0
push ebx
push esi
mov esi, eax
xor eax, eax
push ebp
push 0x104a38
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0x104a48
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
mov ebx, eax
test ebx, ebx
jne 0x1049f9
lea eax, [ebp - 0xc]
mov ecx, 0x104a84
mov edx, esi
call fcn.0001469c
mov eax, dword [ebp - 0xc]
call fcn.00014630
inc eax
mov esi, eax
add esi, esi
push esi
mov eax, dword [ebp - 0xc]
call fcn.00014620
push eax
push 1
push 0
push 0x104a88
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExW
mov ebx, eax
push 0x104aa4
lea eax, [ebp - 0x18]
call fcn.00027b40
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00027578
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x1c]
call fcn.00025994
mov edx, dword [ebp - 0x1c]
pop eax
call fcn.00013fb0
mov eax, dword [ebp - 0x14]
lea edx, [ebp - 0x10]
call fcn.00027578
push dword [ebp - 0x10]
lea eax, [ebp - 0x20]
call fcn.00046098
push dword [ebp - 0x20]
push 0x104aa4
lea eax, [ebp - 8]
mov edx, 4
call fcn.00014068
mov eax, dword [ebp - 8]
call fcn.00013fa8
mov esi, eax
inc esi
push esi
mov eax, dword [ebp - 8]
call fcn.0001416c
push eax
push 1
push 0
push 0x104ab0
lea eax, [ebp - 0x28]
call fcn.000252ec
push dword [ebp - 0x28]
push 0x104ab0
lea eax, [ebp - 0x24]
mov edx, 3
call fcn.00014068
mov eax, dword [ebp - 0x24]
call fcn.0001416c
push eax
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegSetValueExA
cmp dword [ebp - 4], 0
je 0x104a08
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
mov dword [ebp - 4], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x104a3f
lea eax, [ebp - 0x28]
mov edx, 7
call fcn.00013d3c
lea eax, [ebp - 0xc]
call fcn.000143f0
lea eax, [ebp - 8]
call fcn.00013d18
ret
Function at 0x107ff0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x108079
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x2c526c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x108063
lea edx, [ebp - 0x1c]
mov eax, ebx
call fcn.000318e0
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x18], eax
mov byte [ebp - 0x14], 0xb
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], 0
mov eax, 0x108090
mov dword [ebp - 8], eax
mov byte [ebp - 4], 0xb
lea eax, [ebp - 0x18]
push eax
push 2
mov ecx, dword [0x251a00]
mov dl, 1
mov eax, dword [0x107454]
call fcn.00032218
call fcn.00013748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x108080
lea eax, [ebp - 0x1c]
call fcn.00013d18
ret

Function at 0x108718
Capabilities:
Connect socket

Disassembly:
push ebx
push esi
mov esi, eax
mov eax, esi
call fcn.0010862c
mov cl, 1
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.000131cc
push 0x10
lea eax, [esi + 0x18]
push eax
mov eax, dword [esi + 4]
push eax
call sub.wsock32.dll_connect
mov edx, 0x10877c
call fcn.00107f38
mov byte [esi + 0x29], 0
test byte [esi + 0x28], 0x10
jne 0x10876e
cmp dword [esi + 4], 0xffffffff
setne al
mov byte [esi + 8], al
mov cl, 2
mov edx, esi
mov eax, esi
mov bx, 0xffff
call fcn.000131cc
pop esi
pop ebx
ret

Function at 0x1087a0
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.001084b0
xor eax, eax
push ebp
push 0x10881b
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], 0xffffffff
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x1087d6
call fcn.000137e8
jmp 0x108822
mov dword [ebp - 0xc], 0x10
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x108805
mov ax, word [ebp - 0x1a]
push eax
call sub.wsock32.dll_ntohs
movzx eax, ax
mov dword [ebp - 8], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x108822
mov eax, dword [ebp - 4]
call fcn.001084bc
ret
mov eax, dword [ebp - 8]
mov esp, ebp
pop ebp
ret

Function at 0x108978
Capabilities:
Resolve dns

Disassembly:
push ebx
add esp, 0xfffffff8
mov ebx, edx
mov eax, ebx
call fcn.0001416c
push eax
call sub.wsock32.dll_gethostbyname
mov ebx, eax
lea eax, [esp + 4]
xor ecx, ecx
mov edx, 4
call fcn.00012c70
test ebx, ebx
je 0x1089c3
mov eax, ebx
mov edx, dword [eax + 0xc]
mov edx, dword [edx]
mov cl, byte [edx]
mov byte [esp + 4], cl
mov cl, byte [edx + 1]
mov byte [esp + 5], cl
mov cl, byte [edx + 2]
mov byte [esp + 6], cl
mov al, byte [edx + 3]
mov byte [esp + 7], al
mov eax, dword [esp + 4]
mov dword [esp], eax
mov eax, dword [esp]
pop ecx
pop edx
pop ebx
ret
Function at 0x108aa0
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 esi, edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x108ad1
mov ecx, dword [0x251b94]
mov dl, 1
mov eax, dword [0x107454]
call fcn.000321dc
call fcn.00013748
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 0x108afe
mov ecx, dword [0x2517d4]
mov dl, 1
mov eax, dword [0x107454]
call fcn.000321dc
call fcn.00013748
xor eax, eax
push ebp
push 0x108b82
push dword fs:[eax]
mov dword fs:[eax], esp
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.000131cc
cmp byte [ebp + 8], 0
je 0x108b5c
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
push 0
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00108a08
mov eax, dword [ebp - 4]
lea esi, [ebp - 0x18]
lea edi, [eax + 0x18]
mov ecx, 4
rep movsd dword es:[edi], dword [esi]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00108688
jmp 0x108b78
mov eax, dword [ebp + 0x14]
push eax
mov ax, word [ebp + 0x10]
push eax
mov eax, dword [ebp + 0xc]
push eax
push 0
mov ecx, dword [ebp - 8]
mov edx, esi
mov eax, dword [ebp - 4]
call fcn.00108224
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x108b9f
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x10
Function at 0x108d64
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xfffffff0
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.001084b0
xor edx, edx
push ebp
push 0x108ec4
push dword fs:[edx]
mov dword fs:[edx], esp
mov byte [ebp - 5], 0
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x108eae
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x108dae
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x108db8
call fcn.000137e8
jmp 0x108ecb
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0003906c
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 + 4]
mov ebx, eax
test ebx, ebx
jle 0x108ea3
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
cmp eax, 0xffffffff
jne 0x108e61
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0x2733
je 0x108e51
lea eax, [ebp - 0x10]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.000131cc
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.00108d1c
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x108ed4]
cmp dl, byte [eax + 0x28]
je 0x108eaa
call fcn.000320c4
jmp 0x108eaa
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.0003907c
jmp 0x108eaa
cmp eax, ebx
jge 0x108e7a
mov edx, dword [ebp - 0xc]
add edx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0003907c
jmp 0x108db8
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.0003906c
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00039088
cmp ebx, eax
jne 0x108db8
push ebp
call fcn.00108d1c
pop ecx
jmp 0x108eaa
push ebp
call fcn.00108d1c
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x108ecb
mov eax, dword [ebp - 4]
call fcn.001084bc
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x108ed8
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 0x108ffa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.001084b0
xor eax, eax
push ebp
push 0x108fdd
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 0x108f28
call fcn.000137e8
jmp 0x108fe4
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 0x108fc7
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x108fc7
lea eax, [ebp - 0xc]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.000131cc
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 0x108fc7
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.000318e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x109014
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x251a00]
mov dl, 1
mov eax, dword [0x107454]
call fcn.00032218
call fcn.00013748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x108fe4
mov eax, dword [ebp - 4]
call fcn.001084bc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x109001
lea eax, [ebp - 0x28]
call fcn.00013d18
ret
Function at 0x109060
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
push esi
xor ebx, ebx
mov dword [ebp - 0x28], ebx
mov ebx, ecx
mov esi, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x1091aa
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.001084b0
xor eax, eax
push ebp
push 0x10918d
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 8], eax
cmp ebx, 0xffffffff
jne 0x1090c5
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x1090c5
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 0x109177
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x1090d8
call fcn.000137e8
jmp 0x109194
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 0x109177
call sub.wsock32.dll_WSAGetLastError
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0x2733
je 0x109177
lea eax, [ebp - 0xc]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.000131cc
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 0x109177
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 0xc]
call fcn.000318e0
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0xb
mov eax, dword [ebp - 0xc]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0
mov eax, 0x1091c4
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0xb
lea eax, [ebp - 0x24]
push eax
push 2
mov ecx, dword [0x251a00]
mov dl, 1
mov eax, dword [0x107454]
call fcn.00032218
call fcn.00013748
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x109194
mov eax, dword [ebp - 4]
call fcn.001084bc
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x1091b1
lea eax, [ebp - 0x28]
call fcn.00013d18
ret
Function at 0x10b530
Capabilities:
Get local ipv4 addresses
Get socket information

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x24], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x10b63b
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [esi], 0
mov eax, edi
mov edx, 0x10b654
call fcn.00013d6c
mov eax, dword [ebp + 8]
mov word [eax], 0
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.wsock32.dll_getsockname
test eax, eax
jne 0x10b594
mov ax, word [ebp - 0x12]
mov word [esi], ax
mov dword [ebp - 4], 0x10
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
call sub.wsock32.dll_getpeername
test eax, eax
jne 0x10b620
mov eax, dword [ebp + 8]
mov dx, word [ebp - 0x12]
mov word [eax], dx
lea edx, [ebp - 0x18]
xor eax, eax
mov al, byte [ebp - 0x10]
call fcn.0003006c
push dword [ebp - 0x18]
push 0x10b664
lea edx, [ebp - 0x1c]
xor eax, eax
mov al, byte [ebp - 0xf]
call fcn.0003006c
push dword [ebp - 0x1c]
push 0x10b664
lea edx, [ebp - 0x20]
xor eax, eax
mov al, byte [ebp - 0xe]
call fcn.0003006c
push dword [ebp - 0x20]
push 0x10b664
lea edx, [ebp - 0x24]
xor eax, eax
mov al, byte [ebp - 0xd]
call fcn.0003006c
push dword [ebp - 0x24]
mov eax, edi
mov edx, 7
call fcn.00014068
mov eax, dword [ebp - 0x10]
push eax
call sub.wsock32.dll_htonl
mov edx, dword [ebp + 0xc]
mov dword [edx], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x10b642
lea eax, [ebp - 0x24]
mov edx, 4
call fcn.00013d3c
ret

Function at 0x10b780
Capabilities:
Receive data
Receive data on socket

Disassembly:
add esp, 0xfffffff4
push 2
push 0xa
lea edx, [esp + 8]
push edx
push eax
call sub.wsock32.dll_recv
test eax, eax
jle 0x10b799
inc eax
jne 0x10b79d
xor eax, eax
jmp 0x10b79f
mov al, 1
add esp, 0xc
ret
Function at 0x110704
Capabilities:
Get hostname

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffed8
push ebx
push esi
push edi
xor edx, edx
mov dword [ebp - 0x20], edx
mov dword [ebp - 0x24], edx
mov dword [ebp - 0x28], edx
mov dword [ebp - 0x1c], edx
mov dword [ebp - 0x18], edx
mov dword [ebp - 0x14], edx
mov dword [ebp - 0x10], edx
mov dword [ebp - 0xc], edx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x110958
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x110754
lea ecx, [ebp - 0xc]
mov edx, 0x110970
mov eax, dword [ebp - 4]
call fcn.00049df8
mov bl, 1
xor ecx, ecx
push ebp
push 0x1108dc
push dword fs:[ecx]
mov dword fs:[ecx], esp
cmp dword [0x250ce8], 0
jne 0x110781
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x10d340]
call fcn.0010d48c
mov dword [0x250ce8], eax
mov eax, dword [0x250ce8]
cmp byte [eax + 0x24], 0
je 0x1107ab
cmp dword [ebp - 4], 0
je 0x1108d2
lea ecx, [ebp - 0x10]
mov edx, 0x110990
mov eax, dword [ebp - 4]
call fcn.00049df8
jmp 0x1108d2
mov eax, 0x10d43c
call fcn.00107f18
mov dword [0x250cec], eax
mov edx, 0x64
mov eax, 0x2c5400
mov dword [eax], 0xffffffff
xor ecx, ecx
mov dword [eax + 8], ecx
add eax, 0x2870
dec edx
jne 0x1107c4
lea eax, [ebp - 0x14]
call fcn.00110d2c
mov edx, dword [ebp - 0x14]
mov eax, 0x250c84
call fcn.00013d6c
mov eax, dword [ebp - 4]
call fcn.0011065c
test al, al
je 0x110881
mov eax, dword [ebp - 4]
call fcn.0010aa5c
mov eax, dword [ebp - 4]
call fcn.0010a6bc
call fcn.00110ba8
movzx edx, ax
mov eax, dword [0x250ce8]
call fcn.0010a10c
mov dl, 1
mov eax, dword [0x250ce8]
call fcn.0010a0bc
lea eax, [ebp - 8]
mov edx, pe_nt_image_headers32
call fcn.000142dc
lea eax, [ebp - 8]
call fcn.00014178
xor ecx, ecx
mov edx, pe_nt_image_headers32
call fcn.00012c70
push 0xff
mov eax, dword [ebp - 8]
call fcn.0001416c
push eax
call sub.wsock32.dll_gethostname
test eax, eax
jne 0x11087a
lea edx, [ebp - 0x18]
mov eax, dword [ebp - 8]
call fcn.0002ffb8
mov edx, dword [ebp - 0x18]
mov eax, 0x250c5c
call fcn.00013d6c
mov al, 1
call fcn.001110c4
mov eax, dword [0x250ce8]
mov bl, byte [eax + 0x24]
mov byte [0x250cf0], 0
xor eax, eax
mov dword [0x250cf4], eax
mov byte [0x250cf8], 0
xor eax, eax
mov dword [0x250cfc], eax
push 0x11041c
push 0x32
push 1
push 0
call sub.user32.dll_SetTimer
mov dword [0x250cf4], eax
push 0x1104c0
push 0x3e8
push 1
push 0
call sub.user32.dll_SetTimer
mov dword [0x250cfc], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x1108fe
cmp dword [ebp - 4], 0
je 0x11093d
lea edx, [ebp - 0x128]
mov eax, ebx
call fcn.000294b8
lea edx, [ebp - 0x128]
lea eax, [ebp - 0x28]
call fcn.00013f4c
mov ecx, dword [ebp - 0x28]
lea eax, [ebp - 0x24]
mov edx, 0x1109cc
call fcn.00013ff4
mov edx, dword [ebp - 0x24]
lea ecx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.00049df8
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11095f
lea eax, [ebp - 0x28]
mov edx, 9
call fcn.00013d3c
ret
Function at 0x110ba8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe4
push ebx
push esi
push edi
xor eax, eax
mov dword [ebp - 0x1c], eax
xor eax, eax
push ebp
push 0x110d04
push dword fs:[eax]
mov dword fs:[eax], esp
mov word [ebp - 2], 0x50
xor eax, eax
push ebp
push 0x110ce4
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.000271f0
lea eax, [ebp - 8]
mov edx, 4
call fcn.000271f0
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.000271f0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
push 0
push 0
lea eax, [ebp - 0x1c]
call fcn.00026f34
mov eax, dword [ebp - 0x1c]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
mov eax, dword [ebp - 0x10]
mov dword [eax], 0x50
mov eax, dword [ebp - 0x14]
mov dword [eax], 4
xor eax, eax
push ebp
push 0x110ca0
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
push eax
push 0
push 0x110d18
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x110c81
mov eax, dword [ebp - 0x10]
mov ax, word [eax]
mov word [ebp - 2], ax
cmp word [ebp - 2], 0
je 0x110c90
cmp word [ebp - 2], 0xffff
jb 0x110c96
mov word [ebp - 2], 0x50
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x110caa
mov eax, dword [ebp - 0x18]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0x14]
mov edx, 4
call fcn.00027218
lea eax, [ebp - 8]
mov edx, 4
call fcn.00027218
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00027218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x110cee
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x110d0b
lea eax, [ebp - 0x1c]
call fcn.00013d18
ret
Function at 0x110d2c
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 7
push 0
push 0
dec ecx
jne 0x110d34
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x110ea8
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 8]
mov edx, 0x10e
call fcn.000271f0
mov eax, dword [0x251568]
cmp dword [eax], 0
je 0x110da7
lea eax, [ebp - 0x1c]
call fcn.0002cd60
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.00032acc
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
call fcn.00025994
mov edx, dword [ebp - 0x20]
pop eax
call fcn.00013fb0
mov eax, dword [ebp - 0x18]
lea edx, [ebp - 0x14]
call fcn.00032acc
mov edx, dword [ebp - 0x14]
mov eax, ebx
mov ecx, 0x110ebc
call fcn.00013ff4
jmp 0x110de9
lea eax, [ebp - 0x2c]
call fcn.00027b40
mov eax, dword [ebp - 0x2c]
lea edx, [ebp - 0x28]
call fcn.00032acc
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x30]
call fcn.00025994
mov edx, dword [ebp - 0x30]
pop eax
call fcn.00013fb0
mov eax, dword [ebp - 0x28]
lea edx, [ebp - 0x24]
call fcn.00032acc
mov edx, dword [ebp - 0x24]
mov eax, ebx
mov ecx, 0x110ebc
call fcn.00013ff4
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
lea eax, [ebp - 0x34]
call fcn.00026f34
mov eax, dword [ebp - 0x34]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x110e71
mov dword [ebp - 0xc], 0x10e
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0x110ec0
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x110e71
cmp dword [ebp - 4], 1
jne 0x110e71
cmp dword [ebp - 0xc], 0
jbe 0x110e71
cmp dword [ebp - 0xc], 0x104
ja 0x110e71
lea eax, [ebp - 0x38]
mov edx, dword [ebp - 8]
call fcn.00013ee0
mov eax, dword [ebp - 0x38]
mov edx, ebx
call fcn.0002ffb8
cmp dword [ebp - 0x10], 0
je 0x110e80
mov eax, dword [ebp - 0x10]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 8]
mov edx, 0x10e
call fcn.00027218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x110eaf
lea eax, [ebp - 0x38]
mov edx, 0xa
call fcn.00013d3c
ret
Function at 0x110ecc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
xor edx, edx
mov dword [ebp - 0xc], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x110f66
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, 0xf003f
push eax
push 0
push 0
push 0
lea eax, [ebp - 0xc]
call fcn.00026f34
mov eax, dword [ebp - 0xc]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegCreateKeyExA
test eax, eax
jne 0x110f47
mov eax, ebx
call fcn.00013fa8
inc eax
push eax
mov eax, ebx
call fcn.0001416c
push eax
push 1
push 0
push 0x110f74
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegSetValueExA
mov eax, dword [ebp - 8]
push eax
call sub.advapi32.dll_RegCloseKey_1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x110f6d
lea eax, [ebp - 0xc]
call fcn.00013d18
ret

Function at 0x110f80
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
mov ecx, 4
push 0
push 0
dec ecx
jne 0x110f88
push ecx
push ebx
xor eax, eax
push ebp
push 0x111093
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0xc]
mov edx, 0xa
call fcn.000271f0
xor ebx, ebx
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
mov eax, dword [0x2514d0]
mov eax, dword [eax]
add eax, case.0x1ffea.3
push eax
push 0
lea eax, [ebp - 0x14]
call fcn.00026f34
mov eax, dword [ebp - 0x14]
call fcn.0001416c
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x11105c
mov dword [ebp - 8], 0xa
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x1110a4
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x11105c
cmp dword [ebp - 0x10], 1
jne 0x11105c
cmp dword [ebp - 8], 0
jbe 0x11105c
cmp dword [ebp - 8], 0xa
ja 0x11105c
lea eax, [ebp - 0x20]
mov edx, dword [ebp - 0xc]
call fcn.00013ee0
mov eax, dword [ebp - 0x20]
lea edx, [ebp - 0x1c]
call fcn.0002ffb8
mov eax, dword [ebp - 0x1c]
lea edx, [ebp - 0x18]
call fcn.0002fd54
mov eax, dword [ebp - 0x18]
push eax
lea edx, [ebp - 0x24]
mov eax, 0x1110c0
call fcn.0002fd54
mov edx, dword [ebp - 0x24]
pop eax
call fcn.000140b8
sete bl
cmp dword [ebp - 4], 0
je 0x11106b
mov eax, dword [ebp - 4]
push eax
call sub.advapi32.dll_RegCloseKey_1
lea eax, [ebp - 0xc]
mov edx, 0xa
call fcn.00027218
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x11109a
lea eax, [ebp - 0x24]
mov edx, 5
call fcn.00013d3c
ret