joyce8/EMBER2024-capa huggingface dataset:
Function at 0x444330
Capabilities:
Check if file exists
Copy file
Create process on windows
Delete file
Get file attributes

Disassembly:
sub esp, 0x104
mov eax, dword [0x4a24b0]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
mov esi, dword [esp + 0x10c]
push 0x100
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0
push 0x20
push 3
push 0
push 0
push 0xc0000000
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileA]
cmp eax, 0xffffffff
je 0x444398
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push 0
push esi
lea ecx, [esp + 0xc]
push ecx
jmp 0x4443b6
push esi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
je 0x4443ae
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test al, 0x20
jne 0x4443bc
push 0
push esi
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
push 5
push 0
push 0
push esi
push 0x4688cc
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
call fcn.00443700
add esp, 0x104
ret 4
Function at 0x4443f0
Capabilities:
Terminate process

Disassembly:
sub esp, 0x450
mov eax, dword [0x4a24b0]
xor eax, esp
mov dword [esp + 0x44c], eax
push ebx
mov ebx, dword [esp + 0x45c]
push ebp
mov ebp, dword [esp + 0x45c]
push esi
push edi
cmp ebx, 0x10002
ja 0x4444b5
je 0x444496
mov eax, ebx
sub eax, 0xffff
je 0x444477
sub eax, 1
je 0x44445c
sub eax, 1
jne 0x4444ce
mov ecx, 8
mov esi, 0x468a04
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea eax, [esp + 0x10]
push eax
lea ecx, [esp + 0x60]
movsw word es:[edi], word [esi]
push ecx
jmp 0x444561
mov ecx, 0xd
mov esi, 0x4689cc
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
lea edx, [esp + 0x10]
jmp 0x44455b
mov ecx, 8
mov esi, 0x4689ac
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x60]
push edx
jmp 0x444561
mov ecx, 8
mov esi, 0x4689ac
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x60]
push ecx
jmp 0x444561
cmp ebx, 0x10003
je 0x444547
cmp ebx, 0x10004
je 0x44452b
cmp ebx, 0xffffffff
je 0x44450e
mov edx, dword [0x468994]
mov eax, dword [0x468998]
mov ecx, dword [0x46899c]
mov dword [esp + 0x10], edx
mov edx, dword [0x4689a0]
mov dword [esp + 0x14], eax
mov eax, dword [0x4689a4]
mov dword [esp + 0x18], ecx
mov ecx, dword [0x4689a8]
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], eax
mov dword [esp + 0x24], ecx
lea edx, [esp + 0x10]
jmp 0x44455b
mov ecx, 0x12
mov esi, 0x468948
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea ecx, [esp + 0x10]
push ecx
lea edx, [esp + 0x60]
movsb byte es:[edi], byte [esi]
push edx
jmp 0x444561
mov ecx, 8
mov esi, 0x468924
lea edi, [esp + 0x10]
lea eax, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
push eax
lea ecx, [esp + 0x60]
push ecx
jmp 0x444561
mov ecx, 0xd
mov esi, 0x4688f0
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
lea edx, [esp + 0x10]
push edx
lea eax, [esp + 0x60]
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
push ebx
lea ecx, [esp + 0x60]
push ecx
lea edx, [esp + 0x264]
push 0x4688e0
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 0
push 0x10
push 0x4688d4
lea eax, [esp + 0x268]
push eax
push ebp
call fcn.00443fe0
push 0
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_TerminateProcess]
mov ecx, dword [esp + 0x45c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00443700
add esp, 0x450
ret 8
Function at 0x4448d0
Capabilities:
Check if file exists
Copy file
Create process on windows
Get file attributes
Get file size

Disassembly:
sub esp, 0x250
mov eax, dword [0x4a24b0]
xor eax, esp
mov dword [esp + 0x24c], eax
mov eax, dword [esp + 0x25c]
mov ecx, dword [esp + 0x260]
push ebx
mov ebx, dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
push ebp
push esi
mov esi, dword [esp + 0x264]
push edi
mov edi, dword [esp + 0x264]
push edi
mov dword [esp + 0x18], eax
mov dword [esp + 0x14], ecx
call ebx
mov ebp, dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
test eax, eax
je 0x444926
push edi
call ebp
test al, 0x20
jne 0x44494c
push esi
call ebx
test eax, eax
je 0x444a63
push esi
call ebp
test al, 0x20
je 0x444a63
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea edx, [esp + 0x60]
push edx
call edi
jmp 0x44496a
push esi
call ebx
test eax, eax
je 0x44495a
push esi
call ebp
test al, 0x20
jne 0x444964
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov edi, dword [sym.imp.KERNEL32.dll_lstrcpyA]
push esi
lea eax, [esp + 0x60]
push eax
call edi
push 0
push 0
push 3
push 0
push 1
push 8
lea ecx, [esp + 0x74]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, 0xffffffff
je 0x4449d6
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
cmp eax, 0x6acfc0
push esi
jle 0x4449d0
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x10]
push 0x468b40
push ecx
call edi
xor eax, eax
mov ecx, dword [esp + 0x25c]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00443700
add esp, 0x250
ret 0x10
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push 0x40
lea edx, [esp + 0x20]
push 0
push edx
call fcn.0044be90
mov ecx, dword [esp + 0x20]
add esp, 0xc
push ecx
lea edx, [esp + 0x1c]
push edx
push 0
push 0
push 0x4000020
push 0
push 0
mov eax, 5
push 0
mov word [esp + 0x68], ax
push 0
lea eax, [esp + 0x80]
push eax
mov dword [esp + 0x40], 0x44
mov dword [esp + 0x6c], 1
call dword [sym.imp.KERNEL32.dll_CreateProcessA]
test eax, eax
jne 0x444a4d
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edx, dword [esp + 0x10]
push eax
push 0x468b14
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4449b3
mov ecx, dword [esp + 0x10]
push 0x468b00
push ecx
call edi
mov eax, 1
jmp 0x4449b5
mov eax, dword [esp + 0x10]
push 0x468a88
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
jmp 0x4449b3
Function at 0x444a80
Capabilities:
Get socket status

