joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100a07f4
Capabilities:
Create directory
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c961b
mov eax, dword fs:[0]
push eax
sub esp, 0x30
mov eax, dword [0x100f93e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.1009deee
lea ecx, [ebp - 0x1c]
call fcn.10014b4b
and dword [ebp - 4], 0
push 0x100d699f
push 0x100da16c
lea eax, [ebp - 0x20]
push eax
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x10]
call fcn.100c6240
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov byte [ebp - 4], 1
push 0
push 0x100da160
mov eax, dword [ebp + 8]
push dword [eax + 0x10]
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x10]
mov eax, dword [eax]
call dword [eax + 0x18]
push eax
mov ecx, dword [ebp - 0x38]
call fcn.10005b69
push eax
lea eax, [ebp - 0x1c]
push eax
call fcn.10008825
add esp, 0xc
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x20]
call fcn.10014be9
lea eax, [ebp - 0x18]
push eax
call fcn.100bee66
pop ecx
mov byte [ebp - 4], 2
lea eax, [ebp - 0x18]
push eax
call fcn.1009d723
pop ecx
push 0x100da170
lea ecx, [ebp - 0x18]
call fcn.1000e4d2
push 0
lea ecx, [ebp - 0x18]
call fcn.10005b69
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100da184
lea ecx, [ebp - 0x18]
call fcn.1000e4d2
lea ecx, [ebp - 0x18]
call fcn.10005b69
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0x1438
call fcn.1007786b
pop ecx
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x10], eax
push 0x1438
push 0
push dword [ebp - 0x10]
call fcn.100771d0
add esp, 0xc
mov eax, dword [ebp - 0x10]
mov dword [eax + 4], 2
push 0xe0
call fcn.1007786b
pop ecx
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100a0932
mov ecx, dword [ebp - 0x2c]
call fcn.10004896
mov dword [ebp - 0x3c], eax
jmp 0x100a0936
and dword [ebp - 0x3c], 0
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x10]
and dword [eax + 8], 0
lea ecx, [ebp - 0x1c]
call fcn.10005b69
push eax
mov ecx, dword [ebp - 0x14]
call fcn.1000e515
lea ecx, [ebp - 0x18]
call fcn.10005b69
push eax
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.1000e515
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10046873
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push dword [ebp + 8]
call dword [eax + 0x2c]
and dword [ebp - 0x30], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x18]
call fcn.10014be9
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.10014be9
mov eax, dword [ebp - 0x30]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 4
Function at 0x100a0e62
Capabilities:
Create directory
Query environment variable

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c97c1
mov eax, dword fs:[0]
push eax
sub esp, 0x248
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x1c], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x24c], ecx
push 0x100d892b
push 0x100dbd34
lea eax, [ebp - 0x14]
push eax
mov eax, dword [ebp - 0x24c]
mov ecx, dword [eax + 0x10]
call fcn.100c6240
and dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.10003bcb
movzx eax, al
test eax, eax
je 0x100a0ee0
and dword [ebp - 0x230], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
mov eax, dword [ebp - 0x230]
jmp 0x100a1054
and word [ebp - 0x22c], 0
push 0x208
push 0
lea eax, [ebp - 0x22a]
push eax
call fcn.100771d0
add esp, 0xc
push 0x105
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x14]
call fcn.10005b69
push eax
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0
lea eax, [ebp - 0x22c]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.qmfix.dll
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
push 0
push 0x100dbd5c
lea eax, [ebp - 0x22c]
push eax
push 0x451
push dword [0x101157c4]
call fcn.1009e378
add esp, 0x14
test eax, eax
jne 0x100a0f7f
and dword [ebp - 0x234], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
mov eax, dword [ebp - 0x234]
jmp 0x100a1054
push 0xec
call fcn.1007786b
pop ecx
mov dword [ebp - 0x23c], eax
mov byte [ebp - 4], 1
cmp dword [ebp - 0x23c], 0
je 0x100a0fc7
mov eax, dword [ebp - 0x24c]
push dword [eax + 0x10]
push 2
push 0x100dbd70
lea eax, [ebp - 0x22c]
push eax
mov ecx, dword [ebp - 0x23c]
call fcn.100b0e2f
mov dword [ebp - 0x250], eax
jmp 0x100a0fce
and dword [ebp - 0x250], 0
mov eax, dword [ebp - 0x250]
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x238]
mov dword [ebp - 0x10], eax
push 0x100dbd84
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x244], eax
mov eax, dword [ebp - 0x244]
mov dword [ebp - 0x240], eax
cmp dword [ebp - 0x240], 0
je 0x100a1032
push 1
mov eax, dword [ebp - 0x240]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x240]
call dword [eax + 0x1c]
mov dword [ebp - 0x254], eax
jmp 0x100a1039
and dword [ebp - 0x254], 0
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x248], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.10014be9
mov eax, dword [ebp - 0x248]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x1c]
xor ecx, ebp
call fcn.100771ba
leave
ret
Function at 0x100a1227
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100c9834
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x23c], ecx
push dword [ebp + 8]
lea ecx, [ebp - 0x22c]
call fcn.10028ae5
and dword [ebp - 4], 0
lea ecx, [ebp - 0x22c]
call fcn.10046a67
lea eax, [ebp - 0x22c]
push eax
lea ecx, [ebp - 0x228]
call fcn.10046a36
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x22c]
call fcn.10028afe
push eax
push dword [ebp + 8]
mov ecx, dword [ebp - 0x23c]
call fcn.100a0236
test eax, eax
jne 0x100a12d9
and dword [ebp - 0x230], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10031d4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10031d4f
mov eax, dword [ebp - 0x230]
jmp 0x100a13dc
push 0x100db73c
lea ecx, [ebp - 0x22c]
call fcn.1003cfa4
lea ecx, [ebp - 0x22c]
call fcn.10046a4f
test eax, eax
jne 0x100a1328
and dword [ebp - 0x234], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10031d4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10031d4f
mov eax, dword [ebp - 0x234]
jmp 0x100a13dc
and word [ebp - 0x224], 0
push 0x208
push 0
lea eax, [ebp - 0x222]
push eax
call fcn.100771d0
add esp, 0xc
lea ecx, [ebp - 0x22c]
call fcn.10028afe
push eax
push 0x104
lea eax, [ebp - 0x224]
push eax
push str.setup.exe
push str.PacketExe
push 0x100db778
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [ebp - 0x224]
push eax
lea ecx, [ebp - 0x228]
call fcn.1003cfa4
lea ecx, [ebp - 0x228]
call fcn.10028afe
push eax
push 0x104
mov eax, dword [ebp + 0xc]
add eax, 0x90
push eax
call fcn.100773e4
add esp, 0xc
lea ecx, [ebp - 0x228]
call fcn.10046a4f
mov dword [ebp - 0x238], eax
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x228]
call fcn.10031d4f
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x22c]
call fcn.10031d4f
mov eax, dword [ebp - 0x238]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100771ba
leave
ret 8
Function at 0x100a68db
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x4c
mov ecx, dword [ebp + 8]
call fcn.100a5088
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100a68fc
mov eax, 0x80004005
jmp 0x100a6acc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10005a1b
jmp 0x100a691b
push 0
lea eax, [ebp - 0x34]
push eax
lea ecx, [ebp - 0xc]
call fcn.10040b12
lea eax, [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x34
call fcn.10005a3e
push eax
lea ecx, [ebp - 0xc]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x100a6ac7
lea ecx, [ebp - 0xc]
call fcn.10046a11
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.10046a11
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x100a6965
cmp dword [ebp - 0x14], 0
jne 0x100a6967
jmp 0x100a690d
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x100a6ac2
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call dword [eax + 4]
test eax, eax
je 0x100a6a2f
mov eax, dword [ebp + 8]
and dword [eax + 0xc4], 0
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 5
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003e277
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10028dc4
push eax
lea ecx, [ebp - 0x1c]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x100a6a1f
lea ecx, [ebp - 0x1c]
call fcn.10046ad3
mov eax, dword [eax]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x20], 0
je 0x100a6a15
push 0
push 0
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x20]
mov eax, dword [eax]
push dword [ebp - 0x20]
call dword [eax + 0x10]
lea ecx, [ebp - 0x1c]
call fcn.10046a22
jmp 0x100a69d1
xor eax, eax
jne 0x100a69c2
xor eax, eax
jmp 0x100a6acc
mov eax, dword [ebp + 8]
mov dword [eax + 0xc4], 0x12
mov eax, dword [ebp - 0x10]
mov dword [eax + 8], 7
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp + 8]
mov ecx, dword [ecx + 0xc4]
mov dword [eax + 0xc], ecx
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003e277
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.10028dc4
push eax
lea ecx, [ebp - 0x28]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x100a6ab7
lea ecx, [ebp - 0x28]
call fcn.10046ad3
mov eax, dword [eax]
mov dword [ebp - 0x2c], eax
cmp dword [ebp - 0x2c], 0
je 0x100a6aad
mov eax, dword [ebp + 8]
push dword [eax + 0xc4]
push dword [ebp - 0x10]
mov eax, dword [ebp - 0x2c]
mov eax, dword [eax]
push dword [ebp - 0x2c]
call dword [eax + 0x14]
lea ecx, [ebp - 0x28]
call fcn.10046a22
jmp 0x100a6a64
xor eax, eax
jne 0x100a6a55
mov eax, 0x80004005
jmp 0x100a6acc
jmp 0x100a690d
mov eax, 0x80004005
leave
ret 4
Function at 0x100a6c4a
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov dword [ebp - 0x2c], ecx
mov ecx, dword [ebp - 0x2c]
call fcn.100a5088
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100a6c69
jmp 0x100a6d25
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.10005a1b
jmp 0x100a6c88
push 0
lea eax, [ebp - 0x20]
push eax
lea ecx, [ebp - 0xc]
call fcn.10040b12
lea eax, [ebp - 0x28]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x34
call fcn.10005a3e
push eax
lea ecx, [ebp - 0xc]
call fcn.10043709
movzx eax, al
test eax, eax
je 0x100a6d25
lea ecx, [ebp - 0xc]
call fcn.10046a11
mov eax, dword [eax]
mov dword [ebp - 0x10], eax
lea ecx, [ebp - 0xc]
call fcn.10046a11
mov eax, dword [eax + 4]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x10], 0
je 0x100a6cce
cmp dword [ebp - 0x14], 0
jne 0x100a6cd0
jmp 0x100a6c7a
mov eax, dword [ebp - 0x10]
cmp dword [eax + 4], 0x186a0
je 0x100a6d20
mov eax, dword [ebp - 0x10]
cmp dword [eax + 8], 4
ja 0x100a6d20
mov ecx, dword [ebp - 0x14]
add ecx, 0x1c
call fcn.100094ad
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
and dword [ebp - 0x18], 0
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 0x14]
mov eax, dword [ebp - 4]
mov eax, dword [eax]
mov ecx, dword [ebp - 4]
call dword [eax + 4]
test eax, eax
je 0x100a6d20
lea eax, [ebp - 0x18]
push eax
mov ecx, dword [ebp - 0x2c]
add ecx, 0x40
call fcn.10046956
jmp 0x100a6c7a
leave
ret

