joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3e066
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x20]
call fcn.0001b010
bswap cx
mov ecx, dword [0x1e514]
push esp
push dword [esp]
pushal
cmp ecx, eax
call fcn.000296cb
jmp 0x24e3c

Function at 0x3e4f5
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x3d91a
lea esp, [esp + 0xc]
je 0x24a7f
clc
clc
pushfd
cmp eax, dword [ebp - 0x1c]
push 0x561055aa
pushal
push 0xb8c57e6b
lea esp, [esp + 0x2c]
je 0x24a7f
movzx dx, cl
push 0x100
pushal
jmp 0x235bc

Function at 0x3e84e
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 8]
call fcn.00014fd0
sar cx, 1
clc
bsr cx, ax
xor cx, si
mov ecx, dword [ebp - 4]
pushal
pushal
pushfd
test ecx, ecx
jmp 0x428f5
push 0xee7e1b2d
push dword [esp + 8]
pushfd
lea esp, [esp + 0x50]
je 0x2b756
clc
call fcn.00038bf0

Function at 0x3f4d9
Capabilities:
Check for software breakpoints

Disassembly:
bswap dx
not dl
lea edx, [ecx*8 - 0xc90cd64]
lea edx, [ebp - 0x150]
call fcn.000430c0

Function at 0x3f4f0
Capabilities:
Check for software breakpoints

Disassembly:
pushal
pushal
mov dword [esp + 0x40], eax
jmp 0x3e812

Function at 0x3f78a
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [0x1e2b8], esi
push dword [esp]
jmp 0x45419
mov edx, dword [edi]
pushfd
call fcn.0002705d

Function at 0x40215
Capabilities:
Execute anti-debugging instructions

Disassembly:
bt dx, sp
and edx, 0xff
clc
pushfd
pushal
test di, 0xe664
shl edx, 8
call fcn.00031c0c

Function at 0x402da
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp], 0x11
setns ah
movzx ax, dl
lea eax, [ebp - 0x150]
call fcn.0003c54f
lea esp, [esp + 0x24]
jnp 0x3a656
mov ecx, edi
jmp 0x3339b
call fcn.0002817b
cmc
pushal
push 0x6fb8e5dd
cmp eax, dword [ebp - 0xc]
pushfd
push 0x1a76a187
call fcn.000475bd
push esp
push dword [sym.imp.ntoskrnl.exe_IofCompleteRequest]
pop dword [esp]
push esi
push dword [esp + 4]
ret 8
push 0x4098d
jmp 0x28290
pushal
mov ecx, edi
pushal
mov byte [esp], 0x39
mov dword [esp + 0x3c], 0x18e76
jmp 0x24b30
lea esp, [esp + 0x14]
je 0x24a7f
cmc
bt dx, 4
test ah, dl
cmp eax, dword [ebp - 0x1c]
call fcn.000260cc
pushfd
mov word [esp + 4], ax
mov dword [esp + 4], 0
push edi
mov dword [esp + 4], edx
push ebx
push edi
lea esp, [esp + 0xc]
call sub.ntoskrnl.exe_memset
btr ax, 0xb
not ah
bts ax, 0xe
add esp, 0xc
pushfd
bswap ax
lea eax, [ebp - 0x53f3bfaf]
jmp 0x21567

