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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
mov esi, dword [ebp + 0xc]
mov ecx, esi
push 1
push dword [ebp + 8]
call fcn.0045704e
test al, al
je 0x449368
mov al, 1
jmp 0x44944b
push ebx
push dword [ebp + 8]
xor ebx, ebx
mov dword [esi], ebx
call fcn.0042d578
pop ecx
test al, al
je 0x44938c
push 0x2726
call fcn.0044b1ef
pop ecx
xor al, al
jmp 0x44944a
lea ecx, [ebp - 0xc]
call fcn.00426589
push bind
push dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.0042c007
lea ecx, [ebp - 0xc]
call fcn.00422dd1
cmp dword [0x4a83a8], ebx
je 0x4493c9
lea eax, [ebp - 0xc]
push eax
call fcn.00449509
pop ecx
test al, al
je 0x4493c9
push 0x2afc
jmp 0x44940e
call fcn.0044b1e6
push dword [ebp + 8]
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x4493f2
call sub.WS2_32.dll_WSAGetLastError
cmp eax, 0x2afc
jne 0x449440
lea eax, [ebp - 0xc]
push eax
call fcn.0044944e
jmp 0x449413
cmp word [eax + 8], 2
jne 0x449400
cmp word [eax + 0xa], 4
je 0x449416
call sub.WS2_32.dll_WSAGetLastError
test eax, eax
jne 0x449440
push 0x273e
call fcn.0044b1ef
pop ecx
jmp 0x449440
mov eax, dword [eax + 0xc]
mov ecx, esi
mov edx, dword [eax]
movzx eax, byte [edx + 3]
push eax
movzx eax, byte [edx + 2]
push eax
movzx eax, byte [edx + 1]
push eax
movzx eax, byte [edx]
push eax
call fcn.0045700c
mov ecx, esi
call fcn.004352b5
xor al, 1
mov bl, al
lea ecx, [ebp - 0xc]
call fcn.00423fb2
mov al, bl
pop ebx
pop esi
leave
ret

Function at 0x449566
Capabilities:
Get socket status
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x108
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi + 8]
test ecx, ecx
je 0x449600
mov eax, dword [esi + 0xc]
shr eax, 1
test al, 1
jne 0x4495fc
push 0x4ab378
xor ebx, ebx
mov dword [ebp - 0x104], ecx
push ebx
push ebx
lea eax, [ebp - 0x108]
mov dword [ebp - 0x108], 1
push eax
push ebx
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jle 0x4495fc
lea eax, [ebp - 0x108]
push eax
push dword [esi + 8]
call sub.WS2_32.dll___WSAFDIsSet
test eax, eax
je 0x4495fc
push 2
push 1
lea eax, [ebp - 1]
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x4495fc
je 0x449600
call sub.WS2_32.dll_WSAGetLastError
mov esi, eax
push esi
call fcn.0044b1ba
pop ecx
test al, al
jne 0x4495f6
cmp esi, 0x2726
jne 0x4495f8
mov bl, 1
mov al, bl
jmp 0x449602
xor al, al
jmp 0x449602
mov al, 1
pop esi
pop ebx
leave
ret

Function at 0x449630
Capabilities:
Resolve dns