Disassembly:
sub esp, 0x10c
call fcn.00445890
test eax, eax
jne 0x444ab9
mov ecx, dword [esp + 0x110]
push 7
push eax
mov eax, dword [esp + 0x124]
push eax
push ecx
call dword [sym.imp.USER32.dll_PostMessageA]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
xor eax, eax
add esp, 0x10c
ret 0x10
push ebx
mov ebx, dword [esp + 0x114]
push ebp
mov ebp, dword [sym.imp.USER32.dll_PostMessageA]
push esi
push edi
mov edi, dword [esp + 0x12c]
push 6
push 0
push edi
push ebx
call ebp
push 0x12c
call dword [sym.imp.KERNEL32.dll_Sleep]
push 1
call fcn.00445990
mov esi, eax
test esi, esi
ja 0x444b13
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
call fcn.004458d0
push 1
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
push 0
push esi
call fcn.00445960
test eax, eax
jne 0x444b47
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
call fcn.004458e0
call fcn.004458d0
push 2
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
mov edx, dword [esp + 0x128]
mov eax, dword [esp + 0x124]
push edx
push eax
push esi
call fcn.00445810
test eax, eax
jne 0x444b72
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
cmp eax, 0x2733
je 0x444b72
test eax, eax
jne 0x444bae
lea ecx, [esp + 0x10]
push ecx
push 0
lea edx, [esp + 0x20]
push edx
push 0
push 0
mov dword [esp + 0x24], 5
mov dword [esp + 0x28], 0
mov dword [esp + 0x30], esi
mov dword [esp + 0x2c], 1
call dword [sym.imp.WS2_32.dll_select]
test eax, eax
jg 0x444bd0
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
call fcn.004458e0
call fcn.004458d0
push 3
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
push 1
push esi
call fcn.00445960
test eax, eax
jne 0x444c04
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push esi
call fcn.004458e0
call fcn.004458d0
push 4
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10c
ret 0x10
push esi
call fcn.004458e0
call fcn.004458d0
push 5
push 0
push edi
push ebx
call ebp
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x10c
ret 0x10

Function at 0x444fb0
Capabilities:
Get system information on windows

Disassembly:
lea eax, [esp - 0x24]
sub esp, 0x24
test eax, eax
je 0x444fe8
push str.GetNativeSystemInfo
push str.kernel32
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x444fde
lea ecx, [esp]
push ecx
call eax
jmp 0x444fe8
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov ax, word [esp]
cmp ax, 9
je 0x444ffe
cmp ax, 6
je 0x444ffe
xor eax, eax
add esp, 0x24
ret
mov eax, 1
add esp, 0x24
ret
Function at 0x445010
Capabilities:
Get common file path