Function at 0x100a7710
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100ca6f1
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x100f93e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x1c], ecx
and dword [ebp - 0x10], 0
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.10005b69
push eax
lea ecx, [ebp - 0x18]
call fcn.10024fc7
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
and dword [ebp - 4], 0
mov ecx, dword [ebp - 0x24]
call fcn.10005b69
push eax
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x10]
xor ecx, ecx
test eax, eax
setge cl
mov byte [ebp - 0x11], cl
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.1000ef49
movzx eax, byte [ebp - 0x11]
test eax, eax
je 0x100a77c9
mov dword [0x101157a0], 1
push 0
push str.gf_bd2die
mov eax, dword [ebp - 0x1c]
mov eax, dword [eax + 0x10]
mov ecx, dword [ebp - 0x1c]
mov ecx, dword [ecx + 0x10]
mov eax, dword [eax]
push ecx
call dword [eax + 0x20]
mov dword [0x101157a4], eax
mov ecx, dword [ebp - 0x1c]
call fcn.100a7427
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp - 0x1c]
add ecx, 0x50
call fcn.10005b69
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x100a927e
Capabilities:
Find taskbar

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], ecx
call dword [sym.imp.USER32.dll_GetForegroundWindow]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x100a92b5
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
jmp 0x100a92ea
push 0
push 0x100dca0c
call dword [sym.imp.USER32.dll_FindWindowW]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
mov eax, dword [ebp - 4]
cmp dword [eax + 0xc], 0
je 0x100a92ea
mov eax, dword [ebp - 4]
add eax, 8
push eax
mov eax, dword [ebp - 4]
push dword [eax + 0xc]
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov ecx, dword [ebp - 4]
mov dword [ecx + 4], eax
leave
ret

