joyce8/EMBER2024-capa huggingface dataset:
Function at 0x426b58
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffee0
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
mov eax, dword [esi]
cmp eax, 0x84
jg 0x426b89
je 0x426be3
sub eax, 7
je 0x426baa
dec eax
je 0x426bd4
sub eax, 0x17
je 0x426c64
jmp 0x426ca2
add eax, 0xffffff00
sub eax, 9
jb 0x426c50
add eax, 0xffffff09
sub eax, 0xb
jb 0x426c3a
jmp 0x426ca2
mov eax, ebx
call fcn.00436ca0
mov edi, eax
test edi, edi
je 0x426d02
mov edx, ebx
mov eax, edi
mov ecx, dword [eax]
call dword [ecx + 0xc8]
test al, al
je 0x426d0b
jmp 0x426d02
test byte [ebx + 0x44], 0x20
jne 0x426d0b
jmp 0x426d02
mov edx, esi
mov eax, ebx
call fcn.0042441c
cmp dword [esi + 0xc], 0xffffffff
jne 0x426d0b
lea edx, [ebp - 0x120]
mov eax, dword [esi + 8]
call fcn.00406e08
lea edx, [ebp - 0x120]
lea ecx, [ebp - 0x118]
mov eax, ebx
call fcn.00422e90
lea edx, [ebp - 0x118]
xor ecx, ecx
mov eax, ebx
call fcn.00426a08
test eax, eax
je 0x426d0b
mov dword [esi + 0xc], 1
jmp 0x426d0b
mov edx, esi
mov eax, ebx
call fcn.00426acc
test al, al
jne 0x426d0b
jmp 0x426d02
mov eax, ebx
call fcn.00423a88
test al, al
jne 0x426d0b
jmp 0x426d02
mov eax, ebx
call fcn.00429084
mov edi, eax
call sub.user32.dll_GetCapture
cmp edi, eax
jne 0x426d02
cmp dword [0x456724], 0
je 0x426d02
mov eax, dword [0x456724]
cmp ebx, dword [eax + 0x24]
jne 0x426d02
push 0
xor ecx, ecx
mov edx, 0x1f
mov eax, dword [0x456724]
call fcn.00424338
jmp 0x426d02
mov eax, dword [0x458724]
cmp byte [eax + 0x20], 0
je 0x426d02
mov eax, dword [0x458724]
cmp dword [eax + 0x1c], 0
je 0x426d02
mov eax, dword [esi]
mov edx, dword [0x458724]
cmp eax, dword [edx + 0x1c]
jne 0x426d02
lea eax, [ebp - 0x110]
push eax
call sub.user32.dll_GetKeyboardState
mov eax, dword [esi]
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x110]
call fcn.00436bb4
mov byte [ebp - 0xc], al
mov ax, word [esi + 4]
mov word [ebp - 0xa], ax
mov eax, dword [esi + 8]
mov dword [ebp - 8], eax
lea edx, [ebp - 0x10]
mov eax, ebx
mov bx, 0xffb9
call fcn.00403048
jmp 0x426d0b
mov edx, esi
mov eax, ebx
call fcn.0042441c
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42719c
Capabilities:
Capture screenshot

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffff94
push ebx
push esi
push edi
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x1e8], 0
je 0x4271b8
cmp dword [esi + 4], 0
je 0x4271e5
test byte [ebx + 0x45], 1
jne 0x4271d7
mov eax, ebx
call fcn.0042620c
test eax, eax
jne 0x4271d7
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x4272f5
mov edx, esi
mov eax, ebx
call fcn.00426e14
jmp 0x4272f5
push 0
call sub.user32.dll_GetDC
mov edi, eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push edi
call sub.gdi32.dll_CreateCompatibleBitmap
mov dword [ebp - 8], eax
push edi
push 0
call sub.user32.dll_ReleaseDC
push 0
call sub.gdi32.dll_CreateCompatibleDC
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x4272ee
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00429084
push eax
call sub.user32.dll_BeginPaint
mov edi, eax
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp - 4]
mov edx, 0x14
mov eax, ebx
call fcn.00424338
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0042719c
xor eax, eax
mov dword [esi + 4], eax
push 0xcc0020
push 0
push 0
mov eax, dword [ebp - 4]
push eax
lea edx, [ebp - 0x5c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x50]
push eax
lea edx, [ebp - 0x6c]
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx + 0x44]
mov eax, dword [ebp - 0x64]
push eax
push 0
push 0
push edi
call sub.gdi32.dll_BitBlt
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00429084
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4272f5
mov eax, dword [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_SelectObject
mov eax, dword [ebp - 4]
push eax
call sub.gdi32.dll_DeleteDC
mov eax, dword [ebp - 8]
push eax
call sub.gdi32.dll_DeleteObject
ret
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430714
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
mov ebx, edx
mov word [ebp - 2], ax
mov eax, ebx
call fcn.00403a94
push 0
xor eax, eax
mov al, byte [ebp - 2]
push eax
call sub.user32.dll_MapVirtualKeyA
shl eax, 0x10
test eax, eax
je 0x430775
push pe_nt_image_headers32
lea edx, [ebp - 0x102]
push edx
push eax
call sub.user32.dll_GetKeyNameTextA
cmp byte [ebp - 0x101], 0
jne 0x430775
cmp byte [ebp - 0x102], 0
je 0x430775
mov eax, ebx
lea edx, [ebp - 0x102]
mov ecx, pe_nt_image_headers32
call fcn.00403cc0
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436984
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x4587d8
cmp dword [edi], 0
jne 0x436a00
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x4587d4]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x4568b0
mov ecx, 2
call fcn.004027d4
mov edx, 0x43695c
lea eax, [esi + 5]
call fcn.0043697c
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043697c
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 0x4369d5
mov dword [0x4587d4], 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 0x436b24
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x436b74]
test si, 4
je 0x436b38
or bl, 1
test si, 8
je 0x436b42
or bl, 4
test si, 1
je 0x436b4c
or bl, 8
test si, 2
je 0x436b56
or bl, 0x10
test si, 0x10
je 0x436b60
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436b6f
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x436b78
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
mov bl, byte [0x436bb0]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436b91
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x436ba0
or bl, 4
test esi, 0x20000000
je 0x436bab
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x43d0f8
Capabilities:
Get keyboard layout
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffda0
push ebx
xor edx, edx
mov dword [ebp - 0x260], edx
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x43d29d
push dword fs:[eax]
mov dword fs:[eax], esp
mov dl, 1
mov eax, dword [0x40e0bc]
call fcn.00402e44
mov edx, dword [ebp - 4]
mov dword [edx + 0x28], eax
mov eax, dword [ebp - 4]
add eax, 0x2c
call fcn.00403a94
push 0
call sub.user32.dll_GetKeyboardLayout
mov edx, dword [ebp - 4]
mov dword [edx + 0x30], eax
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x43d273
inc eax
mov dword [ebp - 0x10], eax
lea eax, [ebp - 0x114]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
call fcn.0042d494
test al, al
je 0x43d266
lea eax, [ebp - 0xc]
push eax
push 0xf003f
push 0
push 0
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov dword [ebp - 0x25c], eax
mov byte [ebp - 0x258], 0
lea ecx, [ebp - 0x25c]
mov edx, 0x43d2ac
lea eax, [ebp - 0x254]
call fcn.00408bd8
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x43d266
xor eax, eax
push ebp
push 0x43d25f
push dword fs:[eax]
mov dword fs:[eax], esp
mov dword [ebp - 8], pe_nt_image_headers32
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0
push 0x43d2e4
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x43d248
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403cc0
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov ebx, dword [eax]
call dword [ebx + 0x38]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x30]
jne 0x43d248
mov eax, dword [ebp - 4]
add eax, 0x2c
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00403cc0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d266
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x43d169
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x28]
mov byte [eax + 0x19], 0
mov dl, 1
call fcn.0041113c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43d2a4
lea eax, [ebp - 0x260]
call fcn.00403a94
ret

