joyce8/EMBER2024-capa huggingface dataset:
Function at 0x43ed44
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 + 0x240], 0
je 0x43ed60
cmp dword [esi + 4], 0
je 0x43ed8d
test byte [ebx + 0x55], 1
jne 0x43ed7f
mov eax, ebx
call fcn.0043d12c
test eax, eax
jne 0x43ed7f
mov edx, esi
mov eax, ebx
mov ecx, dword [eax]
call dword [ecx - 0x10]
jmp 0x43ee9d
mov edx, esi
mov eax, ebx
call fcn.0043e74c
jmp 0x43ee9d
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 0x43ee96
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x4c]
push eax
mov eax, ebx
call fcn.00440d9c
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.0043a554
mov eax, dword [ebp - 4]
mov dword [esi + 4], eax
mov edx, esi
mov eax, ebx
call fcn.0043ed44
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.00440d9c
push eax
call sub.user32.dll_EndPaint
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43ee9d
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 0x446100
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
mov eax, dword [0x45cbf0]
cmp byte [eax + 0xc], 0
je 0x44626d
push 0x8000
call sub.kernel32.dll_SetErrorMode
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x446266
push dword fs:[eax]
mov dword fs:[eax], esp
cmp dword [0x46054c], 0
jne 0x446154
push 0x446274
call sub.kernel32.dll_GetModuleHandleA_2
mov ebx, eax
push 0x44627c
push ebx
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46054c], eax
cmp dword [0x45c618], 0
jne 0x44624f
push 0x44628c
call sub.kernel32.dll_LoadLibraryA
mov dword [0x45c618], eax
cmp dword [0x45c618], 0
je 0x44624f
push 0x446298
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460550], eax
push 0x4462a8
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460554], eax
push 0x4462bc
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460558], eax
push 0x4462d4
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46055c], eax
push 0x4462ec
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460560], eax
push 0x446300
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460564], eax
push 0x446318
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460568], eax
push 0x446330
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x46056c], eax
push 0x44634c
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460570], eax
push 0x446358
mov eax, dword [0x45c618]
push eax
call sub.kernel32.dll_GetProcAddress_1
mov dword [0x460574], eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x44626d
mov eax, dword [ebp - 4]
push eax
call sub.kernel32.dll_SetErrorMode
ret
pop ebx
pop ecx
pop ebp
ret

Function at 0x44b8dc
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44b930]
test si, 4
je 0x44b8f1
or bl, 1
test si, 8
je 0x44b8fb
or bl, 4
test si, 1
je 0x44b905
or bl, 8
test si, 2
je 0x44b90f
or bl, 0x10
test si, 0x10
je 0x44b919
or bl, 0x20
push 0x12
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b928
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret

Function at 0x44b934
Capabilities:
Log keystrokes via polling

