joyce8/EMBER2024-capa huggingface dataset:
Function at 0x415cc6
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x415d63
push ebx
push esi
call fcn.00415c8f
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00414914
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x415d10
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x415d62
push edi
push eax
call fcn.00412cd1
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x415d30
call fcn.0040f432
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x415d61
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00414914
add esp, 0x20
test eax, eax
jne 0x415d4f
push edi
call fcn.0040f432
jmp 0x415d57
push ebx
call fcn.0040f432
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x41b930
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x41b95d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x41b95d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x9e0040
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x407000]
push edi
jmp 0x9e005a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x9e0061
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9e0050
mov eax, 1
add ebx, ebx
jne 0x9e0073
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x9e0084
jne 0x9e00a3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9e00a3
dec eax
add ebx, ebx
jne 0x9e0090
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x9e0068
add ebx, ebx
jne 0x9e009f
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x9e00f5
xor ecx, ecx
sub eax, 3
jb 0x9e00bb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x9e012a
sar eax, 1
mov ebp, eax
jmp 0x9e00c6
add ebx, ebx
jne 0x9e00c6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9e0094
inc ecx
add ebx, ebx
jne 0x9e00d4
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x9e0094
add ebx, ebx
jne 0x9e00e1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x9e00d6
jne 0x9e00f2
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x9e00d6
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x9e0114
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x9e0106
jmp 0x9e0056
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x9e0114
add edi, ecx
jmp 0x9e0056
pop esi
mov edi, esi
mov ecx, 0x12bef
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x9e0132
cmp byte [edi], 0x26
jne 0x9e0132
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x9e0137
lea edi, [esi + 0x5db000]
mov eax, dword [edi]
or eax, eax
je 0x9e01af
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x5e5f30]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x5e60d4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x9e0164
mov ecx, edi
jns 0x9e0193
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x5e60d8]
or eax, eax
je 0x9e01a9
mov dword [ebx], eax
add ebx, 4
jmp 0x9e0181
call dword [esi + 0x5e60e8]
mov ebp, dword [esi + 0x5e60dc]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x9e01e3
sub esp, 0xffffff80
jmp 0x4015f0

Function at 0x4553fd
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff0
mov eax, 0x401000
call 0x4553fd
lcall 0x5de5, 0x8b10c483
jmp loc.00aee760
Function at 0x401f0e
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x401f4d
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x401f4d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x401f4d
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x401f4d
cmp dword [ecx + 0x74], 0xe
jbe 0x401f4d
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x408006
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x4080a3
push ebx
push esi
call fcn.00407fcf
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00407f18
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408050
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4080a2
push edi
push eax
call fcn.00406b18
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x408070
call fcn.00406bc3
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4080a1
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407f18
add esp, 0x20
test eax, eax
jne 0x40808f
push edi
call fcn.00406bc3
jmp 0x408097
push ebx
call fcn.00406bc3
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x40929b
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411fc0
push 0x411fb8
push str.FlsAlloc
push 0x1e
call fcn.0040915c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4092cf
push dword [ebp + 8]
mov ecx, esi
call dword [0x410120]
call esi
jmp 0x4092d5
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409319
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x411fd0
push 0x411fc8
push str.FlsGetValue
push 0x20
call fcn.0040915c
mov esi, eax
add esp, 0x10
test esi, esi
je 0x409350
push dword [ebp + 8]
mov ecx, esi
call dword [0x410120]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]
Function at 0x40e680
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40e6ad
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40e6ad
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x40fa99
Capabilities:
Create thread
Terminate process

Disassembly:
push esi
xor esi, esi
push esi
push esi
push esi
push 0x40f9ce
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
push 0xffffffffffffffff
push eax
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_ExitProcess]
Function at 0x407022
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 0xc]
xor eax, eax
mov edx, eax
push esi
mov esi, dword [ebp + 8]
and ecx, 0xfffffffc
jbe 0x407066
rol eax, 5
xor eax, dword [edx + esi]
add edx, 4
imul eax, eax, 0x9e3779b9
rol eax, 5
xor eax, 4
imul eax, eax, 0x9e3779b9
cmp edx, ecx
jb 0x407035
jmp 0x407066
movsx ecx, byte [edx + esi]
rol eax, 5
xor eax, ecx
imul eax, eax, 0x9e3779b9
inc edx
cmp edx, dword [ebp + 0xc]
jb 0x407056
pop esi
pop ebp
ret