Function at 0x41a56
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xd15265f9
lea esp, [esp + 0x50]
call fcn.0001afd0
push esp
push edi
mov word [esp + 4], di
mov dword [esp + 4], esi
push dword [esp]
rdtsc
mov dword [esp + 4], str._Gpesys.dat
mov byte [esp], ch
movzx ax, al
lea edx, [ebp - 0x138]
mov eax, esp
mov dword [esp], edx
lahf
lahf
lahf
lea eax, [ebp - 4]
push ebp
mov dword [esp], eax
pushal
lea esp, [esp + 0x20]
call fcn.000139d0
test eax, edi
bsr si, bx
mov esi, eax
cmp dl, 0x79
cmp bx, 0xb27a
test esi, esi
pushal
push 0xb538eb21
push 0x82887ccf
lea esp, [esp + 0x28]
je fcn.0004726f
movzx di, al
bswap edi
bswap di
mov edi, dword [ebp - 4]
call fcn.0003b956
push 0x87a36d7f
jmp 0x3c041
Function at 0x41b37
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0xdd31f9f9
stc
add esi, 2
clc
cmp al, 5
jmp 0x274f2
inc esi
bts edi, 0xc
movzx ecx, cl
clc
movsx di, dl
bts di, 1
mov edi, esi
stc
mov byte [esp + 4], 0x4b
test dh, bh
cmc
add esi, ecx
bsr cx, ax
movzx ecx, word [esi]
jmp 0x2853e
mov cl, byte [esi]
movsx di, al
mov byte [ebp + 0xc], cl
jmp 0x352ec

Function at 0x41d92
Capabilities:
Parse pe header

Disassembly:
lea esp, [esp + 0x28]
jmp 0x34c36

Function at 0x4205a
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x4c]
jne 0x46ea3
movsx ax, al
push 0x802a9c24
not ah
pushal
mov eax, dword [ebp + 0xc]
mov byte [esp + 4], dl
mov dword [esp + 0x20], eax
call fcn.0003901d
add esi, 2
test bp, bp
push 0xdd53ec14
mov word [esp + 4], 0xefd7
cmp al, 5
mov byte [esp + 4], 0x90
push dword [esp]
jmp 0x2d089

Function at 0x423c2
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov byte [esp], 0xad
pushal
lea esp, [esp + 0x24]
call fcn.000139d0
mov si, ax
mov esi, eax
push ebx
bt bx, 0xe
test esi, esi
jmp 0x329ab
lea esp, [esp + 4]
je 0x24a7f
setg bl
mov bl, 0xd3
bswap bx
mov ebx, dword [ebp - 4]
pushfd
mov dword [esp], ebx
pushfd
mov byte [esp], 0xbe
pushfd
mov dword [esp + 4], esi
pushfd
mov dword [esp + 4], 0
pushal
pushal
push dword [esp + 4]
push edi
lea esp, [esp + 0x4c]
call fcn.0001b010
test bx, 0x638b
clc
mov dword [ebp - 0x1c], eax
test al, 0x7b
cmc
cmp dword [0x1e51c], eax
call fcn.00030aff
push 0xca385c36
mov dword [esp + 4], edx
jmp 0x3103a

Function at 0x4291c
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 4], 0x13
bswap ecx
movzx cx, dl
lea ecx, [ebp - 0x138]
push dword [esp]
call fcn.00026f1f

Function at 0x42938
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov word [esp], bp
mov dword [esp + 4], 0
mov byte [esp], 0x83
call 0x4294d
call fcn.000397c6

Function at 0x42952
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea ecx, [eax + 0x52f28a5c]
sar cl, 1
lea ecx, [eax*4 - 0x3ad70bf]
sub edx, eax
and cx, 0xaa62
movzx ecx, word [eax]
jmp 0x4766c
bt cx, bx
call fcn.0003d6d8
lea esp, [esp + 0x2c]
call sub.ntoskrnl.exe_memset
bt di, 1
sub ch, 0xeb
cwde
shrd ax, sp, cl
mov eax, str.SystemRoot_system32drivers_
mov cl, 0xfd
mov edx, edi
shld cx, si, 9
rcl cl, cl
neg ecx
stc
add esp, 0xc
jmp 0x2e840
mov word [edx + eax], cx
test bp, 0xc416
pushfd
add esp, 4
jb 0x4276c
cmp dx, dx
add eax, 2
cmc
push 0xefef27c
test cx, cx
push dword [esp]
lea esp, [esp + 8]
jne 0x26b9a
rdtsc
rdtsc
lea eax, [edx*8 + 0x1d77c433]
call fcn.00021652
pushfd
pushfd
mov dword [esp + 0x44], ecx
push edi
lea esp, [esp + 0x48]
call sub.ntoskrnl.exe_memset
bt sp, 2
btr dx, 6
stc
add esp, 0xc
mov dx, 0x253c
pushfd
mov dword [esp], 0x11
call fcn.0003f4d9

