joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41cac8
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
push ebx
push esi
push edi
mov ebx, dword [ebp + 0x1c]
mov eax, dword [ebp + 8]
push eax
call fcn.0041ca30
pop ecx
test eax, eax
jne 0x41cae9
xor eax, eax
jmp 0x41cc6a
mov esi, dword [ebp + 0xc]
push esi
call sub.WSOCK32.DLL_inet_addr
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
cmp eax, 0xffffffff
jne 0x41cb27
push esi
call sub.WSOCK32.DLL_gethostbyname
test eax, eax
je 0x41cb20
movsx edx, word [eax + 0xa]
push edx
mov ecx, dword [eax + 0xc]
mov eax, dword [ecx]
push eax
lea edx, [ebp - 4]
push edx
call fcn.00469218
add esp, 0xc
jmp 0x41cb27
xor eax, eax
jmp 0x41cc6a
call dword [0x49472c]
mov dword [ebp - 8], eax
mov edx, dword [ebp - 8]
cmp edx, 0xffffffff
jne 0x41cb3f
xor eax, eax
jmp 0x41cc6a
push 8
push 0
lea edx, [ebp - 0x10]
push edx
call fcn.00469288
add esp, 0xc
mov cl, byte [ebp + 0x14]
mov byte [ebp - 0x10], cl
mov esi, ebx
and esi, 0xff
push esi
call fcn.004689a4
pop ecx
mov dword [ebp - 0x14], eax
push esi
push 0x45
mov eax, dword [ebp - 0x14]
push eax
call fcn.00469288
add esp, 0xc
cmp bl, 8
jae 0x41cb82
mov esi, 8
jmp 0x41cb8a
mov esi, ebx
and esi, 0xff
add esi, 0x1c
push esi
call fcn.004689a4
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp + 0x18]
mov edi, dword [ebp - 0x18]
push eax
push esi
mov edx, dword [ebp - 0x18]
xor eax, eax
push edx
lea ecx, [ebp - 0x10]
push ecx
mov al, bl
push eax
mov edx, dword [ebp - 0x14]
push edx
mov ecx, dword [ebp - 4]
push ecx
mov eax, dword [ebp - 8]
push eax
call dword [0x494730]
cmp eax, 1
sete dl
and edx, 1
mov esi, edx
test esi, esi
je 0x41cbdf
mov eax, dword [edi + 4]
test eax, eax
je 0x41cbdf
xor esi, esi
mov eax, dword [edi + 4]
push eax
call sub.KERNEL32.DLL_SetLastError
test esi, esi
je 0x41cc00
movzx edx, word [edi + 0xc]
xor ecx, ecx
mov cl, bl
cmp edx, ecx
sete al
and eax, 1
mov esi, eax
test esi, esi
jne 0x41cc00
push 0x3b
call sub.KERNEL32.DLL_SetLastError
test esi, esi
je 0x41cc36
mov eax, dword [edi + 0x10]
xor edx, edx
mov ecx, eax
mov eax, ecx
jmp 0x41cc1f
movsx ecx, byte [eax]
cmp ecx, 0x45
sete cl
and ecx, 1
mov esi, ecx
inc edx
inc eax
xor ecx, ecx
mov cl, bl
cmp edx, ecx
jge 0x41cc2b
test esi, esi
jne 0x41cc0f
test esi, esi
jne 0x41cc36
push 0x3b
call sub.KERNEL32.DLL_SetLastError
mov eax, dword [ebp - 8]
push eax
call dword [0x494734]
test esi, esi
je 0x41cc54
mov edx, dword [edi]
mov eax, dword [ebp + 0x10]
mov dword [eax], edx
mov edx, dword [edi + 8]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], edx
mov eax, dword [ebp - 0x14]
push eax
call fcn.0046894c
pop ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.0046894c
pop ecx
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41cc74
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffd0
push ebx
push esi
push edi
mov eax, 0x494778
call fcn.004696b8
xor ebx, ebx
xor esi, esi
mov dword [ebp - 0x30], 1
push 0
xor eax, eax
mov word [ebp - 0x1c], 8
mov dword [ebp - 4], eax
lea ecx, [ebp - 4]
inc dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
lea eax, [ebp - 4]
call fcn.00474e58
push eax
xor edx, edx
mov dword [ebp - 8], edx
lea ecx, [ebp - 8]
inc dword [ebp - 0x10]
mov edx, ebx
mov eax, dword [ebp + 0xc]
mov edi, dword [eax]
call dword [edi + 0xc]
mov eax, dword [ebp - 8]
test eax, eax
je 0x41cce0
mov edx, dword [ebp - 8]
jmp 0x41cce5
mov edx, 0x4945b8
push edx
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.DLL_send
inc eax
mov edx, 2
sete cl
and ecx, 1
lea eax, [ebp - 8]
push ecx
dec dword [ebp - 0x10]
call fcn.00474d44
dec dword [ebp - 0x10]
lea eax, [ebp - 4]
mov edx, 2
call fcn.00474d44
pop ecx
test cl, cl
je 0x41cd23
xor eax, eax
mov dword [ebp - 0x30], eax
jmp 0x41cd66
mov edx, 0x1000
lea ecx, [ebp - 0x1030]
sub edx, esi
push 0
push edx
add ecx, esi
push ecx
mov eax, dword [ebp + 8]
push eax
call sub.WSOCK32.DLL_recv
cmp eax, 0xffffffff
jne 0x41cd4b
xor edx, edx
mov dword [ebp - 0x30], edx
jmp 0x41cd66
add esi, eax
mov byte [ebp + esi - 0x1030], 0
inc ebx
mov eax, dword [ebp + 0xc]
mov edx, dword [eax]
call dword [edx + 0x14]
cmp ebx, eax
jl 0x41cc99
mov eax, dword [ebp - 0x30]
mov edx, dword [ebp - 0x2c]
mov dword fs:[0], edx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41cd7c
Capabilities:
Act as tcp client
Connect socket
Connect tcp socket
Connect udp socket
Create tcp socket
Create udp socket
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffe60
push ebx
push esi
or ebx, 0xffffffff
lea eax, [ebp - 0x190]
push eax
push 0x101
call sub.WSOCK32.DLL_WSAStartup
test eax, eax
jne 0x41ce10
mov edx, dword [ebp + 8]
push edx
call sub.WSOCK32.DLL_gethostbyname
mov esi, eax
test esi, esi
je 0x41ce10
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov ebx, eax
cmp ebx, 0xffffffff
je 0x41ce10
push 0
push str.mail
call sub.WSOCK32.DLL_getservbyname
test eax, eax
jne 0x41cdd9
push 0x19
call sub.WSOCK32.DLL_htons
jmp 0x41cddd
mov ax, word [eax + 8]
mov word [ebp - 0x1a0], 2
mov word [ebp - 0x19e], ax
mov eax, dword [esi + 0xc]
mov edx, dword [eax]
lea eax, [ebp - 0x1a0]
mov ecx, dword [edx]
mov dword [ebp - 0x19c], ecx
push 0x10
push eax
push ebx
call sub.WSOCK32.DLL_connect
test eax, eax
je 0x41ce10
or ebx, 0xffffffff
call sub.WSOCK32.DLL_WSACleanup
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x41ce20
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
mov byte [ebp - 8], dl
test dl, dl
jle 0x41ce33
call fcn.004751a8
mov ebx, ecx
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x49479c
call fcn.004696b8
mov word [ebp - 0x18], 8
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045bafc
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 4]
add eax, 0x28
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x2c
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x30
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x34
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x38
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
mov eax, dword [ebp - 4]
add eax, 0x3c
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
mov ecx, dword [ebp - 0x28]
mov dword fs:[0], ecx
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x29]
test dl, dl
je 0x41cec1
call fcn.004751b5
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x41df34
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd4
push ebx
mov byte [ebp - 8], dl
test dl, dl
jle 0x41df47
call fcn.004751a8
mov ebx, ecx
mov byte [ebp - 0x29], dl
mov dword [ebp - 4], eax
mov eax, 0x494fe4
call fcn.004696b8
mov word [ebp - 0x18], 8
mov ecx, ebx
xor edx, edx
mov eax, dword [ebp - 4]
call fcn.0045bafc
add dword [ebp - 0xc], 2
mov eax, dword [ebp - 4]
add eax, 0x30
xor edx, edx
mov dword [eax], edx
inc dword [ebp - 0xc]
mov dl, 1
mov eax, dword [0x455af8]
call sym.G_Server.exe__Classes_TMemoryStream__bctr_qqrv
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x28], eax
mov dl, 1
mov eax, dword [0x455850]
call fcn.00419be8
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x2c], eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0x41e048
mov edx, dword [ebp - 4]
mov ecx, dword [ebp - 4]
mov dword [edx + 0x18], ecx
mov eax, dword [ebp - 0x28]
mov dword fs:[0], eax
mov eax, dword [ebp - 4]
mov dl, byte [ebp - 0x29]
test dl, dl
je 0x41dfcb
call fcn.004751b5
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422c1c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffdc
xor eax, eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x24], eax
xor eax, eax
push ebp
push 0x422cbd
push dword fs:[eax]
mov dword fs:[eax], esp
push 0x49b9a4
push 0x101
call sub.WSOCK32.DLL_WSAStartup
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x422ca2
lea edx, [ebp - 0x20]
mov eax, dword [ebp - 4]
call fcn.004615ac
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
mov eax, dword [ebp - 4]
mov dword [ebp - 0x14], eax
mov byte [ebp - 0x10], 0
mov eax, 0x422cd0
mov dword [ebp - 0xc], eax
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0x1c]
push eax
push 2
lea edx, [ebp - 0x24]
mov eax, dword [0x49a568]
call fcn.004685f4
mov ecx, dword [ebp - 0x24]
mov dl, 1
mov eax, dword [0x422338]
call fcn.00461dd0
call fcn.00466a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x422cc4
lea eax, [ebp - 0x24]
mov edx, 2
call fcn.00466f78
ret

