joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100ac9b7
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x11c
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.10071ef0
add esp, 0xc
mov dword [ebp - 0x228], 0x11c
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100aca3c
mov dword [ebp - 0x228], 0x114
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100aca3c
xor eax, eax
jmp 0x100aca57
cmp dword [ebp - 0x224], 6
jne 0x100aca55
cmp dword [ebp - 0x220], 1
jb 0x100aca55
xor eax, eax
inc eax
jmp 0x100aca57
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006f271
leave
ret

Function at 0x100aca63
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 8], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x11c
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.10071ef0
add esp, 0xc
mov dword [ebp - 0x228], 0x11c
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100acae8
mov dword [ebp - 0x228], 0x114
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100acae8
xor eax, eax
jmp 0x100acb03
cmp dword [ebp - 0x224], 6
jne 0x100acb01
cmp dword [ebp - 0x220], 0
jne 0x100acb01
xor eax, eax
inc eax
jmp 0x100acb03
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006f271
leave
ret

Function at 0x100acb0f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x100acb2f
xor eax, eax
jmp 0x100acbe4
and dword [ebp - 8], 0
call fcn.100ac9b0
neg eax
sbb eax, eax
and eax, 0x200
add eax, 0x20019
mov dword [ebp - 4], eax
lea eax, [ebp - 8]
push eax
push dword [ebp - 4]
push 0
push dword [ebp + 8]
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100acbe2
cmp dword [ebp - 8], 0
je 0x100acbe2
and word [ebp - 0x220], 0
push 0x20a
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.10071ef0
add esp, 0xc
mov dword [ebp - 0xc], 0x20b
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x220]
push eax
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100acbd5
push 0x103
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0x10]
call fcn.10072563
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x100acbe4
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100acbe4
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f271
leave
ret
Function at 0x100acc28
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b4202
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x22c], 0
lea ecx, [ebp - 0x228]
call fcn.10010891
and dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10004ac7
and word [ebp - 0x224], 0
push 0x20a
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10071ef0
add esp, 0xc
push 1
push 0x23
lea eax, [ebp - 0x224]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.10003ee9
lea ecx, [ebp - 0x228]
call fcn.10003e38
test eax, eax
jle 0x100acd0f
lea eax, [ebp - 0x228]
push eax
call fcn.100acbf0
pop ecx
push str.TencentQMDownload_
lea ecx, [ebp - 0x228]
call fcn.1000a2a1
lea ecx, [ebp - 0x228]
call fcn.10030677
push eax
call fcn.1000a277
pop ecx
test eax, eax
jne 0x100acd0f
push 0
lea ecx, [ebp - 0x228]
call fcn.10030677
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003e4c
mov eax, dword [ebp - 0x22c]
or eax, 1
mov dword [ebp - 0x22c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.1001092f
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f271
leave
ret

Function at 0x100acd56
Capabilities:
Check if file exists
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100fc7f0]
and eax, 1
jne 0x100acd9c
mov eax, dword [0x100fc7f0]
or eax, 1
mov dword [0x100fc7f0], eax
mov ecx, 0x100fc7ec
call fcn.10010891
push 0x100bad9e
call fcn.1006f7db
pop ecx
mov ecx, 0x100fc7ec
call fcn.100305c8
movzx eax, al
test eax, eax
je 0x100ace26
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10071ef0
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0x100c90ac
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x100fc7ec
call fcn.10003ee9
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100ace26
push 0
mov ecx, 0x100fc7ec
call fcn.10030677
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100fc7ec
mov ecx, dword [ebp + 8]
call fcn.10003e4c
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f271
leave
ret
Function at 0x100acee2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
mov dword [ebp - 8], 3
mov dword [ebp - 0xc], 0x104
mov dword [ebp - 0x18], 1
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
and dword [ebp - 0x10], 0
lea eax, [ebp - 0x14]
push eax
push 0x20019
push 0
push 0x100c93c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100acf3f
jmp 0x100ad092
push dword [ebp + 8]
push 0x100c9418
push 0x103
lea eax, [ebp - 0x128]
push eax
call fcn.10008072
add esp, 0x10
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
lea eax, [ebp - 0x128]
push eax
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100acf84
jmp 0x100ad089
mov dword [ebp - 0x18], 4
mov dword [ebp - 0xc], 4
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100c9428
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100acfbc
jmp 0x100ad080
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 0x103
push 0x104
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.10071ef0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100c9438
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100ad007
jmp 0x100ad080
cmp dword [ebp - 0x10], 1
jne 0x100ad037
push 0x100c93c4
call fcn.1006f1d0
pop ecx
push eax
push 0x100c9448
lea eax, [ebp - 0x128]
push eax
call fcn.100710ef
add esp, 0xc
test eax, eax
jne 0x100ad037
and dword [ebp - 8], 0
jmp 0x100ad080
cmp dword [ebp - 0x10], 1
jne 0x100ad06a
push 0x100c944c
call fcn.1006f1d0
pop ecx
push eax
push 0x100c9450
lea eax, [ebp - 0x128]
push eax
call fcn.100710ef
add esp, 0xc
test eax, eax
je 0x100ad06a
mov dword [ebp - 8], 2
jmp 0x100ad080
cmp dword [ebp - 0x10], 2
jne 0x100ad079
mov dword [ebp - 8], 1
jmp 0x100ad080
mov dword [ebp - 8], 3
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.1006f271
leave
ret
Function at 0x100ad460
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 8], 0
jmp 0x100ad490
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100ad4ae
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x18], eax
jmp 0x100ad489
mov dword [ebp - 0x1c], 0xe3779b90
and dword [ebp - 8], 0
jmp 0x100ad4c2
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100ad51d
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
sub ecx, eax
mov dword [ebp - 0x20], ecx
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor eax, ecx
mov ecx, dword [ebp - 4]
sub ecx, eax
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 0x1c]
add eax, 0x61c88647
mov dword [ebp - 0x1c], eax
jmp 0x100ad4bb
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
leave
ret
Function at 0x100ad53c
Capabilities:
Encrypt data using tea

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
push dword [eax]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push dword [eax + 4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov dword [ebp - 0x20], eax
and dword [ebp - 8], 0
jmp 0x100ad56c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100ad58a
mov eax, dword [ebp - 8]
mov ecx, dword [ebp + 0xc]
push dword [ecx + eax*4]
call dword [sym.imp.WS2_32.dll_ntohl]
mov ecx, dword [ebp - 8]
mov dword [ebp + ecx*4 - 0x18], eax
jmp 0x100ad565
and dword [ebp - 0x1c], 0
and dword [ebp - 8], 0
jmp 0x100ad59b
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100ad5f2
mov eax, dword [ebp - 0x1c]
sub eax, 0x61c88647
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x20]
shl eax, 4
add eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 0x20]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 0x20]
shr ecx, 5
add ecx, dword [ebp - 0x14]
xor eax, ecx
add eax, dword [ebp - 4]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
shl eax, 4
add eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 4]
add ecx, dword [ebp - 0x1c]
xor eax, ecx
mov ecx, dword [ebp - 4]
shr ecx, 5
add ecx, dword [ebp - 0xc]
xor eax, ecx
add eax, dword [ebp - 0x20]
mov dword [ebp - 0x20], eax
jmp 0x100ad594
push dword [ebp - 4]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
push dword [ebp - 0x20]
call dword [sym.imp.WS2_32.dll_htonl]
mov ecx, dword [ebp + 0x10]
mov dword [ecx + 4], eax
leave
ret