Function at 0x43154
Capabilities:
Execute anti-debugging instructions

Disassembly:
lea esp, [esp + 0x2c]
je 0x24a7f
call fcn.000377c9
Function at 0x4486c
Capabilities:
Execute anti-debugging instructions

Disassembly:
push 0x732c23a4
mov dword [esp], ecx
jmp 0x35491
pushfd
call fcn.0003dbbd
mov dword [esp + 0x28], edi
lea esp, [esp + 0x28]
jbe 0x3365e
push ecx
mov dword [esp], ecx
pushfd
mov dword [esp], edx
push esi
pushal
pushfd
pushfd
lea esp, [esp + 0x2c]
call fcn.00016fb0
not al
lahf
jmp 0x46e9a
pushal
mov byte [ebp - 1], 1
lea esp, [esp + 0x20]

Function at 0x4676e
Capabilities:
Resolve function by parsing pe exports

Disassembly:
lea esp, [esp + 0x28]
je fcn.0002c4a7
or bx, 0x135f
sub bh, bl
movsx bx, cl
mov ebx, dword [ebp - 4]
bt di, 7
cmc
test dl, dh
pushal
cmp ebx, 0x10
mov byte [esp], cl
push 0x6a52f6f8
lea esp, [esp + 0x24]
jbe 0x295c8
pushfd
mov dword [esp], ebx
pushal
push dword [esp]
jmp 0x3ddc2
lea esp, [esp + 0x50]
call fcn.000139d0
cmp di, 0x2689
mov esi, eax
push edi
pushal
pushfd
test esi, esi
jmp 0x38da2

Function at 0x468be
Capabilities:
Execute anti-debugging instructions

Disassembly:
jmp 0x36347
inc eax
push dword [esp]
bt di, 5
test cl, cl
mov byte [esp + 4], 0x23
mov word [esp + 4], bx
call fcn.00026c6d
push ebp
mov cl, byte [eax]
jmp 0x31389

Function at 0x8ee4f8
Capabilities:
Encrypt data using rc4 prga

Disassembly:
push dword [esp + 0x3c]
pop dword [ebp]
pushfd
pushfd
mov byte [esp + 0x18], ah
lea esp, [esp + 0x48]
jmp 0x8edb56
Function at 0x4011b0
Capabilities:
Query service status

Disassembly:
sub esp, 0x61c
push ebx
mov ebx, dword [esp + 0x628]
push esi
push edi
test ebx, ebx
jne 0x4011cb
lea ebx, [esp + 0x228]
mov esi, dword [esp + 0x62c]
test esi, esi
je 0x4011db
cmp byte [esi], 0
jne 0x4011f5
push str.Paramter_is_invalid.
push ebx
call fcn.0041b383
add esp, 8
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x61c
ret
push SysReAllocStringLen
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerA]
mov edi, eax
test edi, edi
jne 0x401238
lea eax, [esp + 0x28]
push 0x200
push eax
call fcn.00401110
lea ecx, [esp + 0x30]
push ecx
push str.OpenSCManager_failed___s_.
push ebx
call fcn.0041b383
add esp, 0x14
xor eax, eax
pop edi
pop esi
pop ebx
add esp, 0x61c
ret
push 4
push esi
push edi
call dword [sym.imp.ADVAPI32.dll_OpenServiceA]
mov esi, eax
test esi, esi
jne 0x40127d
lea edx, [esp + 0x28]
push 0x200
push edx
call fcn.00401110
lea eax, [esp + 0x30]
push eax
push str.OpenService_failed___s_.
push ebx
call fcn.0041b383
add esp, 0x14
push edi
call dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x61c
ret
lea ecx, [esp + 0xc]
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatus]
test eax, eax
jne 0x4012c7
lea edx, [esp + 0x28]
push 0x200
push edx
call fcn.00401110
lea eax, [esp + 0x30]
push eax
push str.QueryServiceStatus_failed___s_.
push ebx
call fcn.0041b383
add esp, 0x14
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x61c
ret
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
call esi
push edi
call esi
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x401310
cmp eax, 3
je 0x401310
cmp eax, 4
je 0x401309
cmp eax, 2
je 0x401309
push eax
push 0x450130
push ebx
call fcn.0041b383
add esp, 0xc
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x61c
ret
push 0x45012c
jmp 0x401315
push str.STOP
push ebx
call fcn.0041b383
add esp, 8
mov eax, 1
pop edi
pop esi
pop ebx
add esp, 0x61c
ret

