joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4566d2
Capabilities:
Create process on windows
Delete file
Get common file path
Write and execute a file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x430
mov eax, dword [0x4d7488]
xor eax, ebp
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov dword [ebp - 0x428], eax
lea eax, [ebp - 0x41c]
push eax
push 0x104
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
xor ebx, ebx
mov dword [ebp - 0x430], eax
cmp eax, ebx
je 0x45686e
lea eax, [ebp - 0x214]
push eax
push ebx
push 0x4bbf4c
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
test eax, eax
je 0x45686e
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x420]
push eax
call fcn.00411bf8
push str..url
lea eax, [ebp - 0x420]
push eax
call fcn.004315d3
push ebx
push 0x80
push 2
push ebx
push ebx
push 0x40000000
push dword [ebp - 0x420]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
jne 0x456790
push eax
jmp 0x45685d
lea eax, [ebp - 0x424]
push eax
call fcn.00432112
mov ecx, dword [esi]
lea eax, [ebp - 0x42c]
push eax
call fcn.00432141
push dword [ebp - 0x42c]
lea eax, [ebp - 0x424]
push str._InternetShortcut__r_nURL_s_r_n
call fcn.004324f4
mov eax, dword [ebp - 0x424]
pop ecx
pop ecx
mov ecx, dword [eax - 0xc]
push ebx
lea edx, [ebp - 0x430]
push edx
push ecx
push eax
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov esi, eax
cmp edi, ebx
je 0x4567eb
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
cmp esi, ebx
je 0x456805
push 5
push ebx
push ebx
push dword [ebp - 0x420]
push 0x4b38ec
push ebx
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov eax, dword [ebp - 0x428]
add eax, 0xc
push eax
push 0x5c
lea esi, [ebp - 0x420]
call fcn.00431363
lea ecx, [ebp - 0x428]
push ecx
mov ecx, esi
push ecx
mov ecx, eax
call fcn.004313ba
push eax
call fcn.00443ac0
pop ecx
pop ecx
lea ecx, [ebp - 0x428]
call fcn.00403833
lea eax, [ebp - 0x42c]
push eax
call fcn.004321a3
lea eax, [ebp - 0x424]
push eax
call fcn.004321a3
cmp edi, ebx
je 0x456863
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x420]
call fcn.00403833
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048297b
leave
ret 4
Function at 0x456fcf
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
lea esi, [edi + 4]
push dword [esi]
call fcn.0045d95c
pop ecx
push esi
call fcn.00409ff8
mov eax, dword [edi + 0x28]
push dword [eax]
mov ebx, dword [sym.imp.USER32.dll_SetWindowTextW]
push dword [esi]
call ebx
lea eax, [ebp - 4]
push eax
call fcn.004038ab
push 0xdc
lea eax, [ebp - 4]
push eax
call fcn.00411bb3
push 0x40a
push dword [esi]
call dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp - 4]
push eax
call ebx
lea eax, [edi + 0x40]
push eax
mov eax, dword [esi]
call fcn.0045efe7
lea eax, [ebp - 8]
push eax
xor eax, eax
push eax
lea ecx, [edi + 0x30]
push ecx
push 0x457054
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
lea ecx, [ebp - 4]
mov dword [edi + 0x38], eax
call fcn.00403833
pop esi
xor eax, eax
pop ebx
leave
ret