Disassembly:
push ebx
push esi
mov esi, eax
movzx ebx, byte [0x44b970]
push 0x10
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b94e
or bl, 1
push 0x11
call sub.user32.dll_GetKeyState
test ax, ax
jge 0x44b95d
or bl, 4
test esi, 0x20000000
je 0x44b968
or bl, 2
mov eax, ebx
pop esi
pop ebx
ret
Function at 0x453024
Capabilities:
Get keyboard layout

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
test dl, dl
je 0x453036
add esp, 0xfffffff0
call fcn.00403c9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6b8
mov eax, dword [0x45c894]
mov dword [eax + 4], ebx
mov dword [eax], 0x4533c8
mov eax, dword [0x45c8a0]
mov dword [eax + 4], ebx
mov dword [eax], 0x4533d4
mov eax, ebx
call fcn.004533e0
push 0
call sub.user32.dll_GetKeyboardLayout
mov dword [ebx + 0x3c], eax
mov dl, 1
mov eax, dword [0x4124b4]
call fcn.00403960
mov dword [ebx + 0x4c], eax
mov dl, 1
mov eax, dword [0x4124b4]
call fcn.00403960
mov dword [ebx + 0x50], eax
mov dl, 1
mov eax, dword [0x4124b4]
call fcn.00403960
mov dword [ebx + 0x54], eax
mov dl, 1
mov eax, dword [0x4124b4]
call fcn.00403960
mov dword [ebx + 0x58], eax
mov dl, 1
mov eax, dword [0x4124b4]
call fcn.00403960
mov dword [ebx + 0x7c], eax
push 0
call sub.user32.dll_GetDC
mov esi, eax
push 0x5a
push esi
call sub.gdi32.dll_GetDeviceCaps
mov dword [ebx + 0x40], eax
push esi
push 0
call sub.user32.dll_ReleaseDC
mov eax, dword [ebx + 0x58]
push eax
mov eax, 0x44ee78
push eax
push 0
push 0
mov eax, dword [0x45ca00]
mov eax, dword [eax]
call eax
mov dl, 1
mov eax, dword [0x41e2e0]
call fcn.0041f800
mov dword [ebx + 0x84], eax
mov dl, 1
mov eax, dword [0x41e2e0]
call fcn.0041f800
mov dword [ebx + 0x88], eax
mov dl, 1
mov eax, dword [0x41e2e0]
call fcn.0041f800
mov dword [ebx + 0x80], eax
mov eax, ebx
call fcn.00453810
mov eax, dword [ebx + 0x84]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4536e0
mov eax, dword [ebx + 0x88]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4536e0
mov eax, dword [ebx + 0x80]
mov dword [eax + 0xc], ebx
mov dword [eax + 8], 0x4536e0
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x453173
call fcn.00403cf4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x4534c4
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 0x45366f
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
cmp dword [eax + 0x34], 0
jne 0x453650
mov dl, 1
mov eax, dword [0x4128d8]
call fcn.00403960
mov edx, dword [ebp - 4]
mov dword [edx + 0x34], eax
mov eax, dword [ebp - 4]
add eax, 0x38
call fcn.004047a4
lea eax, [ebp - 0x114]
push eax
push 0x40
call sub.user32.dll_GetKeyboardLayoutList
dec eax
test eax, eax
jl 0x45363f
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.0044645c
test al, al
je 0x453632
lea eax, [ebp - 0xc]
push eax
push 0x20019
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, 0x453680
lea eax, [ebp - 0x254]
call fcn.00409824
push eax
push 0x80000002
call sub.advapi32.dll_RegOpenKeyExA_1
test eax, eax
jne 0x453632
xor eax, eax
push ebp
push 0x45362b
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 0x4536b8
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegQueryValueExA_1
test eax, eax
jne 0x453614
lea eax, [ebp - 0x260]
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a14
mov edx, dword [ebp - 0x260]
mov eax, dword [ebp - 0x14]
mov ecx, dword [eax]
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov ebx, dword [eax]
call dword [ebx + 0x3c]
mov eax, dword [ebp - 0x14]
mov eax, dword [eax]
mov edx, dword [ebp - 4]
cmp eax, dword [edx + 0x3c]
jne 0x453614
mov eax, dword [ebp - 4]
add eax, 0x38
lea edx, [ebp - 0x214]
mov ecx, pe_nt_image_headers32
call fcn.00404a14
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453632
mov eax, dword [ebp - 0xc]
push eax
call sub.advapi32.dll_RegCloseKey_1
ret
add dword [ebp - 0x14], 4
dec dword [ebp - 0x10]
jne 0x453535
mov eax, dword [ebp - 4]
mov eax, dword [eax + 0x34]
mov byte [eax + 0x25], 0
mov dl, 1
call fcn.004165b8
mov eax, dword [ebp - 4]
mov ebx, dword [eax + 0x34]
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x453676
lea eax, [ebp - 0x260]
call fcn.004047a4
ret

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