Function at 0x401330
Capabilities:
Shutdown system

Disassembly:
call fcn.00401360
mov eax, dword [esp + 4]
push 0
test eax, eax
je 0x401348
push 6
call dword [sym.imp.USER32.dll_ExitWindowsEx]
ret
push 2
call dword [sym.imp.USER32.dll_ExitWindowsEx]
ret
Function at 0x4027a0
Capabilities:
Get hostname

Disassembly:
sub esp, 0x100
mov edx, ecx
or ecx, 0xffffffff
xor eax, eax
push ebp
push esi
lea ebp, [edx + 0x834]
push edi
mov edi, ebp
repne scasb al, byte es:[edi]
not ecx
dec ecx
mov eax, ecx
cmp eax, 1
jge 0x4027d0
pop edi
pop esi
xor eax, eax
pop ebp
add esp, 0x100
ret
cmp eax, 2
jle 0x40287e
mov cl, byte [ebp]
cmp cl, 0x28
jne 0x4027ef
push ebx
mov bl, byte [eax + edx + 0x833]
cmp bl, 0x29
pop ebx
je 0x402802
cmp cl, 0x5b
jne 0x40287e
cmp byte [eax + edx + 0x833], 0x5d
jne 0x40287e
lea ecx, [eax - 2]
lea esi, [edx + 0x835]
mov edx, ecx
lea edi, [esp + 0xc]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
push 0x450198
and ecx, 3
push 0x450198
rep movsb byte es:[edi], byte [esi]
mov byte [esp + eax + 0x12], 0
lea eax, [esp + 0x14]
push eax
call fcn.00425d50
lea ecx, [esp + 0x18]
push str.local
push ecx
call fcn.00421a60
add esp, 0x14
test eax, eax
jne 0x40287e
lea edx, [esp + 0xc]
push 0x100
push edx
call sub.WSOCK32.dll_gethostname
test eax, eax
jne 0x40287e
lea edi, [esp + 0xc]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, 1
pop ebp
add esp, 0x100
ret
Function at 0x407190
Capabilities:
Accept command line arguments

