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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e13e0]
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.10072050
add esp, 0xc
push 0x11c
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.10072050
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 0x100ad1e8
mov dword [ebp - 0x228], 0x114
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100ad1e8
xor eax, eax
jmp 0x100ad203
cmp dword [ebp - 0x224], 6
jne 0x100ad201
cmp dword [ebp - 0x220], 1
jb 0x100ad201
xor eax, eax
inc eax
jmp 0x100ad203
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006f3d1
leave
ret

Function at 0x100ad20f
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100e13e0]
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.10072050
add esp, 0xc
push 0x11c
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.10072050
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 0x100ad294
mov dword [ebp - 0x228], 0x114
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100ad294
xor eax, eax
jmp 0x100ad2af
cmp dword [ebp - 0x224], 6
jne 0x100ad2ad
cmp dword [ebp - 0x220], 0
jne 0x100ad2ad
xor eax, eax
inc eax
jmp 0x100ad2af
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006f3d1
leave
ret

Function at 0x100ad2bb
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x100ad2db
xor eax, eax
jmp 0x100ad390
and dword [ebp - 8], 0
call fcn.100ad15c
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 0x100ad38e
cmp dword [ebp - 8], 0
je 0x100ad38e
and word [ebp - 0x220], 0
push 0x20a
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.10072050
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 0x100ad381
push 0x103
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0x10]
call fcn.100726c3
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x100ad390
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100ad390
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006f3d1
leave
ret
Function at 0x100ad3d4
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b49a9
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100e13e0]
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.10003bae
and dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.100048dd
and word [ebp - 0x224], 0
push 0x20a
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10072050
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.10003c76
lea ecx, [ebp - 0x228]
call fcn.10003b84
test eax, eax
jle 0x100ad4bb
lea eax, [ebp - 0x228]
push eax
call fcn.100ad39c
pop ecx
push str.TencentQMDownload_
lea ecx, [ebp - 0x228]
call fcn.1000a023
lea ecx, [ebp - 0x228]
call fcn.1001e65e
push eax
call fcn.10009ff9
pop ecx
test eax, eax
jne 0x100ad4bb
push 0
lea ecx, [ebp - 0x228]
call fcn.1001e65e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003bc8
mov eax, dword [ebp - 0x22c]
or eax, 1
mov dword [ebp - 0x22c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.10003c4c
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.1006f3d1
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100fd7f0]
and eax, 1
jne 0x100ad548
mov eax, dword [0x100fd7f0]
or eax, 1
mov dword [0x100fd7f0], eax
mov ecx, 0x100fd7ec
call fcn.10003bae
push 0x100bb66e
call fcn.1006f93b
pop ecx
mov ecx, 0x100fd7ec
call fcn.10003b98
movzx eax, al
test eax, eax
je 0x100ad5d2
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10072050
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0x100ca0ac
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, 0x100fd7ec
call fcn.10003c76
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100ad5d2
push 0
mov ecx, 0x100fd7ec
call fcn.1001e65e
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100fd7ec
mov ecx, dword [ebp + 8]
call fcn.10003bc8
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.1006f3d1
leave
ret
Function at 0x100ad68e
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100e13e0]
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 0x100ca3c8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100ad6eb
jmp 0x100ad83e
push dword [ebp + 8]
push 0x100ca418
push 0x103
lea eax, [ebp - 0x128]
push eax
call fcn.10007ec8
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 0x100ad730
jmp 0x100ad835
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 0x100ca428
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100ad768
jmp 0x100ad82c
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 0x103
push 0x104
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.10072050
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100ca438
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100ad7b3
jmp 0x100ad82c
cmp dword [ebp - 0x10], 1
jne 0x100ad7e3
push 0x100ca3c4
call fcn.1006f330
pop ecx
push eax
push 0x100ca448
lea eax, [ebp - 0x128]
push eax
call fcn.1007124f
add esp, 0xc
test eax, eax
jne 0x100ad7e3
and dword [ebp - 8], 0
jmp 0x100ad82c
cmp dword [ebp - 0x10], 1
jne 0x100ad816
push 0x100ca44c
call fcn.1006f330
pop ecx
push eax
push 0x100ca450
lea eax, [ebp - 0x128]
push eax
call fcn.1007124f
add esp, 0xc
test eax, eax
je 0x100ad816
mov dword [ebp - 8], 2
jmp 0x100ad82c
cmp dword [ebp - 0x10], 2
jne 0x100ad825
mov dword [ebp - 8], 1
jmp 0x100ad82c
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.1006f3d1
leave
ret
Function at 0x100adc0c
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 0x100adc3c
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100adc5a
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 0x100adc35
mov dword [ebp - 0x1c], 0xe3779b90
and dword [ebp - 8], 0
jmp 0x100adc6e
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100adcc9
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 0x100adc67
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 0x100adce8
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 0x100add18
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100add36
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 0x100add11
and dword [ebp - 0x1c], 0
and dword [ebp - 8], 0
jmp 0x100add47
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100add9e
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 0x100add40
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 0x100aec54
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
push 0x5c
push 0
push dword [ebp + 8]
call fcn.10072050
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 0x100b13c2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b589e
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100e13e0]
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.100016d2
and dword [ebp - 4], 0
mov byte [ebp - 0x2d], 0
push 0x208
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.10072050
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 0x100b14dc
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x258]
call fcn.100016fb
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.10001794
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.10001769
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100b149e
push 0x100ca46c
lea ecx, [ebp - 0x2c]
call fcn.10004dbd
jmp 0x100b14ab
push 0x100ca494
lea ecx, [ebp - 0x2c]
call fcn.10004dbd
lea eax, [ebp - 0x2c]
push eax
call fcn.100b0040
pop ecx
movzx eax, al
test eax, eax
jne 0x100b14cb
lea eax, [ebp - 0x2c]
push eax
call fcn.100b0f77
pop ecx
mov byte [ebp - 0x2d], al
jmp 0x100b14cf
mov byte [ebp - 0x2d], 1
push 0x100ca4b8
lea ecx, [ebp - 0x2c]
call fcn.10004dbd
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.10001731
mov eax, dword [ebp - 0x25c]
or eax, 1
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10001769
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.1006f3d1
leave
ret
Function at 0x100b151d
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b58ce
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100e13e0]
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.100b13c2
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.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100b15ba
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100b13c2
pop ecx
pop ecx
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x50]
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.10001769
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b15eb
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 0x100b15e2
cmp dword [ebp - 0x54], 0x10
jne 0x100b15e2
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.10001769
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.1006f3d1
leave
ret 4
Function at 0x100b1619
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b58fb
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100e13e0]
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.100b13c2
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.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100b170d
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100b13c2
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
call fcn.100aeca4
pop ecx
movzx eax, al
test eax, eax
jne 0x100b16e4
lea eax, [ebp - 0x50]
push eax
call fcn.100aeca4
pop ecx
movzx eax, al
test eax, eax
je 0x100b16e4
push 0
lea ecx, [ebp - 0x30]
call fcn.10004e6d
push eax
lea ecx, [ebp - 0x50]
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100b16e4
lea ecx, [ebp - 0x50]
call fcn.10004e6d
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.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.10001769
cmp dword [ebp - 0x10], 0xffffffff
je 0x100b175b
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jb 0x100b1752
cmp dword [ebp - 0x54], 0xffffffff
je 0x100b1752
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 0x100b1752
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jne 0x100b1752
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.10001769
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.1006f3d1
leave
ret 4
Function at 0x100b1de4
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100fd7e0]
and eax, 1
jne 0x100b1e2a
mov eax, dword [0x100fd7e0]
or eax, 1
mov dword [0x100fd7e0], eax
mov ecx, 0x100fd7dc
call fcn.10003bae
push 0x100bb65f
call fcn.1006f93b
pop ecx
mov ecx, 0x100fd7dc
call fcn.10003b98
movzx eax, al
test eax, eax
je 0x100b1e7d
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10072050
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, 0x100fd7dc
call fcn.10003c76
push 0x100fd7dc
mov ecx, dword [ebp + 8]
call fcn.10003bc8
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.1006f3d1
leave
ret

