joyce8/EMBER2024-capa huggingface dataset:
Function at 0x416c57
Capabilities:
Copy file
Delete file
Move file
Query or enumerate registry value

Disassembly:
mov eax, 0x4625e6
call fcn.0045962c
sub esp, 0x4c
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x20], esi
xor edi, edi
mov dword [ebp - 4], edi
mov dword [ebp - 0x14], edi
lea eax, [ebp - 0xd]
mov ebx, 0x104
push edi
push eax
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x58], 0x46ab58
mov dword [ebp - 0x38], 0x46ab50
call fcn.00408dad
mov eax, dword [esi + 0x28]
mov byte [ebp - 4], 4
cmp eax, edi
je 0x416ca1
push dword [esi + 0x2c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x14]
lea eax, [ebp - 0x14]
mov ecx, esi
push eax
push 1
push edi
call fcn.00403315
push eax
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x416d4d
lea eax, [ebp - 0x30]
push ebx
push eax
lea ecx, [ebp - 0x58]
call fcn.00417aa6
mov ebx, eax
mov ecx, dword [ebx]
mov byte [ebp - 4], 5
call fcn.004171f3
lea ecx, [ebp - 0x18]
mov dword [ebx + 8], eax
push ecx
push eax
lea eax, [ebp - 0x24]
push eax
push edi
push str.LogFile
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov ebx, eax
lea ecx, [ebp - 0x30]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 4
inc bl
call fcn.00416f1d
test bl, bl
je 0x416d4d
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.004171f3
lea ecx, [ebp - 0x58]
mov dword [ebp - 0x1c], eax
call fcn.004171f3
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_MoveFileA]
test eax, eax
jne 0x416d4d
mov ecx, ebx
call fcn.004171f3
push edi
lea ecx, [ebp - 0x58]
mov ebx, eax
call fcn.004171f3
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
lea ebx, [esi + 0x30]
mov ecx, ebx
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x58]
mov byte [ebp - 4], 3
call fcn.0040bf10
cmp dword [ebp - 0x14], edi
je 0x416d7b
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [ebp - 0x14], edi
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.0040bf10
mov eax, dword [esi + 0x28]
and byte [ebp - 4], 0
cmp eax, edi
je 0x416d97
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
or dword [ebp - 4], 0xffffffff
mov ecx, esi
call fcn.00401102
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x418f8e
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, 0x462833
call fcn.0045962c
sub esp, 0xf0
and dword [ebp - 0x10], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
lea eax, [ebp - 0x8c]
push eax
mov ecx, edi
call fcn.004193da
mov eax, dword [eax + 0xc]
mov esi, dword [ebp + 0x14]
and dword [ebp - 4], 0
push 1
cmp esi, eax
pop ebx
ja 0x418fdb
lea eax, [ebp - 0xb4]
mov ecx, edi
push eax
call fcn.004193da
mov esi, dword [eax + 0xc]
mov dword [ebp - 0x10], ebx
test byte [ebp - 0x10], bl
je 0x418feb
lea ecx, [ebp - 0xb4]
call fcn.0040bf10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x8c]
call fcn.0040bf10
inc esi
push ebx
lea eax, [ebp - 0x10]
push esi
lea ecx, [edi + 4]
push eax
mov dword [ebp - 0x10], 0x5c
call fcn.0041922a
cmp eax, 0xffffffff
je 0x4190a9
mov edi, 0x46ab58
mov esi, 0x46ab50
lea ecx, [ebp + 0x17]
inc eax
push 0
push ecx
push eax
push 0
push dword [ebp + 8]
lea ecx, [ebp - 0x3c]
mov dword [ebp - 0x3c], edi
mov dword [ebp - 0x1c], esi
mov dword [ebp - 0x14], eax
call fcn.00416db1
lea ecx, [ebp - 0x3c]
mov dword [ebp - 4], ebx
call fcn.004171f3
push eax
mov dword [ebp - 0x10], eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x41906e
test al, 0x10
je 0x41906e
cmp dword [ebp + 0x10], 0
je 0x41907a
push dword [ebp - 0x10]
call dword [ebp + 0x10]
pop ecx
jmp 0x41907a
push 0
push dword [ebp - 0x10]
call dword [ebp + 0xc]
test eax, eax
je 0x4190b8
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x3c]
call fcn.0040bf10
push ebx
lea eax, [ebp - 0x10]
push dword [ebp - 0x14]
mov dword [ebp - 0x10], 0x5c
push eax
mov eax, dword [ebp + 8]
lea ecx, [eax + 4]
call fcn.0041922a
cmp eax, 0xffffffff
jne 0x419023
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
lea eax, [ebp + 0xb]
push 0
push eax
lea ecx, [ebp - 0x64]
push dword [ebp - 0x10]
mov dword [ebp - 0x64], edi
mov dword [ebp - 0x44], esi
call fcn.00416fa1
lea eax, [ebp - 0x64]
push ebx
push eax
lea ecx, [ebp - 0xfc]
mov byte [ebp - 4], 2
call fcn.004190f4
lea eax, [ebp - 0xfc]
push 0x471ea8
push eax
call fcn.00459775
Function at 0x428f1b
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push esi
mov esi, ecx
push edi
cmp dword [esi + 4], 0
je 0x428f60
mov eax, dword [ebp + 8]
test eax, eax
je 0x428f35
and dword [eax], 0
mov ecx, dword [esi + 4]
mov eax, dword [ecx]
call dword [eax + 0xc]
mov edi, eax
cmp edi, 0xffffffff
jne 0x428fbc
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov edi, eax
cmp edi, 0xffffffff
jne 0x428fbc
cmp dword [ebp + 8], 0
jne 0x428f95
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x428fbc
push 1
add esi, 0xc
push eax
push esi
lea ecx, [ebp - 0x48]
call fcn.00427fef
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, edi
pop edi
pop esi
leave
ret 4