Disassembly:
sub esp, 0x404
push ebx
push ebp
mov ebp, dword [esp + 0x410]
push esi
test ebp, ebp
push edi
je 0x4071a9
mov byte [ebp], 0
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
or ecx, 0xffffffff
mov edi, ebx
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
lea edx, [esp + 0x14]
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x14]
push ecx
call fcn.004301e1
lea edx, [esp + 0x18]
push 0x450648
push edx
call fcn.00425e30
mov edx, eax
add esp, 0xc
test edx, edx
jne 0x407219
lea eax, [esp + 0x14]
push str._update
push eax
call fcn.00425e30
mov edx, eax
add esp, 8
test edx, edx
jne 0x407219
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x404
ret
mov edi, ebx
or ecx, 0xffffffff
xor eax, eax
lea esi, [esp + 0x14]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov dword [esp + 0x10], esi
mov eax, ecx
mov esi, edi
mov edi, dword [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
test ebp, ebp
rep movsb byte es:[edi], byte [esi]
je 0x407266
lea edi, [edx + 7]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov edx, ecx
mov esi, edi
mov edi, ebp
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x404
ret

Function at 0x4072e0
Capabilities:
Delete file
Get common file path

Disassembly:
sub esp, 0x200
lea eax, [esp]
push ebx
push esi
push edi
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0xc]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov cl, byte [esp + ecx + 0xc]
cmp cl, 0x5c
je 0x407322
cmp cl, 0x2f
je 0x407322
lea edx, [esp + 0xc]
mov edi, str.wdsysmsg.exe
jmp 0x40732b
lea edx, [esp + 0xc]
mov edi, 0x450544
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0xc]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov esi, dword [sym.imp.KERNEL32.dll_DeleteFileA]
call esi
push 0
lea ecx, [esp + 0x10]
push 0
push ecx
call fcn.00408380
add esp, 0xc
test eax, eax
jle 0x407384
push 0x1388
call dword [sym.imp.KERNEL32.dll_Sleep]
lea edx, [esp + 0xc]
push edx
call esi
pop edi
pop esi
pop ebx
add esp, 0x200
ret
Function at 0x407760
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x210
lea eax, [esp]
push esi
push eax
push 0x446110
push 1
push 0
push 0x446100
call dword [sym.imp.ole32.dll_CoCreateInstance]
mov esi, eax
test esi, esi
jl 0x407826
mov eax, dword [esp + 4]
mov edx, dword [esp + 0x21c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [esp + 0x220]
test eax, eax
je 0x4077b2
mov ecx, dword [esp + 4]
push eax
push ecx
mov edx, dword [ecx]
call dword [edx + 0x2c]
mov ecx, dword [esp + 0x224]
test ecx, ecx
je 0x4077c8
mov eax, dword [esp + 4]
push ecx
push eax
mov edx, dword [eax]
call dword [edx + 0x1c]
mov eax, dword [esp + 4]
lea edx, [esp + 8]
push edx
push 0x446120
mov ecx, dword [eax]
push eax
call dword [ecx]
mov esi, eax
test esi, esi
jl 0x40781c
mov ecx, dword [esp + 0x218]
lea eax, [esp + 0xc]
push 0x104
push eax
push 0xffffffffffffffff
push ecx
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 8]
lea ecx, [esp + 0xc]
push 1
push ecx
mov edx, dword [eax]
push eax
call dword [edx + 0x18]
mov esi, eax
mov eax, dword [esp + 8]
push eax
mov edx, dword [eax]
call dword [edx + 8]
mov eax, dword [esp + 4]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
xor eax, eax
test esi, esi
setge al
pop esi
add esp, 0x210
ret
Function at 0x407840
Capabilities:
Copy file
Delete file
Get common file path