Disassembly:
push ecx
lea eax, [esp]
push eax
push 0
push 0
mov dword [esp + 0xc], 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x44505d
mov ecx, dword [esp]
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
push ecx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
push 0x468c60
push esi
mov edi, eax
call dword [sym.imp.KERNEL32.dll_lstrcatA]
mov edx, dword [esp + 8]
push edx
call dword [sym.imp.ole32.dll_CoTaskMemFree]
mov eax, edi
pop edi
pop esi
pop ecx
ret 4
xor eax, eax
pop ecx
ret 4

Function at 0x445310
Capabilities:
Terminate process

Disassembly:
sub esp, 0x104
mov eax, dword [0x4a24b0]
xor eax, esp
mov dword [esp + 0x100], eax
push esi
push 0x100
lea eax, [esp + 8]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 4]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameA]
mov esi, eax
push esi
push 0
push 0xf001f
call dword [sym.imp.KERNEL32.dll_OpenFileMappingA]
test eax, eax
je 0x4453d1
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov dword [0x4a24ac], eax
test eax, eax
je 0x4453b6
push eax
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x4453b6
mov edx, dword [0x4a24ac]
push 0xfffffffffffffffa
push edx
call dword [sym.imp.USER32.dll_GetWindowLongA]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetCurrentThreadId]
push eax
push esi
push 0x443f40
push 5
call dword [sym.imp.USER32.dll_SetWindowsHookExA]
push 0
push 0x468cb4
mov dword [0x4a24a8], eax
mov eax, dword [0x4a24ac]
push 0x468c68
push eax
jmp 0x4453c4
push 0
push 0x468cb4
push 0x468c68
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
push 0
call fcn.0044c3bc
push esi
push 0x1000
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov ecx, dword [esp + 0x104]
pop esi
xor ecx, esp
call fcn.00443700
add esp, 0x104
ret
Function at 0x445720
Capabilities:
Create thread

Disassembly:
push ebp
push edi
mov edi, dword [esp + 0xc]
test edi, edi
je 0x4457b0
mov ebp, dword [esp + 0x10]
test ebp, ebp
je 0x4457b0
lea eax, [ebp*4 + 0x10]
push esi
push eax
call fcn.0044bd4a
mov esi, eax
add esp, 4
test esi, esi
je 0x445770
push 0
push 0
mov dword [esi], edi
push 0
mov dword [esi + 4], ebp
push 0xffffffffffffffff
mov dword [esi + 8], esi
call dword [sym.imp.KERNEL32.dll_CreateIoCompletionPort]
test eax, eax
jne 0x445778
push esi
call fcn.0044bee8
add esp, 4
pop esi
pop edi
xor eax, eax
pop ebp
ret 8
push ebx
xor ebx, ebx
mov dword [esi + 0xc], eax
test ebp, ebp
jbe 0x4457a7
lea edi, [esi + 0x10]
push 0
push 0
push esi
push 0x445220
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
test eax, eax
je 0x4457a3
mov dword [edi], eax
inc ebx
add edi, 4
cmp ebx, ebp
jb 0x445785
pop ebx
mov eax, esi
pop esi
pop edi
pop ebp
ret 8
pop edi
xor eax, eax
pop ebp
ret 8

Function at 0x4457c0
Capabilities:
Set socket configuration

Disassembly:
cmp dword [esp + 8], 1
jne 0x4457d3
mov eax, 1
mov word [esp + 8], ax
jmp 0x4457da
xor ecx, ecx
mov word [esp + 8], cx
mov ecx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
push 0xffffff7f
push 0xffff
xor edx, edx
push ecx
mov word [esp + 0x1e], dx
call dword [sym.imp.WS2_32.dll_setsockopt]
neg eax
sbb eax, eax
inc eax
ret 8

Function at 0x445810
Capabilities:
Connect socket

