joyce8/EMBER2024-capa huggingface dataset:
Function at 0xed2f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0xee79fb
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetLogicalDrives]
mov esi, dword [esp + 0x2c]
xor ebp, ebp
mov dword [esp + 0x10], eax
xor ebx, ebx
mov eax, 1
mov ecx, ebx
shl eax, cl
mov ecx, dword [esp + 0x10]
test ecx, eax
je 0xed3002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.00ed6dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0xed3002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.00ece6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.00ed720b
push 0x10
call fcn.00ed71d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0xed2fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.00ec31c0
jmp 0xed2fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.00ed2b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0xed2ff0
mov ecx, edi
call fcn.00ec32c0
push edi
call fcn.00ed71c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0xed3021
inc ebx
cmp ebx, 0x20
jb 0xed2f3e
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor al, al
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0xed4250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0xee8808
push 0xed8288
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x2c
push ebx
push esi
push edi
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x28], ebx
xor esi, esi
mov dword [ebp - 0x20], esi
mov byte [ebp - 0x24], bl
mov dword [ebp - 4], ebx
mov byte [ebp - 0x34], bl
mov byte [ebp - 0x33], bl
mov byte [ebp - 0x32], bl
mov byte [ebp - 0x31], bl
mov byte [ebp - 0x30], bl
mov byte [ebp - 0x2f], 5
lea eax, [ebp - 0x1c]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x12
push 1
lea ecx, [ebp - 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0xed4329
lea edx, [ebp - 0x28]
push edx
push 8
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0xed4329
mov dword [ebp - 0x2c], ebx
lea eax, [ebp - 0x2c]
push eax
push ebx
push ebx
push 1
mov ecx, dword [ebp - 0x28]
push ecx
mov edi, dword [sym.imp.ADVAPI32.dll_GetTokenInformation]
call edi
mov edx, dword [ebp - 0x2c]
push edx
call fcn.00ed71d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0xed4329
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp - 0x2c]
push ecx
push esi
push 1
mov edx, dword [ebp - 0x28]
push edx
call edi
test eax, eax
je 0xed4329
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [esi]
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
neg eax
sbb eax, eax
neg eax
mov byte [ebp - 0x24], al
jmp 0xed432c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.00ed4351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0xed4d20
Capabilities:
Query or enumerate registry value

Disassembly:
push ecx
mov edx, dword [esp + 8]
push esi
mov esi, dword [esp + 0x10]
lea eax, [esp + 4]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
mov dword [esp + 0x1c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xed4d58
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esi], ecx
mov dword [esi + 4], edx
pop esi
pop ecx
ret 0x10

Function at 0xed4d60
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
lea eax, [esp + 0x10]
push eax
mov eax, dword [ecx + 4]
push esi
push 0
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0xed4d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0xed4d94
push eax
push esi
call fcn.00ed720b
add esp, 8
pop esi
ret 0x10

Function at 0xed4da0
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x24
lea eax, [esp + 0x28]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xed4e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0xed4e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0xeed320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00ed6dff
mov ecx, dword [esp + 0x44]
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
push edx
push edi
push 0
push 0
push eax
push ecx
call ebp
inc esi
add edi, 4
cmp esi, ebx
jb 0xed4dda
pop edi
pop ebp
mov edx, dword [esp + 0x30]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebx
add esp, 0x24
ret 0xc

Function at 0xed4e30
Capabilities:
Query or enumerate registry value