Function at 0x458436
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push edi
lea edi, [esi + 0x24]
call fcn.00407ece
mov eax, dword [ebp + 8]
lea edi, [esi + 0x20]
call fcn.00407ece
mov eax, dword [esi + 0xc]
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
xor ebx, ebx
mov dword [esi + 4], ebx
mov dword [esi], ebx
mov dword [esi + 8], ebx
cmp eax, ebx
je 0x458469
push eax
call edi
mov al, byte [ebp + 0xc]
mov byte [esi + 0x41], al
lea eax, [ebp - 4]
push eax
push ebx
push esi
push 0x45860d
push ebx
push ebx
mov dword [esi + 0xc], ebx
mov byte [esi + 0x40], 1
mov dword [esi + 0x44], ebx
mov byte [esi + 0x58], bl
mov dword [esi + 0x68], ebx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [esi + 0xc], eax
cmp eax, ebx
jne 0x4584a1
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x4584ce
cmp byte [ebp + 0xc], bl
je 0x4584cc
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp + 0xc]
push eax
push dword [esi + 0xc]
mov dword [ebp + 0xc], ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
push dword [esi + 0xc]
call edi
mov eax, dword [ebp + 0xc]
mov dword [esi + 0xc], ebx
jmp 0x4584ce
xor eax, eax
pop edi
pop ebx
leave
ret 8
Function at 0x458ef7
Capabilities:
Read data from internet
Receive data

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, eax
push edi
push dword [esi + 0x5c]
mov byte [esi + 0x38], 0
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push dword [ebp + 0x14]
mov byte [esi + 0x42], 0
push dword [ebp + 0x10]
mov dword [esi + 0x34], 3
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.WININET.dll_InternetReadFile]
test eax, eax
jne 0x458f87
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebx, 0x3e5
cmp eax, ebx
jne 0x458f89
jmp 0x458f63
call edi
cmp eax, ebx
jne 0x458f69
push 1
call fcn.004599b0
mov eax, esi
call fcn.00459994
test al, al
jne 0x458f74
push 0xa
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x38], 0
je 0x458f40
cmp dword [esi + 0x30], 0
jne 0x458f7b
mov eax, dword [esi + 0x2c]
jmp 0x458f89
mov eax, 0xe0000008
jmp 0x458f89
mov esi, dword [esi + 0x2c]
test esi, esi
jle 0x458f87
mov eax, dword [ebp + 0x14]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0x10

Function at 0x458f90
Capabilities:
Query remote server for available data

Disassembly:
push ebx
push ebp
push esi
mov esi, eax
push edi
push dword [esi + 0x5c]
xor ebx, ebx
mov byte [esi + 0x38], bl
call dword [sym.imp.KERNEL32.dll_ResetEvent]
push ebx
push ebx
push dword [esp + 0x20]
mov byte [esi + 0x42], bl
push dword [esp + 0x20]
mov dword [esi + 0x34], 8
call dword [sym.imp.WININET.dll_InternetQueryDataAvailable]
test eax, eax
jne 0x45901b
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
call edi
mov ebp, 0x3e5
cmp eax, ebp
jne 0x45901d
jmp 0x458ff8
call edi
cmp eax, ebp
jne 0x458ffd
push 1
call fcn.004599b0
mov eax, esi
call fcn.00459994
test al, al
jne 0x459007
push 0xa
push dword [esi + 0x5c]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
cmp byte [esi + 0x38], bl
je 0x458fd5
cmp dword [esi + 0x30], ebx
jne 0x45900e
mov eax, dword [esi + 0x2c]
jmp 0x45901d
mov eax, 0xe0000008
jmp 0x45901d
mov esi, dword [esi + 0x2c]
cmp esi, ebx
jle 0x45901b
mov eax, dword [esp + 0x18]
mov dword [eax], esi
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x459b36
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push 0x3c
lea eax, [ebp - 0x3c]
push 0
push eax
call fcn.00483240
mov eax, dword [ebp + 8]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x3c]
push ecx
push 0
push 0
push eax
mov dword [ebp - 0x3c], 0x3c
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x459b73
call dword [sym.imp.KERNEL32.dll_GetLastError]
jmp 0x459b96
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
cmp eax, 3
je 0x459b94
cmp eax, 4
je 0x459b94
cmp eax, 1
je 0x459b94
cmp eax, 2
je 0x459b94
push 2
pop eax
jmp 0x459b96
xor eax, eax
leave
ret 8