Disassembly:
sub esp, 0x14
mov eax, dword [0x4a24b0]
xor eax, esp
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x1c]
xor eax, eax
mov dword [esp], eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
mov dword [esp + 0xc], eax
mov eax, 2
push ecx
mov word [esp + 4], ax
call dword [sym.imp.WS2_32.dll_inet_addr]
mov ecx, dword [esp + 0x20]
push ecx
mov dword [esp + 8], eax
call dword [sym.imp.WS2_32.dll_htons]
push 0
push 0
push 0
push 0
push 0x10
lea edx, [esp + 0x14]
mov word [esp + 0x16], ax
mov eax, dword [esp + 0x2c]
push edx
push eax
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov ecx, dword [esp + 0x10]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00443700
add esp, 0x14
ret 0xc

Function at 0x445890
Capabilities:
Initialize winsock library

Disassembly:
sub esp, 0x194
mov eax, dword [0x4a24b0]
xor eax, esp
mov dword [esp + 0x190], eax
lea eax, [esp]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
mov ecx, dword [esp + 0x190]
neg eax
sbb eax, eax
xor ecx, esp
inc eax
call fcn.00443700
add esp, 0x194
ret

Function at 0x445930
Capabilities:
Receive data
Receive data on socket

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
push 0
push eax
push esi
push ecx
call dword [sym.imp.WS2_32.dll_recv]
test eax, eax
jg 0x445952
xor eax, eax
pop esi
ret 0xc
mov byte [eax + esi], 0
mov eax, 1
pop esi
ret 0xc
Function at 0x445990
Capabilities:
Create tcp socket
Create udp socket
Set socket configuration

Disassembly:
sub esp, 0x10
push ebx
push esi
mov ebx, 1
push ebx
push 0
push 0
push 6
push ebx
push 2
call dword [sym.imp.WS2_32.dll_WSASocketA]
mov esi, eax
test esi, esi
ja 0x4459ba
pop esi
xor eax, eax
pop ebx
add esp, 0x10
ret 4
cmp dword [esp + 0x1c], ebx
jne 0x445a4a
push edi
mov edi, dword [sym.imp.WS2_32.dll_setsockopt]
push 4
lea eax, [esp + 0x24]
push eax
push 4
push 0xffff
push esi
mov dword [esp + 0x34], ebx
call edi
push ebx
push esi
call fcn.004457c0
push 4
lea ecx, [esp + 0x24]
push ecx
push ebx
push 6
push esi
mov dword [esp + 0x34], ebx
call edi
push 4
lea edx, [esp + 0x24]
push edx
push 8
push 0xffff
push esi
mov dword [esp + 0x34], ebx
call edi
pop edi
test eax, eax
jne 0x445a4a
cmp dword [esp + 0x1c], ebx
jne 0x445a4a
push 0
push 0
mov eax, 0xbb8
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x10]
push eax
push 0xc
lea ecx, [esp + 0x1c]
push ecx
push 0xc
mov edx, ecx
push edx
push 0x98000004
push esi
mov dword [esp + 0x30], ebx
call dword [sym.imp.WS2_32.dll_WSAIoctl]
mov eax, esi
pop esi
pop ebx
add esp, 0x10
ret 4
Function at 0x445de0
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov eax, dword [esp + 0x18]
push ebx
push ebp
push esi
push edi
push eax
call fcn.0044a360
mov esi, dword [esp + 0x38]
mov ebx, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
add esp, 4
xor ebp, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x10], ebp
test ebx, ebx
je 0x445f30
test ecx, ecx
je 0x445f30
inc ecx
push ecx
call fcn.0046043d
mov ebp, eax
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov edx, ecx
mov esi, edi
mov edi, ebp
push ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044c000
mov edi, eax
add esp, 0xc
test edi, edi
je 0x445e59
mov byte [edi], 0
inc edi
lea eax, [esp + 0x1c]
push eax
push ebp
push ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
test eax, eax
jne 0x445f1d
push 0x400
mov dword [esp + 0x18], 0x400
mov dword [esp + 0x1c], 1
call fcn.0046043d
add esp, 4
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
lea ecx, [esp + 0x14]
mov esi, eax
mov eax, dword [esp + 0x1c]
push ecx
lea edx, [esp + 0x1c]
push esi
push edx
push 0
push edi
push eax
call ebx
test eax, eax
je 0x445ee1
cmp eax, 0xea
jne 0x445f09
push esi
call fcn.00460466
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0046043d
mov ecx, dword [esp + 0x24]
add esp, 8
lea edx, [esp + 0x14]
mov esi, eax
push edx
lea eax, [esp + 0x1c]
push esi
push eax
push 0
push edi
push ecx
call ebx
test eax, eax
jne 0x445eac
mov eax, dword [esp + 0x18]
cmp eax, 1
je 0x445eef
cmp eax, 2
jne 0x445f09
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push esi
call fcn.0044a2d0
add esp, 8
mov dword [esp + 0x10], eax
push esi
call fcn.00460466
mov edx, dword [esp + 0x20]
add esp, 4
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push ebp
call fcn.00460466
mov eax, dword [esp + 0x14]
add esp, 4
test eax, eax
jne 0x445f5e
mov ebp, eax
mov eax, dword [esp + 0x48]
test eax, eax
je 0x445f6a
mov edx, dword [esp + 0x40]
test edx, edx
je 0x445f6a
mov edi, edx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
push ecx
push edx
call fcn.0044a2d0
add esp, 8
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x10]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
pop edi
mov eax, ebp
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x445fe0
Capabilities:
Set registry value

