joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1201f90
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x208
lea eax, [esp]
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
push ebp
push esi
push edi
xor edi, edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
mov esi, dword [esp + 0x21c]
mov ebp, dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
jne 0x1201ffb
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x1202035
lea edx, [esp + 0x10]
push esi
push edx
push SysStringLen
call fcn.01201e00
add esp, 0xc
lea eax, [esp + 0x10]
inc edi
push 0x104
push eax
push edi
push SysStringLen
call ebx
test eax, eax
je 0x1201fc5
mov edi, 0x121c8b0
mov ecx, dword [esi + 8]
push 0
push ecx
call ebp
test eax, eax
je 0x1202035
mov edx, dword [edi]
push esi
push edx
push reloc.OLEAUT32.dll_SysReAllocString
call fcn.01201e00
add edi, 4
add esp, 0xc
cmp edi, 0x121c8c0
jb 0x1202000
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
add esp, 0x208
ret
pop edi
pop esi
pop ebp
xor al, al
pop ebx
add esp, 0x208
ret

Function at 0x1202070
Capabilities:
Enumerate files on windows

Disassembly:
sub esp, 0x250
push esi
push edi
mov edi, dword [esp + 0x25c]
push 0x5c
push edi
call fcn.01208082
mov esi, eax
add esp, 8
test esi, esi
je 0x1202107
lea eax, [esp + 8]
mov word [esi], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x1202102
push ebx
lea ebx, [esi + 2]
push ebp
lea ecx, [esp + 0x3c]
push ebx
push ecx
call fcn.01207946
add esp, 8
test eax, eax
je 0x12020e3
mov ebp, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea edx, [esp + 0x10]
push edx
push edi
call ebp
test eax, eax
je 0x12020e8
lea eax, [esp + 0x3c]
push ebx
push eax
call fcn.01207946
add esp, 8
test eax, eax
jne 0x12020c5
mov word [esi], 0x5c
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
cmp word [esi], 0
pop ebp
pop ebx
je 0x1202102
pop edi
mov al, 1
pop esi
add esp, 0x250
ret
mov word [esi], 0x5c
pop edi
xor al, al
pop esi
add esp, 0x250
ret
Function at 0x1202f10
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x12179fb
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 0x1203002
lea edx, [ebx + 0x41]
lea eax, [esp + 0x14]
push edx
push str._c:_
push eax
call fcn.01206dff
add esp, 0xc
lea ecx, [esp + 0x14]
push ecx
call dword [sym.imp.KERNEL32.dll_GetDriveTypeW]
cmp eax, 3
jne 0x1203002
lea edx, [esp + 0x14]
push edx
push str.Mounting__s_n
call fcn.011fe6e0
lea eax, [esp + 0x1c]
lea edi, [esi + 0x1048]
push eax
push edi
mov word [esp + 0x28], bp
call fcn.0120720b
push 0x10
call fcn.012071d3
add esp, 0x14
mov dword [esp + 0x2c], eax
cmp eax, ebp
mov dword [esp + 0x24], ebp
je 0x1202fc5
mov cx, word [edi]
push ecx
mov ecx, eax
call fcn.011f31c0
jmp 0x1202fc7
xor eax, eax
push esi
mov dword [esp + 0x28], 0xffffffff
mov dword [esi], eax
call fcn.01202b80
mov edi, dword [esi]
add esp, 4
cmp edi, ebp
je 0x1202ff0
mov ecx, edi
call fcn.011f32c0
push edi
call fcn.012071c8
add esp, 4
mov edx, dword [esi + 0x1024]
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
test eax, eax
je 0x1203021
inc ebx
cmp ebx, 0x20
jb 0x1202f3e
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 0x1204250
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x1218808
push 0x1208288
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 0x1204329
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 0x1204329
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.012071d3
add esp, 4
mov esi, eax
mov dword [ebp - 0x38], esi
mov dword [ebp - 0x20], esi
cmp esi, ebx
je 0x1204329
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 0x1204329
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 0x120432c
mov al, byte [ebp - 0x24]
mov dword [ebp - 4], 0xffffffff
call fcn.01204351
mov ecx, dword [ebp - 0x10]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x1204d20
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 0x1204d58
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 0x1204d60
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 0x1204d94
mov eax, dword [esp + 0x14]
test eax, eax
je 0x1204d94
push eax
push esi
call fcn.0120720b
add esp, 8
pop esi
ret 0x10