Function at 0x45ab9e
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push esi
test eax, eax
je 0x45abab
lea esi, [eax - 0x20]
jmp 0x45abad
xor esi, esi
cmp byte [eax + 0x1c], 0
je 0x45abe1
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
cmp dword [ebp + 8], 2
jne 0x45abd2
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
jmp 0x45abe7
cmp dword [ebp + 8], 0
jne 0x45abe1
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
cmp dword [ebp + 8], 1
je 0x45abfb
mov eax, dword [ebp + 0xc]
shr eax, 0x10
cwde
push eax
movsx eax, word [ebp + 0xc]
push eax
mov eax, esi
call fcn.0045a1e7
xor eax, eax
pop esi
pop ebp
ret 8

Function at 0x45af4d
Capabilities:
Reference sql statements

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
mov esi, eax
xor ebx, ebx
cmp dword [esi], ebx
jne 0x45af65
xor al, al
pop esi
pop ebx
leave
ret 8
lea eax, [ebp - 0xc]
push eax
call fcn.004038ab
mov eax, dword [ebp + 8]
push dword [eax]
lea eax, [ebp - 0xc]
push 0x4bc110
push eax
call fcn.00436b7a
mov esi, dword [esi]
add esp, 0xc
lea eax, [ebp - 4]
push eax
push dword [ebp - 0xc]
mov dword [ebp - 4], ebx
push esi
call sub.msi.dll_MsiEnumClientsA
test eax, eax
je 0x45afb1
cmp dword [ebp - 4], ebx
je 0x45afa7
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebp - 0xc]
call fcn.00403833
jmp 0x45af5d
push ebx
push dword [ebp - 4]
call sub.msi.dll_MsiViewModify
test eax, eax
jne 0x45af9a
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call sub.msi.dll_MsiDatabaseIsTablePersistentA
test eax, eax
je 0x45affa
cmp dword [ebp - 8], ebx
je 0x45afde
push dword [ebp - 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 4], ebx
je 0x45afeb
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
lea ecx, [ebp - 0xc]
call fcn.00403833
mov al, bl
jmp 0x45af5f
push dword [ebp + 0xc]
push dword [ebp - 8]
call fcn.0045b0fb
mov byte [ebp + 0xb], al
cmp dword [ebp - 8], ebx
je 0x45b015
push dword [ebp - 8]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
cmp dword [ebp - 4], ebx
je 0x45b022
push dword [ebp - 4]
call sub.msi.dll_MsiConfigureFeatureFromDescriptorA
mov bl, byte [ebp + 0xb]
jmp 0x45afeb
Function at 0x45b181
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x4d7488]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
test ecx, ecx
jne 0x45b1a2
xor al, al
jmp 0x45b2c2
push 2
lea esi, [ebp - 0x408]
pop edi
jmp 0x45b1b4
mov word [esi], ax
add ecx, edi
add esi, edi
movzx eax, word [ecx]
test ax, ax
jne 0x45b1ad
xor eax, eax
mov word [esi], ax
push 0x5c
xor dl, dl
pop ebx
sub esi, edi
xor al, al
mov byte [ebp - 0x409], dl
cmp word [ebp - 0x408], bx
jne 0x45b1f2
cmp word [ebp - 0x406], bx
jne 0x45b1f2
mov byte [ebp - 0x409], 1
cmp word [esi], bx
je 0x45b1f9
inc al
jmp 0x45b1f9
cmp word [esi], bx
jne 0x45b1f9
mov dl, 1
lea ecx, [ebp - 0x404]
mov dword [ebp - 0x410], ecx
cmp word [ebp - 0x404], bx
je 0x45b21b
add ecx, edi
cmp word [ecx], bx
jne 0x45b20e
mov dword [ebp - 0x410], ecx
test al, al
jne 0x45b225
test dl, dl
je 0x45b235
jmp 0x45b22e
add esi, edi
mov eax, ebx
mov word [esi], ax
add esi, edi
xor eax, eax
mov word [esi], ax
sub esi, edi
and dword [ebp - 0x418], 0
and dword [ebp - 0x414], 0
lea eax, [ebp - 0x420]
push eax
push eax
lea eax, [ebp - 0x418]
push eax
lea eax, [ebp - 0x408]
push eax
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceExW]
test eax, eax
jne 0x45b2a3
cmp word [esi], bx
jne 0x45b271
jmp 0x45b26f
cmp word [esi], bx
je 0x45b27b
sub esi, edi
lea eax, [ebp - 0x408]
cmp esi, eax
ja 0x45b26a
cmp esi, dword [ebp - 0x410]
jb 0x45b19b
cmp byte [ebp - 0x409], 0
jne 0x45b298
cmp esi, dword [ebp - 0x410]
jne 0x45b29a
add esi, edi
xor eax, eax
mov word [esi], ax
sub esi, edi
jmp 0x45b243
mov eax, dword [ebp + 0xc]
cmp eax, dword [ebp - 0x414]
ja 0x45b2c0
jb 0x45b2bb
mov eax, dword [ebp + 8]
cmp eax, dword [ebp - 0x418]
jae 0x45b2c0
xor eax, eax
inc eax
jmp 0x45b2c2
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0048297b
leave
ret
Function at 0x45b346
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
push ebx
push esi
push edi
mov esi, eax
push esi
lea eax, [ebp - 4]
push eax
call fcn.00418dc7
push dword [ebp + 0x10]
lea eax, [ebp - 8]
push eax
call fcn.00418dc7
mov eax, dword [esi]
xor ebx, ebx
cmp dword [eax - 0xc], ebx
jne 0x45b479
push 0x3c
pop esi
push esi
lea eax, [ebp - 0x4c]
push ebx
push eax
call fcn.00483240
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
add esp, 0xc
lea ecx, [ebp - 0x4c]
push ecx
push ebx
push ebx
push eax
mov dword [ebp - 0x1c], 0x104
mov dword [ebp - 0x4c], esi
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x45b3b2
push dword [ebp + 8]
call fcn.004038ab
jmp 0x45b4c5
push dword [ebp - 0x20]
mov edi, dword [ebp - 0x1c]
lea eax, [ebp - 0xc]
push eax
call fcn.0044a4b0
cmp dword [ebp - 0x40], 5
push 0x2f
pop eax
jne 0x45b3cd
push 0x5c
pop eax
push eax
lea esi, [ebp - 0xc]
call fcn.00431363
mov esi, eax
cmp esi, ebx
jl 0x45b402
mov eax, dword [ebp - 0xc]
mov ecx, dword [eax - 0xc]
lea eax, [ebp - 0x10]
push eax
sub ecx, esi
lea eax, [ebp - 0xc]
dec ecx
push eax
call fcn.0044a5c0
lea edi, [ebp - 4]
call fcn.00407ece
lea ecx, [ebp - 0x10]
call fcn.00403833
cmp dword [ebp - 0x40], 3
jne 0x45b40c
push 0x3f
jmp 0x45b414
cmp dword [ebp - 0x40], 1
jne 0x45b420
push 0x3b
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00431339
mov esi, eax
cmp esi, ebx
jl 0x45b443
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 4]
push eax
mov ecx, esi
call fcn.004313ba
lea edi, [ebp - 4]
call fcn.00407ece
lea ecx, [ebp - 0x10]
call fcn.00403833
lea eax, [ebp - 4]
push eax
call fcn.00444140
lea eax, [ebp - 0x10]
mov dword [esp], str..aiu
push eax
call fcn.00411bf8
lea eax, [ebp - 0x10]
push eax
lea esi, [ebp - 4]
call fcn.00443590
pop ecx
lea ecx, [ebp - 0x10]
call fcn.00403833
lea ecx, [ebp - 0xc]
call fcn.00403833
push 0x3a
xor ecx, ecx
lea esi, [ebp - 4]
call fcn.00431339
test eax, eax
jle 0x45b48d
mov eax, esi
jmp 0x45b4bc
mov eax, dword [ebp - 8]
cmp dword [eax - 0xc], ebx
je 0x45b4ae
lea eax, [ebp - 8]
call fcn.00442ef0
mov eax, dword [ebp - 4]
push dword [eax - 0xc]
push eax
lea eax, [ebp - 8]
call fcn.0043164c
jmp 0x45b4b9
lea eax, [ebp - 4]
lea edi, [ebp - 8]
call fcn.00407ece
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call fcn.00418dc7
lea ecx, [ebp - 8]
call fcn.00403833
lea ecx, [ebp - 4]
call fcn.00403833
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45b4dd
Capabilities:
Parse url

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push edi
push 0x3c
xor ebx, ebx
lea eax, [ebp - 0x40]
push ebx
push eax
call fcn.00483240
add esp, 0xc
push 0x64
pop eax
mov dword [ebp - 0x2c], eax
mov dword [ebp - 0x20], eax
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 8], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 0x40], 0x3c
mov edi, dword [eax - 0xc]
push ecx
call fcn.0044a4b0
lea eax, [ebp - 0x40]
push eax
push ebx
push ebx
push dword [ebp - 4]
call dword [sym.imp.WININET.dll_InternetCrackUrlW]
test eax, eax
jne 0x45b54a
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ebx, eax
lea ecx, [ebp - 4]
call fcn.00403833
pop edi
mov eax, ebx
pop ebx
leave
ret
push dword [ebp - 0x30]
mov edi, dword [ebp - 0x2c]
lea eax, [ebp + 8]
push eax
call fcn.0044a4b0
mov edi, dword [ebp + 0x14]
call fcn.00407ece
lea ecx, [ebp + 8]
call fcn.00403833
push dword [ebp - 0x14]
mov edi, dword [ebp - 0x10]
lea eax, [ebp + 8]
push eax
call fcn.0044a4b0
mov edi, dword [ebp + 0x18]
call fcn.00407ece
lea ecx, [ebp + 8]
call fcn.00403833
cmp dword [ebp - 0x24], ebx
je 0x45b5ac
push dword [ebp - 0x24]
mov edi, dword [ebp - 0x20]
lea eax, [ebp + 8]
push eax
call fcn.0044a4b0
mov edi, dword [ebp + 0x1c]
call fcn.00407ece
lea ecx, [ebp + 8]
call fcn.00403833
cmp dword [ebp - 0x1c], ebx
je 0x45b5d0
push dword [ebp - 0x1c]
mov edi, dword [ebp - 0x18]
lea eax, [ebp + 8]
push eax
call fcn.0044a4b0
mov edi, dword [ebp + 0x20]
call fcn.00407ece
lea ecx, [ebp + 8]
call fcn.00403833
cmp dword [ebp - 0xc], ebx
je 0x45b5f4
push dword [ebp - 0xc]
mov edi, dword [ebp - 8]
lea eax, [ebp + 8]
push eax
call fcn.0044a4b0
mov edi, dword [ebp + 0x24]
call fcn.00407ece
lea ecx, [ebp + 8]
call fcn.00403833
mov eax, dword [ebp - 0x34]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov ax, word [ebp - 0x28]
mov ecx, dword [ebp + 0x10]
mov word [ecx], ax
jmp 0x45b53c