Function at 0x100b1ea8
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100e13e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100fd7e8]
and eax, 1
jne 0x100b1eee
mov eax, dword [0x100fd7e8]
or eax, 1
mov dword [0x100fd7e8], eax
mov ecx, 0x100fd7e4
call fcn.10003bae
push 0x100bb650
call fcn.1006f93b
pop ecx
mov ecx, 0x100fd7e4
call fcn.10003b98
movzx eax, al
test eax, eax
je 0x100b1f41
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10072050
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, 0x100fd7e4
call fcn.10003c76
push 0x100fd7e4
mov ecx, dword [ebp + 8]
call fcn.10003bc8
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.1006f3d1
leave
ret
Function at 0x100b2367
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.10004bed
movzx eax, al
test eax, eax
jne 0x100b2396
push 4
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x74
call fcn.10004e6d
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
xor eax, eax
leave
ret 4
Function at 0x10245b3c
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov word [esp + 0x946], 0x69
jmp loc.10260a15

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

Disassembly:
mov dword [esp + 0xc], 0xbe3eab27
stosd dword es:[edi], eax
jmp loc.102430dc

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

Disassembly:
jmp 0x10263a8e
mov word [esp + 0x9d6], di
jmp 0x1025ec3d
pushal
push dword [esp]
mov word [esp + 0x9c0], di
mov byte [esp], dh
push dword [esp + 4]
mov word [esp], 0xec55
call fcn.10263025
lea esp, [esp + 0x78]
je 0x10262e6f
pushfd
mov word [esp + 0x96a], di
mov word [esp], 0x8d1e
pushfd
mov word [esp + 0x980], di
jmp 0x1025bb8c
pushal
mov byte [esp + 0xc], 0xa0
pushfd
mov word [esp + 0x98a], di
pushfd
jmp 0x10255695
mov word [esp + 0x9a0], di
pushfd
mov word [esp + 0x9c0], di
mov byte [esp], ah
call fcn.10240f4c

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