Function at 0x43da38
Capabilities:
Create thread
Set global application hook

Disassembly:
push ecx
mov eax, dword [0x4587a8]
cmp byte [eax + 0x8d], 0
jne 0x43daa9
cmp dword [0x4587e4], 0
jne 0x43da6a
call sub.KERNEL32.DLL_GetCurrentThreadId
push eax
push 0
mov eax, 0x43d9f4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x4587e4], eax
cmp dword [0x4587e0], 0
jne 0x43da85
push 0
push 0
push 0
push 0
call sub.KERNEL32.DLL_CreateEventA
mov dword [0x4587e0], eax
cmp dword [0x4587e8], 0
jne 0x43daa9
push esp
push 0
push 0
push 0x43d998
push 0x3e8
push 0
call sub.KERNEL32.DLL_CreateThread
mov dword [0x4587e8], eax
pop edx
ret
Function at 0x43dba0
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x43dbb7
add esp, 0xfffffff0
call fcn.00403140
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.00414254
mov byte [ebx + 0x28], 0
mov dl, 1
mov eax, dword [0x40ddbc]
call fcn.00402e44
mov dword [ebx + 0x78], eax
mov dl, 1
mov eax, dword [0x40ddbc]
call fcn.00402e44
mov dword [ebx + 0x90], eax
xor eax, eax
mov dword [ebx + 0x48], eax
xor eax, eax
mov dword [ebx + 0x6c], eax
mov dword [ebx + 0x44], 0x80000018
mov dword [ebx + 0x60], 0x1f4
mov byte [ebx + 0x64], 1
xor eax, eax
mov dword [ebx + 0x68], eax
mov dword [ebx + 0x5c], 0x9c4
mov byte [ebx + 0x70], 0
mov byte [ebx + 0x85], 1
mov dl, 1
mov eax, dword [0x415d84]
call fcn.0041b5b0
mov esi, eax
mov dword [ebx + 0x80], esi
push 0x43dd28
mov eax, dword [0x45777c]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.0041b954
mov eax, dword [ebx + 0x80]
mov dword [eax + 8], ebx
mov dword [eax + 4], 0x43f664
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45777c]
mov eax, dword [eax]
push eax
call sub.KERNEL32.DLL_GetModuleFileNameA_1
lea eax, [ebp - 0x101]
push eax
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_OemToCharA
lea eax, [ebp - 0x101]
mov dl, 0x5c
call fcn.0040bae4
test eax, eax
je 0x43dca7
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.00408524
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040bb0c
test eax, eax
je 0x43dcbb
mov byte [eax], 0
lea eax, [ebp - 0x101]
inc eax
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x74]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00403cc0
mov eax, dword [0x45768c]
cmp byte [eax], 0
jne 0x43dcec
mov eax, ebx
call fcn.0043de14
mov byte [ebx + 0x41], 1
mov byte [ebx + 0x42], 1
mov byte [ebx + 0x43], 1
mov byte [ebx + 0x86], 1
xor eax, eax
mov dword [ebx + 0x88], eax
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x43dd1e
call fcn.00403198
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x43e070
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x4587a8]
cmp dword [eax + 0x24], 0
je 0x43e100
cmp dword [ebx + 0x7c], 0
jne 0x43e0fd
mov eax, dword [ebx + 0x24]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x43e004
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x78]
cmp dword [eax + 8], 0
je 0x43e0fd
push 3
mov eax, dword [esp + 4]
push eax
call sub.user32.dll_GetWindow
mov esi, eax
mov dword [esp], esi
push 0xffffffffffffffec
push esi
call sub.user32.dll_GetWindowLongA
test al, 8
je 0x43e0cc
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x78]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x43e0fd
push 0x13
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x78]
call fcn.0040f43c
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x43e0d8
inc dword [ebx + 0x7c]
pop ecx
pop edx
pop esi
pop ebx
ret
Function at 0x43ea50
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0x8c], 0
je 0x43ea85
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x24]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00403b78
jmp 0x43ea8f
mov eax, esi
mov edx, dword [ebx + 0x74]
call fcn.00403b2c
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x43f994
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x6c]
test esi, esi
je 0x43f9cc
mov eax, esi
call fcn.00429464
test al, al
je 0x43f9cc
mov eax, dword [ebx + 0x6c]
call fcn.00429084
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x43f9cc
push 0
mov eax, dword [ebx + 0x6c]
call fcn.00429084
push eax
call sub.user32.dll_ShowWindow
pop esi
pop ebx
ret