Disassembly:
mov eax, dword [0x4ab368]
mov ecx, 0x47c720
test eax, eax
cmovne ecx, eax
push ecx
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x44964e
push 3
pop eax
ret
cmp word [eax + 8], 2
je 0x449659
push 4
pop eax
ret
cmp word [eax + 0xa], 4
je 0x449664
push 5
pop eax
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
movzx eax, byte [ecx + 3]
push eax
movzx eax, byte [ecx + 2]
push eax
movzx eax, byte [ecx + 1]
push eax
movzx eax, byte [ecx]
mov ecx, 0x4ab374
push eax
call fcn.0045700c
xor eax, eax
ret
Function at 0x4497d9
Capabilities:
Get hostname
Initialize winsock library
Resolve dns

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [0x4a83c0]
sub esp, 0x190
cmp eax, 6
jne 0x449899
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x44980e
xor eax, eax
inc eax
jmp 0x449894
push esi
push edi
push 0x44989b
call fcn.004589a8
pop ecx
mov edi, 0x4ab368
push 0x64
mov ecx, edi
call fcn.00421e4f
mov eax, dword [0x4ab368]
mov esi, 0x47c720
test eax, eax
mov edx, esi
push 0x63
cmovne edx, eax
push edx
call dword [sym.imp.WS2_32.dll_gethostname]
mov ecx, edi
call fcn.00426fa6
mov eax, dword [0x4ab368]
test eax, eax
cmovne esi, eax
push esi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
je 0x44988d
push bind
push dword [eax]
mov esi, 0x4ab35c
mov ecx, esi
call fcn.0042c007
mov ecx, esi
call fcn.0042dd19
mov ecx, esi
call fcn.0042dd01
push 1
push 0x2e
push 0x20
mov ecx, esi
call fcn.0042a8e3
call fcn.00449630
pop edi
pop esi
mov dword [0x4a83c0], eax
leave
ret
Function at 0x44a12e
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x20
push ebx
push esi
mov esi, ecx
push edi
test eax, eax
je 0x44a33e
and dword [ebp - 4], 0
mov ebx, dword [ebp + 0x10]
test bl, 4
je 0x44a15f
mov dword [ebp - 4], eax
test bl, 8
jne 0x44a15f
mov ecx, eax
call fcn.00423fb2
mov eax, dword [ebp + 0xc]
dec eax
cmp eax, 0xfffff
ja 0x44a33e
mov eax, dword [esi + 0xc]
shr eax, 1
test al, 1
jne 0x44a189
test byte [esi + 0x10], 1
jne 0x44a189
mov dword [esi + 0x14], 0x2749
jmp 0x44a345
and dword [esi + 0x14], 0
xor edi, edi
call sub.KERNEL32.dll_GetTickCount
mov dword [ebp - 0x10], eax
mov ecx, esi
mov al, bl
and al, 1
mov byte [ebp + 0x13], al
mov eax, ebx
shr eax, 1
and eax, 0xffffff01
mov dword [ebp - 0x20], eax
call fcn.0044a39d
mov dword [ebp - 0x14], eax
mov eax, ebx
shr eax, 3
and eax, 2
mov dword [ebp - 8], 0xa
mov ecx, eax
or ecx, 1
and bl, 0x20
mov ebx, dword [ebp + 8]
cmove ecx, eax
mov dword [ebp - 0x18], ecx
mov ecx, esi
call fcn.0044a34e
mov dword [ebp - 0xc], eax
test eax, eax
jg 0x44a259
js 0x44a331
cmp byte [ebp + 0x13], 0
jne 0x44a331
push dword [ebp - 0x10]
call fcn.00447b4b
pop ecx
cmp eax, dword [esi + 0x30]
jae 0x44a32a
mov eax, dword [esi + 0xc]
shr eax, 1
test al, 1
jne 0x44a217
test byte [esi + 0x10], 1
je 0x44a312
mov ecx, esi
call fcn.00449566
test al, al
jne 0x44a321
push dword [ebp - 8]
call fcn.004479d0
mov eax, dword [ebp - 8]
add eax, 5
mov dword [ebp - 0xc], 0x3c
mov dword [ebp + 8], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
call fcn.0040185c
mov eax, dword [ebp + 8]
add esp, 0xc
mov dword [ebp - 8], eax
jmp 0x44a1d4
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 0xc]
push eax
call fcn.00420722
mov ecx, eax
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp + 8], ecx
test eax, eax
jne 0x44a27d
mov eax, ebx
jmp 0x44a290
push ecx
mov ecx, eax
call fcn.00426166
test eax, eax
je 0x44a335
mov ecx, dword [ebp + 8]
push 0
push 0
push dword [ebp - 0x18]
push ecx
push eax
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_recvfrom]
mov dword [ebp - 8], eax
cmp eax, 0xffffffff
jne 0x44a2b1
mov ecx, esi
call fcn.0044abf6
mov ecx, dword [ebp - 4]
test ecx, ecx
je 0x44a2dc
and dword [ebp - 0x1c], 0
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 8]
push eax
call fcn.0040676a
pop ecx
pop ecx
mov ecx, dword [ebp + 8]
sub ecx, eax
push ecx
mov ecx, dword [ebp - 4]
call fcn.004243f2
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 8]
test eax, eax
jle 0x44a331
add edi, eax
cmp byte [ebp - 0x20], 0
jne 0x44a2f0
cmp eax, dword [ebp - 0xc]
jge 0x44a331
mov edx, dword [ebp + 0xc]
sub edx, eax
mov dword [ebp + 0xc], edx
test edx, edx
jle 0x44a331
mov dword [ebp - 8], 0xa
test ecx, ecx
jne 0x44a1d4
add ebx, eax
jmp 0x44a1d4
cmp dword [esi + 0x14], 0
jne 0x44a331
mov dword [esi + 0x14], 0x2749
jmp 0x44a331
mov dword [esi + 0x14], 0x2746
jmp 0x44a331
mov dword [esi + 0x14], 0x274c
mov eax, edi
jmp 0x44a347
mov dword [esi + 0x14], 8
jmp 0x44a331
mov dword [esi + 0x14], 0x2726
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x44a34e
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, ecx
mov eax, dword [esi + 0xc]
shr eax, 1
test al, 1
jne 0x44a370
test byte [esi + 0x10], 1
jne 0x44a370
mov dword [esi + 0x14], 0x2749
or eax, 0xffffffff
jmp 0x44a39a
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x4004667f
push dword [esi + 8]
call dword [sym.imp.WS2_32.dll_ioctlsocket]
test eax, eax
je 0x44a397
mov ecx, esi
call fcn.0044abf6
and dword [esi + 0x10], 0xfffffffe
jmp 0x44a36b
mov eax, dword [ebp - 4]
pop esi
leave
ret

