joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4229a0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ecx
cmp byte [0x451bc5], 0
push ebp
push esi
mov ebp, edx
mov dword [esp + 8], ecx
jne 0x422a00
push 0xa
push 3
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceA]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [0x45183c], eax
mov esi, dword [eax]
add eax, 4
mov dword [0x45183c], eax
mov ecx, dword [eax]
lea edx, [eax + 4]
push ecx
mov dword [0x45183c], edx
call fcn.004212e0
add esp, 4
cmp eax, esi
jne 0x422b61
mov byte [0x451bc5], 1
push ebx
mov ebx, dword [esp + 0x14]
mov ecx, 0x4462e8
push edi
mov eax, ebx
nop dword [eax]
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x422a30
test dl, dl
je 0x422a2c
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x422a30
add eax, 2
add ecx, 2
test dl, dl
jne 0x422a10
xor eax, eax
jmp 0x422a35
sbb eax, eax
or eax, 1
test eax, eax
je 0x422aad
cmp byte [0x451bc6], 1
je 0x422aad
mov esi, dword [sym.imp.python36.dll_PyDict_New]
call esi
mov dword [0x451c2c], eax
call esi
mov dword [0x451e88], eax
call esi
mov dword [0x451bc8], eax
call esi
mov dword [0x451b80], eax
call esi
mov dword [0x4520c0], eax
call esi
mov dword [0x451c0c], eax
call esi
mov dword [0x452094], eax
call esi
mov edi, dword [sym.imp.python36.dll_PyLong_FromLong]
mov esi, 0xfffffffb
mov dword [0x4520a0], eax
nop dword [eax + eax]
push esi
call edi
mov dword [esi*4 + 0x452114], eax
add esp, 4
inc esi
cmp esi, 0x101
jl 0x422a90
mov byte [0x451bc6], 1
mov esi, dword [0x45183c]
mov eax, ebx
mov ecx, esi
mov dl, byte [eax]
cmp dl, byte [ecx]
jne 0x422ad7
test dl, dl
je 0x422ad3
mov dl, byte [eax + 1]
cmp dl, byte [ecx + 1]
jne 0x422ad7
add eax, 2
add ecx, 2
test dl, dl
jne 0x422ab7
xor edx, edx
jmp 0x422adc
sbb edx, edx
or edx, 1
mov ecx, esi
lea edi, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422ae1
sub ecx, edi
add esi, ecx
mov eax, dword [esi + 1]
add esi, 5
test edx, edx
je 0x422b45
add esi, eax
mov ecx, ebx
mov eax, esi
nop dword [eax]
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x422b20
test dl, dl
je 0x422b1c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x422b20
add ecx, 2
add eax, 2
test dl, dl
jne 0x422b00
xor edx, edx
jmp 0x422b25
sbb edx, edx
or edx, 1
mov ecx, esi
lea edi, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x422b30
sub ecx, edi
add esi, ecx
mov eax, dword [esi + 1]
add esi, 5
test edx, edx
jne 0x422af6
movzx eax, word [esi]
mov edx, ebp
mov ecx, dword [esp + 0x10]
push eax
lea eax, [esi + 2]
push eax
call fcn.00421ce0
add esp, 8
pop edi
pop ebx
pop esi
pop ebp
pop ecx
ret
push str.Error__corrupted_constants_object
call fcn.00431fe0
add esp, 4
call fcn.004285c0
int3