Function at 0x407bfe
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push 1
lea esi, [ebx - 1]
push 0x2000
not esi
push ebx
and esi, 0xf0deafff
push esi
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov edi, eax
cmp edi, esi
jne 0x407c33
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
cmp esi, dword [ebp - 0x18]
jb 0x407c5d
lea eax, [esi + ebx]
cmp eax, dword [ebp - 0x18]
jb 0x407c5d
test edi, edi
je 0x407c2a
push 0x8000
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_VirtualFree]
jmp 0x407c2a
test edi, edi
je 0x407c65
mov eax, edi
jmp 0x407c2c
push 1
push 0x2000
push ebx
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
test eax, eax
jne 0x407c2c
int3
Function at 0x40ad32
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [ebp - 8]
push eax
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonSize], eax
call fcn.00407bfe
pop ecx
mov ecx, dword [sym.TestArrayUtils.exe_gMozillaPoisonSize]
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonBase], eax
test ecx, ecx
je 0x40ad6a
shr ecx, 1
dec ecx
add eax, ecx
mov dword [sym.TestArrayUtils.exe_gMozillaPoisonValue], eax
mov esp, ebp
pop ebp
ret
Function at 0x40595e
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
pushal
call 0x40596d
pop dword [ebp - 8]
mov eax, 0x40596d
sub dword [ebp - 8], eax
mov dword [ebp - 0x18], 0x6e9c2cb
sub dword [ebp - 0x18], 0xb8977d80
mov dword [ebp - 0x14], 0xc87d8883
add dword [ebp - 0x14], 0x69b5c3c2
mov dword [ebp - 0x10], 0x730c1622
add dword [ebp - 0x10], 0xd9402e0c
mov dword [ebp - 0xc], 0x3e6a0909
sub dword [ebp - 0xc], 0x3e6a0909
lea eax, [ebp - 0x18]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 8]
call dword [eax]
mov dword [ebp - 0x18], 0xa7809d4
add dword [ebp - 0x18], 0x69fa5f82
mov dword [ebp - 0x14], 0xd96043b5
sub dword [ebp - 0x14], 0x97f3e240
mov dword [ebp - 0x10], 0xdcc7ca7b
sub dword [ebp - 0x10], 0x79585e0f
mov dword [ebp - 0xc], 0xfe1e69d3
sub dword [ebp - 0xc], 0xfe1e69d3
lea ebx, [ebp - 0x18]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 8]
call dword [eax]
push 0x40
push 0x1000
push 0x33347
push 0
call eax
mov ecx, 0x39f4
mov edx, eax
mov ebx, 0x410000
add ebx, dword [ebp - 8]
mov edi, 0x9746b72c
sub dword [ebp - 4], 0xcebf1bc9
mov esi, dword [ebx]
xor dword [ebp - 4], edi
add esi, edi
xor dword [ebp - 4], 0x7d47c012
mov dword [edx], esi
add dword [ebp - 4], 0xe7afda89
add edx, 4
add ebx, 0x19e49160
add ebx, 0xe61b6ea4
loop 0x405a6e
add eax, 0x48cec894
sub eax, 0x48cdedf1
xor ebx, ebx
add ebx, eax
add eax, 5
mov ecx, 0x5825bc1f
sub ecx, 0x57e5bc1f
add ecx, dword [ebp - 8]
call ebx
leave
ret