Function at 0x100a92ec
Capabilities:
Create process on windows
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x68
push edi
and dword [ebp - 0x68], 0
push 0x40
push 0
lea eax, [ebp - 0x64]
push eax
call fcn.100771d0
add esp, 0xc
and dword [ebp - 0x14], 0
xor eax, eax
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x68], 0x44
mov dword [ebp - 0x3c], 0x80
and dword [ebp - 0x18], 0
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 0x18]
push eax
push 0
push 0
push 0
push 0
push 0
push str.SoftWareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x100a9370
push 4
lea eax, [ebp + 0x10]
push eax
push 4
push 0
push str.Supplyid
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x68]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x100a93b2
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
inc eax
jmp 0x100a93b4
xor eax, eax
pop edi
leave
ret
Function at 0x100a94c0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
push edi
push section.DLLShare
call fcn.10077b0b
pop ecx
test eax, eax
jne 0x100a94d8
jmp 0x100a9547
and dword [ebp - 0x60], 0
push 0x40
push 0
lea eax, [ebp - 0x5c]
push eax
call fcn.100771d0
add esp, 0xc
and dword [ebp - 0x10], 0
xor eax, eax
lea edi, [ebp - 0xc]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov dword [ebp - 0x60], 0x44
mov dword [ebp - 0x34], 0x81
and word [ebp - 0x30], 0
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x60]
push eax
push 0
push 0
push 0
push 0
push 0
push 0
push section.DLLShare
push 0
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a9547
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
leave
ret 0x10