Function at 0x4230ec
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov dword [ebp - 4], eax
xor eax, eax
mov dword [ebp - 8], eax
xor eax, eax
mov dword [ebp - 0xc], eax
mov al, byte [0x423168]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
je 0x42311e
mov dword [ebp - 8], 0x401
mov eax, dword [ebp - 4]
call fcn.0042316c
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0x28]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_WSAAsyncSelect
mov al, byte [0x423168]
mov edx, dword [ebp - 4]
cmp al, byte [edx + 0x28]
jne 0x423161
xor eax, eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x10]
push eax
push 0x8004667e
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_ioctlsocket
mov esp, ebp
pop ebp
ret

Function at 0x42324c
Capabilities:
Resolve dns

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe8
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
call fcn.00467394
push eax
call sub.WSOCK32.DLL_gethostbyname
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x14]
xor ecx, ecx
mov edx, 4
call fcn.004660ec
cmp dword [ebp - 0x10], 0
je 0x4232bb
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax]
mov byte [ebp - 0x14], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 1]
mov byte [ebp - 0x13], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 2]
mov byte [ebp - 0x12], al
mov eax, dword [ebp - 0x18]
mov eax, dword [eax + 0xc]
mov eax, dword [eax]
mov al, byte [eax + 3]
mov byte [ebp - 0x11], al
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
mov esp, ebp
pop ebp
ret
Function at 0x423400
Capabilities:
Create tcp socket
Create udp socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffe0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x423555
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x42344f
lea edx, [ebp - 0x20]
mov eax, dword [0x49a574]
call fcn.004685f4
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x422338]
call fcn.00461d94
call fcn.00466a78
push 0
push 1
push 2
call sub.WSOCK32.DLL_socket
mov edx, dword [ebp - 4]
mov dword [edx + 4], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
jne 0x42348a
lea edx, [ebp - 0x20]
mov eax, dword [0x49a578]
call fcn.004685f4
mov ecx, dword [ebp - 0x20]
mov dl, 1
mov eax, dword [0x422338]
call fcn.00461d94
call fcn.00466a78
xor eax, eax
push ebp
push 0x423522
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 0x10]
push eax
mov ax, word [ebp + 0xc]
push eax
push 0
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 4]
call fcn.00423318
push 0x10
lea eax, [ebp - 0x1c]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_bind
mov edx, 0x423570
call fcn.00422b3c
mov eax, dword [ebp - 4]
call fcn.004230ec
cmp dword [ebp + 8], 5
jle 0x4234e6
mov dword [ebp + 8], 5
mov cl, 4
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xffff
call fcn.004665a8
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_listen
mov edx, 0x423580
call fcn.00422b3c
mov eax, dword [ebp - 4]
mov byte [eax + 8], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x42353f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x42355c
lea eax, [ebp - 0x20]
call fcn.00466f54
ret
Function at 0x42373c
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffff004
push eax
add esp, 0xffffffe8
push ebx
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00422eec
xor eax, eax
push ebp
push 0x4238ab
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 0x423895
mov eax, dword [ebp - 4]
cmp dword [eax + 4], 0xffffffff
je 0x423786
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x423790
call fcn.00466b18
jmp 0x4238b2
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00458b64
mov dword [ebp - 0xc], eax
lea edx, [ebp - 0x1018]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov ecx, 0x1000
mov ebx, dword [eax]
call dword [ebx + 4]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jle 0x42388a
push 0
mov eax, dword [ebp - 0x10]
push eax
lea eax, [ebp - 0x1018]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_send
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xffffffff
jne 0x423843
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x2733
je 0x423833
lea eax, [ebp - 0x18]
push eax
mov cl, 1
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.004665a8
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.004236f4
pop ecx
mov eax, dword [ebp - 4]
mov dl, byte [0x4238bc]
cmp dl, byte [eax + 0x28]
je 0x423891
call fcn.00461d38
jmp 0x423891
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
mov edx, dword [ebp - 0xc]
call fcn.00458b74
jmp 0x423891
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jle 0x423861
mov edx, dword [ebp - 0xc]
add edx, dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00458b74
jmp 0x423790
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00458b64
mov ebx, eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0xc]
call fcn.00458b80
cmp ebx, eax
jne 0x423790
push ebp
call fcn.004236f4
pop ecx
jmp 0x423891
push ebp
call fcn.004236f4
pop ecx
mov byte [ebp - 5], 1
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4238b2
mov eax, dword [ebp - 4]
call fcn.00422f04
ret
mov al, byte [ebp - 5]
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x423930
Capabilities:
Receive data
Receive data on socket
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffcc
push ebx
xor ebx, ebx
mov dword [ebp - 0x30], ebx
mov dword [ebp - 0x34], ebx
mov dword [ebp - 0xc], ecx
mov dword [ebp - 8], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x423a94
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
call fcn.00422eec
xor eax, eax
push ebp
push 0x423a72
push dword fs:[eax]
mov dword fs:[eax], esp
xor eax, eax
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0xc], 0xffffffff
jne 0x42399a
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
je 0x42399a
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
jmp 0x423a5c
mov eax, dword [ebp - 4]
cmp byte [eax + 8], 0
jne 0x4239ad
call fcn.00466b18
jmp 0x423a79
push 0
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.WSOCK32.DLL_recv
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x423a5c
call sub.WSOCK32.DLL_WSAGetLastError
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x2733
je 0x423a5c
lea eax, [ebp - 0x14]
push eax
mov cl, 2
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov bx, 0xfffe
call fcn.004665a8
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 - 0x14], 0
je 0x423a5c
lea edx, [ebp - 0x30]
mov eax, dword [ebp - 0x14]
call fcn.004615ac
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x2c], eax
mov byte [ebp - 0x28], 0xb
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x24], eax
mov byte [ebp - 0x20], 0
mov eax, 0x423aac
mov dword [ebp - 0x1c], eax
mov byte [ebp - 0x18], 0xb
lea eax, [ebp - 0x2c]
push eax
push 2
lea edx, [ebp - 0x34]
mov eax, dword [0x49a568]
call fcn.004685f4
mov ecx, dword [ebp - 0x34]
mov dl, 1
mov eax, dword [0x422338]
call fcn.00461dd0
call fcn.00466a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423a79
mov eax, dword [ebp - 4]
call fcn.00422f04
ret
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x423a9b
lea eax, [ebp - 0x34]
mov edx, 2
call fcn.00466f78
ret
Function at 0x428880
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 - 0x10], ecx
mov dword [ebp - 0x14], ecx
mov ebx, edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x4289e9
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x10]
mov edx, ebx
call fcn.00466fec
mov eax, dword [ebp - 0x10]
call fcn.004284fc
mov byte [ebp - 9], al
cmp byte [ebp - 9], 0
jne 0x4288d2
lea eax, [ebp - 0x10]
mov ecx, 1
mov edx, 1
call fcn.00467414
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 4]
call fcn.00428ce4
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x4289a7
xor eax, eax
push ebp
push 0x4289a0
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 4]
call fcn.00428664
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 4]
call fcn.004289f8
test al, al
je 0x42897e
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 0x14]
xor edx, edx
call fcn.00467038
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x42897e
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0x14]
call fcn.00467394
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExA
test eax, eax
jne 0x428978
mov eax, dword [ebp - 0x14]
call fcn.00467394
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00467108
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 4]
call fcn.00428880
dec ebx
cmp ebx, 0xffffffff
jne 0x428931
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4289a7
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 4]
call fcn.00428664
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
mov eax, dword [ebp - 0x10]
call fcn.00467394
push eax
mov dl, byte [ebp - 9]
mov eax, dword [ebp - 4]
call fcn.00428650
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyA
test eax, eax
sete bl
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4289f0
lea eax, [ebp - 0x3c]
call fcn.00466f54
lea eax, [ebp - 0x14]
mov edx, 2
call fcn.00466f78
ret