Disassembly:
mov word [esp + 0x96c], si
call fcn.10256fc2
lea esp, [esp + 0x34]
jge 0x10262ee1
pushfd
mov word [esp + 0x970], si
mov word [esp], bx
jmp loc.10245dae
jmp 0x1025e17e

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

Disassembly:
mov word [esp + 0xa44], di
jmp loc.1023fdb7

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

Disassembly:
push dword [esp]
lea eax, [esp + 0xa58]
push 0x6711700f
mov dword [esp + 8], edi
jmp 0x10256c50

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

Disassembly:
pushfd
mov dword [esp], 0x78fafc0f
mov word [esp + 0x860], 0x70
pushal
mov word [esp + 0x882], 0x36
pushal
jmp loc.1005ba4c
mov byte [esp], 0xa1
pushfd
mov word [esp + 0x888], 0x45
pushfd
mov byte [esp + 8], 0xc6
mov word [esp + 0x88e], dx
lea esp, [esp + 0x34]
jp 0x1025c2e5
pushfd
pushal
mov dword [esp], ebx
mov word [esp + 0x880], 0x70
mov byte [esp + 4], bh
jmp loc.10245da9

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

Disassembly:
mov byte [esp + 0x20], 0x61
mov word [esp + 0x80a], dx
jmp 0x10262f65
push eax
mov byte [esp + 0x10], 0x30
pushfd
mov word [esp + 0x864], 0x75
jmp 0x102536fd
mov byte [esp], dl
mov word [esp + 0x80c], ax
lea esp, [esp + 0x80]
jns 0x1025f6c0
push esp
push dword [esp]
mov word [esp + 0x796], bx
push esp
mov byte [esp], bl
mov word [esp + 0x828], 0x64
pushal
push 0x868c8cf4
mov word [esp + 0x84e], ax
mov byte [esp + 4], 0x76
mov word [esp + 0x850], 0x66
mov byte [esp], dl
mov word [esp + 0x10], di
push 0x482e9578
pushfd
mov word [esp + 0x85a], 0x61
jmp 0x1025d31c
jmp 0x10262df9
jmp 0x1025e477
jmp 0x1025cb1f

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

Disassembly:
mov byte [esp], cl
mov word [esp + 0xa48], dx
call fcn.1024e4d2

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

Disassembly:
mov word [esp + 0x89c], di
jmp 0x102562d7
mov byte [esp], al
mov byte [esp + 0xc], 0x42
jmp 0x10260459
mov word [esp + 0x89e], ax
call fcn.10244754
mov word [esp], 0xbfd8
jmp 0x1024bbe0