Function at 0x425d01
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x425d40
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x425d40
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x425d40
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x425d40
cmp dword [ecx + 0x74], 0xe
jbe 0x425d40
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x433df4
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x442500
push 0x4424f8
push str.FlsAlloc
push 0x1e
call fcn.00433cb5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433e28
push dword [ebp + 8]
mov ecx, esi
call dword [0x440480]
call esi
jmp 0x433e2e
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x433e72
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x442510
push 0x442508
push str.FlsGetValue
push 0x20
call fcn.00433cb5
mov esi, eax
add esp, 0x10
test esi, esi
je 0x433ea9
push dword [ebp + 8]
mov ecx, esi
call dword [0x440480]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x43753c
Capabilities:
Enumerate files on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x264
mov eax, dword [0x44f004]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov ecx, dword [ebp + 0x10]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [ebp - 0x25c], ecx
cmp edx, edi
je 0x437587
movzx eax, word [edx]
lea ecx, [ebp - 0x255]
push eax
call fcn.004376db
test al, al
jne 0x437581
sub edx, 2
cmp edx, edi
jne 0x437567
mov ecx, dword [ebp - 0x25c]
movzx esi, word [edx]
cmp esi, 0x3a
jne 0x4375a9
lea eax, [edi + 2]
cmp edx, eax
je 0x4375a9
push ecx
xor ebx, ebx
push ebx
push ebx
push edi
call fcn.00437488
add esp, 0x10
jmp 0x4376a3
push esi
lea ecx, [ebp - 0x255]
call fcn.004376db
sub edx, edi
movzx eax, al
sar edx, 1
inc edx
neg eax
sbb eax, eax
xor ebx, ebx
push ebx
push ebx
and eax, edx
push ebx
mov dword [ebp - 0x260], eax
lea eax, [ebp - 0x254]
push eax
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_FindFirstFileExW]
mov esi, eax
cmp esi, 0xffffffff
jne 0x4375ec
push dword [ebp - 0x25c]
jmp 0x437599
mov ebx, dword [ebp - 0x25c]
push 0x2e
mov eax, dword [ebx + 4]
sub eax, dword [ebx]
sar eax, 2
mov dword [ebp - 0x25c], eax
pop eax
cmp word [ebp - 0x228], ax
jne 0x437629
cmp word [ebp - 0x226], 0
je 0x43764a
cmp word [ebp - 0x226], ax
jne 0x437629
cmp word [ebp - 0x224], 0
je 0x43764a
push ebx
push dword [ebp - 0x260]
lea eax, [ebp - 0x228]
push edi
push eax
call fcn.00437488
add esp, 0x10
mov dword [ebp - 0x264], eax
test eax, eax
jne 0x437696
lea eax, [ebp - 0x254]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindNextFileW]
push 0x2e
test eax, eax
pop eax
jne 0x437603
mov eax, dword [ebx + 4]
mov edx, dword [ebx]
sub eax, edx
mov ecx, dword [ebp - 0x25c]
sar eax, 2
cmp ecx, eax
jne 0x43767e
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
xor eax, eax
jmp 0x4376a3
push 0x4371e9
sub eax, ecx
push 4
push eax
lea eax, [edx + ecx*4]
push eax
call fcn.0043cea0
add esp, 0x10
jmp 0x437673
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
mov eax, dword [ebp - 0x264]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0042542d
leave
ret
Function at 0x43811c
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 0x4381b9
push ebx
push esi
call fcn.004380e5
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.0043802e
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x438166
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4381b8
push edi
push eax
call fcn.0043540e
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x438186
call fcn.00433b48
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x4381b7
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.0043802e
add esp, 0x20
test eax, eax
jne 0x4381a5
push edi
call fcn.00433b48
jmp 0x4381ad
push ebx
call fcn.00433b48
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 0x4381bc
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
jne 0x4381cd
pop esi
ret
push ebx
push edi
push esi
call fcn.004380e5
mov ebx, eax
sub ebx, esi
and ebx, 0xfffffffe
push ebx
call fcn.0043540e
mov edi, eax
pop ecx
pop ecx
test edi, edi
je 0x4381f5
push ebx
push esi
push edi
call fcn.00427100
add esp, 0xc
push 0
call fcn.00433b48
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, edi
pop edi
pop ebx
pop esi
ret

Function at 0x438941
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00438468
Function at 0x43ef40
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x43ef6d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x43ef6d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x414ddb
Capabilities:
Encode data using xor