Disassembly:
mov edx, dword [esp + 4]
sub esp, 0x28
lea eax, [esp + 0x2c]
push eax
mov eax, dword [ecx + 4]
push 0x20019
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0xed4ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0xed4eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0xeed320
push ecx
mov dword [esp + 0x1c], 4
call fcn.00ed6dff
add esp, 0xc
lea edx, [esp + 0x10]
lea eax, [esp + 0x14]
lea ecx, [esp + 0x18]
push edx
mov edx, dword [esp + 0x40]
push eax
push 0
push 0
push ecx
push edx
call edi
test eax, eax
jne 0xed4eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0xed4e6a
pop edi
pop ebx
mov ecx, dword [esp + 0x34]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop ebp
add esp, 0x28
ret 0xc
Function at 0xed5000
Capabilities:
Get file version info

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push ebp
push esi
lea eax, [esp + 0xc]
push edi
push eax
push ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
test esi, esi
je 0xed5131
push esi
call fcn.00ed8145
add esp, 4
mov edi, eax
push edi
push esi
push 0
push ebx
call sub.VERSION.dll_GetFileVersionInfoW
push 0
push 0x80
push 3
push 0
push 0
push 0xc0000000
push ebx
call fcn.00ec7080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0xed5131
push 0
push ebp
call fcn.00ec73a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.00ec7260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0xed508b
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
push 0
push 0
push 0
push 6
push eax
call fcn.00ec72f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0xed5121
push 0xeed918
push edi
call fcn.00ed63f0
push eax
push ebx
push esi
call fcn.00ed4f60
push 0xeed8f8
push edi
call fcn.00ed63f0
push eax
push ebx
push esi
call fcn.00ed4f60
push 0xeed8d8
push edi
call fcn.00ed63f0
push eax
push ebx
push esi
call fcn.00ed4f60
push 0xeed8c0
push edi
call fcn.00ed63f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.00ed4f60
push 0xeed8a0
push edi
call fcn.00ed63f0
push eax
push ebx
push esi
call fcn.00ed4f60
push 0xeed888
push edi
call fcn.00ed63f0
push eax
push ebx
push esi
call fcn.00ed4f60
add esp, 0x34
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov ecx, dword [esp + 0x18]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
push ecx
call esi
push ebp
call esi
pop edi
pop esi
pop ebp
pop ebx
pop ecx
ret
Function at 0xed61b0
Capabilities:
Acquire debug privileges

Disassembly:
push ecx
lea eax, [esp]
mov dword [esp], 0
push eax
push 0x20
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, dword [esp]
push 1
push str.SeBackupPrivilege
push ecx
call fcn.00ed6140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.00ed6140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.00ed6140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.00ed6140
mov edx, dword [esp + 0x30]
add esp, 0x30
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, 1
pop ecx
ret

Function at 0xed6bfa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push str.CLSIDADB880A6_D8FF_11CF_9377_00AA003B7A11InprocServer32
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0xed6c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0xee887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0xed6c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0xed6c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x40169a
Capabilities:
Check if file exists
Get file attributes
Terminate process

Disassembly:
mov eax, ecx
push esi
push edi
xor ecx, ecx
mov dx, word [eax]
xor edi, edi
test dx, dx
je 0x4016e2
mov esi, 0x404020
cmp dx, 0x20
jne 0x4016b9
test edi, edi
je 0x4016e2
cmp dx, 0x22
jne 0x4016ca
xor edx, edx
test edi, edi
sete dl
mov edi, edx
jmp 0x4016d8
cmp esi, 0x40422e
jae 0x4016ee
mov word [esi], dx
inc ecx
inc esi
inc esi
inc eax
inc eax
mov dx, word [eax]
test dx, dx
jne 0x4016af
and word [ecx*2 + 0x404020], 0
pop edi
pop esi
ret
push 1
call dword [sym.imp.MSVCRT.dll_exit]

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

Disassembly:
push 0x404f28
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x40170c
Capabilities:
Delete file
Move file

Disassembly:
push 4
push 0
push ecx
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
ret

Function at 0x401aa7
Capabilities:
Delete directory
Delete file
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4bc
push ebx
push esi
push edi
mov dword [ebp - 0xc], ecx
mov dword [ebp - 4], 1
xor ebx, ebx
lea eax, [ebp - 0x264]
mov word [ebp - 0x264], bx
push eax
mov eax, dword [ebp - 4]
dec eax
push ebx
neg eax
sbb eax, eax
push ebx
and al, 0xeb
add eax, 0x17
push eax
push dword [ebp - 0xc]
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jne 0x401ba6
lea ecx, [ebp - 0x264]
call fcn.00401676
mov edx, str.7_Zip_
lea ecx, [ebp - 0x264]
call fcn.0040152d
lea eax, [ebp - 0x264]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov dword [ebp - 8], ebx
xor edi, edi
lea esi, [ebp + eax*2 - 0x264]
cmp edi, ebx
mov edx, str.7_Zip_File_Manager.lnk
je 0x401b30
mov edx, str.7_Zip_Help.lnk
mov ecx, esi
call fcn.0040151a
lea eax, [ebp - 0x4bc]
push 0x404f28
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
cmp edi, ebx
mov edx, 0x4037a8
je 0x401b57
mov edx, str.7_zip.chm
lea ecx, [ebp - 0x4bc]
call fcn.0040152d
lea edx, [ebp - 0x4bc]
lea ecx, [ebp - 0x264]
call fcn.00401bb8
test eax, eax
jne 0x401b8b
lea eax, [ebp - 0x264]
mov dword [ebp - 8], 1
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
inc edi
cmp edi, 2
jb 0x401b22
cmp dword [ebp - 8], ebx
je 0x401ba6
lea eax, [ebp - 0x264]
mov word [esi], bx
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
inc dword [ebp - 4]
cmp dword [ebp - 4], 3
jb 0x401abf
pop edi
pop esi
pop ebx
leave
ret

Function at 0x401fb2
Capabilities:
Delete file
Move file

Disassembly:
mov ecx, 0x404f28
jmp fcn.0040170c

Function at 0x401ff6
Capabilities:
Check if file exists
Delete directory
Get file attributes

Disassembly:
push esi
mov esi, 0x404f28
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x402013
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
test eax, eax
je 0x402018
push 1
pop eax
pop esi
ret
call fcn.00401fb2
pop esi
ret
Function at 0x405a71
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x238
mov eax, 0x40d9fb
call fcn.0040c9ff
mov dword [ebp - 0x21c], ecx
movzx eax, word [ebp + 8]
xor edi, edi
mov esi, dword [0x415350]
inc edi
push 0xf0
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x405be2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x405be2
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x405be2
movzx eax, word [esi]
xor ecx, ecx
cmp cx, ax
je 0x405be2
mov ecx, dword [esi + 4]
mov ebx, eax
movzx eax, word [esi + 2]
add esi, 8
mov dword [ebp - 0x220], ecx
mov ecx, 0x403
cmp cx, ax
jne 0x405b5b
push 3
lea eax, [ebp - 0x110]
push esi
lea ecx, [ebp - 0x114]
mov dword [ebp - 0x114], eax
call fcn.00406cc9
push dword [ebp - 0x114]
mov eax, dword [ebp - 0x21c]
and dword [ebp - 4], 0
push 0
push 0x143
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
lea eax, [ebp - 0x110]
cmove edi, ecx
or dword [ebp - 4], 0xffffffff
cmp dword [ebp - 0x114], eax
je 0x405bd4
push dword [ebp - 0x114]
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
jmp 0x405bd4
mov ecx, 0x1234
cmp cx, ax
jne 0x405bd4
or dword [ebp - 0x240], 0xffffffff
lea eax, [ebp - 0x214]
push 3
push esi
lea ecx, [ebp - 0x218]
mov dword [ebp - 0x244], 1
mov dword [ebp - 0x218], eax
call fcn.00406cc9
mov eax, dword [ebp - 0x218]
lea ecx, [ebp - 0x214]
mov dword [ebp - 0x23c], eax
cmp eax, ecx
je 0x405bae
push eax
call dword [sym.imp.api_ms_win_crt_heap_l1_1_0.dll_free]
pop ecx
lea eax, [ebp - 0x244]
push eax
mov eax, dword [ebp - 0x21c]
push 0
push 0x40b
push ebx
push dword [eax + 4]
call dword [sym.imp.USER32.dll_SendDlgItemMessageW]
xor ecx, ecx
cmp eax, 0xffffffff
cmove edi, ecx
add esi, dword [ebp - 0x220]
test edi, edi
jne 0x405ac9
mov eax, edi
call fcn.0040c9ba
ret 4