Function at 0x429468
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
cmp dword [ebp + 0xc], 0xffffffff
push esi
mov esi, ecx
jne 0x42947b
and dword [ebp + 0xc], 0
lea eax, [ebp + 0xc]
push 0
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x4294b0
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 0xc]
pop esi
leave
ret 8
Function at 0x429b36
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov ecx, dword [ebp + 8]
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x429b80
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 2
je 0x429b7c
cmp eax, 3
je 0x429b7c
push 1
push eax
push dword [ebp + 8]
lea ecx, [ebp - 0x48]
call fcn.00427fef
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
xor al, al
leave
ret
test byte [ebp + 0xc], 4
je 0x429b8a
test al, 0x10
je 0x429b94
test byte [ebp + 0xc], 8
je 0x429b99
test al, 0x10
je 0x429b99
push 1
pop eax
leave
ret
xor eax, eax
leave
ret

Function at 0x42a2ff
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov ecx, dword [ebp + 0xc]
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
je 0x42a38a
test al, 1
je 0x42a38a
mov ecx, dword [ebp + 0xc]
push esi
mov dword [ebp - 4], 7
call fcn.0041726a
mov ecx, dword [ebp + 8]
mov eax, dword [eax]
lea esi, [ebp - 4]
mov edx, dword [ecx]
push esi
push eax
push ecx
call dword [edx + 0x20]
cmp eax, 0x80042000
pop esi
je 0x42a373
cmp eax, 0x80042001
je 0x42a373
cmp dword [ebp - 4], 6
je 0x42a36f
push 1
push 5
push dword [ebp + 0xc]
lea ecx, [ebp - 0x5c]
call fcn.0042a38e
lea eax, [ebp - 0x5c]
push 0x4759a0
push eax
call fcn.00459775
mov al, 1
leave
ret
push eax
lea ecx, [ebp - 0x14]
call fcn.00429fb1
lea eax, [ebp - 0x14]
push 0x4741f0
push eax
call fcn.00459775
xor al, al
leave
ret
Function at 0x42c284
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, 0x464c6c
call fcn.0045962c
sub esp, 0x88
push ebx
push esi
mov esi, 0x104
push edi
lea eax, [ebp - 0x28]
push esi
push eax
mov dword [ebp - 0x14], ecx
call fcn.00417aa6
mov edi, eax
mov ecx, dword [edi]
and dword [ebp - 4], 0
call fcn.004171f3
mov ecx, dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x50]
mov dword [edi + 8], ebx
push eax
call fcn.0042c22a
mov edi, eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 1
call fcn.0042c194
mov ecx, eax
mov byte [ebp - 4], 2
call fcn.004171f3
push ebx
push 0
mov ecx, edi
mov dword [ebp - 0x18], eax
call fcn.004171f3
mov edi, dword [sym.imp.KERNEL32.dll_GetTempFileNameA]
push eax
push dword [ebp - 0x18]
call edi
mov ebx, eax
lea ecx, [ebp - 0x78]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 1
inc bl
call fcn.0040bf10
and byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call fcn.0040bf10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x28]
call fcn.00416f1d
test bl, bl
je 0x42c455
call dword [sym.imp.KERNEL32.dll_GetLastError]
or dword [ebp - 0x10], 0xffffffff
mov dword [ebp - 0x1c], eax
test byte [0x49a138], 1
mov dword [ebp - 4], 3
jne 0x42c360
or byte [0x49a138], 1
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov dword [0x49a13c], eax
mov ecx, dword [ebp - 0x14]
lea eax, [ebp - 0x28]
push esi
push eax
call fcn.00417aa6
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 4
call fcn.004171f3
mov ecx, dword [ebp + 8]
mov ebx, eax
lea eax, [ebp - 0x78]
mov dword [esi + 8], ebx
mov esi, dword [0x49a13c]
push eax
call fcn.0042c22a
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x50]
push eax
mov byte [ebp - 4], 5
call fcn.0042c194
mov ecx, eax
mov byte [ebp - 4], 6
call fcn.004171f3
mov ecx, dword [ebp - 0x18]
inc dword [0x49a13c]
push ebx
push esi
mov dword [ebp + 8], eax
call fcn.004171f3
push eax
push dword [ebp + 8]
call edi
lea ecx, [ebp - 0x50]
mov esi, eax
mov byte [ebp - 4], 5
call fcn.0040bf10
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 4
call fcn.0040bf10
lea ecx, [ebp - 0x28]
mov byte [ebp - 4], 3
call fcn.00416f1d
xor eax, eax
cmp esi, eax
je 0x42c424
mov ecx, dword [ebp - 0x14]
push eax
push 0x80
push 1
push eax
push eax
push 0x80000000
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp dword [ebp - 0x10], esi
je 0x42c424
lea ecx, [ebp - 0x10]
call fcn.0042c475
mov dword [ebp - 0x10], esi
cmp dword [ebp - 0x10], 0xffffffff
jne 0x42c449
push dword [ebp - 0x1c]
lea ecx, [ebp - 0x94]
call fcn.00423d04
lea eax, [ebp - 0x94]
push 0x4760a8
push eax
call fcn.00459775
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.0042c475
mov ecx, dword [ebp - 0x14]
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x42d3ea
Capabilities:
Create process on windows
Create process suspended

