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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100dd3e0]
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.10070cb0
add esp, 0xc
push 0x11c
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.10070cb0
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 0x100a9964
mov dword [ebp - 0x228], 0x114
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100a9964
xor eax, eax
jmp 0x100a997f
cmp dword [ebp - 0x224], 6
jne 0x100a997d
cmp dword [ebp - 0x220], 1
jb 0x100a997d
xor eax, eax
inc eax
jmp 0x100a997f
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006e011
leave
ret

Function at 0x100a998b
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x100dd3e0]
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.10070cb0
add esp, 0xc
push 0x11c
push 0
lea eax, [ebp - 0x228]
push eax
call fcn.10070cb0
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 0x100a9a10
mov dword [ebp - 0x228], 0x114
lea eax, [ebp - 0x228]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x100a9a10
xor eax, eax
jmp 0x100a9a2b
cmp dword [ebp - 0x224], 6
jne 0x100a9a29
cmp dword [ebp - 0x220], 0
jne 0x100a9a29
xor eax, eax
inc eax
jmp 0x100a9a2b
xor eax, eax
mov ecx, dword [ebp - 8]
xor ecx, ebp
call fcn.1006e011
leave
ret

Function at 0x100a9a37
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 0x10], 0
jne 0x100a9a57
xor eax, eax
jmp 0x100a9b0c
and dword [ebp - 8], 0
call fcn.100a98d8
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 0x100a9b0a
cmp dword [ebp - 8], 0
je 0x100a9b0a
and word [ebp - 0x220], 0
push 0x20a
push 0
lea eax, [ebp - 0x21e]
push eax
call fcn.10070cb0
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 0x100a9afd
push 0x103
lea eax, [ebp - 0x220]
push eax
push dword [ebp + 0x10]
call fcn.10071323
add esp, 0xc
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
jmp 0x100a9b0c
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x100a9b0c
xor eax, eax
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e011
leave
ret
Function at 0x100a9b50
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b10b3
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x100dd3e0]
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.10003b07
and dword [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.100047cf
and word [ebp - 0x224], 0
push 0x20a
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.10070cb0
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.10003bbe
lea ecx, [ebp - 0x228]
call fcn.10010553
test eax, eax
jle 0x100a9c37
lea eax, [ebp - 0x228]
push eax
call fcn.100a9b18
pop ecx
push str.TencentQMDownload_
lea ecx, [ebp - 0x228]
call fcn.10009ef1
lea ecx, [ebp - 0x228]
call fcn.1003338d
push eax
call fcn.10009ec7
pop ecx
test eax, eax
jne 0x100a9c37
push 0
lea ecx, [ebp - 0x228]
call fcn.1003338d
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
lea eax, [ebp - 0x228]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003b21
mov eax, dword [ebp - 0x22c]
or eax, 1
mov dword [ebp - 0x22c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x228]
call fcn.100104e6
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.1006e011
leave
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100f985c]
and eax, 1
jne 0x100a9cc4
mov eax, dword [0x100f985c]
or eax, 1
mov dword [0x100f985c], eax
mov ecx, 0x100f9858
call fcn.10003b07
push 0x100b776e
call fcn.1006e57b
pop ecx
mov ecx, 0x100f9858
call fcn.1002ff98
movzx eax, al
test eax, eax
je 0x100a9d4e
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10070cb0
add esp, 0xc
push 0x208
lea eax, [ebp - 0x218]
push eax
push 0x100c6948
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, 0x100f9858
call fcn.10003bbe
lea eax, [ebp - 0x218]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x100a9d4e
push 0
mov ecx, 0x100f9858
call fcn.1003338d
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100f9858
mov ecx, dword [ebp + 8]
call fcn.10003b21
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.1006e011
leave
ret
Function at 0x100a9e0a
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100dd3e0]
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 0x100c6c68
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x100a9e67
jmp 0x100a9fba
push dword [ebp + 8]
push 0x100c6cb8
push 0x103
lea eax, [ebp - 0x128]
push eax
call fcn.10007d4a
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 0x100a9eac
jmp 0x100a9fb1
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 0x100c6cc8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100a9ee4
jmp 0x100a9fa8
mov dword [ebp - 0x18], 1
mov dword [ebp - 0xc], 0x103
push 0x104
push 0
lea eax, [ebp - 0x128]
push eax
call fcn.10070cb0
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x128]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0x100c6cd8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x100a9f2f
jmp 0x100a9fa8
cmp dword [ebp - 0x10], 1
jne 0x100a9f5f
push 0x100c6c64
call fcn.1006df70
pop ecx
push eax
push 0x100c6ce8
lea eax, [ebp - 0x128]
push eax
call fcn.1006feae
add esp, 0xc
test eax, eax
jne 0x100a9f5f
and dword [ebp - 8], 0
jmp 0x100a9fa8
cmp dword [ebp - 0x10], 1
jne 0x100a9f92
push 0x100c6cec
call fcn.1006df70
pop ecx
push eax
push 0x100c6cf0
lea eax, [ebp - 0x128]
push eax
call fcn.1006feae
add esp, 0xc
test eax, eax
je 0x100a9f92
mov dword [ebp - 8], 2
jmp 0x100a9fa8
cmp dword [ebp - 0x10], 2
jne 0x100a9fa1
mov dword [ebp - 8], 1
jmp 0x100a9fa8
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.1006e011
leave
ret
Function at 0x100aa388
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 0x100aa3b8
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100aa3d6
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 0x100aa3b1
mov dword [ebp - 0x1c], 0xe3779b90
and dword [ebp - 8], 0
jmp 0x100aa3ea
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100aa445
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 0x100aa3e3
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 0x100aa464
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 0x100aa494
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 4
jge 0x100aa4b2
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 0x100aa48d
and dword [ebp - 0x1c], 0
and dword [ebp - 8], 0
jmp 0x100aa4c3
mov eax, dword [ebp - 8]
inc eax
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0x10
jge 0x100aa51a
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 0x100aa4bc
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 0x100ab3d0
Capabilities:
Hash data with md5

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

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1e42
mov eax, dword fs:[0]
push eax
sub esp, 0x258
mov eax, dword [0x100dd3e0]
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.100016d0
and dword [ebp - 4], 0
mov byte [ebp - 0x2d], 0
push 0x208
push 0
lea eax, [ebp - 0x23c]
push eax
call fcn.10070cb0
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 0x100adc58
lea eax, [ebp - 0x23c]
push eax
lea ecx, [ebp - 0x258]
call fcn.100016f9
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.10001792
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x258]
call fcn.10001767
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x100adc1a
push 0x100c6d0c
lea ecx, [ebp - 0x2c]
call fcn.10004c93
jmp 0x100adc27
push 0x100c6d34
lea ecx, [ebp - 0x2c]
call fcn.10004c93
lea eax, [ebp - 0x2c]
push eax
call fcn.100ac7bc
pop ecx
movzx eax, al
test eax, eax
jne 0x100adc47
lea eax, [ebp - 0x2c]
push eax
call fcn.100ad6f3
pop ecx
mov byte [ebp - 0x2d], al
jmp 0x100adc4b
mov byte [ebp - 0x2d], 1
push 0x100c6d58
lea ecx, [ebp - 0x2c]
call fcn.10004c93
lea eax, [ebp - 0x2c]
push eax
mov ecx, dword [ebp + 8]
call fcn.1000172f
mov eax, dword [ebp - 0x25c]
or eax, 1
mov dword [ebp - 0x25c], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2c]
call fcn.10001767
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.1006e011
leave
ret
Function at 0x100adc99
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1e72
mov eax, dword fs:[0]
push eax
sub esp, 0x50
mov eax, dword [0x100dd3e0]
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.100adb3e
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.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100add36
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100adb3e
pop ecx
pop ecx
push 0
push 0
push 2
push 0
push 1
push 0x40000000
lea ecx, [ebp - 0x50]
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.10001767
cmp dword [ebp - 0x10], 0xffffffff
je 0x100add67
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 0x100add5e
cmp dword [ebp - 0x54], 0x10
jne 0x100add5e
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.10001767
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.1006e011
leave
ret 4
Function at 0x100add95
Capabilities:
Copy file
Delete file
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b1e9f
mov eax, dword fs:[0]
push eax
sub esp, 0x54
mov eax, dword [0x100dd3e0]
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.100adb3e
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.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
jne 0x100ade89
push 1
lea eax, [ebp - 0x50]
push eax
call fcn.100adb3e
pop ecx
pop ecx
lea eax, [ebp - 0x30]
push eax
call fcn.100ab420
pop ecx
movzx eax, al
test eax, eax
jne 0x100ade60
lea eax, [ebp - 0x50]
push eax
call fcn.100ab420
pop ecx
movzx eax, al
test eax, eax
je 0x100ade60
push 0
lea ecx, [ebp - 0x30]
call fcn.10004d1a
push eax
lea ecx, [ebp - 0x50]
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
je 0x100ade60
lea ecx, [ebp - 0x50]
call fcn.10004d1a
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.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0x50]
call fcn.10001767
cmp dword [ebp - 0x10], 0xffffffff
je 0x100aded7
push 0
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x54], eax
cmp dword [ebp - 0x54], 0x10
jb 0x100adece
cmp dword [ebp - 0x54], 0xffffffff
je 0x100adece
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 0x100adece
mov eax, dword [ebp - 0x58]
cmp eax, dword [ebp - 0x54]
jne 0x100adece
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.10001767
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.1006e011
leave
ret 4
Function at 0x100aec1e
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100f9848]
and eax, 1
jne 0x100aec64
mov eax, dword [0x100f9848]
or eax, 1
mov dword [0x100f9848], eax
mov ecx, 0x100f9844
call fcn.10003b07
push 0x100b775f
call fcn.1006e57b
pop ecx
mov ecx, 0x100f9844
call fcn.1002ff98
movzx eax, al
test eax, eax
je 0x100aecb7
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10070cb0
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, 0x100f9844
call fcn.10003bbe
push 0x100f9844
mov ecx, dword [ebp + 8]
call fcn.10003b21
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.1006e011
leave
ret