Disassembly:
push ecx
mov eax, dword [0x460584]
cmp byte [eax + 0xad], 0
jne 0x454059
cmp dword [0x46059c], 0
jne 0x45401a
call sub.kernel32.dll_GetCurrentThreadId_1
push eax
push 0
mov eax, 0x453fa4
push eax
push 3
call sub.user32.dll_SetWindowsHookExA
mov dword [0x46059c], eax
cmp dword [0x460598], 0
jne 0x454035
push 0
push 0
push 0
push 0
call sub.kernel32.dll_CreateEventA
mov dword [0x460598], eax
cmp dword [0x4605a0], 0
jne 0x454059
push esp
push 0
push 0
push 0x453f48
push 0x3e8
push 0
call sub.kernel32.dll_CreateThread
mov dword [0x4605a0], eax
pop edx
ret
Function at 0x45422c
Capabilities:
Inspect load icon resource

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffefc
push ebx
push esi
test dl, dl
je 0x454243
add esp, 0xfffffff0
call fcn.00403c9c
mov byte [ebp - 1], dl
mov ebx, eax
xor edx, edx
mov eax, ebx
call fcn.0041a6b8
mov eax, dword [0x45c9e8]
cmp word [eax + 2], 0
jne 0x45426b
mov eax, dword [0x45c9e8]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455cdc
mov eax, dword [0x45ca94]
cmp word [eax + 2], 0
jne 0x454285
mov eax, dword [0x45ca94]
mov dword [eax + 4], ebx
mov dword [eax], fcn.00455ee8
mov byte [ebx + 0x34], 0
mov dl, 1
mov eax, dword [0x4124b4]
call fcn.00403960
mov dword [ebx + 0x90], eax
mov dl, 1
mov eax, dword [0x4124b4]
call fcn.00403960
mov dword [ebx + 0x98], eax
mov dl, 1
mov eax, dword [0x4124b4]
call fcn.00403960
mov dword [ebx + 0xb0], eax
xor eax, eax
mov dword [ebx + 0x60], eax
xor eax, eax
mov dword [ebx + 0x84], eax
mov dword [ebx + 0x5c], 0xff000018
mov dword [ebx + 0x78], 0x1f4
mov byte [ebx + 0x7c], 1
xor eax, eax
mov dword [ebx + 0x80], eax
mov dword [ebx + 0x74], 0x9c4
mov byte [ebx + 0x88], 0
mov byte [ebx + 0xa5], 1
mov byte [ebx + 0xbc], 1
mov dl, 1
mov eax, dword [0x41eabc]
call fcn.00424940
mov esi, eax
mov dword [ebx + 0xa0], esi
push 0x45443c
mov eax, dword [0x45c900]
mov eax, dword [eax]
push eax
call sub.user32.dll_LoadIconA
mov edx, eax
mov eax, esi
call fcn.00424d14
mov eax, dword [ebx + 0xa0]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x10], 0x4565a8
push pe_nt_image_headers32
lea eax, [ebp - 0x101]
push eax
mov eax, dword [0x45c900]
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.0040cfcc
test eax, eax
je 0x45438c
lea edx, [eax + 1]
lea eax, [ebp - 0x101]
call fcn.004091c8
lea eax, [ebp - 0x101]
mov dl, 0x2e
call fcn.0040d000
test eax, eax
je 0x4543a0
mov byte [eax], 0
lea eax, [ebp - 0x101]
push eax
call sub.user32.dll_CharNextA_1
push eax
call sub.user32.dll_CharLowerA
lea eax, [ebx + 0x8c]
lea edx, [ebp - 0x101]
mov ecx, pe_nt_image_headers32
call fcn.00404a14
mov byte [ebx + 0xd4], 0
push ebx
push 0x45583c
call fcn.0041b834
mov dword [ebx + 0xc8], eax
mov eax, dword [0x45c7f4]
cmp byte [eax], 0
jne 0x4543f1
mov eax, ebx
call fcn.00454580
mov byte [ebx + 0x59], 1
mov byte [ebx + 0x5a], 1
mov byte [ebx + 0x5b], 1
mov byte [ebx + 0xa6], 1
xor eax, eax
mov dword [ebx + 0xa8], eax
mov eax, ebx
call fcn.00456784
mov eax, ebx
call fcn.004572e4
mov eax, ebx
cmp byte [ebp - 1], 0
je 0x454431
call fcn.00403cf4
pop dword fs:[0]
add esp, 0xc
mov eax, ebx
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x454800
Capabilities:
Enumerate gui resources

Disassembly:
push ebx
push esi
add esp, 0xfffffff8
mov ebx, eax
mov eax, dword [0x460584]
cmp dword [eax + 0x30], 0
je 0x4548aa
cmp dword [ebx + 0x94], 0
jne 0x4548a4
mov eax, dword [ebx + 0x30]
mov dword [esp], eax
mov byte [esp + 4], dl
mov eax, esp
push eax
push 0x454790
call sub.user32.dll_EnumWindows
mov eax, dword [ebx + 0x90]
cmp dword [eax + 8], 0
je 0x4548a4
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 0x45486a
mov dword [esp], 0xfffffffe
mov eax, dword [ebx + 0x90]
mov esi, dword [eax + 8]
dec esi
cmp esi, 0
jl 0x4548a4
push 0x213
push 0
push 0
push 0
push 0
mov eax, dword [esp + 0x14]
push eax
mov edx, esi
mov eax, dword [ebx + 0x90]
call fcn.00414860
push eax
call sub.user32.dll_SetWindowPos
dec esi
cmp esi, 0xffffffff
jne 0x454879
inc dword [ebx + 0x94]
pop ecx
pop edx
pop esi
pop ebx
ret

Function at 0x4555c4
Capabilities:
Get graphical window text

Disassembly:
push ebx
push esi
add esp, 0xffffff00
mov esi, edx
mov ebx, eax
cmp byte [ebx + 0xac], 0
je 0x4555f9
push pe_nt_image_headers32
lea eax, [esp + 4]
push eax
mov eax, dword [ebx + 0x30]
push eax
call sub.user32.dll_GetWindowTextA
mov ecx, eax
mov edx, esp
mov eax, esi
call fcn.00404894
jmp 0x455606
mov eax, esi
mov edx, dword [ebx + 0x8c]
call fcn.004047f8
add esp, 0x100
pop esi
pop ebx
ret

Function at 0x456968
Capabilities:
Hide graphical window

Disassembly:
push ebx
push esi
mov ebx, eax
mov esi, dword [ebx + 0x84]
test esi, esi
je 0x4569d6
mov eax, esi
call fcn.0044113c
test al, al
je 0x4569d6
mov eax, dword [ebx + 0x84]
call fcn.00440d9c
push eax
call sub.user32.dll_IsWindowVisible
test eax, eax
je 0x4569d6
mov eax, dword [ebx + 0x84]
mov edx, dword [eax]
call dword [edx + 0xf0]
test al, al
je 0x4569ca
push 0
mov eax, dword [ebx + 0x84]
call fcn.00440d9c
push eax
call sub.user32.dll_ShowWindow
xor edx, edx
mov eax, dword [ebx + 0x84]
call fcn.004391bc
jmp 0x4569d6
mov cl, 1
mov edx, dword [ebx + 0x74]
mov eax, ebx
call fcn.004567a4
pop esi
pop ebx
ret