Disassembly:
mov eax, 0x464e58
call fcn.0045962c
sub esp, 0xb0
push ebx
push esi
push edi
push 0x10
xor ebx, ebx
pop ecx
xor eax, eax
lea edi, [ebp - 0xb8]
mov dword [ebp - 4], ebx
rep stosd dword es:[edi], eax
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x18], ebx
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x78]
push eax
mov byte [ebp - 4], 1
mov dword [ebp - 0xbc], 0x44
call fcn.0042e7ec
lea ecx, [ebp + 0xc]
mov byte [ebp - 4], 2
push ecx
push eax
lea eax, [ebp - 0x50]
push eax
call fcn.0042e518
add esp, 0xc
lea ecx, [ebp - 0x28]
push 0x104
push ecx
mov ecx, eax
mov byte [ebp - 4], 3
call fcn.00417aa6
mov esi, eax
mov ecx, dword [esi]
mov byte [ebp - 4], 4
call fcn.004171f3
lea ecx, [ebp - 0x1c]
mov dword [esi + 8], eax
push ecx
lea ecx, [ebp - 0xbc]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
mov ebx, eax
lea ecx, [ebp - 0x28]
neg ebx
sbb bl, bl
mov byte [ebp - 4], 3
inc bl
call fcn.00416f1d
lea ecx, [ebp - 0x50]
mov byte [ebp - 4], 2
call fcn.0040bf10
lea ecx, [ebp - 0x78]
mov byte [ebp - 4], 1
call fcn.0040bf10
pop edi
pop esi
test bl, bl
pop ebx
je 0x42d4ca
lea ecx, [ebp - 0x44]
call fcn.004192b1
lea eax, [ebp - 0x44]
push 0x4760a8
push eax
call fcn.00459775
push 0x3a98
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp eax, 0x102
jne 0x42d4fa
push 0x5b4
lea ecx, [ebp - 0x44]
call fcn.00423d04
lea eax, [ebp - 0x44]
push 0x4760a8
push eax
call fcn.00459775
and byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.0042d520
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call fcn.0040bf10
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
leave
ret 0x2c