Function at 0x45bd97
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
lea ebp, [esp - 0x19c]
sub esp, 0x21c
mov eax, dword [0x4d7488]
xor eax, ebp
mov dword [ebp + 0x198], eax
mov eax, dword [ebp + 0x1a4]
push esi
push edi
xor edi, edi
push edi
push edi
push edi
push edi
mov esi, ecx
lea ecx, [ebp - 0x78]
push ecx
lea ecx, [ebp - 0x70]
push ecx
push edi
push eax
mov dword [ebp - 0x80], eax
mov dword [ebp - 0x74], edi
mov dword [ebp - 0x78], 0x104
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
jne 0x45be27
push ebx
lea eax, [ebp - 0x70]
push eax
lea eax, [ebp - 0x7c]
push eax
call fcn.00411bf8
lea ebx, [ebp - 0x7c]
call fcn.004420b0
inc dword [ebp - 0x74]
mov ecx, ebx
call fcn.00403833
push edi
push edi
push edi
push edi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x70]
push eax
push dword [ebp - 0x74]
mov dword [ebp - 0x78], 0x104
push dword [ebp - 0x80]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x45bde4
pop ebx
mov ecx, dword [ebp + 0x198]
pop edi
xor ecx, ebp
pop esi
call fcn.0048297b
add ebp, 0x19c
leave
ret 4
Function at 0x45be40
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 4], 0
push ebx
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ebx, ecx
lea ecx, [ebp - 4]
push ecx
lea ecx, [ebp - 0x10]
push ecx
lea ecx, [ebp - 0xc]
push ecx
mov esi, eax
mov eax, dword [ebx]
push 0
push eax
push dword [ebp + 8]
call edi
mov dword [ebp - 8], eax
cmp eax, 0xea
jne 0x45bea2
push dword [ebp - 4]
call fcn.0040379e
mov ebx, dword [ebx]
lea eax, [ebp - 4]
push eax
call fcn.0040794e
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push ebx
push dword [ebp + 8]
call edi
mov dword [ebp - 8], eax
or eax, 0xffffffff
call fcn.004037e6
xor eax, eax
cmp dword [ebp - 8], eax
pop edi
pop esi
setne al
pop ebx
leave
ret 4