Function at 0x100aece2
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x21c], 0
mov eax, dword [0x100f9850]
and eax, 1
jne 0x100aed28
mov eax, dword [0x100f9850]
or eax, 1
mov dword [0x100f9850], eax
mov ecx, 0x100f984c
call fcn.10003b07
push 0x100b7750
call fcn.1006e57b
pop ecx
mov ecx, 0x100f984c
call fcn.1002ff98
movzx eax, al
test eax, eax
je 0x100aed7b
and word [ebp - 0x218], 0
push 0x20a
push 0
lea eax, [ebp - 0x216]
push eax
call fcn.10070cb0
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, 0x100f984c
call fcn.10003bbe
push 0x100f984c
mov ecx, dword [ebp + 8]
call fcn.10003b21
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.1006e011
leave
ret
Function at 0x102bc971
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov word [esp + 0x782], dx
jmp fcn.102cbe8e
mov dword [esp], 0xec7d7aa5
mov word [esp + 0x780], ax
mov byte [esp], cl
jmp 0x102bc5ed

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

Disassembly:
mov word [esp + 0x8de], 0x4d
push dword [esp]
mov word [esp + 0x8e4], di
push dword [esp + 4]
push dword [esp]
jmp fcn.102df877

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

Disassembly:
mov byte [esp], 0xd6
jmp fcn.102c4902

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