Disassembly:
sub esp, 0x400
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push eax
push 0x104
xor ebx, ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edi, [esp + 0x10]
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
add ecx, 0xfffffffe
mov cl, byte [esp + ecx + 0x10]
cmp cl, 0x5c
je 0x407885
cmp cl, 0x2f
je 0x407885
lea edx, [esp + 0x10]
mov edi, str.wdupdate.tmp
jmp 0x40788e
lea edx, [esp + 0x10]
mov edi, 0x450328
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push eax
mov esi, edi
mov ebp, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebp
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebp
and ecx, 3
rep movsb byte es:[edi], byte [esi]
call dword [sym.imp.ole32.dll_CoInitialize]
test eax, eax
jne 0x40798a
mov eax, dword [esp + 0x420]
mov ecx, dword [esp + 0x41c]
mov edx, dword [esp + 0x418]
push eax
push ecx
lea eax, [esp + 0x18]
push edx
push eax
call fcn.00407760
add esp, 0x10
test eax, eax
je 0x407979
call dword [sym.imp.ole32.dll_CoUninitialize]
mov esi, dword [esp + 0x414]
lea ecx, [esp + 0x210]
push ecx
lea edx, [esp + 0x14]
push esi
push edx
push str.CopyFile
call fcn.004040e0
add esp, 0x10
test eax, eax
je 0x407951
lea eax, [esp + 0x210]
push str.true
push eax
call fcn.00421a60
add esp, 8
test eax, eax
jne 0x407939
mov ebx, 1
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
add esp, 0x400
ret
push 0
lea edx, [esp + 0x14]
push esi
push edx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov esi, eax
lea eax, [esp + 0x10]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x400
ret
call dword [sym.imp.ole32.dll_CoUninitialize]
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x400
ret
Function at 0x408110
Capabilities:
Check if file exists
Get file attributes
Set file attributes

Disassembly:
sub esp, 0x11c
push ebx
mov ebx, dword [esp + 0x124]
push esi
push edi
test ebx, ebx
jne 0x408128
lea ebx, [esp + 0x10]
mov edi, dword [esp + 0x130]
mov dword [ebx], 0xffffffff
test edi, edi
jne 0x40813d
lea edi, [esp + 0x10]
lea eax, [esp + 0xc]
mov dword [edi], 0xffffffff
push eax
push 0x4533f8
call fcn.0042a4f0
add esp, 8
mov dword [ebx], eax
test eax, eax
jge 0x408168
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x11c
ret
mov eax, dword [esp + 0xc]
test eax, eax
je 0x40826a
lea ecx, [esp + 0x24]
push ecx
call fcn.004014b0
add esp, 4
test eax, eax
jne 0x408194
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x11c
ret
lea edx, [esp + 0x24]
push edx
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x4081b3
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x11c
ret
test al, 1
je 0x4081cd
and al, 0xfe
push eax
lea eax, [esp + 0x28]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesA]
test eax, eax
je 0x40826a
push 0
lea ecx, [esp + 0x28]
push 0
push ecx
call fcn.00407460
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x4081f3
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x11c
ret
lea edx, [esp + 0x14]
push 0
push edx
push 0x408280
push esi
mov dword [esp + 0x24], 0
mov dword [esp + 0x28], 0xffffffff
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 1
call fcn.00407ee0
push esi
call fcn.0041b490
mov eax, dword [esp + 0x2c]
add esp, 0x14
test eax, eax
jge 0x408245
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x11c
ret
mov ecx, dword [esp + 0xc]
mov dword [edi], eax
test ecx, ecx
je 0x40826a
mov ecx, dword [esp + 0x20]
test ecx, ecx
je 0x40826a
cmp eax, dword [ebx]
je 0x40826a
pop edi
pop esi
mov eax, 2
pop ebx
add esp, 0x11c
ret
pop edi
pop esi
xor eax, eax
pop ebx
add esp, 0x11c
ret
Function at 0x4087e0
Capabilities:
Timestomp file