Function at 0x441150
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.00402ae4
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 [0x4579ec]
cmp byte [edx + 8], 0
je 0x4411b4
mov edx, dword [0x4579e4]
cmp dword [edx], 2
jne 0x4411b4
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 0x4411b8
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 - 0xc], ecx
mov dword [ebp - 4], edx
mov edi, eax
xor eax, eax
push ebp
push 0x441270
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov edx, dword [eax]
call dword [edx + 0x40]
lea edx, [ebp - 0x28]
mov eax, edi
call fcn.00441150
test al, al
je 0x441252
mov ecx, dword [ebp - 0x24]
inc ecx
lea eax, [ebp - 0xc]
xor edx, edx
call fcn.00403b78
mov ebx, dword [ebp - 0x28]
dec ebx
test ebx, ebx
jl 0x441252
inc ebx
xor esi, esi
mov eax, dword [ebp - 0x24]
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.00403ed4
push eax
push esi
mov eax, dword [edi + 4]
push eax
call sub.advapi32.dll_RegEnumKeyExA
mov eax, dword [ebp - 0xc]
call fcn.00403ed4
mov edx, eax
lea eax, [ebp - 0x2c]
call fcn.00403c48
mov edx, dword [ebp - 0x2c]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x34]
inc esi
dec ebx
jne 0x44120b
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441277
lea eax, [ebp - 0x2c]
call fcn.00403a94
lea eax, [ebp - 0xc]
call fcn.00403a94
ret
Function at 0x4413e0
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 0x441471
push dword fs:[eax]
mov dword fs:[eax], esp
mov al, byte [ebp + 8]
call fcn.00440ed8
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.00403ed4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegSetValueExA
test eax, eax
je 0x44145b
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 [0x45785c]
call fcn.00405224
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x440d90]
call fcn.0040b028
call fcn.004034ec
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441478
lea eax, [ebp - 0x10]
call fcn.00403a94
ret