Function at 0x430952
Capabilities:
Create thread

Disassembly:
push ecx
push esi
push edi
xor edi, edi
mov esi, ecx
push edi
push edi
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
cmp eax, edi
mov dword [esi + 0x88], eax
jne 0x430971
xor al, al
jmp 0x43098b
lea eax, [esp + 8]
push eax
push edi
push esi
push 0x43098f
push edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateThread]
neg eax
sbb eax, eax
neg eax
pop edi
pop esi
pop ecx
ret
Function at 0x4309de
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_SetErrorMode]
push edi
push 0
call esi
or ax, 0x8001
push eax
call esi
call dword [sym.imp.COMCTL32.dll_InitCommonControls]
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
push 0
mov dword [ebp + 0x10], eax
call dword [sym.imp.ole32.dll_CoInitialize]
push dword [ebp + 8]
mov ebx, 0x497d80
mov dword [0x497df0], 0x481670
mov dword [0x497d78], ebx
push 0x481600
push ebx
mov dword [0x497d80], 0x84
mov dword [0x497de4], 0x300
call fcn.004310d6
mov eax, 0x46cf88
mov ecx, eax
test ecx, ecx
je 0x430a61
push 0x10
push eax
push 0x497d68
call fcn.00459af0
add esp, 0xc
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
mov esi, 0x4816e0
lea edi, [ebp - 4]
movsw word es:[edi], word [esi]
mov dword [0x497e04], eax
lea eax, [ebp - 4]
movsb byte es:[edi], byte [esi]
xor edi, edi
push eax
push dword [ebp + 0x10]
mov dword [ebp + 8], edi
call fcn.0043099d
mov esi, eax
pop ecx
cmp esi, edi
pop ecx
je 0x430ad0
push str.UnregServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x430ab7
push str.RegServer
push esi
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
test eax, eax
je 0x430ac5
lea eax, [ebp - 4]
push eax
push esi
jmp 0x430a83
push edi
push 1
push ebx
call fcn.00431453
mov dword [ebp + 8], eax
jmp 0x430b17
push edi
push 1
push ebx
call fcn.004312da
jmp 0x430ac0
mov ecx, ebx
call fcn.00430952
push edi
push 4
push ebx
call fcn.00431159
mov esi, dword [sym.imp.USER32.dll_GetMessageA]
push edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
call esi
test eax, eax
je 0x430b06
lea eax, [ebp - 0x20]
push eax
call dword [sym.imp.USER32.dll_DispatchMessageA]
push edi
push edi
lea eax, [ebp - 0x20]
push edi
push eax
jmp 0x430aed
push ebx
call fcn.004311ee
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
push ebx
call fcn.0043122a
call dword [sym.imp.ole32.dll_CoUninitialize]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret 0x10