Function at 0x100ae4a8
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x5c
push 0
push dword [ebp + 8]
call fcn.10071ef0
add esp, 0xc
mov eax, dword [ebp + 8]
mov dword [eax], 0x67452301
mov eax, dword [ebp + 8]
mov dword [eax + 4], 0xefcdab89
mov eax, dword [ebp + 8]
mov dword [eax + 8], 0x98badcfe
mov eax, dword [ebp + 8]
mov dword [eax + 0xc], 0x10325476
mov eax, dword [ebp + 8]
and dword [eax + 0x10], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x14], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x58], 0
pop ebp
ret
Function at 0x100b0c16
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5015
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x25c], 0
lea ecx, [ebp - 0x2c]
call fcn.10001714
and dword [ebp - 4], 0
mov byte [ebp - 0x2d], 0
push 0x208
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.10071ef0
add esp, 0xc
push 1
movzx eax, byte [ebp + 0xc]
neg eax
sbb eax, eax
and eax, 0xfffffff7
add eax, 0x23
push eax
lea eax, [ebp - 0x23c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x100b0d30
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x258]
call fcn.1000173d
mov dword [ebp - 0x260], eax
mov eax, dword [ebp - 0x260]
mov dword [ebp - 0x264], eax
mov byte [ebp - 4], 1
push dword [ebp - 0x264]
lea ecx, [ebp - 0x2c]
call fcn.100017d6
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.100017ab
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100b0cf2
push 0x100c946c
lea ecx, [ebp - 0x2c]
call fcn.10004fa7
jmp 0x100b0cff
push 0x100c9494
lea ecx, [ebp - 0x2c]
call fcn.10004fa7
lea eax, [ebp - 0x2c]
push eax
call fcn.100af894
pop ecx
movzx eax, al
test eax, eax
jne 0x100b0d1f
lea eax, [ebp - 0x2c]
push eax
call fcn.100b07cb
pop ecx
mov byte [ebp - 0x2d], al
jmp 0x100b0d23
mov byte [ebp - 0x2d], 1
push 0x100c94b8
lea ecx, [ebp - 0x2c]
call fcn.10004fa7
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10001773
mov eax, dword [ebp - 0x25c]
or eax, 1
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.100017ab
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f271
leave
ret
Function at 0x100b0d71
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5045
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x5c], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100b0c16
pop ecx
pop ecx
and dword [ebp - 4], 0
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x30]
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100b0e0e
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100b0c16
pop ecx
pop ecx
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x50]
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.100017ab
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b0e3f
push 0
lea eax, [ebp - 0x54]
push eax
push 0x10
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x100b0e36
cmp dword [ebp - 0x54], 0x10
jne 0x100b0e36
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x55], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100017ab
mov al, byte [ebp - 0x55]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006f271
leave
ret 4
Function at 0x100b0e6d
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b5072
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x60], ecx
mov byte [ebp - 0x31], 0
push 0
lea eax, [ebp - 0x30]
push eax
call fcn.100b0c16
pop ecx
pop ecx
and dword [ebp - 4], 0
or dword [ebp - 0x10], 0xffffffff
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x30]
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100b0f61
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100b0c16
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
call fcn.100ae4f8
pop ecx
movzx eax, al
test eax, eax
jne 0x100b0f38
lea eax, [ebp - 0x50]
push eax
call fcn.100ae4f8
pop ecx
movzx eax, al
test eax, eax
je 0x100b0f38
push 0
lea ecx, [ebp - 0x30]
call fcn.10005057
push eax
lea ecx, [ebp - 0x50]
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100b0f38
lea ecx, [ebp - 0x50]
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push 0
push 3
push 0
push 1
push SysReAllocString
lea ecx, [ebp - 0x50]
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.100017ab
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b0faf
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jb 0x100b0fa6
cmp dword [ebp - 0x54], 0xffffffff
je 0x100b0fa6
push 0
lea eax, [ebp - 0x58]
push eax
push dword [ebp - 0x54]
push dword [ebp + 8]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x100b0fa6
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jne 0x100b0fa6
mov byte [ebp - 0x31], 1
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov al, byte [ebp - 0x31]
mov byte [ebp - 0x59], al
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.100017ab
mov al, byte [ebp - 0x59]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.1006f271
leave
ret 4
Function at 0x100b1638
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100fc7e0]
and eax, 1
jne 0x100b167e
mov eax, dword [0x100fc7e0]
or eax, 1
mov dword [0x100fc7e0], eax
mov ecx, 0x100fc7dc
call fcn.10010891
push 0x100bad8f
call fcn.1006f7db
pop ecx
mov ecx, 0x100fc7dc
call fcn.100305c8
movzx eax, al
test eax, eax
je 0x100b16d1
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10071ef0
add esp, 0xc
push 1
push 0x24
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x100fc7dc
call fcn.10003ee9
push 0x100fc7dc
mov ecx, dword [ebp + 8]
call fcn.10003e4c
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f271
leave
ret