Disassembly:
mov eax, dword [esp + 0x28]
sub esp, 0x18
push ebx
push ebp
xor ebx, ebx
xor ebp, ebp
cmp eax, 0x80000301
push edi
ja 0x446060
je 0x446051
cmp eax, 0x80000101
ja 0x44604a
je 0x446051
cmp eax, 0x80000004
je 0x44602d
cmp eax, 0x80000005
jne 0x446075
mov eax, dword [esp + 0x44]
mov dword [esp + 0xc], 3
test eax, eax
je 0x4460bb
mov ebx, dword [eax + 4]
lea ebp, [eax + 8]
jmp 0x4460bb
mov ebp, dword [esp + 0x44]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0xc], 1
mov ebx, ecx
inc ebx
jmp 0x4460bb
cmp eax, 0x80000201
jne 0x446075
mov ebx, 4
lea ebp, [esp + 0x44]
mov dword [esp + 0xc], ebx
jmp 0x4460bb
cmp eax, 0x80000401
je 0x4460a6
cmp eax, 0x80000501
je 0x446092
cmp eax, 0x80000601
je 0x44607e
pop edi
pop ebp
xor eax, eax
pop ebx
add esp, 0x18
ret
fld qword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.0044c4b0
jmp 0x4460b3
fld dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
call fcn.0044c4b0
jmp 0x4460b3
mov eax, dword [esp + 0x44]
mov ebx, 4
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], eax
lea ebp, [esp + 0x10]
mov ecx, dword [esp + 0x2c]
push ecx
call fcn.0044a360
mov edi, dword [esp + 0x3c]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
add esp, 4
mov dword [esp + 0x20], edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov dword [esp + 0x18], 0
test edx, edx
je 0x446196
test ecx, ecx
je 0x446196
inc ecx
push esi
push ecx
call fcn.0046043d
mov edi, dword [esp + 0x40]
mov edx, eax
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0x5c
mov eax, ecx
mov esi, edi
mov edi, edx
push edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov dword [esp + 0x2c], edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call fcn.0044c000
mov esi, eax
add esp, 0xc
test esi, esi
je 0x446138
mov byte [esi], 0
inc esi
mov edi, dword [esp + 0x20]
mov edx, dword [esp + 0x24]
lea ecx, [esp + 0x18]
push 0
push ecx
push 0
push 0x20006
push 0
push 0
push 0
push edi
push edx
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x44618c
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0x18]
push ebx
push ebp
push eax
push 0
push esi
push ecx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
jne 0x446181
mov dword [esp + 0x1c], 1
mov edx, dword [esp + 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call fcn.00460466
add esp, 4
pop esi
mov eax, dword [esp + 0x18]
pop edi
pop ebp
pop ebx
add esp, 0x18
ret

Function at 0x4462f0
Capabilities:
Set file attributes

Disassembly:
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
ret
Function at 0x446450
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
push esi
mov esi, dword [esp + 0x14]
test esi, esi
jne 0x446463
xor eax, eax
pop esi
add esp, 8
ret
push esi
call fcn.0044a4d0
add esp, 4
test eax, eax
jne 0x446475
pop esi
add esp, 8
ret
mov eax, dword [esi]
push ebx
mov ebx, 1
push ebp
cmp eax, ebx
push edi
mov dword [esp + 0x10], 0
jne 0x4464ec
mov eax, dword [esp + 0x1c]
mov edi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x44651e
mov ebp, dword [sym.imp.KERNEL32.dll_WriteFile]
lea esi, [esp + 0x2c]
mov eax, dword [esi]
lea edx, [esp + 0x14]
push 0
push edx
lea ecx, [eax + 8]
mov eax, dword [eax + 4]
push eax
push ecx
push edi
call ebp
test eax, eax
je 0x4464d8
mov eax, dword [esp + 0x1c]
inc ebx
add esi, 0xc
cmp ebx, eax
jl 0x4464a8
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret
pop edi
mov dword [esp + 0xc], 0
mov eax, dword [esp + 0xc]
pop ebp
pop ebx
pop esi
add esp, 8
ret
cmp eax, 2
jne 0x44651e
mov eax, dword [esp + 0x1c]
mov esi, dword [esi + 4]
cmp eax, ebx
mov dword [esp + 0x10], ebx
jle 0x44651e
lea edi, [esp + 0x2c]
lea ebx, [eax - 1]
mov eax, dword [edi]
mov edx, dword [esi]
mov ecx, dword [eax + 4]
add eax, 8
push ecx
push eax
mov ecx, esi
call dword [edx + 0x24]
add edi, 0xc
dec ebx
jne 0x446507
mov eax, dword [esp + 0x10]
pop edi
pop ebp
pop ebx
pop esi
add esp, 8
ret

Function at 0x446c30
Capabilities:
Get file size
Read file on windows

Disassembly:
mov eax, dword [esp + 8]
push edi
push 0
push 0x20
push 3
push 0
push 3
push closesocket
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov edi, eax
xor eax, eax
cmp edi, 0xffffffff
je 0x446c99
push ebx
lea ecx, [esp + 0x10]
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
lea edx, [ebx + 8]
push edx
call fcn.00445b30
add esp, 4
mov esi, eax
lea eax, [esp + 0x14]
push 0
push eax
lea ecx, [esi + 8]
push ebx
push ecx
push edi
mov dword [esi], 1
mov dword [esi + 4], ebx
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop esi
pop ebx
pop edi
ret

Function at 0x446f90
Capabilities:
Get file attributes

Disassembly:
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
ret
Function at 0x447190
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x144
push ebx
mov ebx, dword [esp + 0x14c]
push ebp
mov ebp, dword [esp + 0x15c]
push esi
push edi
mov esi, dword [ebp]
mov dword [esp + 0x10], 0
test ebx, ebx
je 0x44721b
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
je 0x44721b
test esi, esi
je 0x4471d5
cmp esi, 0xffffffff
je 0x4471d5
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
lea eax, [esp + 0x14]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_FindFirstFileA]
mov esi, eax
cmp esi, 0xffffffff
mov dword [ebp], esi
je 0x447261
mov eax, dword [esp + 0x160]
test eax, eax
je 0x447204
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
je 0x44721b
jmp 0x447213
mov edx, dword [esp + 0x15c]
mov eax, dword [esp + 0x14]
test edx, eax
je 0x44721b
mov dword [esp + 0x10], 1
test esi, esi
je 0x447261
cmp esi, 0xffffffff
je 0x447261
mov eax, dword [esp + 0x10]
test eax, eax
jne 0x447298
mov eax, dword [esp + 0x160]
mov edi, dword [sym.imp.KERNEL32.dll_FindNextFileA]
test eax, eax
lea eax, [esp + 0x14]
push eax
push esi
je 0x44726e
call edi
test eax, eax
je 0x447261
mov ecx, dword [esp + 0x14]
and ecx, 0x10
cmp cl, 0x10
jne 0x447298
lea edx, [esp + 0x14]
push edx
push esi
call edi
test eax, eax
jne 0x447249
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x144
ret
call edi
test eax, eax
je 0x447261
mov ebx, dword [esp + 0x15c]
test dword [esp + 0x14], ebx
jne 0x447298
lea ecx, [esp + 0x14]
push ecx
push esi
call edi
test eax, eax
jne 0x44727b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret
lea edi, [esp + 0x40]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
push ecx
call fcn.00445b30
mov edx, eax
lea edi, [esp + 0x44]
or ecx, 0xffffffff
xor eax, eax
add esp, 4
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
mov eax, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x144
ret