Function at 0x430ddc
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp + 8]
push edi
push eax
lea eax, [ebp - 4]
xor esi, esi
mov ecx, dword [ecx]
push eax
push esi
push 0xf003f
push esi
push esi
push esi
push dword [ebp + 8]
xor edi, edi
mov dword [ebp - 4], esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
cmp eax, esi
jne 0x430e10
mov edi, dword [ebp - 4]
xor eax, eax
cmp eax, esi
mov ebx, eax
jne 0x430e33
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0xc]
push 1
push esi
push dword [ebp + 0x10]
push edi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov ebx, eax
cmp edi, esi
je 0x430e3e
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, ebx
pop esi
pop ebx
leave
ret 0xc
Function at 0x430e47
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp + 0xc]
push edi
push eax
lea eax, [ebp - 8]
xor esi, esi
push eax
push esi
push 2
push esi
push esi
push esi
push dword [ebp + 0xc]
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
push 0x80000000
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp eax, esi
jne 0x430ecc
xor eax, eax
cmp dword [ebp - 4], esi
je 0x430e88
push dword [ebp - 4]
call edi
mov ecx, dword [ebp - 8]
cmp eax, esi
mov dword [ebp - 4], ecx
jne 0x430ecc
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_lstrlenA]
inc eax
push eax
push dword [ebp + 0x10]
push 1
push esi
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
push esi
lea ecx, [ebp - 4]
push dword [ebp + 8]
push str.CLSID
call fcn.00430ddc
cmp dword [ebp - 4], esi
je 0x430ec8
push dword [ebp - 4]
call edi
xor eax, eax
jmp 0x430eea
cmp eax, esi
push ebx
jle 0x430edb
and eax, 0xffff
or eax, 0x80070000
cmp dword [ebp - 4], esi
mov ebx, eax
je 0x430ee7
push dword [ebp - 4]
call edi
mov eax, ebx
pop ebx
pop edi
pop esi
leave
ret

Function at 0x430fde
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov eax, 0x4653e4
call fcn.0045962c
sub esp, 0x114
push ebx
push esi
xor esi, esi
push edi
mov ebx, ecx
mov dword [ebp - 0x10], esi
push 0x2001f
lea ecx, [ebp - 0x10]
push dword [ebp + 8]
mov dword [ebp - 4], esi
push dword [ebx]
call fcn.00430d9e
mov edi, eax
cmp edi, esi
je 0x431028
cmp dword [ebp - 0x10], esi
je 0x431021
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
jmp 0x4310c5
lea eax, [ebp - 0x20]
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push dword [ebp - 0x10]
call edi
test eax, eax
jne 0x431099
lea eax, [ebp - 0x120]
lea ecx, [ebp - 0x10]
push eax
call fcn.00430fde
cmp eax, esi
mov dword [ebp - 0x18], eax
jne 0x431086
lea eax, [ebp - 0x20]
mov dword [ebp - 0x14], 0x100
push eax
push esi
push esi
lea eax, [ebp - 0x14]
push esi
push eax
lea eax, [ebp - 0x120]
push eax
push esi
push dword [ebp - 0x10]
jmp 0x43104b
cmp dword [ebp - 0x10], esi
je 0x431094
push dword [ebp - 0x10]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x18]
jmp 0x4310c5
cmp dword [ebp - 0x10], esi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x4310ac
push dword [ebp - 0x10]
call edi
mov dword [ebp - 0x10], esi
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp dword [ebp - 0x10], esi
mov ebx, eax
je 0x4310c3
push dword [ebp - 0x10]
call edi
mov eax, ebx
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4
Function at 0x4358e5
Capabilities:
Create thread