Function at 0x100b16fc
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e03e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100fc7e8]
and eax, 1
jne 0x100b1742
mov eax, dword [0x100fc7e8]
or eax, 1
mov dword [0x100fc7e8], eax
mov ecx, 0x100fc7e4
call fcn.10010891
push 0x100bad80
call fcn.1006f7db
pop ecx
mov ecx, 0x100fc7e4
call fcn.100305c8
movzx eax, al
test eax, eax
je 0x100b1795
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10071ef0
add esp, 0xc
push 1
push 0x25
lea eax, [ebp - 0x218]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
lea eax, [ebp - 0x218]
push eax
mov ecx, 0x100fc7e4
call fcn.10003ee9
push 0x100fc7e4
mov ecx, dword [ebp + 8]
call fcn.10003e4c
mov eax, dword [ebp - 0x21c]
or eax, 1
mov dword [ebp - 0x21c], eax
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006f271
leave
ret
Function at 0x100b1bbb
Capabilities:
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004dd7
movzx eax, al
test eax, eax
jne 0x100b1bea
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10005057
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
leave
ret 4
Function at 0x1024123e
Capabilities:
Enumerate processes

Disassembly:
mov word [esp + 0x94a], 0x74
mov byte [esp + 4], 0x52
push 0x66d6886a
mov word [esp + 0x950], si
lea esp, [esp + 0xc]
ja 0x10255321
mov word [esp + 0x946], cx
push 0x78fd9c28
jmp loc.10264589
pushfd
push dword [esp]
mov byte [esp + 4], ch
mov dword [esp + 4], edx
mov word [esp + 0x94e], cx
call fcn.102561af

Function at 0x10243228
Capabilities:
Packed with generic packer

Disassembly:
mov word [esp], si
mov byte [esp], 0xa5
jmp fcn.1025a3fd

Function at 0x1024564c
Capabilities:
Packed with generic packer

Disassembly:
pushal
lea esp, [esp + 0x24]
je 0x1025710a
pushfd
jmp 0x10267893

Function at 0x102481e5
Capabilities:
Packed with generic packer

Disassembly:
mov word [esp + 0x9ce], 0x6e
mov byte [esp], 0xec
pushfd
push 0xa8048ceb
push 0xe8775b8d
mov word [esp + 0x9dc], 0x61
lea esp, [esp + 0x38]
jno 0x1024d5f9
pushal
mov word [esp + 0x9c6], 0x6c
mov byte [esp], ch
mov word [esp + 0x9c8], 0x79
pushal
mov word [esp + 0x9ea], 0x73
mov byte [esp + 4], ah
mov dword [esp], 0x41663084
mov word [esp + 8], bx
call fcn.10265811
pushal
mov byte [esp], dh
mov word [esp + 0x9c6], 0x6c
call fcn.102409e4

Function at 0x1024d02e
Capabilities:
Packed with generic packer

Disassembly:
jmp 0x1026695a
pushfd
lea esp, [esp + 4]
jge 0x10267b2d
push ebx
inc esi
cmc
cmp esi, dword [esp + 0x28]
jmp 0x1025a5a0
pushfd
push edi
lea esp, [esp + 0xc]
jb 0x102623c0
pushfd
mov dword [esp + 0x24], ebx
jmp 0x102656fa
pushal
mov word [esp], 0xd5a2
pushal
push dword [esp + esi*4 + 0xf8]
pop dword [esp + 0x3c]
jmp 0x1026d20f
mov dword [esp], eax
pushal
push 0xe91c7a90
call fcn.10242462
pushal
lea esp, [esp + 0x2c]
je 0x10257300
jmp 0x10268366
mov word [esp + 0x7e0], 0x6e
call fcn.1025fc75
push 0x7e26dc52
push esi
mov dword [esp + 0x30], edi
mov byte [esp + 4], 0xd0
jmp 0x102701d6
push esi
call fcn.1024224a
pushfd
lea eax, [esp + 0x308]
jmp 0x1026544c
mov dword [esp + 0x38], 8
pushfd
call fcn.10240ef3
jmp 0x1026128c

Function at 0x1024d5ea
Capabilities:
Packed with generic packer

Disassembly:
mov word [esp + 0x9c6], 0x79
call fcn.1026b1da

Function at 0x10250472
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x2c]
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
rcl di, 6
cmp ch, 0x86
stc
mov edi, eax
pushal
cmp cx, sp
pushal
cmp edi, 0xffffffff
mov byte [esp + 4], 0x92
mov word [esp + 4], 0xb757
pushfd
lea esp, [esp + 0x44]
jo 0x102638e6
mov dword [esp + 0x28], edi
call fcn.1026cb99

Function at 0x1025516d
Capabilities:
Packed with generic packer

Disassembly:
mov byte [esp], ah
mov word [esp + 0x8b4], bx
jmp 0x102624a7
call fcn.10246672

Function at 0x1025533a
Capabilities:
Packed with generic packer

Disassembly:
call fcn.1025f51e
call fcn.10257546

Function at 0x1025a95e
Capabilities:
Packed with generic packer

Disassembly:
lea esp, [esp + 0x28]
je 0x10270c5d
cwde
lea eax, [edx*4 - 0x3848ff3e]
lahf
cwde
lea eax, [esp + 0xc54]
jmp 0x1025ceb5
jmp 0x1025449f

Function at 0x1025d702
Capabilities:
Packed with generic packer

Disassembly:
mov byte [esp + 0x10], 0x1e
jmp 0x10247f02
mov word [esp + 0x9c6], 0x62
mov byte [esp], cl
mov word [esp + 0x9c8], si
jmp 0x102507d0