Disassembly:
xor dword [edi], edx
add eax, esi
sub eax, 0x7a347e32
add edi, 4
and eax, eax
cmp edi, ebx
jne fcn.00414ddb
mov eax, ecx
add ecx, 0x7cb1a016
and esi, eax
ret

Function at 0x419760
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x40f015
lea edi, [esi - 0xe015]
push edi
or ebp, 0xffffffff
jmp 0x419782
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419789
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419778
mov eax, 1
add ebx, ebx
jne 0x41979b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419790
jne 0x4197ac
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419790
xor ecx, ecx
sub eax, 3
jb 0x4197c0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419832
mov ebp, eax
add ebx, ebx
jne 0x4197cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x4197d8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x4197fc
inc ecx
add ebx, ebx
jne 0x4197e8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x4197dd
jne 0x4197f9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x4197dd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41981c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41980d
jmp 0x41977e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41981c
add edi, ecx
jmp 0x41977e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41983a
cmp byte [edi], 5
jne 0x41983a
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 0x41983f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x4198b7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41986c
mov ecx, edi
jns 0x41989b
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 + 0x19090]
or eax, eax
je 0x4198b1
mov dword [ebx], eax
add ebx, 4
jmp 0x419889
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x4198eb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x41dbc8
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffc48
xor eax, eax
mov dword [ebp - 0x3b8], eax
mov dword [ebp - 0x3b4], eax
mov dword [ebp - 0x3b0], eax
mov dword [ebp - 0x3a0], eax
mov dword [ebp - 0x3a8], eax
mov dword [ebp - 0x3ac], eax
mov dword [ebp - 0x3a4], eax
mov dword [ebp - 4], eax
xor eax, eax
push ebp
push 0x41dd6d
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x3a4]
xor eax, eax
call fcn.004029a0
mov eax, dword [ebp - 0x3a4]
lea edx, [ebp - 0x3a0]
call fcn.00408148
push dword [ebp - 0x3a0]
lea edx, [ebp - 0x3ac]
xor eax, eax
call fcn.004029a0
mov eax, dword [ebp - 0x3ac]
lea edx, [ebp - 0x3a8]
call fcn.00408210
push dword [ebp - 0x3a8]
push 0x41dd80
lea eax, [ebp - 4]
mov edx, 3
call fcn.00404b0c
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x1d0]
call fcn.00402d44
lea eax, [ebp - 0x1d0]
call fcn.00402ad4
lea eax, [ebp - 0x1d0]
call fcn.00402ee8
lea eax, [ebp - 0x3b0]
call fcn.0041ca9c
lea eax, [ebp - 0x3b0]
mov edx, 0x41dd90
call fcn.00404a54
mov edx, dword [ebp - 0x3b0]
lea eax, [ebp - 0x39c]
call fcn.00402d44
lea eax, [ebp - 0x39c]
call fcn.00402ad4
mov edx, dword [ebp - 4]
lea eax, [ebp - 0x39c]
call fcn.00404d90
call fcn.00403558
lea eax, [ebp - 0x39c]
call fcn.00402ee8
push 0
lea eax, [ebp - 0x3b4]
call fcn.0041ca9c
lea eax, [ebp - 0x3b4]
mov edx, 0x41dd90
call fcn.00404a54
mov eax, dword [ebp - 0x3b4]
call fcn.00404c44
push eax
call sub.kernel32.dll_WinExec
push 0x5dc
call sub.kernel32.dll_Sleep
lea eax, [ebp - 0x3b8]
call fcn.0041ca9c
lea eax, [ebp - 0x3b8]
mov edx, 0x41dd90
call fcn.00404a54
mov eax, dword [ebp - 0x3b8]
call fcn.004080e0
mov eax, dword [ebp - 4]
call fcn.004080e0
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x41dd74
lea eax, [ebp - 0x3b8]
mov edx, 7
call fcn.004047b8
lea eax, [ebp - 4]
call fcn.00404794
ret