Function at 0x100a97e4
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 0xc]
and dword [eax], 0
mov eax, dword [ebp + 0x10]
and dword [eax], 0
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x100a98a5
push dword [ebp - 4]
call fcn.10076ac2
pop ecx
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 8], eax
push dword [ebp - 8]
push dword [ebp - 4]
push 0
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x100a9892
and dword [ebp - 0x10], 0
and dword [ebp - 0xc], 0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x100dbfd0
push dword [ebp - 8]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x100a9892
mov eax, dword [ebp - 0x10]
mov eax, dword [eax + 8]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
and eax, 0xffff0000
shr eax, 0x10
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov eax, dword [ebp - 0x14]
and eax, 0xffff
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
push dword [ebp - 0x1c]
call fcn.1007a47b
pop ecx
and dword [ebp - 8], 0
xor eax, eax
inc eax
jmp 0x100a98a7
mov eax, dword [ebp - 8]
mov dword [ebp - 0x20], eax
push dword [ebp - 0x20]
call fcn.1007a47b
pop ecx
and dword [ebp - 8], 0
xor eax, eax
leave
ret
Function at 0x100a98a9
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
and dword [ebp - 0x14], 0
and dword [ebp - 4], 0
or dword [ebp - 0x18], 0xffffffff
and dword [ebp - 0x10], 0
and dword [ebp - 8], 0
and dword [ebp - 0x1c], 0
and dword [ebp - 0xc], 0
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0xffffffff
jne 0x100a98f9
jmp 0x100a99b1
push 0
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xa00000
jbe 0x100a991a
jmp 0x100a99b1
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x10]
inc eax
push eax
call fcn.10076ac2
pop ecx
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
jne 0x100a993e
jmp 0x100a99b1
mov eax, dword [ebp - 0x10]
inc eax
push eax
push 0
push dword [ebp - 4]
call fcn.100771d0
add esp, 0xc
mov eax, dword [ebp - 4]
mov dword [ebp - 0xc], eax
push 0
lea eax, [ebp - 8]
push eax
push dword [ebp - 0x1c]
push dword [ebp - 0xc]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x100a997a
cmp dword [ebp - 8], 0
jne 0x100a9991
mov eax, dword [ebp - 4]
mov dword [ebp - 0x24], eax
push dword [ebp - 0x24]
call fcn.1007a47b
pop ecx
and dword [ebp - 4], 0
jmp 0x100a99b1
mov eax, dword [ebp - 0x1c]
sub eax, dword [ebp - 8]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0xc]
add eax, dword [ebp - 8]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0x1c], 0
jne 0x100a9956
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x10]
mov dword [eax], ecx
cmp dword [ebp - 0x18], 0xffffffff
je 0x100a99c4
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
or dword [ebp - 0x18], 0xffffffff
mov eax, dword [ebp - 4]
leave
ret