Function at 0x406474
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov eax, esi
mov dword [ebp - 4], ecx
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.0040c69d
add esi, esi
mov ebx, eax
push esi
push 0
push ebx
call sub.VCRUNTIME140.dll_memset
add esp, 0x10
push dword [ebp + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push esi
push 0
push dword [ebp + 0xc]
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebp - 4]
add esp, 0xc
add eax, 0x25c
push eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push ebx
push dword [ebp + 8]
push str.labels
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push ebx
call fcn.0040c6a6
mov eax, dword [ebp + 0xc]
pop ecx
pop esi
pop ebx
leave
ret 0xc
Function at 0x4077ff
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4d0
mov eax, dword [0x414190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x18
mov ebx, ecx
lea edi, [ebp - 0x68]
pop ecx
mov esi, str.HTML_Files__.HTML_
lea eax, [ebp - 0x270]
rep movsd dword es:[edi], dword [esi]
movsw word es:[edi], word [esi]
mov edi, 0x208
push edi
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x270]
mov esi, str.License.html
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push edi
xor edi, edi
lea eax, [ebp - 0x478]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x478]
push esi
push eax
call dword [sym.imp.KERNEL32.dll_lstrcpyW]
push 0x58
pop esi
push esi
lea eax, [ebp - 0x4d0]
push edi
push eax
call sub.VCRUNTIME140.dll_memset
mov eax, dword [ebx + 4]
add esp, 0xc
mov dword [ebp - 0x4cc], eax
lea eax, [ebp - 0x68]
mov dword [ebp - 0x4c4], eax
mov eax, 0x104
mov dword [ebp - 0x4b0], eax
mov dword [ebp - 0x4a8], eax
lea eax, [ebp - 0x270]
mov dword [ebp - 0x4b4], eax
lea eax, [ebp - 0x478]
mov dword [ebp - 0x4ac], eax
lea eax, [ebp - 0x4d0]
push eax
mov dword [ebp - 0x4d0], esi
mov dword [ebp - 0x494], str.html
mov dword [ebp - 0x49c], 0x802
call fcn.0040b697
test eax, eax
je 0x4078ff
push edi
lea eax, [ebp - 0x270]
push eax
lea eax, [ebx + 0x464]
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0040c4d0
leave
ret 0x10
Function at 0x407d98
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x414190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
push edi
push 0xce
mov edi, ecx
call fcn.00405a71
push 0x410
lea eax, [ebp - 0x414]
mov dword [esi], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
mov ebx, 0x208
push ebx
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push str.DeclTitle
call fcn.00406474
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push ebx
lea eax, [ebp - 0x414]
mov esi, 0xcf
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push str.DeclText1
call fcn.00406474
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
inc esi
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push str.DeclText2
call fcn.00406474
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push 0x40f4c0
call fcn.00406474
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push ebx
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [edi + 0x28]
push 0x40f4cc
call fcn.00406474
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0040c4d0
leave
ret 0x10
Function at 0x407ef4
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x414190]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, dword [ebp + 0x14]
mov ebx, 0xcf
push edi
push ebx
mov edi, ecx
call fcn.00405a71
push 0x410
lea eax, [ebp - 0x414]
mov dword [esi], 1
push 0
push eax
call sub.VCRUNTIME140.dll_memset
add esp, 0xc
lea eax, [ebp - 0x414]
mov esi, 0x208
push esi
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push esi
push eax
push str.DeclTitle
call fcn.00406474
push eax
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetWindowTextW]
push esi
lea eax, [ebp - 0x414]
push eax
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push esi
push eax
push str.DeclText1
call fcn.00406474
push eax
push ebx
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push esi
lea eax, [ebp - 0x414]
push eax
lea esi, [ebx + 1]
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
mov ebx, 0x208
push ebx
push eax
push str.DeclText2
call fcn.00406474
push eax
push esi
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
mov ecx, dword [edi + 0x28]
lea eax, [ebp - 0x414]
push ebx
push eax
push 0x40f4c0
call fcn.00406474
push eax
push 1
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
push ebx
lea eax, [ebp - 0x414]
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_GetDlgItemTextW]
push ebx
lea ecx, [ebp - 0x414]
push ecx
mov ecx, dword [edi + 0x28]
push 0x40f4cc
call fcn.00406474
push eax
push 2
push dword [edi + 4]
call dword [sym.imp.USER32.dll_SetDlgItemTextW]
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
pop esi
xor ecx, ebp
inc eax
pop ebx
call fcn.0040c4d0
leave
ret 0x10
Function at 0x432004
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
mov eax, section..reloc
nop
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x3131448a
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f314
nop
mov ecx, 0x7af2235
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
nop
nop
nop
popal
jmp 0x431219