Function at 0x432000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
nop
nop
push 4
nop
nop
nop
nop
pop edi
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x432072
nop
nop
nop
mov ebx, 0x40c7d0
nop
nop
nop
mov ecx, ebx
nop
nop
nop
nop
nop
sub ecx, eax
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
div edi
nop
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
pop eax
nop
nop
nop
nop
nop
mov esi, 0x1728176e
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x432060
nop
nop
nop
nop
nop
mov eax, section..data
nop
nop
cmp eax, 0
nop
nop
nop
nop
nop
je 0x4320d2
nop
mov ebx, 0x42f314
nop
nop
nop
mov ecx, ebx
nop
nop
sub ecx, eax
nop
nop
nop
nop
nop
nop
xor edx, edx
nop
nop
nop
nop
nop
push eax
nop
nop
nop
nop
nop
mov eax, ecx
nop
nop
nop
div edi
nop
nop
nop
nop
nop
nop
xchg ecx, eax
nop
nop
pop eax
nop
nop
nop
mov esi, 0x71d34f67
nop
nop
nop
nop
nop
xor dword [eax], esi
nop
nop
nop
add eax, edi
nop
nop
nop
loop 0x4320c0
nop
nop
popal
nop
nop
nop
nop
nop
jmp 0x431219
Function at 0x100163b
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push esi
push 0x1001664
push 1
push 0
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
sub eax, 0xb7
neg eax
sbb eax, eax
inc eax
pop esi
ret

Function at 0x1001770
Capabilities:
Get token membership

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
mov eax, dword [0x101d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
xor ebx, ebx
lea eax, [ebp - 0x14]
push eax
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push 0x220
push 0x20
push 2
lea eax, [ebp - 0xc]
push eax
mov dword [ebp - 0x10], ebx
mov byte [ebp - 0xc], bl
mov byte [ebp - 0xb], bl
mov byte [ebp - 0xa], bl
mov byte [ebp - 9], bl
mov byte [ebp - 8], bl
mov byte [ebp - 7], 5
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_AllocateAndInitializeSid]
test eax, eax
je 0x10017de
lea eax, [ebp - 0x10]
push eax
push dword [ebp - 0x14]
push ebx
call dword [sym.imp.ADVAPI32.dll_CheckTokenMembership]
test eax, eax
je 0x100582e
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_FreeSid]
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x10]
xor ecx, ebp
pop ebx
call fcn.010023ad
leave
ret
mov dword [ebp - 0x10], ebx
jmp 0x10017d5

Function at 0x1001fe3
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
lea eax, [ebp - 4]
xor ebx, ebx
push eax
mov dword [ebp - 8], ecx
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
cmp eax, ebx
mov dword [ebp - 0xc], eax
je 0x100206c
cmp dword [ebp - 4], ebx
jle 0x1002063
push esi
push edi
mov edi, dword [sym.imp.SHLWAPI.dll_StrCmpW]
mov eax, dword [ebp - 0xc]
lea esi, [eax + ebx*4]
push dword [esi]
push 0x1002088
call edi
test eax, eax
je 0x100208e
push dword [esi]
push 0x1002080
call edi
test eax, eax
je 0x100208e
push dword [esi]
push 0x1002078
call edi
test eax, eax
je 0x1004d46
push dword [esi]
push 0x1002070
call edi
test eax, eax
je 0x1004d46
inc ebx
cmp ebx, dword [ebp - 4]
jl 0x1002019
pop edi
pop esi
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GlobalFree]
pop ebx
leave
ret
mov eax, dword [ebp - 8]
mov byte [eax + 0x3e4], 0
jmp 0x100205b
mov eax, dword [ebp - 8]
mov byte [eax + 0x3e6], 1
mov byte [eax + 0x3e7], 0
jmp 0x100205b
Function at 0x1003e3b
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x98
mov eax, dword [0x101d004]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
call fcn.01003f0d
mov eax, 0x1000000
push 0x94
mov dword [esi + 8], eax
mov dword [esi + 4], eax
lea eax, [ebp - 0x98]
push 0
push eax
mov dword [esi], 0x3c
mov byte [esi + 0xc], 0
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x98]
push eax
mov dword [ebp - 0x98], 0x94
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
cmp dword [ebp - 0x88], 2
jne 0x1003edd
cmp dword [ebp - 0x94], 5
jb 0x1003eb0
mov byte [esi + 0xc], 1
lea ecx, [esi + 0x18]
mov dword [esi + 0x10], 0x800
mov dword [esi + 0x14], 0x1003ef8
call fcn.010039bc
test eax, eax
jl 0x1005a12
mov ecx, dword [ebp - 4]
mov eax, esi
xor ecx, ebp
pop esi
call fcn.010023ad
leave
ret
cmp dword [ebp - 0x88], 1
je 0x10059fa
jmp 0x1003eb0
cmp dword [ebp - 0x90], 0
jbe 0x1003eb0
jmp 0x1003eac
cmp dword [ebp - 0x94], 4
ja 0x1003eac
je 0x1003eec
jmp 0x1003eb0
mov byte [0x101e328], 1
jmp 0x1003ece