Function at 0x100a9a84
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0xc], eax
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x100a9ab0
xor eax, eax
jmp 0x100a9b37
and dword [ebp - 0x244], 0
and dword [ebp - 8], 0
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x100a9b28
push dword [ebp + 8]
lea eax, [ebp - 0x21c]
push eax
call fcn.1007bcdc
pop ecx
pop ecx
test eax, eax
jne 0x100a9b15
cmp dword [ebp + 0xc], 0
je 0x100a9b09
push dword [ebp - 0x238]
push 0
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov ecx, dword [ebp + 0xc]
mov dword [ecx], eax
mov dword [ebp - 0x244], 1
jmp 0x100a9b28
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 4]
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x100a9ad8
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0xc]
xor ecx, ebp
call fcn.100771ba
leave
ret
Function at 0x100a9c1a
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x450
mov eax, dword [0x100f93e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
cmp dword [ebp + 8], 0
jne 0x100a9c3a
xor eax, eax
jmp 0x100a9d32
and dword [ebp - 4], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0xffffffff
je 0x100a9d2f
push 0x22c
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.100771d0
add esp, 0xc
mov dword [ebp - 0x240], 0x22c
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32FirstW
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x100a9d26
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFindFileNameW]
mov dword [ebp - 0x244], eax
cmp dword [ebp - 0x244], 0
je 0x100a9d0f
and word [ebp - 0x450], 0
push 0x206
push 0
lea eax, [ebp - 0x44e]
push eax
call fcn.100771d0
add esp, 0xc
push 0x103
push dword [ebp - 0x244]
lea eax, [ebp - 0x450]
push eax
call fcn.1007b1b2
add esp, 0xc
lea eax, [ebp - 0x450]
push eax
call dword [sym.imp.USER32.dll_CharUpperW]
push dword [ebp + 8]
lea eax, [ebp - 0x450]
push eax
call fcn.1007bcdc
pop ecx
pop ecx
test eax, eax
jne 0x100a9d0f
mov dword [ebp - 4], 1
jmp 0x100a9d26
lea eax, [ebp - 0x240]
push eax
push dword [ebp - 8]
call sub.KERNEL32.dll_Process32NextW
mov dword [ebp - 0xc], eax
jmp 0x100a9c86
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.100771ba
leave
ret