joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40e090
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dd828
mov eax, dword fs:[0]
push eax
sub esp, 0x7c
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x78], ecx
mov byte [ebp - 0x69], 0
lea eax, [ebp - 0x68]
push eax
mov ecx, dword [ebp - 0x78]
call fcn.0040dfd0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x68]
push ecx
push 0x4faea4
lea edx, [ebp - 0x2c]
push edx
call fcn.00402f50
add esp, 0xc
mov dword [ebp - 0x7c], eax
mov eax, dword [ebp - 0x7c]
mov dword [ebp - 0x80], eax
mov byte [ebp - 4], 1
push 0x4fae90
mov ecx, dword [ebp - 0x80]
push ecx
lea edx, [ebp - 0x48]
push edx
call fcn.00403010
add esp, 0xc
mov dword [ebp - 0x84], eax
mov eax, dword [ebp - 0x84]
mov dword [ebp - 0x88], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x88]
push ecx
lea ecx, [ebp - 0x68]
call fcn.00402670
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x48]
call fcn.00404250
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404250
mov dword [ebp - 0x4c], 0
mov edx, dword [ebp - 0x78]
movzx eax, byte [edx + 0x25]
test eax, eax
je 0x40e1a7
mov dword [ebp - 0x70], 3
cmp dword [ebp - 0x70], 0
je 0x40e1a5
push 0
push 0
lea ecx, [ebp - 0x68]
call fcn.004041a0
push eax
push 0x4faea8
push 0x4faec4
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x4c], eax
push 0x2710
call dword [sym.imp.KERNEL32.dll_Sleep]
mov ecx, dword [ebp - 0x70]
sub ecx, 1
mov dword [ebp - 0x70], ecx
cmp dword [ebp - 0x4c], 0x20
jle 0x40e1a3
jmp 0x40e1a5
jmp 0x40e15f
jmp 0x40e1d4
push 0
push 0
lea ecx, [ebp - 0x68]
call fcn.004041a0
push eax
push 0x4faed0
push 0x4faeec
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov dword [ebp - 0x4c], eax
push 0x7d0
call dword [sym.imp.KERNEL32.dll_Sleep]
cmp dword [ebp - 0x4c], 0x20
jle 0x40e27c
call fcn.0041c6d0
mov ecx, eax
call fcn.0041dd30
mov byte [ebp - 0x72], al
call fcn.0041c6d0
mov ecx, eax
call fcn.0041dc60
mov byte [ebp - 0x71], al
movzx edx, byte [ebp - 0x72]
test edx, edx
je 0x40e223
movzx eax, byte [ebp - 0x71]
test eax, eax
je 0x40e223
push 0x413e
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
mov byte [ebp - 0x69], 1
jmp 0x40e27a
movzx ecx, byte [ebp - 0x72]
test ecx, ecx
jne 0x40e246
movzx edx, byte [ebp - 0x71]
test edx, edx
je 0x40e246
push 0x4140
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
jmp 0x40e27a
movzx eax, byte [ebp - 0x72]
test eax, eax
je 0x40e269
movzx ecx, byte [ebp - 0x71]
test ecx, ecx
jne 0x40e269
push 0x4141
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
jmp 0x40e27a
push 0x4142
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
jmp 0x40e28d
push 0x413f
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
mov dl, byte [ebp - 0x69]
mov byte [ebp - 0x73], dl
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x68]
call fcn.00404250
mov al, byte [ebp - 0x73]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret
Function at 0x40e740
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4dda36
mov eax, dword fs:[0]
push eax
sub esp, 0xe8
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0xd0], ecx
call fcn.0041c6d0
mov ecx, eax
call fcn.0041d960
movzx eax, al
test eax, eax
je 0x40e852
lea esi, [ebp - 0x2c]
call fcn.00454960
mov dword [ebp - 0xd4], eax
mov ecx, dword [ebp - 0xd4]
mov dword [ebp - 0xd8], ecx
mov dword [ebp - 4], 0
mov ecx, dword [ebp - 0xd8]
call fcn.004041a0
push ecx
mov ecx, esp
mov dword [ebp - 0xcc], esp
push eax
call fcn.00404040
mov dword [ebp - 0xdc], eax
call fcn.0040dbe0
push eax
call fcn.004704a0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404250
call fcn.0040dbe0
push eax
lea esi, [ebp - 0xc8]
call fcn.00471590
mov dword [ebp - 4], 1
lea esi, [ebp - 0xc8]
call fcn.004715e0
call fcn.0041c6d0
mov ecx, eax
call fcn.0041de70
movzx edx, al
test edx, edx
je 0x40e82d
push 0x3fad
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
jmp 0x40e83e
push 0x3fae
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
mov dword [ebp - 4], 0xffffffff
lea esi, [ebp - 0xc8]
call fcn.004715c0
jmp 0x40e863
push 0x3faf
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
lea esi, [ebp - 0x48]
call fcn.00454960
mov dword [ebp - 0xe0], eax
mov eax, dword [ebp - 0xe0]
mov dword [ebp - 0xe4], eax
mov dword [ebp - 4], 2
push 0x4fafc0
mov ecx, dword [ebp - 0xe4]
push ecx
lea edx, [ebp - 0x9c]
push edx
call fcn.00403010
add esp, 0xc
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x48]
call fcn.00404250
lea ecx, [ebp - 0x9c]
call fcn.004041a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea esi, [ebp - 0x64]
call fcn.00454960
mov dword [ebp - 0xe8], eax
mov eax, dword [ebp - 0xe8]
mov dword [ebp - 0xec], eax
mov byte [ebp - 4], 5
push 0x4fafe0
mov ecx, dword [ebp - 0xec]
push ecx
lea edx, [ebp - 0x80]
push edx
call fcn.00403010
add esp, 0xc
mov dword [ebp - 0xf0], eax
mov eax, dword [ebp - 0xf0]
mov dword [ebp - 0xf4], eax
mov byte [ebp - 4], 6
mov ecx, dword [ebp - 0xf4]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00402670
mov byte [ebp - 4], 5
lea ecx, [ebp - 0x80]
call fcn.00404250
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x64]
call fcn.00404250
lea ecx, [ebp - 0x9c]
call fcn.004041a0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x9c]
call fcn.00404250
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret
Function at 0x410450
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4db5f0
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], ecx
lea eax, [ebp - 0x48]
push eax
call fcn.00404d00
add esp, 4
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
push ecx
call fcn.0040b770
mov ecx, eax
call fcn.0040bb10
mov byte [ebp - 4], 1
call fcn.0041c6d0
mov ecx, eax
call fcn.0040db80
movzx edx, al
test edx, edx
je 0x4104d1
push str.FunAcceDiCengJiaSu64.dll
lea ecx, [ebp - 0x48]
call fcn.00402700
push str.DiCengJiaSu64.dll
lea ecx, [ebp - 0x2c]
call fcn.00402700
jmp 0x4104eb
push str.FunAcceDiCengJiaSu.dll
lea ecx, [ebp - 0x48]
call fcn.00402700
push str.DiCengJiaSu.dll
lea ecx, [ebp - 0x2c]
call fcn.00402700
push 0
lea ecx, [ebp - 0x2c]
call fcn.004041a0
push eax
lea ecx, [ebp - 0x48]
call fcn.004041a0
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
setne al
mov byte [ebp - 0x49], al
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.00404250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x48]
call fcn.00404250
mov al, byte [ebp - 0x49]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret

Function at 0x417c20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov dword [ebp - 8], ecx
push 0
push 0
mov eax, dword [ebp - 8]
push eax
push 0x417c60
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 4], eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov esp, ebp
pop ebp
ret
Function at 0x419bc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x44], ecx
sub esp, 0x14
mov eax, esp
mov dword [ebp - 0x40], esp
lea ecx, [ebp + 0xc]
call fcn.00430e00
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0x44]
call fcn.0042d0e0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0xe8]
mov eax, dword [edx + 4]
add eax, 1
mov dword [ebp - 0x28], eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0xe8]
mov eax, dword [edx + 8]
add eax, 2
mov dword [ebp - 0x30], eax
mov dword [ebp - 0x2c], 0x148
mov dword [ebp - 0x24], 0x14
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x128]
push edx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
jne 0x419d3d
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x44]
call fcn.0042b1b0
mov dword [ebp - 0x3c], eax
mov dword [ebp - 0x34], 0x50000080
push 0
mov eax, dword [ebp - 0x38]
push eax
push 0
mov ecx, dword [ebp - 0x3c]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x34]
push eax
push 0
push str.Edit
push 0
call dword [sym.imp.USER32.dll_CreateWindowExW]
mov ecx, dword [ebp - 0x44]
mov dword [ecx + 0x128], eax
mov edx, dword [ebp - 0x44]
cmp dword [edx + 0x128], 0
je 0x419d3b
push 0
call fcn.004346c0
mov edx, 0x4fa29c
call fcn.004346d0
mov ecx, eax
call fcn.00418160
push eax
push 0x30
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x128]
push ecx
call dword [sym.imp.USER32.dll_SendMessageW]
push 0x444444
push 0
push 0x444
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0x128]
push eax
call dword [sym.imp.USER32.dll_SendMessageW]
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x128]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
lea eax, [ebp - 0x20]
push eax
call fcn.0040b770
mov ecx, eax
call fcn.0040bb10
mov dword [ebp - 0x48], eax
mov ecx, dword [ebp - 0x48]
call fcn.004041a0
push eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x128]
push edx
call dword [sym.imp.USER32.dll_SetWindowTextW]
lea ecx, [ebp - 0x20]
call fcn.00404250
push 0
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x128]
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x419d5f
push 1
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x30]
push ecx
mov edx, dword [ebp - 0x28]
push edx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x128]
push ecx
call dword [sym.imp.USER32.dll_MoveWindow]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret 0x18
Function at 0x41a520
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d82a8
mov eax, dword fs:[0]
push eax
sub esp, 0x38
push edi
mov eax, dword [0x5176f0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x44], ecx
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xf4]
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xf4]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0xe8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xe8]
mov edx, dword [edx]
mov eax, dword [edx + 0x14]
call eax
push 0
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x128]
push edx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xf0]
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xf0]
mov edx, dword [ecx]
mov ecx, eax
mov eax, dword [edx + 0x14]
call eax
mov ecx, 1
test ecx, ecx
je 0x41a5ce
mov edx, dword [ebp - 0x44]
mov eax, dword [edx + 0xf8]
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0xf8]
mov edx, dword [eax]
mov eax, dword [edx + 0x10]
call eax
jmp 0x41a612
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0xf8]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0xf8]
mov edx, dword [edx]
mov eax, dword [edx + 0x14]
call eax
mov ecx, dword [ebp - 0x44]
mov edx, dword [ecx + 0x100]
mov eax, dword [ebp - 0x44]
mov ecx, dword [eax + 0x100]
mov edx, dword [edx]
mov eax, dword [edx + 0x10]
call eax
mov eax, 0x3e8
mov ecx, 0x186a2
mov edi, dword [ebp - 0x44]
call fcn.0042c0a0
mov ecx, dword [ebp - 0x44]
call fcn.0041a9b0
push 0x1b8
mov ecx, dword [ebp - 0x44]
mov ecx, dword [ecx + 0x104]
call fcn.00425510
push 0
mov edx, dword [ebp - 0x44]
add edx, 0x13c
push edx
mov ecx, dword [ebp - 0x44]
call fcn.0041aa60
lea ecx, [ebp - 0x20]
call fcn.00406dc0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x13c
call fcn.0041ac80
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x28]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x13c
call fcn.004097d0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x20]
call fcn.0041b170
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x44]
push edx
lea ecx, [ebp - 0x30]
call fcn.0041a700
mov ecx, dword [eax + 4]
push ecx
mov edx, dword [eax]
push edx
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x44]
add ecx, 0x13c
call fcn.0041ac80
mov ecx, dword [eax]
push ecx
lea edx, [ebp - 0x38]
push edx
mov ecx, dword [ebp - 0x44]
add ecx, 0x13c
call fcn.004097d0
mov eax, dword [eax]
push eax
lea ecx, [ebp - 0x40]
push ecx
call fcn.0041b1b0
add esp, 0x14
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.0041ab50
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x41f1d0
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d86a8
mov eax, dword fs:[0]
push eax
sub esp, 0x68
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x74], ecx
push 0x4f9424
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
push ecx
call fcn.00402e60
add esp, 0xc
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x74]
movzx eax, byte [edx + 0x1c]
test eax, eax
je 0x41f2b3
mov dword [ebp - 0x30], 0
jmp 0x41f238
mov ecx, dword [ebp - 0x30]
add ecx, 1
mov dword [ebp - 0x30], ecx
mov ecx, dword [ebp - 0x74]
add ecx, 0x1c0
call fcn.00406e10
cmp dword [ebp - 0x30], eax
jae 0x41f2ae
mov edx, dword [ebp - 0x30]
push edx
mov ecx, dword [ebp - 0x74]
add ecx, 0x1c0
call fcn.00406e30
push eax
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x4c]
push ecx
call fcn.00407520
add esp, 0xc
lea ecx, [ebp - 0x4c]
call fcn.004041a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f2a4
mov byte [ebp - 0x6d], 0
lea ecx, [ebp - 0x4c]
call fcn.00404250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404250
mov al, byte [ebp - 0x6d]
jmp 0x41f34e
lea ecx, [ebp - 0x4c]
call fcn.00404250
jmp 0x41f22f
jmp 0x41f338
mov dword [ebp - 0x50], 0
jmp 0x41f2c5
mov edx, dword [ebp - 0x50]
add edx, 1
mov dword [ebp - 0x50], edx
mov ecx, dword [ebp - 0x74]
add ecx, 0x1b0
call fcn.00406e10
cmp dword [ebp - 0x50], eax
jae 0x41f338
mov eax, dword [ebp - 0x50]
push eax
mov ecx, dword [ebp - 0x74]
add ecx, 0x1b0
call fcn.00406e30
push eax
lea ecx, [ebp - 0x2c]
push ecx
lea edx, [ebp - 0x6c]
push edx
call fcn.00407520
add esp, 0xc
lea ecx, [ebp - 0x6c]
call fcn.004041a0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x41f32e
mov byte [ebp - 0x6e], 0
lea ecx, [ebp - 0x6c]
call fcn.00404250
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404250
mov al, byte [ebp - 0x6e]
jmp 0x41f34e
lea ecx, [ebp - 0x6c]
call fcn.00404250
jmp 0x41f2bc
mov byte [ebp - 0x6f], 1
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.00404250
mov al, byte [ebp - 0x6f]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret 4
Function at 0x421fc0
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x19c
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 8], eax
mov dword [ebp - 0x19c], ecx
mov eax, dword [ebp - 0x19c]
mov byte [eax + 4], 0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x198]
push ecx
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x422009
xor al, al
jmp 0x422017
lea edx, [ebp - 4]
push edx
call fcn.00424fc0
add esp, 4
mov al, 1
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret

Function at 0x424a80
Capabilities:
Get common file path
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x114], 0
push 0x105
lea eax, [ebp - 0x220]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
test eax, eax
jne 0x424b47
push str._SYSTEMROOT__system32
push 0x105
lea ecx, [ebp - 0x110]
push ecx
call fcn.004244e0
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x424b03
mov edx, dword [ebp - 0x118]
push edx
push str.LoadUpdateProviderFunctions:_StringCchCopyA_failed:_0x_x_n
call fcn.004b0c8a
add eax, 0x40
push eax
call fcn.004b0e3f
add esp, 0xc
jmp 0x424bf0
push 0x105
lea eax, [ebp - 0x110]
push eax
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsA]
test eax, eax
jne 0x424b47
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.LoadUpdateProviderFunctions:_Unable_to_expand_environment_string:__d_n
call fcn.004b0c8a
add eax, 0x40
push eax
call fcn.004b0e3f
add esp, 0xc
jmp 0x424bf0
push 0x4f74b8
push 0x105
lea edx, [ebp - 0x220]
push edx
call fcn.00424530
mov dword [ebp - 0x118], eax
cmp dword [ebp - 0x118], 0
jge 0x424b8d
mov eax, dword [ebp - 0x118]
push eax
push str.LoadUpdateProviderFunctions:_StringCchCatA_failed:_0x_x_n
call fcn.004b0c8a
add eax, 0x40
push eax
call fcn.004b0e3f
add esp, 0xc
jmp 0x424bf0
lea ecx, [ebp - 0x220]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov dword [ebp - 0x114], eax
cmp dword [ebp - 0x114], 0
jne 0x424bd1
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
lea edx, [ebp - 0x220]
push edx
push str.LoadUpdateProviderFunctions:_Unable_to_load__s:__d_n
call fcn.004b0c8a
add eax, 0x40
push eax
call fcn.004b0e3f
add esp, 0x10
jmp 0x424bf0
push str.WSCUpdateProvider
mov eax, dword [ebp - 0x114]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov dword [0x51c1d8], eax
mov eax, dword [ebp - 0x114]
jmp 0x424c12
cmp dword [ebp - 0x114], 0
je 0x424c10
mov ecx, dword [ebp - 0x114]
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov dword [ebp - 0x114], 0
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret
Function at 0x4250d0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2cc
mov eax, dword [0x5176f0]
xor eax, ebp
mov dword [ebp - 0x18], eax
push esi
push edi
call fcn.00425030
push eax
mov ecx, dword [ebp + 8]
call fcn.004762f0
lea eax, [ebp - 0x2c1]
push eax
call fcn.00425030
mov ecx, eax
call fcn.00425070
movzx ecx, byte [eax + 1]
test ecx, ecx
je 0x425193
xor edx, edx
mov word [ebp - 0x2b8], dx
push 0x206
push 0
lea eax, [ebp - 0x2b6]
push eax
call fcn.004b28e0
add esp, 0xc
push 0
push 0x1a
lea ecx, [ebp - 0x2b8]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea edx, [ebp - 0x2b8]
push edx
lea ecx, [ebp - 0x2bc]
call fcn.00404040
push str.FunAcceInstall.log
lea ecx, [ebp - 0x2bc]
call fcn.004252d0
lea ecx, [ebp - 0x2bc]
call fcn.00403360
mov esi, eax
call fcn.00425090
mov ecx, eax
mov edi, str.adfasdfasdf
mov eax, esi
mov esi, ecx
call fcn.004764d0
lea ecx, [ebp - 0x2bc]
call fcn.00404140
mov dword [ebp - 0xa8], 0xc
mov dword [ebp - 0xa0], 0
lea edx, [ebp - 0x14]
mov dword [ebp - 0xa4], edx
push 1
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_InitializeSecurityDescriptor]
push 0
push 0
push 1
lea ecx, [ebp - 0x14]
push ecx
call dword [sym.imp.ADVAPI32.dll_SetSecurityDescriptorDacl]
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 8]
push eax
lea ecx, [ebp - 0x80]
call fcn.004176e0
call fcn.0041c6d0
mov ecx, eax
call fcn.0041e7e0
mov byte [ebp - 0xa9], 0
mov ecx, dword [ebp + 0x10]
push ecx
lea ecx, [ebp - 0x9c]
call fcn.00404aa0
push 0
push 0x4f63cc
lea ecx, [ebp - 0x9c]
call fcn.004027d0
cmp eax, 0xffffffff
je 0x42521c
mov byte [ebp - 0xa9], 1
movzx edx, byte [ebp - 0xa9]
push edx
call fcn.004213b0
mov ecx, eax
call fcn.004213c0
push str.Global_funinstall_global_instance_event_name
push 0
push 1
lea eax, [ebp - 0xa8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateEventW]
mov dword [0x51c1e0], eax
cmp dword [0x51c1e0], 0
je 0x425297
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x425297
push 0x40da
call fcn.004213b0
mov ecx, eax
call fcn.00421a70
mov dword [ebp - 0x2c8], 0
lea ecx, [ebp - 0x9c]
call fcn.00404250
lea ecx, [ebp - 0x80]
call fcn.00417860
mov eax, dword [ebp - 0x2c8]
jmp 0x4252be
lea edi, [ebp - 0x80]
call fcn.0042a610
mov dword [ebp - 0x2cc], eax
lea ecx, [ebp - 0x9c]
call fcn.00404250
lea ecx, [ebp - 0x80]
call fcn.00417860
mov eax, dword [ebp - 0x2cc]
pop edi
pop esi
mov ecx, dword [ebp - 0x18]
xor ecx, ebp
call fcn.004ae123
mov esp, ebp
pop ebp
ret 0x10

Function at 0x425ab0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425ae5
push 5
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
push 1
push 0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx]
push edx
call dword [sym.imp.USER32.dll_InvalidateRect]
mov esp, ebp
pop ebp
ret
Function at 0x425af0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x425b15
push 0
mov edx, dword [ebp - 4]
mov eax, dword [edx]
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov esp, ebp
pop ebp
ret
Function at 0x427c40
Capabilities:
Log keystrokes via polling

Disassembly:
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetKeyState]
push 0x11
xor esi, esi
call edi
test ax, ax
jns 0x427c58
mov esi, 8
push 2
call edi
test ax, ax
jns 0x427c64
or esi, 1
push 1
call edi
test ax, ax
jns 0x427c70
or esi, 2
push 0x10
call edi
test ax, ax
jns 0x427c7c
or esi, 4
push 0x12
call edi
test ax, ax
jns 0x427c88
or esi, 0x20
pop edi
mov ax, si
pop esi
ret
Function at 0x428e80
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 0x78]
test eax, eax
je 0x428e90
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
ret