Disassembly:
mov eax, 0x465b70
call fcn.0045962c
sub esp, 0x10
push ebx
push esi
mov esi, ecx
push edi
xor edi, edi
cmp dword [esi + 0x14], edi
lea ebx, [esi + 0x14]
jne 0x435982
push str.UIManagerStarted
push edi
push edi
push edi
mov dword [ebp - 0x18], edi
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 0x10], eax
mov dword [ebp - 0x1c], eax
lea eax, [esi + 0x10]
mov dword [ebp - 4], edi
push eax
lea eax, [ebp - 0x18]
push edi
push eax
push 0x4357d0
push edi
push edi
call fcn.0045a5cf
mov dword [ebp - 0x14], eax
mov eax, dword [esi + 0xc]
add esp, 0x18
cmp eax, dword [ebp - 0x14]
je 0x435948
cmp eax, edi
je 0x435942
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0xc], edi
mov eax, dword [ebp - 0x14]
mov dword [esi + 0xc], eax
push 0x2710
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push ebx
push 0x46ccc8
push dword [ebp - 0x18]
call dword [sym.imp.ole32.dll_CoGetInterfaceAndReleaseStream]
mov eax, dword [ebx]
push dword [esi + 0x1c]
mov ecx, dword [eax]
push eax
call dword [ecx + 0x24]
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x10], edi
je 0x435982
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ebx, dword [ebx]
push dword [ebp + 8]
mov eax, dword [ebx]
push 0x46ccc8
push ebx
call dword [eax]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x436286
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43629a
push 0x26
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x4362ce
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004577f1
test al, al
jne 0x436301
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x436301
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 8]
pop esi
leave
ret 8

Function at 0x436309
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43631d
push 6
pop eax
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x436351
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004577f1
test al, al
jne 0x436384
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x436384
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 8]
pop esi
leave
ret 8
Function at 0x439348
Capabilities:
Delete file

Disassembly:
mov eax, 0x4660eb
call fcn.0045962c
sub esp, 0x130
push esi
mov esi, ecx
mov eax, dword [esi + 0x330]
mov dword [ebp - 4], 1
mov ecx, dword [eax + 8]
mov ecx, dword [ecx + 4]
push dword [ecx + eax + 8]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x13c]
mov al, byte [eax + 0x14]
push dword [esi + 0x47c]
shr al, 5
and al, 1
push eax
lea eax, [ebp + 0x30]
push eax
call fcn.00427b61
push dword [esi + 0x318]
mov eax, dword [esi + 0x31c]
lea ecx, [ebp - 0x13c]
mov byte [ebp - 4], 2
push dword [eax + 0x3e]
call fcn.0043af6f
test al, al
je 0x439425
sub esp, 0x28
lea eax, [ebp + 8]
mov dword [ebp - 0x10], esp
mov ecx, esp
push 0
push eax
mov dword [ecx], 0x46ab58
mov dword [ecx + 0x20], 0x46ab50
call fcn.00408cc3
lea ecx, [ebp - 0x13c]
call fcn.0044cf63
mov eax, dword [esi + 0x318]
lea ecx, [ebp - 0x14]
push ecx
mov cx, word [eax + 0x46]
mov ax, word [eax + 0x44]
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0x13c]
push eax
mov eax, dword [esi + 0x318]
push dword [eax + 0x40]
call fcn.0044d01e
jmp 0x439434
lea ecx, [ebp + 8]
call fcn.004171f3
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [ebp - 0x138]
mov byte [ebp - 4], 1
call fcn.0044ccef
and byte [ebp - 4], 0
lea ecx, [ebp + 8]
call fcn.0040bf10
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0x30]
call fcn.0040bf10
mov ecx, dword [ebp - 0xc]
pop esi
mov dword fs:[0], ecx
leave
ret 0x50

Function at 0x43ac5a
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov eax, dword [ebp + 0xc]
push esi
cmp eax, 0xffffffff
mov esi, ecx
jne 0x43ac70
mov eax, 0x1ed
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x43aca4
lea edx, [ebp + 8]
push edx
push eax
push dword [ebp + 8]
call fcn.004577f1
test al, al
jne 0x43acd7
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x4c]
call fcn.00428fc4
lea eax, [ebp - 0x4c]
push 0x475590
push eax
call fcn.00459775
lea ecx, [ebp + 8]
push 0
push ecx
push eax
push dword [ebp + 8]
push dword [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x43acd7
add esi, 0xc
push 1
push esi
lea ecx, [ebp - 0x48]
call fcn.004190f4
lea eax, [ebp - 0x48]
push 0x471ea8
push eax
call fcn.00459775
mov eax, dword [ebp + 8]
pop esi
leave
ret 8