Disassembly:
call fcn.102c4b26
mov word [esp + 0x8f2], 0x74
mov word [esp + 0x1c], di
pushfd
mov word [esp + 0x8f8], di
call fcn.102c7245

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

Disassembly:
pushal
push edi
mov dword [esp + 0x6c], eax
movzx ax, dl
jmp loc.102d1b57
mov dword [esp + 0x78], eax
lahf
bswap eax
push 0xf72c7bb9
lea eax, [esp + 0x95c]
mov byte [esp], ch
pushfd
mov dword [esp + 0x84], eax
lahf
bswap ax
pushfd
lea eax, [esp + 0x788]
pushfd
push 0x865494d
lea esp, [esp + 0x4c]
jp 0x102b9970
pushal
mov dword [esp + 0x68], eax
lea eax, [esi - 0x210b648b]
call fcn.102be9ae

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

Disassembly:
pushfd
mov word [esp + 0x77a], 0x4e
pushfd
jmp 0x102bdf40

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

Disassembly:
mov dword [esp + 0xa4], eax
bswap ax
push ebx
movzx ax, bl
lea eax, [esp + 0x7bc]
mov byte [esp + 4], dl
mov dword [esp + 0xac], eax
lahf
lea eax, [esp + 0x824]
mov byte [esp], dh
mov dword [esp + 0xb0], eax
mov byte [esp + 4], bl
mov word [esp + 8], sp
mov word [esp + 0xc], bp
push eax
lea esp, [esp + 0x4c]
jmp fcn.102d57b0

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

Disassembly:
lea esp, [esp + 0x6c]
jg 0x102d2668
pushal
mov word [esp + 0x8a4], 0x68
call fcn.102b93a2
mov word [esp + 0x8ec], 0x79
mov word [esp + 4], cx
mov byte [esp], 0xee
mov word [esp + 0x8ee], 0x57
mov byte [esp], 5
jmp 0x102c48e8
jmp 0x102c9aa9
pushfd
mov byte [esp], cl
pushfd
mov word [esp + 0x88c], 0x68
pushal
mov dword [esp + 8], 0x59cf001f
mov word [esp + 0x8ae], ax
push eax
pushfd
mov word [esp + 0x8b8], cx
call fcn.102d7aba

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

Disassembly:
mov byte [esp], 0x2c
mov word [esp + 0x7f0], ax
mov byte [esp], dl
call fcn.102c786f
jmp 0x102cae2a

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

Disassembly:
push dword [esp]
push esp
mov word [esp + 0x784], 0x43
push eax
mov word [esp + 0x78a], 0x20
pushfd
push dword [esp + 8]
mov byte [esp], bh
pushfd
lea esp, [esp + 0x4c]
jmp fcn.102df00c

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

Disassembly:
mov dword [esp + 0x44], eax
call fcn.102cace5

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

Disassembly:
mov byte [esp + 4], ch
mov word [esp + 0x772], bx
call fcn.102dc825