Function at 0x42e000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
call 0x42e00c
nop
pop eax
nop
nop
nop
nop
add eax, 0x403ac5
nop
nop
sub eax, 0x403a6b
nop
nop
nop
mov ebx, dword [eax]
nop
nop
mov ecx, dword [eax + 4]
nop
nop
nop
mov edx, dword [eax + 8]
nop
nop
xor dword [ebx], edx
nop
nop
nop
nop
nop
nop
nop
add ebx, 4
nop
nop
nop
cmp ebx, ecx
nop
jl 0x42e030
nop
nop
nop
nop
nop
add eax, 0xc
nop
nop
nop
nop
cmp dword [eax], 0
nop
nop
nop
nop
nop
jne 0x42e01e
nop
nop
nop
popal
nop
nop
jmp loc.00401219
Function at 0x538fc0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag
Get ntdll base address

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push 0x4033d6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x38
push ebx
push esi
push edi
mov dword [ebp - 8], esp
mov dword [ebp - 4], 0x4024d8
mov esi, dword [ebp + 8]
xor edi, edi
mov eax, 1
push edi
mov word [esi + 0xc], di
mov word [esi + 0x1e], di
mov word [esi + 0x28], di
mov word [esi + 0x2e], ax
mov word [esi + 0x30], ax
mov word [esi + 0x24], di
lea eax, [ebp - 0x24]
mov word [esi + 0x16], di
mov word [esi + 0x12], di
push eax
mov dword [ebp - 0x14], edi
mov dword [ebp - 0x24], edi
mov dword [ebp - 0x34], edi
mov word [esi + 0x14], di
mov word [esi + 0xa], di
mov word [esi + 8], di
mov word [esi + 6], di
mov word [esi + 0x1c], di
mov word [esi + 0x3c], di
mov word [esi + 0x3e], di
mov word [esi + 0x44], di
mov word [esi + 4], di
mov word [esi + 0x2a], di
mov word [esi + 0x26], di
mov word [esi + 0x34], di
mov word [esi + 2], di
mov word [esi + 0x46], di
mov dword [ebp - 0x3c], 0x4120bc
mov dword [ebp - 0x44], 8
call dword [sym.imp.MSVBVM60.DLL_rtcVarBstrFromAnsi]
lea ecx, [ebp - 0x44]
lea edx, [ebp - 0x24]
push ecx
lea eax, [ebp - 0x34]
push edx
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaVarAdd]
push eax
call dword [sym.imp.MSVBVM60.DLL___vbaStrVarMove]
mov edx, eax
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaStrMove]
lea ecx, [esi + 0x48]
push eax
push ecx
push 0xc
call dword [sym.imp.MSVBVM60.DLL___vbaLsetFixstr]
lea ecx, [ebp - 0x14]
call dword [sym.imp.MSVBVM60.DLL___vbaFreeStr]
lea edx, [ebp - 0x34]
lea eax, [ebp - 0x24]
push edx
push eax
push 2
call dword [sym.imp.MSVBVM60.DLL___vbaFreeVarList]
add esp, 0xc
mov word [esi + 0x1a], di
mov word [esi + 0x22], di
mov word [esi], di
mov word [esi + 0xe], 3
mov word [esi + 0x2c], di
mov word [esi + 0x32], di
mov word [esi + 0x38], di
mov word [esi + 0x36], di
mov word [esi + 0x3a], di
mov word [esi + 0x10], di
mov word [esi + 0x42], di
mov word [esi + 0x40], di
mov word [esi + 0x18], di
mov word [esi + 0x20], di
mov word [esi + 0x60], di
mov word [esi + 0x62], di
push 0x539120
jmp 0x53911f
ret