Function at 0x100981f
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x1009879
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
je 0x100986a
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
add eax, esi
and ecx, 0xf
jbe 0x1009866
cmp esi, eax
jae 0x100986a
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x1009858
cmp esi, eax
jb 0x100986e
xor eax, eax
jmp 0x1009878
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop ebp
ret 0xc
Function at 0x100ada1
Capabilities:
Create process on windows
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x4a8
mov eax, dword [0x101d004]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0xe
pop ecx
mov esi, 0x100af20
lea edi, [ebp - 0x3c]
rep movsd dword es:[edi], dword [esi]
mov ebx, 0x206
xor esi, esi
push ebx
lea eax, [ebp - 0x242]
push esi
push eax
mov word [ebp - 0x244], si
call sub.msvcrt.dll_memset
xor eax, eax
mov dword [ebp - 0x464], esi
lea edi, [ebp - 0x460]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
push 0x40
stosd dword es:[edi], eax
lea eax, [ebp - 0x4a4]
push esi
push eax
call sub.msvcrt.dll_memset
add esp, 0x18
lea eax, [ebp - 0x244]
push eax
push esi
push esi
push 0x25
push esi
mov dword [ebp - 0x4a8], 0x44
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x100af0f
push ebx
lea eax, [ebp - 0x44a]
push esi
push eax
mov word [ebp - 0x44c], si
call sub.msvcrt.dll_memset
add esp, 0xc
lea eax, [ebp - 0x244]
mov dword [ebp - 0x454], eax
lea eax, [ebp - 0x454]
push eax
push 0x104
lea eax, [ebp - 0x44c]
push eax
push esi
push esi
lea eax, [ebp - 0x3c]
push eax
push 0x2400
mov dword [ebp - 0x450], 0x1003b58
call dword [sym.imp.KERNEL32.dll_FormatMessageW]
test eax, eax
je 0x100af0f
lea eax, [ebp - 0x464]
push eax
lea eax, [ebp - 0x4a8]
push eax
lea eax, [ebp - 0x244]
push eax
push esi
push esi
push esi
push esi
push esi
lea eax, [ebp - 0x44c]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
jne 0x100aed5
mov eax, dword [section..data]
cmp eax, section..data
je 0x100af0f
test byte [eax + 0x1c], 1
je 0x100af0f
push 0x1005fb8
push 0x22
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008ec8
jmp 0x100af0f
mov eax, dword [section..data]
cmp eax, section..data
je 0x100aef9
test byte [eax + 0x1c], 4
je 0x100aef9
push 0x1005fb8
push 0x23
push dword [eax + 0x14]
push dword [eax + 0x10]
call fcn.01008ec8
push dword [ebp - 0x460]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
call esi
push dword [ebp - 0x464]
call esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010023ad
leave
ret