Function at 0x45c73b
Capabilities:
Create pipe

Disassembly:
push ebp
mov ebp, esp
push ebx
xor ebx, ebx
cmp byte [esi], bl
je 0x45c74c
mov al, 1
jmp 0x45c7cf
mov eax, dword [ebp + 8]
push edi
lea edi, [esi + 4]
mov byte [esi], 1
mov byte [esi + 1], bl
call fcn.00407ece
push str..pipeToServer
lea eax, [ebp + 8]
push eax
call fcn.00411bf8
mov edi, dword [edi]
push dword [edi - 0xc]
lea eax, [ebp + 8]
push edi
call fcn.0043164c
pop edi
cmp byte [esi + 1], bl
je 0x45c7a7
push ebx
push 0x1388
mov eax, 0x7f90
push eax
push eax
push 0xff
push 6
push 3
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateNamedPipeW]
mov dword [esi + 8], eax
cmp byte [esi + 1], bl
jne 0x45c7be
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [esi + 8], eax
cmp dword [esi + 8], 0xffffffff
lea ecx, [ebp + 8]
setne bl
call fcn.00403833
mov al, bl
pop ebx
pop ebp
ret 4

Function at 0x45c900
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi + 0xc]
push ebx
push 0
lea ecx, [ebp + 8]
push ecx
push 0x7f90
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov ecx, dword [ebp + 8]
mov edx, dword [esi + 0xc]
xor ebx, ebx
shr ecx, 1
mov word [edx + ecx*2], bx
pop ebx
test eax, eax
je 0x45c956
cmp dword [ebp + 8], 0
je 0x45c956
push dword [esi + 0xc]
lea eax, [ebp - 4]
push eax
call fcn.00411bf8
lea eax, [ebp - 4]
push eax
push edi
call fcn.00418dc7
lea ecx, [ebp - 4]
call fcn.00403833
jmp 0x45c95c
push edi
call fcn.004038ab
mov eax, edi
leave
ret 4