Function at 0x441484
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 0x44151f
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.00403ed4
push eax
mov eax, dword [ebx + 4]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
je 0x4414f9
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 [0x4579f8]
call fcn.00405224
mov ecx, dword [ebp - 0x10]
mov dl, 1
mov eax, dword [0x440d90]
call fcn.0040b028
call fcn.004034ec
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.00440f08
mov edx, dword [ebp + 8]
mov byte [edx], al
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x441526
lea eax, [ebp - 0x10]
call fcn.00403a94
ret

Function at 0x442330
Capabilities:
Copy file
Set file attributes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov esi, eax
mov eax, dword [ebp - 4]
call fcn.00403ec4
mov eax, dword [ebp - 8]
call fcn.00403ec4
xor eax, eax
push ebp
push 0x4423a0
push dword fs:[eax]
mov dword fs:[eax], esp
push 0
mov eax, dword [ebp - 8]
call fcn.00403ed4
mov ebx, eax
push ebx
mov eax, dword [ebp - 4]
call fcn.00403ed4
push eax
call sub.KERNEL32.DLL_CopyFileA
test esi, esi
je 0x442385
push 2
push ebx
call sub.KERNEL32.DLL_SetFileAttributesA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x4423a7
lea eax, [ebp - 8]
mov edx, 2
call fcn.00403ab8
ret
Function at 0x4423b0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
xor edx, edx
mov dword [ebp - 0x104], edx
mov ebx, eax
xor eax, eax
push ebp
push 0x44241f
push dword fs:[eax]
mov dword fs:[eax], esp
push 0xff
lea eax, [ebp - 0x100]
push eax
call sub.KERNEL32.DLL_GetWindowsDirectoryA
lea edx, [ebp - 0x104]
lea eax, [ebp - 0x100]
call fcn.004086f8
mov edx, dword [ebp - 0x104]
mov eax, ebx
mov ecx, 0x442434
call fcn.00403d5c
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442426
lea eax, [ebp - 0x104]
call fcn.00403a94
ret

Function at 0x442554
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
xor ecx, ecx
push ecx
push ecx
push ecx
push ecx
push ebx
push esi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
call fcn.00403ec4
xor eax, eax
push ebp
push 0x44261f
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [ebp - 4], 0
je 0x442604
call fcn.00442228
mov eax, dword [ebp - 4]
call fcn.004084a0
push 2
mov eax, dword [ebp - 4]
call fcn.00403ed4
push eax
call sub.KERNEL32.DLL_SetFileAttributesA
mov si, 0x32
mov ebx, 0x458800
push dword [ebp - 4]
push 0x442634
push dword [ebx]
lea eax, [ebp - 0xc]
mov edx, 3
call fcn.00403dd0
mov eax, dword [ebp - 0xc]
call fcn.00403ed4
mov edx, eax
lea eax, [ebp - 8]
call fcn.00403c48
mov eax, dword [ebp - 8]
push eax
mov eax, dword [0x4587f8]
call fcn.00403ed4
mov edx, eax
lea eax, [ebp - 0x10]
call fcn.00403c48
mov edx, dword [ebp - 0x10]
xor eax, eax
pop ecx
call fcn.00442330
add ebx, 4
dec si
jne 0x4425a8
mov eax, dword [ebp - 4]
call fcn.00442438
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x442626
lea eax, [ebp - 0x10]
mov edx, 4
call fcn.00403ab8
ret