Function at 0x1204da0
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 0x1204e22
push ebx
mov ebx, dword [esp + 0x30]
push esi
xor esi, esi
test ebx, ebx
jbe 0x1204e15
push ebp
mov ebp, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
mov edi, dword [esp + 0x40]
push esi
lea ecx, [esp + 0x18]
push 0x121d320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01206dff
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 0x1204dda
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 0x1204e30
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 0x1204ec2
push ebp
mov ebp, dword [esp + 0x34]
push esi
xor esi, esi
test ebp, ebp
jbe 0x1204eb5
push ebx
mov ebx, dword [esp + 0x40]
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push esi
lea ecx, [esp + 0x1c]
push 0x121d320
push ecx
mov dword [esp + 0x1c], 4
call fcn.01206dff
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 0x1204eab
mov ax, word [esp + 0x14]
mov word [ebx], ax
inc esi
add ebx, 2
cmp esi, ebp
jb 0x1204e6a
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 0x1205000
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 0x1205131
push esi
call fcn.01208145
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.011f7080
mov ebp, eax
add esp, 0x1c
cmp ebp, 0xffffffff
je 0x1205131
push 0
push ebp
call fcn.011f73a0
push 0
push 0
push 0
push 4
push 0
push ebp
mov ebx, eax
call fcn.011f7260
add esp, 0x20
mov dword [esp + 0x18], eax
test eax, eax
jne 0x120508b
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.011f72f0
mov esi, eax
add esp, 0x14
test esi, esi
je 0x1205121
push 0x121d918
push edi
call fcn.012063f0
push eax
push ebx
push esi
call fcn.01204f60
push 0x121d8f8
push edi
call fcn.012063f0
push eax
push ebx
push esi
call fcn.01204f60
push 0x121d8d8
push edi
call fcn.012063f0
push eax
push ebx
push esi
call fcn.01204f60
push 0x121d8c0
push edi
call fcn.012063f0
add esp, 0x44
push eax
push ebx
push esi
call fcn.01204f60
push 0x121d8a0
push edi
call fcn.012063f0
push eax
push ebx
push esi
call fcn.01204f60
push 0x121d888
push edi
call fcn.012063f0
push eax
push ebx
push esi
call fcn.01204f60
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 0x12061b0
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.01206140
mov edx, dword [esp + 0xc]
push 1
push str.SeDebugPrivilege
push edx
call fcn.01206140
mov eax, dword [esp + 0x18]
push 1
push str.SeRestorePrivilege
push eax
call fcn.01206140
mov ecx, dword [esp + 0x24]
push 1
push str.SeSecurityPrivilege
push ecx
call fcn.01206140
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 0x1206bfa
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 0x1206c50
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
mov dword [ebp - 8], 0x104
push esi
push esi
push 0x121887c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x1206c43
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
jmp 0x1206c52
xor eax, eax
pop esi
leave
ret 4
Function at 0x7d4b8e
Capabilities:
Encode data using xor

Disassembly:
jmp 0x7d7a06
mov byte [esp + 4], 0xcf
cmp al, byte [edi]
bswap ax
pushfd
pushfd
movzx eax, dl
lea edi, [edi + 1]
bswap ax
mov byte [esp], al
mov eax, dword [esp + 0x48]
mov word [esp], 0xae20
push edi
mov word [esp], di
lea esp, [esp + 0x50]

Function at 0x7d7015
Capabilities:
Check for software breakpoints