Function at 0x100b5d9
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
push edi
mov ebx, ecx
jne 0x100b5f4
push 0x80004005
call fcn.01006f38
xor edi, edi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x100b5f6
push edi
push dword [ebp + 0xc]
push 7
push 0
push dword [ebp + 8]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x100bccc
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x101d004]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
push 0x2001f
mov ebx, ecx
push eax
push dword [ebx]
xor esi, esi
lea ecx, [ebp - 0x208]
mov dword [ebp - 0x210], eax
mov dword [ebp - 0x208], esi
call fcn.0100b537
mov edi, eax
cmp edi, esi
je 0x100bd2e
lea ecx, [ebp - 0x208]
call fcn.0100b4c4
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.010023ad
leave
ret 4
mov edi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
jmp 0x100bd4c
lea eax, [ebp - 0x204]
push eax
lea ecx, [ebp - 0x208]
call fcn.0100bccc
cmp eax, esi
jne 0x100bd94
lea eax, [ebp - 0x218]
push eax
push esi
push esi
push esi
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x204]
push eax
push esi
push dword [ebp - 0x208]
mov dword [ebp - 0x20c], 0x100
call edi
test eax, eax
je 0x100bd36
lea ecx, [ebp - 0x208]
call fcn.0100b4c4
push dword [ebp - 0x210]
push dword [ebx]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
lea ecx, [ebp - 0x208]
mov esi, eax
call fcn.0100b4c4
mov eax, esi
jmp 0x100bd1d
Function at 0x100d096
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push 0x424
mov eax, 0x10193b5
call fcn.01018418
mov eax, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
mov ebx, dword [ebp + 0x10]
xor esi, esi
mov dword [ebp - 0x424], esi
mov dword [ebp - 4], esi
mov dword [ebp - 0x42c], ecx
mov dword [ebp - 0x430], esi
mov dword [ebp - 0x418], esi
push 2
push esi
push eax
mov byte [ebp - 4], 1
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
cmp eax, esi
mov dword [ebp - 0x41c], eax
jne 0x100d0ef
call fcn.0100b393
mov esi, eax
jmp 0x100d1f4
push ebx
push edi
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov edi, eax
cmp edi, esi
jne 0x100d108
call fcn.0100b393
jmp 0x100d1e6
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_LoadResource]
cmp eax, esi
mov dword [ebp - 0x428], eax
je 0x100d0fe
push edi
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov edi, eax
lea eax, [edi + 1]
cmp eax, edi
mov dword [ebp - 0x420], edi
jae 0x100d16e
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100d154
lea ecx, [ebp - 0x418]
call fcn.0100bc6b
mov esi, 0x8007000e
lea ecx, [ebp - 0x424]
call fcn.01007a7b
mov eax, esi
call fcn.01018458
ret 0x10
push eax
lea ecx, [ebp - 0x418]
mov byte [ebp - 4], 2
call fcn.0100c241
mov dword [ebp - 4], 1
jmp 0x100d19a
cmp dword [ebp - 0x418], esi
jne 0x100d1a9
mov esi, 0x8007000e
jmp 0x100d1e8
push edi
push dword [ebp - 0x418]
push edi
push dword [ebp - 0x428]
push esi
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
cmp eax, esi
je 0x100d0fe
mov ecx, dword [ebp - 0x418]
push dword [ebp + 0x14]
mov word [ecx + eax*2], si
push dword [ebp - 0x418]
lea ecx, [ebp - 0x430]
call fcn.0100ced3
mov esi, eax
push dword [ebp - 0x41c]
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x414]
cmp dword [ebp - 0x418], eax
je 0x100d159
lea ecx, [ebp - 0x418]
call fcn.0100bc6b
jmp 0x100d159