Function at 0x4430d4
Capabilities:
Query or enumerate registry value

Disassembly:
add esp, 0xffffff54
cmp byte [0x456b84], 0
jne 0x4431a6
mov byte [0x456b84], 1
xor eax, eax
mov dword [0x456b70], eax
mov dword [esp + 0x18], 0x94
lea eax, [esp + 0x18]
push eax
call sub.KERNEL32.DLL_GetVersionExA
cmp dword [esp + 0x1c], 3
ja 0x44311c
cmp dword [esp + 0x1c], 3
jne 0x44317c
cmp dword [esp + 0x20], 0x33
jbe 0x44317c
mov dword [esp + 4], 9
push esp
push 0x20019
push 0
push 0x4431b0
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x4431a6
lea eax, [esp + 4]
push eax
lea eax, [esp + 0xc]
push eax
lea eax, [esp + 0x1c]
push eax
push 0
push 0x4431e0
mov eax, dword [esp + 0x14]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x4431a6
mov eax, dword [esp]
push eax
call sub.advapi32.dll_RegCloseKey_1
cmp byte [esp + 8], 0x31
jne 0x4431a6
cmp byte [esp + 9], 0
jne 0x4431a6
jmp 0x443191
push 0
push 0x4431e0
push 0x4431e8
call sub.KERNEL32.DLL_GetProfileIntA
test eax, eax
je 0x4431a6
mov eax, dword [0x456b6c]
call fcn.00403ed4
push eax
call sub.KERNEL32.DLL_LoadLibraryA
mov dword [0x456b70], eax
add esp, 0xac
ret
Function at 0x445560
Capabilities:
Initialize winsock library

Disassembly:
push ebx
push esi
add esp, 0xfffffff0
mov esi, eax
cmp byte [0x456c18], 0
jne 0x4455b6
push 0x45890c
push 0x101
call sub.wsock32.dll_WSAStartup
mov ebx, eax
test ebx, ebx
je 0x4455af
mov dword [esp], esi
mov byte [esp + 4], 6
mov dword [esp + 8], ebx
mov byte [esp + 0xc], 0
push esp
push 1
mov ecx, 0x4455c8
mov dl, 1
mov eax, dword [0x444248]
call fcn.0040b028
call fcn.004034ec
mov byte [0x456c18], 1
mov al, 1
add esp, 0x10
pop esi
pop ebx
ret

Function at 0x446114
Capabilities:
Set socket configuration

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffbf4
push ebx
push esi
push edi
mov word [ebp - 6], dx
mov dword [ebp - 4], eax
mov bl, 1
jmp 0x4461e8
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
xor eax, eax
push ebp
push 0x4461dc
push dword fs:[eax]
mov dword fs:[eax], esp
mov dx, word [ebp - 6]
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
call dword [ecx + 0x5c]
test al, al
jne 0x446193
push 0
lea edx, [ebp - 0x40c]
mov ecx, 0x400
mov eax, dword [ebp - 4]
mov esi, dword [eax]
call dword [esi + 0x7c]
inc eax
jne 0x446193
call sub.wsock32.dll_WSAGetLastError
mov esi, eax
mov eax, dword [ebp - 4]
mov dword [eax + 0x3c], esi
cmp esi, 0x2733
jne 0x446193
mov eax, dword [ebp - 4]
xor edx, edx
mov dword [eax + 0x3c], edx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4461f0
mov eax, dword [ebp - 4]
cmp dword [eax + 0x3c], 0
je 0x4461a0
xor ebx, ebx
jmp 0x4461d2
lea eax, [ebp - 0xc]
push eax
push 0x4004667f
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x44c]
push eax
call sub.wsock32.dll_ioctlsocket
inc eax
jne 0x4461ca
call sub.wsock32.dll_WSAGetLastError
mov edx, dword [ebp - 4]
mov dword [edx + 0x3c], eax
xor ebx, ebx
jmp 0x4461d2
cmp dword [ebp - 0xc], 0
jne 0x4461d2
xor ebx, ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x4461e8
test bl, bl
jne 0x44612e
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret