joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4659e0
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d187d
mov eax, dword fs:[0]
push eax
sub esp, 0x14
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0
push 0
push 3
push 0
push 0
push accept
push dword [ebp + 0xc]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x465afb
push 0
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0
push eax
push 4
lea eax, [ebp - 0x14]
mov dword [ebp - 0x14], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x465af4
cmp dword [ebp - 0x10], 4
jne 0x465af4
push dword [ebp - 0x14]
call fcn.0049c680
mov esi, eax
add esp, 4
mov dword [ebp - 0x20], esi
mov eax, dword [ebp - 0x14]
mov dword [ebp - 4], 0
mov dword [ebp - 0x18], eax
test esi, esi
je 0x465a87
mov ecx, esi
call fcn.0049c670
jmp 0x465a89
xor eax, eax
push 0
lea ecx, [ebp - 0x10]
push ecx
push dword [ebp - 0x18]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x465ae2
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jne 0x465ae2
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov edi, dword [ebp + 8]
mov dword [edi], esi
test esi, esi
je 0x465abd
mov ecx, esi
call fcn.0049c480
mov dword [ebp - 4], 1
test esi, esi
je 0x465acf
mov ecx, esi
call fcn.0049c750
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov dword [ebp - 4], 2
test esi, esi
je 0x465af4
mov ecx, esi
call fcn.0049c750
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x465b50
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d18ad
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, dword [ebp + 0x10]
lea eax, [ebp - 0x10]
push eax
push 0
push 0
push 0
push edi
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 0x10]
call fcn.0049c680
mov esi, eax
add esp, 4
mov dword [ebp - 0x18], esi
mov dword [ebp - 4], 0
test esi, esi
je 0x465bb9
mov ecx, esi
call fcn.0049c670
jmp 0x465bbb
xor eax, eax
lea ecx, [ebp - 0x10]
push ecx
push eax
push 0
push 0
push edi
push dword [ebp + 0xc]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, dword [ebp + 8]
test eax, eax
jne 0x465beb
mov dword [edi], esi
test esi, esi
je 0x465be2
mov ecx, esi
call fcn.0049c480
mov dword [ebp - 4], 1
jmp 0x465bf8
mov dword [edi], 0
mov dword [ebp - 4], 2
test esi, esi
je 0x465c03
mov ecx, esi
call fcn.0049c750
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4664c0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d195d
mov eax, dword fs:[0]
push eax
sub esp, 0x210
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 0xc]
mov dword [ebp - 4], 0
test esi, esi
jne 0x46650b
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
test esi, esi
je 0x4665f5
push 0
push 0
lea eax, [ebp - 0x21c]
mov dword [ebp - 0x21c], 0
push eax
push 0x400
push esi
push 0
push 0x1100
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
jne 0x4665ce
push 0x104
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push 0x4e7508
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b5462
add esp, 0xc
lea eax, [ebp - 0x218]
push 2
push 0
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push 0
push 0
mov edi, eax
lea eax, [ebp - 0x21c]
push eax
push 0x400
push esi
push edi
push 0x900
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x4665c1
push 0x4df718
lea ecx, [ebp + 8]
call fcn.0049c3f0
push dword [ebp - 0x21c]
lea ecx, [ebp + 8]
call fcn.0049c3f0
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
test edi, edi
je 0x4665f5
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
jmp 0x4665f5
push 0x4df718
lea ecx, [ebp + 8]
call fcn.0049c3f0
push dword [ebp - 0x21c]
lea ecx, [ebp + 8]
call fcn.0049c3f0
push dword [ebp - 0x21c]
call dword [sym.imp.KERNEL32.dll_LocalFree]
lea ecx, [ebp + 8]
call fcn.0049c120
push 0x10
push 0x4de0b8
push eax
push dword [0x518edc]
call dword [sym.imp.USER32.dll_MessageBoxW]
mov ecx, dword [ebp + 8]
mov dword [ebp - 4], 1
test ecx, ecx
je 0x466624
call fcn.0049c750
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x467a50
Capabilities:
Delete file
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
push 0
push 0
push 2
push 0
push 0
push 0x40000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x467a7d
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
push ebx
mov ebx, dword [ebp + 0xc]
mov dword [ebp - 4], 0
mov ecx, dword [ebx]
test ecx, ecx
je 0x467a95
call fcn.00471ab0
jmp 0x467a97
xor eax, eax
push 0
mov dword [ebp - 8], eax
lea eax, [ebp - 4]
push eax
push 4
lea eax, [ebp - 8]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x467afa
cmp dword [ebp - 4], 4
jne 0x467afa
mov ecx, dword [ebx]
mov eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
test ecx, ecx
je 0x467aca
call fcn.0049c670
jmp 0x467acc
xor eax, eax
push 0
lea ecx, [ebp - 4]
push ecx
push dword [ebp - 0xc]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x467afa
mov eax, dword [ebp - 4]
cmp eax, dword [ebp - 8]
jne 0x467afa
push esi
mov bl, 1
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
push esi
xor bl, bl
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov al, bl
pop ebx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4684d0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d1b1d
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [sym.imp.KERNEL32.dll_SetLastError]
push 0
call esi
push 0
push 0x513498
call fcn.00423120
add esp, 8
test eax, eax
jne 0x468529
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x10]
push 0
push eax
call fcn.00422b80
add esp, 8
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], 0
test eax, eax
je 0x46859d
mov eax, dword [eax]
test eax, eax
je 0x46859d
push eax
call dword [sym.imp.OLEAUT32.dll_VariantInit]
test eax, eax
je 0x46859d
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x468561
mov eax, dword [eax]
jmp 0x468563
xor eax, eax
push 0x513498
push dword [ebp + 8]
push eax
call fcn.00422e50
mov edi, eax
add esp, 0xc
test edi, edi
je 0x4685c0
mov ecx, dword [ebp - 0x10]
test ecx, ecx
je 0x468585
mov eax, dword [ecx]
jmp 0x468587
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
cmp edi, 0x800704d6
jne 0x46859a
push 4
jmp 0x46859b
push edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
lea ecx, [ebp - 0x10]
call fcn.00402620
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x10]
test eax, eax
je 0x4685d4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x4685a5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
xor esi, esi
jmp 0x4685a5
Function at 0x46a950
Capabilities:
Receive data
Receive data on socket

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 0x10]
add edi, esi
cmp esi, edi
jae 0x46a987
mov ebx, dword [sym.imp.WS2_32.dll_recv]
push 0
mov eax, edi
sub eax, esi
push eax
push esi
push dword [0x51349c]
call ebx
test eax, eax
je 0x46a98e
cmp eax, 0xffffffff
je 0x46a98e
add esi, eax
cmp esi, edi
jb 0x46a968
pop edi
pop esi
mov al, 1
pop ebx
pop ebp
ret
pop edi
pop esi
xor al, al
pop ebx
pop ebp
ret