Function at 0x45c962
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 8], 0xffffffff
push edi
mov edi, eax
jne 0x45c976
push edi
call fcn.004038ab
jmp 0x45c99d
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov ecx, dword [eax - 0xc]
push 0
lea edx, [ebp + 0xc]
push edx
add ecx, ecx
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x45c96e
push dword [ebp + 8]
call fcn.0045c900
mov eax, edi
pop edi
pop ebp
ret 8
Function at 0x45cd2d
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov ebx, ecx
push edi
xor esi, esi
mov edi, eax
mov dword [ebx + 0x10], edi
cmp dword [ebx + 4], esi
je 0x45cdba
cmp edi, esi
je 0x45cd65
push esi
push esi
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateEventW]
push eax
lea esi, [ebx + 0x14]
call fcn.0040b7a8
push dword [ebx + 0x14]
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 0x20]
xor esi, esi
lea eax, [ebp - 4]
push eax
push esi
push ebx
push 0x45cdc1
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov ebx, eax
cmp edi, esi
je 0x45cd85
mov eax, dword [edi]
mov ecx, edi
call dword [eax + 4]
push 0xffffffffffffffff
push ebx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea eax, [ebp - 4]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x45cdaf
mov edi, dword [ebp - 4]
cmp ebx, esi
je 0x45cdab
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
jmp 0x45cdbc
cmp ebx, esi
je 0x45cdba
push ebx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x45d2ae
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push 0x2e
mov ebx, eax
call fcn.00431363
test eax, eax
jg 0x45d2ce
mov al, 1
jmp 0x45d40b
lea ecx, [ebp - 8]
push ecx
push esi
mov ecx, eax
call fcn.004313ba
lea eax, [ebp - 0x14]
push eax
call fcn.004038ab
push dword [ebp - 8]
mov eax, dword [ebp + 0xc]
push dword [esi]
push dword [eax]
lea eax, [ebp - 0x14]
push str.__verbose___log_file__s____remove_pack_file___s____s_
push eax
call fcn.00436b7a
add esp, 0x14
cmp dword [ebx + 0x10], 0
je 0x45d30d
mov ecx, dword [ebx + 0x10]
mov eax, dword [ecx]
push esi
call dword [eax + 0x14]
push 0
lea eax, [ebx + 0xc]
push 0x8000008
push eax
lea edi, [ebp - 0x24]
lea ecx, [ebp - 0x14]
call fcn.00448e20
add esp, 0xc
lea esi, [ebp - 8]
mov byte [ebp - 1], 1
call fcn.00444040
test al, al
je 0x45d346
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x45d3da
lea eax, [ebp - 0x10]
push eax
call fcn.004038ab
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.00449c50
pop ecx
lea eax, [ebp - 0xc]
push eax
call fcn.004038ab
push 0xca
lea esi, [ebp - 0x18]
call fcn.0045b2d1
mov eax, dword [ebp - 8]
mov edi, dword [eax - 0xc]
mov eax, dword [ebp - 0x18]
pop ecx
push 0x5c
lea esi, [ebp - 8]
mov dword [ebp - 0x1c], eax
call fcn.00431363
mov ecx, edi
sub ecx, eax
lea eax, [ebp - 0x20]
push eax
mov eax, esi
push eax
call fcn.0044a5c0
push dword [ebp - 0x10]
push dword [eax]
lea eax, [ebp - 0xc]
push dword [ebp - 0x1c]
push eax
call fcn.00436b7a
add esp, 0x10
lea ecx, [ebp - 0x20]
call fcn.00403833
push 0
lea esi, [ebp - 0xc]
call fcn.00453f4a
pop ecx
lea ecx, [ebp - 0x18]
mov byte [ebp - 1], 0
call fcn.00403833
mov ecx, esi
call fcn.00403833
lea ecx, [ebp - 0x10]
call fcn.00403833
mov eax, dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp dword [ebx + 0x10], 0
je 0x45d3f8
mov ebx, dword [ebx + 0x10]
push dword [ebp + 8]
mov eax, dword [ebx]
mov ecx, ebx
call dword [eax + 0x18]
lea ecx, [ebp - 0x14]
call fcn.00403833
lea ecx, [ebp - 8]
call fcn.00403833
mov al, byte [ebp - 1]
pop edi
pop esi
pop ebx
leave
ret 8