Function at 0x44aa09
Capabilities:
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, ecx
test esi, esi
je 0x44ab76
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x7fffffff
jne 0x44aa36
push esi
call fcn.0042d801
mov ebx, eax
pop ecx
mov dword [ebp + 0xc], ebx
test ebx, ebx
jle 0x44ab76
mov ecx, dword [edi + 0xc]
shr ecx, 1
test cl, 1
jne 0x44aa5d
mov eax, dword [edi + 0x10]
shr eax, 1
test al, 1
jne 0x44aa5d
mov dword [edi + 0x14], 0x2749
jmp 0x44ab7d
mov ecx, edi
call fcn.0044ab86
mov ecx, dword [edi + 0xc]
shr ecx, 1
mov dword [ebp - 8], eax
test cl, 1
je 0x44aa7c
lea eax, [ebp - 0x18]
mov ecx, edi
push eax
call fcn.00449934
mov byte [ebp - 1], 0
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp - 8]
push eax
call fcn.00401882
pop ecx
pop ecx
mov ecx, dword [edi + 0xc]
shr ecx, 1
test cl, 1
je 0x44aaae
push 0x10
lea ecx, [ebp - 0x18]
push ecx
push 0
push eax
push esi
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_sendto]
jmp 0x44aabb
push 0
push eax
push esi
push dword [edi + 8]
call dword [sym.imp.WS2_32.dll_send]
test eax, eax
jg 0x44ab43
mov ecx, edi
call fcn.0044abf6
mov esi, dword [edi + 0x14]
cmp esi, 0x2733
jne 0x44aaed
mov ecx, edi
call fcn.004498d9
test al, al
jne 0x44ab1b
push 0xa
call fcn.004479d0
pop ecx
mov esi, dword [ebp + 8]
jmp 0x44aa80
cmp esi, 0x2747
jne 0x44ab1b
cmp byte [ebp - 1], 0
jne 0x44ab1b
mov eax, 0x1000
cmp dword [ebp - 8], eax
jle 0x44ab1b
push eax
mov ecx, edi
mov byte [ebp - 1], 1
mov dword [ebp - 8], eax
call fcn.0044abae
mov dword [edi + 0x14], esi
test al, al
jne 0x44aae8
cmp esi, 0x2746
jg 0x44ab56
cmp esi, 0x2744
jge 0x44ab69
sub esi, 0x271e
je 0x44ab3d
sub esi, 0x15
je 0x44ab72
sub esi, 0xf
je 0x44ab69
and dword [edi + 0x10], 0xfffffffd
jmp 0x44ab7d
sub ebx, eax
mov dword [ebp + 0xc], ebx
test ebx, ebx
jle 0x44ab72
add esi, eax
mov dword [ebp + 8], esi
jmp 0x44aa80
sub esi, 0x274a
je 0x44ab3d
dec esi
sub esi, 1
je 0x44ab69
sub esi, 5
jne 0x44ab3d
mov ecx, edi
call fcn.00448e12
jmp 0x44ab7d
mov al, 1
jmp 0x44ab7f
mov dword [edi + 0x14], 0x2726
xor al, al
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44be19
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
push edi
cmp dword [esi + 0x14], 0
je 0x44be80
mov edi, dword [ebp + 8]
test edi, edi
je 0x44be80
test byte [ebp + 0xc], 0x20
push dword [ebp + 0x10]
je 0x44be44
push edi
call fcn.0044cc9a
test al, al
jne 0x44be51
push 4
jmp 0x44be82
mov eax, dword [ebp + 0xc]
and eax, 0xffffffef
push eax
push edi
call fcn.0044bf0a
push edi
push dword [esi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov edi, eax
push edi
call fcn.004479b9
pop ecx
cmp edi, 2
je 0x44be80
test edi, edi
jne 0x44be72
xor eax, eax
inc eax
jmp 0x44be83
push dword [ebp + 0xc]
mov ecx, esi
call fcn.0044d5a2
push 3
jmp 0x44be82
push 2
pop eax
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x44bfc3
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push edi
push 0x3000f
push 0x40
push dword [ebp + 0xc]
mov edi, ecx
push dword [ebp + 8]
call fcn.0044cd37
test eax, eax
jne 0x44bff1
call sub.KERNEL32.dll_GetLastError
xor ecx, ecx
cmp eax, 2
setne cl
lea eax, [ecx + 2]
jmp 0x44c008
push esi
push dword [ebp + 0x10]
mov ecx, edi
call fcn.0044c00d
mov ecx, edi
mov esi, eax
call fcn.0044b7ff
mov eax, esi
pop esi
pop edi
pop ebp
ret 0xc

Function at 0x44c00d
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x44c024
push 6
call fcn.004479b9
pop ecx
push 2
pop eax
jmp 0x44c04b
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
mov esi, eax
test esi, esi
jne 0x44c038
inc eax
jmp 0x44c04a
push esi
call fcn.004479b9
xor eax, eax
cmp esi, 2
pop ecx
setne al
add eax, 2
pop esi
pop ebp
ret 4

Function at 0x44c236
Capabilities:
Delete registry value

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ecx + 0x14]
test eax, eax
jne 0x44c24d
push 6
call fcn.004479b9
pop ecx
push 2
pop eax
jmp 0x44c274
push esi
push dword [ebp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
mov esi, eax
test esi, esi
jne 0x44c261
inc eax
jmp 0x44c273
push esi
call fcn.004479b9
xor eax, eax
cmp esi, 2
pop ecx
setne al
add eax, 2
pop esi
pop ebp
ret 4

Function at 0x44c278
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd4
push edi
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x44c296
push 6
call fcn.004479b9
pop ecx
xor eax, eax
jmp 0x44c2f9
push esi
xor esi, esi
jmp 0x44c2cb
lea ecx, [ebp - 0xc]
call fcn.00426589
push bind
lea eax, [ebp - 0xd4]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042c007
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0xc]
call fcn.00423fb2
inc esi
push 0xc7
lea eax, [ebp - 0xd4]
push eax
push esi
push dword [edi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
test eax, eax
je 0x44c29b
xor ecx, ecx
cmp eax, 0x103
cmovne ecx, eax
push ecx
call fcn.004479b9
pop ecx
mov eax, esi
pop esi
pop edi
leave
ret 4
Function at 0x44c2fe
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
push edi
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x44c31c
push 6
call fcn.004479b9
pop ecx
xor eax, eax
jmp 0x44c37f
push esi
xor esi, esi
jmp 0x44c351
lea ecx, [ebp - 0xc]
call fcn.00426589
push bind
lea eax, [ebp - 0x19c]
push eax
lea ecx, [ebp - 0xc]
call fcn.0042c488
mov ecx, dword [ebp + 8]
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ecx]
call dword [eax]
lea ecx, [ebp - 0xc]
call fcn.00423fb2
inc esi
push 0xc7
lea eax, [ebp - 0x19c]
push eax
push esi
push dword [edi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
test eax, eax
je 0x44c321
xor ecx, ecx
cmp eax, 0x103
cmovne ecx, eax
push ecx
call fcn.004479b9
pop ecx
mov eax, esi
pop esi
pop edi
leave
ret 4
Function at 0x44c3c1
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
mov edi, ecx
xor ebx, ebx
cmp dword [edi + 0x14], ebx
jne 0x44c3e1
push 6
call fcn.004479b9
pop ecx
xor al, al
jmp 0x44c499
mov eax, dword [ebp + 0x10]
lea ecx, [ebp - 0x1c]
shr eax, 0xc
and eax, 0xffffff01
mov dword [ebp - 4], 0x20
push esi
mov dword [ebp - 0xc], eax
call fcn.00426589
mov esi, dword [ebp + 8]
cmp byte [ebp - 0xc], bl
jne 0x44c420
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x40]
push eax
lea eax, [ebp - 8]
push eax
push ebx
push esi
push dword [edi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x44c456
push ebx
lea eax, [ebp - 0x1c]
push eax
push bind
push esi
call fcn.00448457
add esp, 0x10
lea ecx, [ebp - 4]
cmp dword [ebp - 0x1c], ebx
mov eax, 0x47c724
cmovne eax, dword [ebp - 0x1c]
push ecx
lea ecx, [ebp - 0x40]
push ecx
lea ecx, [ebp - 8]
push ecx
push ebx
push eax
push dword [edi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 4]
cmp edx, 0x100000
ja 0x44c48a
push 1
pop ecx
mov dword [ebp - 0x10], ecx
sub eax, ebx
je 0x44c528
dec eax
sub eax, ecx
je 0x44c511
sub eax, 0xe8
je 0x44c49f
sub eax, 0x308
je 0x44c511
mov byte [ebp - 0x10], bl
lea ecx, [ebp - 0x1c]
call fcn.00423fb2
mov al, byte [ebp - 0x10]
pop esi
pop edi
pop ebx
leave
ret 0xc
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00457903
mov dword [ebp + 0xc], eax
cmp dword [ebp - 4], ebx
jg 0x44c4b5
mov bl, 1
jmp 0x44c48a
push dword [ebp - 4]
mov ecx, eax
call fcn.00421e4f
mov eax, 0x47c720
mov ecx, dword [ebp + 0xc]
cmp byte [ebp - 0xc], bl
jne 0x44c4e6
cmp dword [ecx], ebx
cmovne eax, dword [ecx]
lea ecx, [ebp - 4]
push ecx
push eax
push ebx
push ebx
push dword [ebp + 8]
push dword [edi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
jmp 0x44c508
cmp dword [ecx], ebx
lea edx, [ebp - 4]
push edx
cmovne eax, dword [ecx]
mov ecx, 0x47c724
cmp dword [ebp - 0x1c], ebx
push eax
cmovne ecx, dword [ebp - 0x1c]
push ebx
push ebx
push ecx
push dword [edi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44c557
jmp 0x44c48a
test byte [ebp + 0x10], 2
je 0x44c48a
push esi
mov ecx, edi
call fcn.0044c384
jmp 0x44c48a
mov eax, dword [ebp - 8]
cmp eax, ecx
je 0x44c548
jbe 0x44c48a
cmp eax, 3
jbe 0x44c548
cmp eax, 4
je 0x44c593
cmp eax, 7
jne 0x44c48a
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x40]
push edx
push eax
mov ecx, esi
call fcn.004578db
cmp dword [ebp - 8], 1
je 0x44c567
cmp dword [ebp - 8], 2
jne 0x44c48d
test dword [ebp + 0x10], 0x2000
jne 0x44c48d
mov ecx, esi
call fcn.004577fb
mov ecx, eax
cmp byte [ebp - 0xc], bl
je 0x44c5ab
push 2
push 0x48ad80
call fcn.00424975
jmp 0x44c48d
cmp edx, 4
jne 0x44c48a
push dword [ebp - 0x40]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00457895
jmp 0x44c557
push ebx
call fcn.00424953
jmp 0x44c48d
Function at 0x44cb24
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
push edi
mov edi, ecx
cmp dword [edi + 0x14], 0
jne 0x44cb3f
push 6
call fcn.004479b9
pop ecx
xor al, al
jmp 0x44cb88
push ebx
push esi
lea eax, [ebp - 4]
mov dword [ebp - 4], 0x20
push eax
lea eax, [ebp - 0x2c]
push eax
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 8]
push dword [edi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 4]
cmp ecx, 0x100000
ja 0x44cb84
sub eax, 0
je 0x44cbd3
dec eax
sub eax, 1
je 0x44cb84
sub eax, 0xe8
je 0x44cb8d
sub eax, 0x308
xor al, al
pop esi
pop ebx
pop edi
leave
ret 0xc
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00457903
cmp dword [ebp - 4], 0
mov ebx, eax
jle 0x44cc24
push dword [ebp - 4]
mov ecx, ebx
call fcn.00421e4f
cmp dword [ebx], 0
lea ecx, [ebp - 4]
push ecx
mov eax, 0x47c720
cmovne eax, dword [ebx]
push eax
push 0
push 0
push dword [ebp + 8]
push dword [edi + 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x44cbfa
jmp 0x44cb84
mov eax, dword [ebp - 8]
test eax, eax
je 0x44cb84
cmp eax, 3
jbe 0x44cbe9
cmp eax, 4
je 0x44cc2b
cmp eax, 7
jne 0x44cb84
mov esi, dword [ebp + 0xc]
lea eax, [ebp - 0x2c]
shr ecx, 1
push ecx
push eax
mov ecx, esi
call fcn.0045791f
cmp dword [ebp - 8], 1
je 0x44cc06
cmp dword [ebp - 8], 2
jne 0x44cc24
test dword [ebp + 0x10], 0x2000
jne 0x44cc24
mov ecx, esi
call fcn.004577fb
push 2
push 0x48ad80
mov ecx, eax
call fcn.00424975
mov al, 1
jmp 0x44cb86
cmp ecx, 4
jne 0x44cb84
push dword [ebp - 0x2c]
mov esi, dword [ebp + 0xc]
mov ecx, esi
call fcn.00457895
jmp 0x44cbfa

Function at 0x44db7a
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
test byte [ebp + 0x10], 8
mov eax, ecx
mov edx, dword [ebp + 0xc]
je 0x44db9f
cmp dword [edx + 4], 0
jg 0x44db9f
push dword [ebp + 8]
call fcn.0044c236
dec eax
neg eax
sbb al, al
inc al
jmp 0x44dbf8
xor ecx, ecx
inc ecx
test byte [ebp + 0x10], 0x80
push esi
je 0x44dbae
push 3
pop ecx
jmp 0x44dbbb
test dword [ebp + 0x10], 0x100
push 2
pop esi
cmovne ecx, esi
mov esi, dword [eax + 0x14]
test esi, esi
jne 0x44dbcd
push 6
call fcn.004479b9
xor al, al
jmp 0x44dbf6
push dword [edx + 4]
cmp dword [edx], 0
mov eax, 0x47c724
cmovne eax, dword [edx]
push eax
push ecx
push 0
push dword [ebp + 8]
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov esi, eax
push esi
call fcn.004479b9
test esi, esi
sete al
pop ecx
pop esi
pop ebp
ret 0xc
Function at 0x44f2e6
Capabilities:
Shutdown system

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
call fcn.004479b0
mov eax, dword [ebp + 0xc]
mov edi, dword [ebp + 8]
and eax, 1
push 0x10
pop esi
push 4
mov dword [ebp - 4], eax
pop eax
cmovne esi, eax
test edi, edi
je 0x44f384
cmp edi, 1
je 0x44f37f
push 2
pop ebx
cmp edi, ebx
je 0x44f335
cmp edi, 3
je 0x44f387
jle 0x44f378
cmp edi, 5
jle 0x44f339
cmp edi, 6
jne 0x44f378
call fcn.00446c41
push 0x40
test al, al
pop ecx
cmovne ebx, ecx
or esi, ebx
jmp 0x44f387
call fcn.0044ec3d
test al, al
jne 0x44f346
xor al, al
jmp 0x44f3b7
mov ecx, dword [0x4ab428]
test ecx, ecx
jne 0x44f35a
push 0x78
call fcn.004479b9
pop ecx
jmp 0x44f342
mov eax, dword [ebp + 0xc]
shr eax, 1
and eax, 1
push eax
push dword [ebp - 4]
xor eax, eax
cmp edi, 5
sete al
push eax
call ecx
test al, al
setne al
jmp 0x44f3b7
call fcn.004479c7
jmp 0x44f342
or esi, 8
jmp 0x44f387
or esi, 1
push 0
push 1
mov edi, str.SeShutdownPrivilege
push edi
call fcn.0044ec76
add esp, 0xc
push dword [ebp + 0x10]
push esi
call dword [sym.imp.USER32.dll_ExitWindowsEx]
push 0
test eax, eax
push 0
push edi
setne bl
call fcn.0044ec76
add esp, 0xc
mov al, bl
pop edi
pop esi
pop ebx
leave
ret

Function at 0x450829
Capabilities:
Open clipboard
Write clipboard data

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0
push ebx
je 0x4508d4
xor ebx, ebx
push ebx
call dword [sym.imp.USER32.dll_OpenClipboard]
test eax, eax
je 0x4508d4
mov eax, dword [ebp + 0xc]
push esi
mov esi, dword [ebp + 8]
push edi
mov esi, dword [esi + 4]
sub eax, 1
je 0x450868
sub eax, 6
je 0x450868
sub eax, 6
jne 0x450869
add esi, 2
jmp 0x450869
inc esi
push esi
mov dword [ebp - 4], ebx
call fcn.004467ea
mov edi, eax
pop ecx
test edi, edi
je 0x4508bd
push edi
call fcn.00446835
pop ecx
mov ecx, eax
mov dword [ebp - 4], ecx
test ecx, ecx
je 0x4508bd
mov edx, dword [ebp + 8]
mov eax, 0x47c720
push esi
cmp dword [edx], ebx
cmovne eax, dword [edx]
push eax
push ecx
call fcn.0045f160
push edi
call fcn.00446843
add esp, 0x10
test byte [ebp + 0x10], 1
jne 0x4508b3
call dword [sym.imp.USER32.dll_EmptyClipboard]
push edi
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_SetClipboardData]
call dword [sym.imp.USER32.dll_CloseClipboard]
test edi, edi
pop edi
pop esi
je 0x4508d0
cmp dword [ebp - 4], ebx
je 0x4508d0
mov bl, 1
mov al, bl
jmp 0x4508d6
xor al, al
pop ebx
leave
ret

Function at 0x451f29
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
call fcn.00426589
cmp dword [ebp + 0xc], 0
je 0x451f62
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov ecx, eax
test ecx, ecx
jle 0x451f62
lea eax, [ecx + 1]
add ecx, ecx
push eax
push ecx
mov ecx, dword [ebp + 8]
call fcn.00421e4f
push eax
push dword [ebp + 0xc]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov eax, dword [ebp + 8]
pop ebp
ret