Function at 0x46aa20
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x518edb], 0
je 0x46aa83
mov ecx, dword [0x513498]
cmp ecx, 0xffffffff
je 0x46aa83
cmp dword [0x51365c], 0
je 0x46aa5c
mov eax, 0x989680
xor edx, edx
div dword [0x51365c]
jmp 0x46aa5e
xor eax, eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0xc
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 1
push eax
push ecx
mov dword [ebp - 8], 0
call sub.FLTLIB.DLL_FilterSendMessage
cmp byte [ebp + 8], 0
je 0x46aadd
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x468d40
push 0
push 0
call fcn.004b8717
mov dword [0x5186e0], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x47bac0
push 0
push 0
call fcn.004b8717
mov dword [0x5186e4], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x46a880
push 0
push 0
call fcn.004b8717
add esp, 0x48
mov dword [0x5186e8], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x4685f0
push 0
push 0
call fcn.004b8717
mov dword [0x5186d8], eax
lea eax, [ebp - 0x14]
push eax
push 0
push 0
push 0x4689b0
push 0
push 0
call fcn.004b8717
mov ecx, dword [ebp - 4]
add esp, 0x30
xor ecx, ebp
mov dword [0x5186dc], eax
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
Function at 0x474a20
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
mov esi, dword [sym.imp.USER32.dll_SendMessageW]
mov ebx, ecx
push edi
push 0
push 0
push 0x1200
push dword [ebx + 0x14]
call esi
inc eax
xor ecx, ecx
mov dword [ebp - 8], eax
mov edx, 4
add eax, eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12e6
mov edi, eax
mov byte [ebp - 1], 0
mov eax, dword [ebp - 8]
add esp, 4
shl eax, 3
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x14]
push eax
push edi
lea eax, [ebp - 0x10]
mov dword [ebp - 0xc], edi
push eax
push 0
push dword [ebp + 0xc]
mov dword [ebp - 0x10], 0xffffffff
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x474b1b
cmp dword [ebp - 0x10], 3
jne 0x474b1b
mov eax, dword [ebp - 0x18]
cmp dword [ebp - 0x14], eax
jne 0x474b1b
mov ecx, dword [ebp - 8]
lea eax, [ecx + 1]
lea eax, [edi + eax*4]
push eax
lea eax, [ecx - 1]
push eax
push 0x1212
push dword [ebx + 0x14]
call esi
mov eax, dword [ebp - 8]
xor esi, esi
test eax, eax
jle 0x474b17
cmp dword [edi + esi*4], 0
jle 0x474b12
mov edi, dword [edi + esi*4]
push 0x4e
call dword [sym.imp.USER32.dll_GetSystemMetrics]
cmp edi, eax
jge 0x474b0c
mov dword [ebp - 0x48], 1
lea eax, [ebp - 0x48]
mov dword [ebp - 0x44], edi
push eax
test esi, esi
jne 0x474afa
push esi
push 0x120c
push dword [ebx + 0xc]
jmp 0x474b06
lea eax, [esi - 1]
push eax
push 0x120c
push dword [ebx + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
mov eax, dword [ebp - 8]
mov edi, dword [ebp - 0xc]
inc esi
cmp esi, eax
jl 0x474ac8
mov byte [ebp - 1], 1
push edi
call fcn.004a0e5f
mov al, byte [ebp - 1]
add esp, 4
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x474b30
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.USER32.dll_SendMessageW]
push esi
push edi
push 0
mov edi, ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0xc]
push 0
push 0x1200
push dword [edi + 0x14]
mov dword [ebp - 0x20], eax
call ebx
xor ecx, ecx
mov edx, 4
lea esi, [eax + 1]
lea eax, [esi + esi]
mov dword [ebp - 0x18], esi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.004a12e6
add esp, 4
mov dword [ebp - 0x1c], eax
lea ecx, [eax + 4]
mov dword [eax + esi*4], 0
lea ecx, [ecx + esi*4]
push ecx
lea ecx, [esi - 1]
push ecx
push 0x1211
push dword [edi + 0x14]
call ebx
mov eax, dword [ebp - 0x18]
xor esi, esi
test eax, eax
jle 0x474c0e
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
lea eax, [ebp - 0x14]
push eax
test esi, esi
jne 0x474bda
push esi
push 0x1207
push dword [edi + 0xc]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [edi + 8]
push dword [edi + 0xc]
jmp 0x474bf8
lea eax, [esi - 1]
push eax
push 0x1207
push dword [edi + 0x14]
call dword [sym.imp.USER32.dll_SendMessageW]
push 2
lea eax, [ebp - 0x14]
push eax
push dword [edi + 8]
push dword [edi + 0x14]
call ebx
mov ecx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
sub eax, dword [ebp - 0x14]
mov dword [ecx + esi*4], eax
inc esi
mov eax, dword [ebp - 0x18]
cmp esi, eax
jl 0x474bb5
mov ebx, dword [ebp - 0x1c]
shl eax, 3
push eax
push ebx
push 3
push 0
push dword [ebp - 0x20]
push dword [ebp - 0x24]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push ebx
call fcn.004a0e5f
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
mov al, 1
pop edi
pop esi
pop ebx
call fcn.004a0e13
mov esp, ebp
pop ebp
ret 8
Function at 0x47cf30
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d2a90
mov eax, dword fs:[0]
push eax
push ecx
push esi
push edi
mov eax, dword [0x513b94]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x10], esi
mov eax, dword [edi]
mov edx, dword [edi + 4]
mov dword [esi], eax
mov dword [esi + 4], edx
mov eax, dword [edi + 8]
mov ecx, dword [edi + 0xc]
mov dword [esi + 8], eax
mov dword [esi + 0xc], ecx
mov eax, dword [edi + 0x10]
mov ecx, dword [edi + 0x14]
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], ecx
mov eax, dword [edi + 0x18]
mov dword [esi + 0x18], eax
mov eax, dword [edi + 0x1c]
mov dword [esi + 0x1c], eax
mov eax, dword [edi + 0x20]
mov dword [esi + 0x20], eax
mov eax, dword [edi + 0x28]
mov ecx, dword [edi + 0x2c]
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], ecx
mov eax, dword [edi + 0x30]
mov dword [esi + 0x30], eax
test eax, eax
je 0x47cfae
lock inc dword [eax + 8]
lea edx, [edi + 0x34]
mov dword [esi + 0x34], 0
lea ecx, [esi + 0x34]
mov dword [ebp - 4], 0
lea eax, [edx + 4]
mov dword [ecx + 4], 0
push eax
mov dword [ecx + 8], 0
mov eax, dword [eax]
sub eax, dword [edx]
push edx
sar eax, 5
push eax
call fcn.0047c8a0
mov eax, dword [edi + 0x40]
mov ecx, dword [edi + 0x44]
mov dword [esi + 0x40], eax
mov dword [esi + 0x44], ecx
movups xmm0, xmmword [edi + 0x48]
movups xmmword [esi + 0x48], xmm0
mov eax, dword [edi + 0x58]
mov dword [esi + 0x58], eax
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x47f2c0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
cmp dword [ebp + 0x1c], 0
push ebx
push esi
push edi
mov edi, dword [ebp + 0x10]
mov esi, ecx
mov dword [ebp + 0x10], 1
jne 0x47f300
mov ebx, dword [ebp + 0xc]
cmp ebx, 0x110
jne 0x47f309
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0047fcc0
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x47f456
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret 0x18
cmp ebx, 2
jne 0x47f31e
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0x14]
push edi
push ebx
call fcn.0047fbe0
jmp 0x47f2f1
cmp ebx, 0x111
jne 0x47f390
movzx eax, di
mov edx, 2
mov ecx, eax
cmp dx, ax
mov dword [ebp + 0xc], ecx
mov eax, edi
jne 0x47f367
lea ecx, [ebp + 0x10]
shr eax, 0x10
push ecx
push dword [ebp + 0x14]
mov ecx, esi
mov dword [ebp + 0x1c], eax
push edx
push eax
call fcn.0041c950
cmp dword [ebp + 0x10], 0
mov ecx, dword [ebp + 0x18]
mov dword [ecx], eax
jne 0x47f456
mov eax, dword [ebp + 0x1c]
mov ecx, dword [ebp + 0xc]
jmp 0x47f36a
shr eax, 0x10
movzx eax, ax
xor edx, edx
cmp dx, ax
jne 0x47f390
lea edx, [ebp + 0x10]
mov dword [ebp + 0x10], 1
push edx
push dword [ebp + 0x14]
push ecx
push eax
mov ecx, esi
call fcn.0047fa60
jmp 0x47f2f1
lea ecx, [esi + 0x20]
cmp ebx, 5
jne 0x47f429
xor eax, eax
test ecx, ecx
cmove esi, eax
cmp byte [ecx + 0x1c], al
je 0x47f407
push 0xe801
push dword [esi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
test eax, eax
je 0x47f407
cmp edi, 2
jne 0x47f3e3
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
mov dword [eax], 0
lea eax, [ebx - 4]
pop ebx
pop ebp
ret 0x18
test edi, edi
jne 0x47f407
push 5
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
mov dword [eax], edi
lea eax, [edi + 1]
pop edi
pop esi
pop ebx
pop ebp
ret 0x18
cmp edi, 1
je 0x47f44d
lea ecx, [esi + 0x20]
call fcn.00440cb0
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebx
mov dword [eax], 0
mov eax, 1
pop ebp
ret 0x18
cmp ebx, 0x24
jne 0x47f300
cmp dword [ecx + 0x14], 0xffffffff
je 0x47f44d
cmp dword [ecx + 0x18], 0xffffffff
je 0x47f44d
mov edx, dword [ebp + 0x14]
mov eax, dword [ecx + 0x14]
mov ecx, dword [ecx + 0x18]
mov dword [edx + 0x18], eax
mov dword [edx + 0x1c], ecx
mov eax, dword [ebp + 0x18]
mov dword [eax], 0
pop edi
pop esi
mov eax, 1
pop ebx
pop ebp
ret 0x18
Function at 0x480db0
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [sym.imp.USER32.dll_IsDlgButtonChecked]
push edi
mov edi, ecx
push 0x44b
push dword [edi + 4]
call esi
push 0x44c
push dword [edi + 4]
cmp eax, 1
sete byte [ebp - 1]
call esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
cmp eax, 1
push 1
lea eax, [ebp - 1]
setne byte [ebp - 2]
push eax
push 3
push 0
push 0x4eecb4
push dword [0x518ab4]
call esi
push 1
lea eax, [ebp - 2]
push eax
push 3
push 0
push 0x4eecec
push dword [0x518ab4]
call esi
push 0x414
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.00471710
push 0x4eec2c
push dword [0x518ab4]
mov esi, eax
push dword [edi + 4]
call fcn.0048abc0
add esp, 0x10
mov ecx, esi
push 0x4eec8c
push dword [0x518ab4]
call fcn.00474b30
mov ecx, esi
call fcn.00471c10
push eax
call dword [sym.imp.COMCTL32.dll_ImageList_Destroy]
pop edi
mov dword [0x518abc], 0
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 0x10
Function at 0x4828f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4d30e0
mov eax, dword fs:[0]
push eax
sub esp, 0x290
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x240]
mov ebx, dword [ebp + 0xc]
push eax
call fcn.00422120
add esp, 4
mov eax, dword [ebp - 0x240]
mov dword [ebp - 4], 0
test eax, eax
je 0x482948
mov eax, dword [eax]
jmp 0x48294a
xor eax, eax
lea ecx, [ebp - 0x23c]
push ecx
push 0
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesExW]
test eax, eax
je 0x482ab5
test byte [ebp - 0x23c], 0x10
jne 0x482ab5
call fcn.0046a190
mov edi, dword [sym.imp.USER32.dll_MessageBoxW]
test ebx, ebx
jne 0x482a57
cmp dword [ebp - 0x21c], 0
jne 0x4829c9
cmp dword [ebp - 0x220], 0
jne 0x4829c9
push 0x30
push 0x4de0b8
push 0x4ef560
push esi
call edi
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x4829bb
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x482ab5
xor eax, eax
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x482ab5
push 0x24
push 0x4de0b8
push 0x4ef648
push esi
call edi
cmp eax, 6
jne 0x482ab5
push 0x4ef748
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b4900
push 0x58
lea eax, [ebp - 0x29c]
push 0
push eax
call fcn.004a3e00
add esp, 0x18
mov dword [ebp - 0x29c], 0x58
lea eax, [ebp - 0x218]
mov dword [ebp - 0x298], esi
mov dword [ebp - 0x280], eax
lea eax, [ebp - 0x29c]
mov dword [ebp - 0x27c], 0x104
push eax
mov dword [ebp - 0x290], 0x4de254
mov dword [ebp - 0x268], 0x20008
call dword [sym.imp.COMDLG32.dll_GetSaveFileNameW]
test eax, eax
jne 0x482a6c
jmp 0x482ab5
push ebx
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.004b4900
add esp, 0xc
push 0x4de130
lea eax, [ebp - 0x218]
push 0x104
push eax
call fcn.00463e70
add esp, 0xc
lea eax, [ebp - 0x218]
mov ecx, 0x5181b8
push 0x518cd0
push 0x518ac8
push 0
push eax
call fcn.0042ab00
test al, al
jne 0x482b23
push 0x10
push 0x4de0b8
push 0x4ef760
push esi
call edi
xor bl, bl
mov esi, dword [ebp - 0x240]
test esi, esi
je 0x482b05
or eax, 0xffffffff
lock xadd dword [esi + 8], eax
dec eax
jne 0x482b05
test esi, esi
je 0x482b05
mov eax, dword [esi]
test eax, eax
je 0x482ae3
push eax
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
mov dword [esi], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x482afa
push eax
call fcn.004a0e5f
add esp, 4
mov dword [esi + 4], 0
push 0xc
push esi
call fcn.004a0e51
add esp, 8
mov al, bl
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004a0e13
mov esp, ebp
pop ebp
ret
mov eax, dword [ebp - 0x240]
test eax, eax
je 0x482b31
mov eax, dword [eax]
jmp 0x482b33
xor eax, eax
push eax
push esi
call fcn.00469be0
mov ecx, dword [ebp - 0x240]
add esp, 8
mov bl, al
test ecx, ecx
je 0x482b4d
mov ecx, dword [ecx]
jmp 0x482b4f
xor ecx, ecx
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test bl, bl
jne 0x482b6b
push 0x10
push 0x4de0b8
push 0x4ef7b0
jmp 0x482ab2
mov bl, 1
jmp 0x482ab7
Function at 0x4882a0
Capabilities:
Get memory capacity
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24c
mov eax, dword [0x513b94]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, 0x518f40
call fcn.0048a770
push dword [0x5186f0]
call dword [sym.imp.KERNEL32.dll_SetEvent]
push 0
push 0
call fcn.00469b50
add esp, 8
cmp byte [0x518ed8], 0
jne 0x488335
push 0x3c
lea eax, [ebp - 0x248]
mov dword [ebp - 0x24c], 0x40
push 0
push eax
call fcn.004a3e00
add esp, 0xc
lea eax, [ebp - 0x24c]
push eax
call dword [sym.imp.KERNEL32.dll_GlobalMemoryStatusEx]
push dword [ebp + 8]
lea eax, [ebp - 0x20c]
push 0x4ef8d8
push eax
call fcn.00402420
add esp, 0xc
lea eax, [ebp - 0x20c]
push 0x10
push 0x4de0b8
push eax
push 0
call dword [sym.imp.USER32.dll_MessageBoxW]
push 1
call dword [sym.imp.KERNEL32.dll_ExitProcess]