Disassembly:
sub esp, 0x28
push ebx
push esi
mov esi, dword [esp + 0x38]
push esi
call fcn.00426c30
add esp, 4
test eax, eax
je 0x408931
push 4
lea eax, [esp + 0x14]
push esi
push eax
call fcn.0041c580
lea ecx, [esp + 0x1c]
xor ebx, ebx
push ecx
mov byte [esp + 0x24], bl
call fcn.0041b485
mov word [esp + 0x30], ax
lea edx, [esi + 4]
push 2
lea eax, [esp + 0x24]
push edx
push eax
call fcn.0041c580
lea ecx, [esp + 0x2c]
mov byte [esp + 0x2e], bl
push ecx
call fcn.0041b485
mov word [esp + 0x42], ax
lea edx, [esi + 6]
push 2
lea eax, [esp + 0x34]
push edx
push eax
call fcn.0041c580
lea ecx, [esp + 0x3c]
mov byte [esp + 0x3e], bl
push ecx
call fcn.0041b485
mov word [esp + 0x56], ax
lea edx, [esi + 9]
push 2
lea eax, [esp + 0x44]
push edx
push eax
call fcn.0041c580
lea ecx, [esp + 0x4c]
mov byte [esp + 0x4e], bl
push ecx
call fcn.0041b485
add esp, 0x40
mov word [esp + 0x28], ax
lea edx, [esi + 0xb]
lea eax, [esp + 0x10]
push 2
push edx
push eax
call fcn.0041c580
lea ecx, [esp + 0x1c]
mov byte [esp + 0x1e], bl
push ecx
call fcn.0041b485
add esi, 0xd
push 2
lea edx, [esp + 0x24]
push esi
push edx
mov word [esp + 0x46], ax
call fcn.0041c580
lea eax, [esp + 0x2c]
mov byte [esp + 0x2e], bl
push eax
call fcn.0041b485
add esp, 0x20
lea ecx, [esp + 8]
lea edx, [esp + 0x20]
mov word [esp + 0x2c], ax
push ecx
push edx
mov word [esp + 0x36], bx
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
test eax, eax
je 0x408931
mov eax, dword [esp + 0x34]
push ebx
push 0x80
push 3
push ebx
push 1
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileA]
mov esi, eax
cmp esi, ebx
je 0x408931
cmp esi, 0xffffffff
je 0x408931
lea ecx, [esp + 8]
lea edx, [esp + 8]
push ecx
lea eax, [esp + 0xc]
push edx
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
push esi
jne 0x408939
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
xor eax, eax
pop ebx
add esp, 0x28
ret
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov eax, 1
pop ebx
add esp, 0x28
ret
Function at 0x408a80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x400
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp]
push ebx
push esi
push edi
mov edi, 0x4508ec
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push str.RegSvr32
mov eax, ecx
mov esi, edi
mov edi, edx
lea edx, [esp + 0x10]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
xor eax, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov edi, dword [esp + 0x414]
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x418]
push esi
call fcn.00421a60
add esp, 8
test eax, eax
jne 0x408b03
lea edx, [esp + 0xc]
mov edi, str.___s
jmp 0x408b1e
push str.UnRegSvr32
push esi
call fcn.00421a60
add esp, 8
test eax, eax
jne 0x408b43
lea edx, [esp + 0xc]
mov edi, str.___u__s
or ecx, 0xffffffff
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
and ecx, 3
rep movsb byte es:[edi], byte [esi]
push 5
lea eax, [esp + 0x10]
push 0
push eax
push str.regsvr32.exe
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov ecx, 0x20
pop edi
cmp ecx, eax
pop esi
sbb eax, eax
pop ebx
neg eax
add esp, 0x400
ret

Function at 0x408b80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x200
push ebx
push esi
mov esi, dword [esp + 0x20c]
xor ebx, ebx
push edi
push ebx
push ebx
push esi
call fcn.00408380
add esp, 0xc
test eax, eax
jle 0x408c2d
mov edi, dword [esp + 0x214]
lea eax, [esp + 0xc]
push eax
push edi
push esi
push str.Exec
call fcn.004040e0
add esp, 0x10
test eax, eax
je 0x408c10
lea ecx, [esp + 0xc]
push str.true
push ecx
call fcn.00421a60
add esp, 8
test eax, eax
jne 0x408be9
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x200
ret
push 5
push 0
push edi
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
jbe 0x408c2d
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x200
ret
push 5
push 0
push edi
push esi
push str.open
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
mov eax, 1
ja 0x408c2f
mov eax, ebx
pop edi
pop esi
pop ebx
add esp, 0x200
ret