Function at 0x4065b0
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x40c17c]
jne 0x4065ba
repz ret
jmp fcn.00406941
Function at 0x100049e0
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x10078b0b
mov eax, dword fs:[0]
push eax
mov eax, 0x2028
call fcn.10036c70
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
push 0x2000
push 0
lea eax, [ebp - 0x2010]
push eax
call fcn.10053860
add esp, 0xc
lea ecx, [ebp - 0x2018]
push ecx
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x2024], eax
cmp dword [ebp - 0x2024], 0
je 0x10004a50
cmp dword [ebp - 0x2024], 0x1fff
jbe 0x10004a57
xor eax, eax
jmp 0x10004bde
lea eax, [ebp - 0x2010]
push eax
mov ecx, dword [ebp - 0x2024]
push ecx
push 0
mov edx, dword [ebp + 8]
push edx
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x10004a7b
xor eax, eax
jmp 0x10004bde
lea eax, [ebp - 0x201c]
push eax
lea ecx, [ebp - 0x2020]
push ecx
push 0x1007da84
lea edx, [ebp - 0x2010]
push edx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
jne 0x10004aa5
xor eax, eax
jmp 0x10004bde
cmp dword [ebp + 0x18], 0
je 0x10004abc
mov eax, dword [ebp - 0x2020]
mov ecx, dword [eax + 8]
mov dword [ebp - 0x2030], ecx
jmp 0x10004acb
mov edx, dword [ebp - 0x2020]
mov eax, dword [edx + 0x10]
mov dword [ebp - 0x2030], eax
mov ecx, dword [ebp - 0x2030]
mov dword [ebp - 0x202c], ecx
cmp dword [ebp + 0x18], 0
je 0x10004aee
mov edx, dword [ebp - 0x2020]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x2034], eax
jmp 0x10004afd
mov ecx, dword [ebp - 0x2020]
mov edx, dword [ecx + 0x14]
mov dword [ebp - 0x2034], edx
mov eax, dword [ebp - 0x2034]
mov dword [ebp - 0x2028], eax
cmp dword [ebp + 0xc], 0
je 0x10004b1a
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp - 0x202c]
mov dword [ecx], edx
cmp dword [ebp + 0x10], 0
je 0x10004b2b
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp - 0x2028]
mov dword [eax], ecx
cmp dword [ebp + 0x14], 0
je 0x10004bd9
push 4
lea ecx, [ebp - 0x2014]
call fcn.100062d0
lea ecx, [ebp - 0x2014]
call fcn.10002d70
mov dword [ebp - 4], 0
mov edx, dword [ebp - 0x2028]
and edx, 0xffff
movzx eax, dx
push eax
mov ecx, dword [ebp - 0x2028]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x202c]
and eax, 0xffff
movzx ecx, ax
push ecx
mov edx, dword [ebp - 0x202c]
shr edx, 0x10
and edx, 0xffff
movzx eax, dx
push eax
push 0x1007da88
lea ecx, [ebp - 0x2014]
push ecx
call fcn.100046a0
add esp, 0x18
lea ecx, [ebp - 0x2014]
call fcn.100034b0
push eax
push 0x104
mov edx, dword [ebp + 0x14]
push edx
call fcn.10005990
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x2014]
call fcn.10003140
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret
Function at 0x100050a0
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x244
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x23c], 0
mov dword [ebp - 0x238], 0
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x238], eax
cmp dword [ebp - 0x238], 0xffffffff
jne 0x100050ea
mov eax, dword [ebp - 0x23c]
jmp 0x100051f1
push 0x22c
push 0
lea eax, [ebp - 0x234]
push eax
call fcn.10053860
add esp, 0xc
mov dword [ebp - 0x234], 0x22c
lea ecx, [ebp - 0x234]
push ecx
mov edx, dword [ebp - 0x238]
push edx
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
jne 0x10005139
mov eax, dword [ebp - 0x238]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
jmp 0x100051f1
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
mov dword [ebp - 0x240], eax
mov ecx, dword [ebp - 0x240]
cmp ecx, dword [ebp - 0x22c]
je 0x100051c3
push 4
lea ecx, [ebp - 8]
call fcn.100062d0
lea edx, [ebp - 8]
push edx
mov ecx, dword [ebp + 8]
call fcn.100065e0
lea eax, [ebp - 0x244]
push eax
mov ecx, dword [ebp + 8]
call fcn.10006730
push eax
lea ecx, [ebp - 8]
call fcn.10003400
movzx ecx, al
test ecx, ecx
je 0x100051b8
lea edx, [ebp - 0x210]
push edx
lea ecx, [ebp - 8]
call fcn.100034b0
mov ecx, eax
call fcn.10003d50
test eax, eax
jne 0x100051ae
mov dword [ebp - 0x23c], 1
jmp 0x100051b8
lea ecx, [ebp - 8]
call fcn.100034c0
jmp 0x10005169
cmp dword [ebp - 0x23c], 0
je 0x100051c3
jmp 0x100051de
lea eax, [ebp - 0x234]
push eax
mov ecx, dword [ebp - 0x238]
push ecx
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x10005145
mov edx, dword [ebp - 0x238]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret

Function at 0x10005520
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0xc], ecx
xor eax, eax
jne 0x10005533
mov dword [ebp - 8], 0
push 0
lea ecx, [ebp - 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp - 0xc]
mov edx, dword [ecx]
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x10005568
call fcn.100039f0
jmp 0x1000557e
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0xc]
je 0x1000557c
push 0x26
call fcn.100069b0
add esp, 4
jmp 0x1000557e
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret 8
Function at 0x1000c1a0
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
push ecx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
push eax
call fcn.1000c0c0
add esp, 4
test eax, eax
jne 0x1000c1c1
xor eax, eax
jmp 0x1000c1da
mov ecx, dword [ebp - 4]
push ecx
call fcn.1000c3f0
add esp, 4
test eax, eax
jne 0x1000c1d5
xor eax, eax
jmp 0x1000c1da
mov eax, 1
mov esp, ebp
pop ebp
ret

Function at 0x1000c3f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x18], 1
push 0x10080a20
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_StrStrIW]
test eax, eax
jne 0x1000c41c
jmp 0x1000c482
mov dword [ebp - 8], 0
mov dword [ebp - 0x10], 4
mov dword [ebp - 0xc], 4
xor ecx, ecx
mov byte [ebp - 0x11], cl
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 0x10]
push ecx
push str.AutoRun_Interval
lea ecx, [ebp - 0x11]
call fcn.1000be80
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
test eax, eax
je 0x1000c461
jmp 0x1000c482
cmp dword [ebp - 8], 0
jbe 0x1000c47e
cmp dword [ebp - 8], 0x14
jae 0x1000c47e
push 1
mov edx, dword [ebp - 8]
push edx
call fcn.1000c4a0
add esp, 8
mov dword [ebp - 0x18], eax
xor eax, eax
jne 0x1000c407
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret

Function at 0x1000c980
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x14], ecx
xor eax, eax
jne 0x1000c993
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
shl edx, 1
mov dword [ebp - 0xc], edx
mov eax, dword [ebp + 0x10]
mov dword [eax], 0
lea ecx, [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp - 0x14]
mov eax, dword [edx]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x1000c9d6
mov eax, dword [ebp - 0x10]
jmp 0x1000ca3c
cmp dword [ebp - 8], 1
je 0x1000c9e9
cmp dword [ebp - 8], 2
je 0x1000c9e9
mov eax, 0xd
jmp 0x1000ca3c
cmp dword [ebp + 0xc], 0
je 0x1000ca30
cmp dword [ebp - 0xc], 0
je 0x1000ca1f
mov eax, dword [ebp - 0xc]
xor edx, edx
mov ecx, 2
div ecx
test edx, edx
jne 0x1000ca16
mov edx, dword [ebp - 0xc]
shr edx, 1
mov eax, dword [ebp + 0xc]
movzx ecx, word [eax + edx*2 - 2]
test ecx, ecx
je 0x1000ca1d
mov eax, 0xd
jmp 0x1000ca3c
jmp 0x1000ca30
mov edx, 2
imul eax, edx, 0
xor ecx, ecx
mov edx, dword [ebp + 0xc]
mov word [edx + eax], cx
mov eax, dword [ebp - 0xc]
shr eax, 1
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret 0xc
Function at 0x1000d370
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x4014
call fcn.10036c70
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov ax, word [0x100812b8]
mov word [ebp - 0x4004], ax
push 0x3ffe
push 0
lea ecx, [ebp - 0x4002]
push ecx
call fcn.10053860
add esp, 0xc
mov dword [ebp - 0x4014], 0
mov dword [ebp - 0x4008], 0
cmp dword [ebp + 8], 0
je 0x1000d3ca
cmp dword [ebp + 0xc], 0
jne 0x1000d3d1
xor eax, eax
jmp 0x1000d4cf
lea edx, [ebp - 0x4008]
push edx
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [ebp - 0x4014], eax
cmp dword [ebp - 0x4014], 0
je 0x1000d3fc
cmp dword [ebp - 0x4014], 0x3fff
jbe 0x1000d403
xor eax, eax
jmp 0x1000d4cf
lea ecx, [ebp - 0x4004]
push ecx
mov edx, dword [ebp - 0x4014]
push edx
push 0
mov eax, dword [ebp + 8]
push eax
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x1000d4cd
lea ecx, [ebp - 0x400c]
push ecx
lea edx, [ebp - 0x4010]
push edx
push 0x100812bc
lea eax, [ebp - 0x4004]
push eax
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x1000d4cd
mov ecx, dword [ebp + 0x10]
shl ecx, 1
push ecx
push 0
mov edx, dword [ebp + 0xc]
push edx
call fcn.10053860
add esp, 0xc
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 0xc]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
and ecx, 0xffff
movzx edx, cx
push edx
mov eax, dword [ebp - 0x4010]
mov ecx, dword [eax + 8]
shr ecx, 0x10
and ecx, 0xffff
movzx edx, cx
push edx
push 0x100812c0
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call fcn.1000d620
add esp, 0x1c
mov eax, 1
jmp 0x1000d4cf
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret
Function at 0x1000d730
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [0x100a11a4]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x10], 0
cmp dword [ebp + 8], 0
jne 0x1000d754
xor al, al
jmp 0x1000d7f4
cmp dword [ebp + 0xc], 0
jne 0x1000d761
xor al, al
jmp 0x1000d7f4
cmp dword [ebp + 0x10], 0
jne 0x1000d76e
xor al, al
jmp 0x1000d7f4
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
test eax, eax
je 0x1000d784
xor al, al
jmp 0x1000d7f4
mov dword [ebp - 8], 0
lea edx, [ebp - 8]
push edx
push 0x40
mov eax, dword [ebp + 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000d7b0
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
xor al, al
jmp 0x1000d7f4
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.10052d60
add esp, 0xc
mov dword [ebp - 0xc], 0
lea edx, [ebp - 0xc]
push edx
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtect]
test eax, eax
jne 0x1000d7f2
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x10], eax
xor al, al
jmp 0x1000d7f4
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.10036c51
mov esp, ebp
pop ebp
ret