Function at 0x458b1c
Capabilities:
Copy file
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404c58
mov eax, dword [ebp - 8]
call fcn.00404c58
xor eax, eax
push ebp
push 0x458ba1
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x458b67
mov eax, dword [ebp - 8]
call fcn.00408d78
test al, al
je 0x458b67
mov eax, dword [ebp - 8]
call fcn.00404c68
push eax
call sub.kernel32.dll_DeleteFileA
push 0xffffffffffffffff
mov eax, dword [ebp - 8]
call fcn.00404c68
push eax
mov eax, dword [ebp - 4]
call fcn.00404c68
push eax
call sub.kernel32.dll_CopyFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458ba8
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047c8
ret
Function at 0x458cc0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd8
push ebx
xor ecx, ecx
mov dword [ebp - 0x28], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404c58
xor eax, eax
push ebp
push 0x458d9b
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 0x22]
xor ecx, ecx
mov edx, 0x1e
call fcn.004032d4
lea edx, [ebp - 0x28]
mov eax, dword [ebp - 4]
call fcn.004085e8
cmp dword [ebp - 0x28], 0
je 0x458d7d
jmp 0x458d22
mov ebx, dword [ebp - 4]
test ebx, ebx
je 0x458d13
sub ebx, 4
mov ebx, dword [ebx]
lea eax, [ebp - 4]
mov ecx, 1
mov edx, ebx
call fcn.00404d08
mov eax, dword [ebp - 4]
call fcn.00404a64
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x5c
je 0x458d07
mov eax, dword [ebp - 4]
call fcn.00404a64
mov edx, dword [ebp - 4]
cmp byte [edx + eax - 1], 0x2f
je 0x458d07
mov eax, dword [ebp - 4]
call fcn.00408d9c
test al, al
je 0x458d7d
xor eax, eax
mov dword [ebp - 0x22], eax
mov dword [ebp - 0x1e], 3
mov eax, dword [ebp - 4]
call fcn.00404c68
mov dword [ebp - 0x1a], eax
xor eax, eax
mov dword [ebp - 0x16], eax
mov word [ebp - 0x12], 0x314
lea eax, [ebp - 0x22]
push eax
call sub.shell32.dll_SHFileOperationA
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x458da2
lea eax, [ebp - 0x28]
call fcn.004047a4
lea eax, [ebp - 4]
call fcn.004047a4
ret
Function at 0x4590c4
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
mov dword [ebp - 8], ecx
mov dword [ebp - 4], edx
mov eax, dword [ebp - 4]
call fcn.00404c58
mov eax, dword [ebp - 8]
call fcn.00404c58
xor eax, eax
push ebp
push 0x459147
push dword fs:[eax]
mov dword fs:[eax], esp
cmp byte [ebp + 8], 0
je 0x45910f
mov eax, dword [ebp - 8]
call fcn.00408d78
test al, al
je 0x45910f
mov eax, dword [ebp - 8]
call fcn.00404c68
push eax
call sub.kernel32.dll_DeleteFileA
mov eax, dword [ebp - 8]
call fcn.00404c68
push eax
mov eax, dword [ebp - 4]
call fcn.00404c68
push eax
call sub.kernel32.dll_MoveFileA
cmp eax, 1
sbb ebx, ebx
inc ebx
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x45914e
lea eax, [ebp - 8]
mov edx, 2
call fcn.004047c8
ret
Function at 0x4026c0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x110
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0x10c], eax
mov eax, dword [esp + 0x114]
push esi
push edi
mov edi, dword [esp + 0x120]
lea ecx, [esp + 8]
push ecx
push 0xf003f
xor esi, esi
push esi
push edi
push eax
mov dword [esp + 0x20], esi
call dword [0x43b02c]
test eax, eax
jne 0x40273a
mov ecx, dword [esp + 8]
push esi
push esi
push esi
push esi
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x24]
push eax
push esi
push ecx
mov dword [esp + 0x2c], 0x104
call dword [0x43b030]
cmp eax, 0x103
jne 0x40272f
mov esi, 1
mov edx, dword [esp + 8]
push edx
call dword [0x43b034]
lea eax, [edi - 0x10]
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x402756
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x114]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00425d1a
add esp, 0x110
ret