Function at 0x4289f8
Capabilities:
Query or enumerate registry key

Disassembly:
push ebx
push esi
mov ebx, edx
mov esi, eax
mov eax, ebx
xor ecx, ecx
mov edx, 0x1c
call fcn.004660ec
lea eax, [ebx + 0x14]
push eax
push 0
lea eax, [ebx + 0x10]
push eax
lea eax, [ebx + 0xc]
push eax
lea eax, [ebx + 8]
push eax
push 0
lea eax, [ebx + 4]
push eax
push ebx
push 0
push 0
push 0
mov eax, dword [esi + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryInfoKeyA
test eax, eax
sete al
mov edx, dword [0x49a628]
cmp byte [edx + 8], 0
je 0x428a5c
mov edx, dword [0x49a61c]
cmp dword [edx], 2
jne 0x428a5c
mov edx, dword [ebx + 4]
add dword [ebx + 4], edx
mov edx, dword [ebx + 0xc]
add dword [ebx + 0xc], edx
pop esi
pop ebx
ret
Function at 0x428b90
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428c21
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00428510
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.00467394
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExA
test eax, eax
je 0x428c0b
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x49a55c]
call fcn.004685f4
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4283c8]
call fcn.00461dd0
call fcn.00466a78
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428c28
lea eax, [ebp - 0x10]
call fcn.00466f54
ret

Function at 0x428c34
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x10], ebx
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
push ebp
push 0x428ccf
push dword fs:[eax]
mov dword fs:[eax], esp
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.00467394
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExA
test eax, eax
je 0x428ca9
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0xb
lea eax, [ebp - 0xc]
push eax
push 0
lea edx, [ebp - 0x10]
mov eax, dword [0x49a560]
call fcn.004685f4
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x4283c8]
call fcn.00461dd0
call fcn.00466a78
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00428540
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428cd6
lea eax, [ebp - 0x10]
call fcn.00466f54
ret
Function at 0x428eb8
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 - 0xc], ecx
mov dword [ebp - 4], edx
mov esi, eax
xor eax, eax
push ebp
push 0x428fcf
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.00428664
xor eax, eax
push ebp
push 0x428faa
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.004289f8
test al, al
je 0x428f8e
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00428d98
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00467038
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x428f8e
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 8], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00467394
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueA
test eax, eax
jne 0x428f8a
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 0xc]
call fcn.00467394
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00467108
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 4]
mov eax, esi
call fcn.00428d98
pop ecx
inc edi
dec ebx
jne 0x428f3f
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x428fb1
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.00428664
ret