Disassembly:
jmp 0x7dbdae
pushal
jmp 0x7df9f0
pushal
test edi, edi
pushal
lea esp, [esp + 0x40]
je 0xafc6fe
pushal
add eax, edi
bt eax, 3
mov word [esp], 0x77b7
mov byte [esp + 8], 0x29
jmp 0x7ece02
mov esp, ebp
movsx ebp, bl
lea ebp, [edx*2 + 0x7925e311]
pop ebp
pushfd
pushal
pushal
push dword [esp + 0x44]
ret 0x58
pushal
pushfd
lea esp, [esp + 0x24]
ja 0x7dfbdc
movzx si, cl
pop esi
bswap cx
bswap cx
setb bh
pop edi
bswap ebx
pushal
movzx ebx, cl
mov ebx, dword [esp + 0x20]
jmp 0xaff91d
push esp
mov dword [esp + 0x24], eax
lea esp, [esp + 0x24]
jp 0xafe41b
not al
lahf
push 0
call fcn.007df275
push eax
invalid
cmp eax, edx
pushal
pushfd
lea esp, [esp + 0x44]
jb 0x7d7c3c
cmc
bt esi, 8
stc
cmp eax, dword [ebp - 0x10]
call fcn.007d9793
push 0x843e9e81
lea esp, [esp + 0x30]
jne 0xaff17f
shr ch, 6
shld cx, sp, cl
shrd cx, bp, 8
inc cl
mov ecx, dword [ebp - 4]
stc
pushal
pushfd
cmp dword [ebp + 0x14], ecx
pushfd
lea esp, [esp + 0x28]
jae 0x7d67de
pushal
pushal
lea esp, [esp + 0x40]
ja 0x7dfbdc
inc di
clc
movsx di, dl
mov edi, dword [edx + 0x1c]
cmp ah, ch
add edi, eax
cmp ebx, 0x2d935b13
mov edi, dword [edi + ecx*4]
jbe 0x7d789f
clc
test edi, edi
call fcn.00affa2a
jmp 0x7da930
lahf
setns al
push 0
cwde
mov eax, ebp
setns al
lahf
lea eax, sym.imp.KERNEL32.dll_LocalAlloc
call fcn.00afa00d
lea esp, [esp + 8]
jae 0xafc6fe
push 0x24a95ac1
mov dword [esp], 0xcd194f6f
push dword [esp]
lea esp, [esp + 8]
jmp 0x7ef23d
bswap cx
movzx cx, al
bswap cx
mov ecx, dword [esp + 0x24]
jmp 0xafb45d

Function at 0x7ec63c
Capabilities:
Check for software breakpoints

Disassembly:
clc
push 0x269bdba9
sub ecx, dword [edx + 0x10]
cmp bh, 0x5d
test dl, 0x51
cmp ecx, dword [edx + 0x14]
pushfd
jmp 0xafe436
clc
stc
sub esp, 0xfffffffc
jp 0xb00015
add ecx, edx
cmc
cmp dl, 0xcb
mov dword [ebp - 0x10], ecx
ror cx, 9
mov ecx, dword [ebp + 0xc]
cmc
jmp 0xafcde8
cmp cx, ax
test dh, 0xff
cmp ecx, 0xffff
pushfd
lea esp, [esp + 4]
jbe 0x7d5c86
call fcn.00aff138
cmp al, ah
add ecx, edx
cmc
pushfd
mov dword [ebp - 0x10], ecx
shld cx, bp, cl
mov ecx, dword [ebp + 0xc]
stc
pushal
mov byte [esp + 4], dl
stc
cmp ecx, 0xffff
mov word [esp], di
call int.00afb8c9
push 0x4bae1c03
mov dword [esp + 0x28], 0x7d876d
push dword [esp]
pushfd
mov dword [esp + 0x2c], eax
mov byte [esp + 4], ch
mov dword [esp + 4], 0x819ed5e3
mov dword [esp], 0xa2b0e781
push dword [esp + 0x2c]
ret 0x30
Function at 0x7ef1eb
Capabilities:
Check for software breakpoints

Disassembly:
lea esp, [esp + 0x54]
ja 0x7d9e87
pushfd
lea esp, [esp + 4]
jb 0x7d541e
pushal
cmc
cmp byte [edi - 1], 0
mov byte [esp + 4], dh
mov byte [esp + 8], 0x9b
lea esp, [esp + 0x20]
jne 0x7d62e2
pushfd
shld di, cx, cl
dec di
mov edi, dword [edx + 0x24]
mov byte [esp], dl
cmp bl, 0xcf
clc
test bh, 0xa
add edi, eax
mov byte [esp], cl
stc
clc
movzx ecx, word [edi + ecx*2]
lea esp, [esp + 4]

Function at 0xafb8c9
Capabilities:
Check for software breakpoints

Disassembly:
lea esp, [esp + 0x28]
jbe 0x7d5c86
bt ax, 6
mov edi, dword [edx + 0x24]
dec ch
dec bl
add edi, eax
add bh, dh
rcr cl, 7
bt dx, si
rcl bl, 2
mov ebx, dword [edx + 0x20]
add cl, 0xba
rcl ch, 6
add ebx, eax
mov cx, 0x8d97
add cl, al
shl cl, 2
rcl ch, cl
mov dword [ebp - 8], 0
call fcn.007ec58e
iretd

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

Disassembly:
pushal
nop
nop
mov eax, section..text
mov ebx, 0x40c7d0
nop
nop
mov ecx, 0x4a79790d
test eax, eax
nop
nop
nop
nop
nop
nop
nop
nop
je 0x43204e
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x432024
nop
nop
nop
nop
mov eax, section..text_1
mov ebx, 0x42f314
nop
mov ecx, 0x43724069
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x432084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
add eax, 4
nop
cmp eax, ebx
nop
nop
nop
nop
nop
nop
nop
nop
jne 0x43206c
nop
nop
nop
nop
popal
nop
jmp 0x431219
Function at 0x403567
Capabilities:
Set socket configuration

Disassembly:
push 4
push dword [esp + 0xc]
push dword [esp + 0xc]
push 0xffff
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_setsockopt]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret 8

Function at 0x404371
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0
lea eax, [ebp + 8]
push eax
push edi
push dword [ebp + 8]
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
jne 0x40439a
push dword [esi + 0xc]
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00471386
cmp dword [ebp + 8], edi
je 0x4043ab
push dword [esi + 0xc]
push 0xffffffffffffffff
push 0xd
call fcn.00471340
pop ebp
ret 4
Function at 0x40740a
Capabilities:
Create process on windows

Disassembly:
push 0x18
mov eax, 0x4a10a0
call fcn.0048e1d2
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x10]
call fcn.00401764
xor edi, edi
mov dword [ebp - 4], edi
call fcn.0046e7df
push eax
lea ecx, [ebp - 0x14]
call fcn.00401764
push edi
push str..htm
mov esi, accept
lea eax, [ebp - 0x18]
push esi
push eax
mov byte [ebp - 4], 1
call fcn.0045daa0
add esp, 0x10
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 2
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
push str._shellopencommand
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x18]
push eax
call fcn.0040145d
add esp, 0xc
push eax
lea ecx, [ebp - 0x14]
mov byte [ebp - 4], 3
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov ebx, dword [ebp - 0x14]
push edi
push ebx
lea eax, [ebp - 0x18]
push esi
push eax
call fcn.0045daa0
add esp, 0x10
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 4
call fcn.004018c1
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
lea ecx, [ebp - 0x10]
call fcn.00461052
test eax, eax
je 0x4074ed
lea ecx, [ebx - 0x10]
call fcn.0040174a
mov ecx, dword [ebp - 0x10]
add ecx, 0xfffffff0
jmp 0x4075da
push 0x4b6068
lea esi, [ebp - 0x10]
call fcn.0040326a
mov esi, eax
cmp esi, 0xffffffff
je 0x40757a
lea eax, [esi + 2]
push eax
lea eax, [ebp - 0x24]
push eax
lea ecx, [ebp - 0x10]
call fcn.004013ad
mov edi, eax
push esi
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 5
call fcn.004013d0
push dword [ebp + 8]
mov byte [ebp - 4], 6
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.004032e0
push edi
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 7
call fcn.004032e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 8
call fcn.004018c1
mov ecx, dword [ebp - 0x18]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x1c]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x24]
jmp 0x4075bb
push 0x4b606c
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x20]
push eax
call fcn.0040145d
push dword [ebp + 8]
mov byte [ebp - 4], 9
push eax
lea eax, [ebp - 0x24]
push eax
call fcn.004032e0
add esp, 0x18
push eax
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], 0xa
call fcn.004018c1
mov ecx, dword [ebp - 0x24]
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, dword [ebp - 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
mov esi, dword [ebp - 0x10]
push 1
push esi
call dword [sym.imp.KERNEL32.dll_WinExec]
lea ecx, [ebx - 0x10]
call fcn.0040174a
lea ecx, [esi - 0x10]
call fcn.0040174a
call fcn.0048e2aa
ret
Function at 0x40a2c9
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a34c4
mov eax, dword fs:[0]
push eax
push ecx
push ecx
push ebx
push esi
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov ebx, ecx
lea edi, [ebx + 0x18]
mov ecx, edi
call fcn.00461052
test eax, eax
jne 0x40a310
push edi
mov eax, 0x4db4c4
call fcn.004584a6
pop ecx
lea esi, [ebx + 0x20]
mov ecx, esi
call fcn.00461052
test eax, eax
jne 0x40a32a
push esi
mov eax, 0x4db4d8
call fcn.004584a6
pop ecx
lea esi, [ebx + 0x50]
mov ecx, esi
call fcn.00461052
test eax, eax
jne 0x40a367
lea eax, [esp + 0x10]
push esi
push eax
call fcn.00463ebf
and dword [esp + 0x28], 0
push eax
mov eax, 0x4db4ec
call fcn.004584a6
or dword [esp + 0x2c], 0xffffffff
mov ecx, dword [esp + 0x1c]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.0040174a
mov ecx, edi
call fcn.00401979
lea ecx, [ebx + 0x1c]
call fcn.00401979
lea esi, [ebx + 0x30]
mov ecx, esi
call fcn.0045c765
test eax, eax
mov edi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
je 0x40a38e
push dword [esi]
call edi
lea esi, [ebx + 0x38]
mov ecx, esi
call fcn.0045c765
test eax, eax
je 0x40a3a0
push dword [esi]
call edi
call fcn.00407d90
xor eax, eax
inc eax
and dword [ebx + 0x14], 0
mov dword [ebx + 0xc], eax
mov dword [ebx + 0x10], eax
mov dword [0x4db168], eax
mov dword [0x4db16c], eax
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x40af4a
Capabilities:
Get disk size

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4a341d
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push ebx
push esi
push edi
mov eax, dword [0x4d6674]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov esi, ecx
call fcn.0046e7df
push eax
lea ecx, [esp + 0x18]
call fcn.00401764
and dword [esp + 0x38], 0
push 3
lea eax, [esp + 0x24]
lea edi, [esi + 0x50]
push eax
mov ecx, edi
call fcn.004013d0
push eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 1
call fcn.004018c1
mov byte [esp + 0x38], 0
mov ecx, dword [esp + 0x20]
add ecx, 0xfffffff0
call fcn.0040174a
cmp dword [esi + 0x378], 0
je 0x40aff1
mov eax, dword [esi + 0x60]
mov ecx, dword [esp + 0x14]
mov esi, dword [esi + 0x64]
add ecx, 0xfffffff0
mov edi, eax
call fcn.0040174a
mov eax, edi
mov edx, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
mov ecx, edi
call fcn.0045c5b9
mov edi, edx
cmp edi, dword [esi + 0x64]
mov ebx, eax
jg 0x40b0cf
jl 0x40b010
cmp ebx, dword [esi + 0x60]
jae 0x40b0cf
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x28]
push eax
push dword [esp + 0x24]
call dword [sym.imp.KERNEL32.dll_GetDiskFreeSpaceA]
test eax, eax
jne 0x40b043
push 0x40
pop eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], 0x200
jmp 0x40b047
mov eax, dword [esp + 0x1c]
imul eax, dword [esp + 0x20]
mov ecx, dword [esi + 0x60]
mov dword [esp + 0x18], eax
mov eax, dword [esi + 0x64]
xor edx, edx
sub ecx, ebx
sbb eax, edi
cmp eax, edx
jl 0x40b076
jg 0x40b068
cmp ecx, dword [esp + 0x18]
jbe 0x40b076
mov eax, dword [esp + 0x18]
add eax, eax
xor ecx, ecx
sub ebx, eax
sbb edi, ecx
jmp 0x40b07c
sub ebx, dword [esp + 0x18]
sbb edi, edx
mov dword [esi + 0x64], edi
mov dword [esi + 0x60], ebx
mov edi, dword [0x4db468]
call fcn.0047261a
mov eax, dword [eax + 4]
push 4
push str.Rollback
push edi
mov ecx, eax
call fcn.00471a63
mov edx, dword [esi + 0x60]
shl eax, 0xa
xor ecx, ecx
xor ebx, ebx
sub edx, eax
mov eax, dword [esi + 0x64]
push ebx
mov edi, 0x400
push edi
sbb eax, ecx
push eax
push edx
call fcn.0048f110
push ebx
push edi
push edx
push eax
call fcn.0048f0d0
mov dword [esi + 0x60], eax
mov dword [esi + 0x64], edx
jmp 0x40b0d1
xor ebx, ebx
cmp dword [esi + 0x64], ebx
jg 0x40afc6
jl 0x40b0e5
cmp dword [esi + 0x60], ebx
jae 0x40afc6
mov dword [esi + 0x60], ebx
mov dword [esi + 0x64], ebx
jmp 0x40afc6