Function at 0x4030a0
Capabilities:
Access peb ldr_data
Get kernel32 base address
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x437f48
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push esi
push edi
mov eax, dword [0x44b538]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
push str.MicrosoftWindowsCurrentVersionUninstall_
add ecx, 0x148
push ecx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
call fcn.00402cd0
push str.F132AF7F_7BCA_4EDE_8A7C_958108FE7DBC
push eax
lea ecx, [esp + 0x38]
push ecx
mov dword [esp + 0x4c], 0
call fcn.00402cd0
mov eax, dword [eax]
add esp, 0x18
lea edx, [esp + 0x18]
push edx
push 0xf003f
push 0
push eax
push 0x80000002
call dword [0x43b02c]
test eax, eax
mov eax, dword [esp + 0x24]
sete byte [esp + 0xf]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403147
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
mov dword [esp + 0x34], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x40316f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
cmp byte [esp + 0xf], 0
je 0x4031da
mov esi, dword [0x43b014]
lea ecx, [esp + 0x10]
push ecx
mov ecx, dword [esp + 0x1c]
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x1c]
push eax
push 0
push str.MajorVersion
mov edi, 4
push ecx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call esi
test eax, eax
jne 0x4031cf
lea edx, [esp + 0x10]
push edx
mov edx, dword [esp + 0x1c]
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x1c]
push ecx
push 0
push str.MinorVersion
push edx
mov dword [esp + 0x2c], edi
mov dword [esp + 0x28], edi
call esi
mov eax, dword [esp + 0x18]
push eax
call dword [0x43b034]
mov eax, dword [esp + 0x1c]
shl eax, 0x10
or eax, dword [esp + 0x20]
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
add esp, 0x2c
ret
Function at 0x403a30
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x4380d6
mov eax, dword fs:[0]
push eax
sub esp, 0x114
mov eax, dword [0x44b538]
xor eax, esp
mov dword [esp + 0x110], eax
push ebp
push esi
push edi
mov eax, dword [0x44b538]
xor eax, esp
push eax
lea eax, [esp + 0x124]
mov dword fs:[0], eax
mov esi, ecx
xor edi, edi
call fcn.0041557a
xor ecx, ecx
test eax, eax
setne cl
test ecx, ecx
jne 0x403a88
push 0x80004005
call fcn.00401090
mov edx, dword [eax]
mov ecx, eax
mov eax, dword [edx + 0xc]
call eax
lea ecx, [eax + 0x10]
mov dword [esp + 0x10], ecx
mov eax, dword [esi + 0x158]
test eax, eax
mov dword [esp + 0x12c], 0
je 0x403aba
cmp dword [esi + 0x15c], 0
jne 0x403ac3
test eax, eax
jne 0x403af1
cmp dword [esi + 0x15c], 0
jne 0x403af1
lea eax, [ecx - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403aea
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
jmp 0x403c20
cmp dword [esi + 0x2a2c], 0
jne 0x403b4f
push str.RealtekInstallShield
lea ecx, [esi + 0x148]
push ecx
lea edx, [esp + 0x20]
push edx
call fcn.00402cd0
add esp, 0xc
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x130], 1
call fcn.00402df0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
mov byte [esp + 0x12c], 0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403b5f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
jmp 0x403b5f
push 0x20
push str.SoftwareRealtekAudioInstaller
lea ecx, [esp + 0x18]
call fcn.00402a70
mov ebp, dword [esp + 0x10]
lea ecx, [esp + 0x14]
push ecx
push ebp
push 0x80000002
call dword [0x43b00c]
test eax, eax
jne 0x403bf7
cmp dword [esi + 0x158], eax
je 0x403b9e
push str.F132AF7F_7BCA_4EDE_8A7C_958108FE7DBC
lea edx, [esp + 0x20]
push 0x43bca8
push edx
call fcn.00426f4f
add esp, 0xc
mov eax, 0x27
jmp 0x403bc9
cmp dword [esi + 0x15c], 0
je 0x403bc5
push str.5449FB4F_1802_4D5B_A6D8_087DB1142147
lea eax, [esp + 0x20]
push 0x43bca8
push eax
call fcn.00426f4f
add esp, 0xc
mov eax, 0x27
jmp 0x403bc9
mov eax, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push eax
lea ecx, [esp + 0x20]
push ecx
push 1
push 0
push str.RtkCurUninstallPackage
push edx
call dword [0x43b010]
mov edi, eax
mov eax, dword [esp + 0x14]
neg edi
sbb edi, edi
push eax
add edi, 1
call dword [0x43b034]
lea eax, [ebp - 0x10]
mov dword [esp + 0x12c], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x403c1e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x124]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0x110]
xor ecx, esp
call fcn.00425d1a
add esp, 0x120
ret