joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e0475ee
Capabilities:
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x248
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov dword [ebp - 0x240], eax
mov ebx, 0x104
lea eax, [ebp - 0x22c]
push ebx
push eax
call fcn.2e04682a
pop ecx
pop ecx
test eax, eax
jne 0x2e04762b
or eax, 0xffffffff
jmp 0x2e047806
cmp word [ebp - 0x22c], 0
push esi
lea esi, [ebp - 0x22c]
push edi
mov dword [ebp - 0x238], esi
je 0x2e047651
inc esi
inc esi
cmp word [esi], 0
jne 0x2e047643
mov dword [ebp - 0x238], esi
xor edi, edi
inc edi
push edi
call fcn.2e045381
mov dword [esp], 0x2e006150
call fcn.2e04d2d1
mov dword [ebp - 0x230], eax
mov dword [ebp - 0x248], eax
cmp eax, 0x64
jbe 0x2e04767d
mov dword [ebp - 0x230], edi
mov eax, esi
lea ecx, [ebp - 0x22c]
sub eax, ecx
sar eax, 1
mov dword [ebp - 0x234], eax
mov esi, 0x80
mov edi, 0xc0000000
push dword [ebp - 0x230]
lea eax, [ebp - 0x24]
push 0x2e005a18
push 0xffffffffffffffff
push eax
call fcn.2e045c51
add esp, 0x10
cmp dword [ebp - 0x234], 0
jl 0x2e0477b1
push dword [ebp - 0x234]
lea eax, [ebp - 0x244]
push ebx
push eax
call fcn.2e0471a4
add esp, 0xc
mov ecx, eax
call fcn.2e0444df
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x24]
push eax
call fcn.2e05ced2
xor eax, eax
push eax
push eax
push esi
push 1
push eax
push 1
push edi
lea eax, [ebp - 0x22c]
push eax
call fcn.2e062071
mov dword [ebp - 0x23c], eax
cmp eax, 0xffffffff
jne 0x2e0477b6
cmp dword [ebp - 0x230], 0x64
jb 0x2e047722
and dword [ebp - 0x230], 0
inc dword [ebp - 0x230]
mov eax, dword [ebp - 0x230]
cmp eax, dword [ebp - 0x248]
jne 0x2e047699
push eax
push 0x2e005a18
lea eax, [ebp - 0x24]
push 0xffffffffffffffff
push eax
call fcn.2e045c51
add esp, 0x10
cmp dword [ebp - 0x234], 0
jl 0x2e0477b1
push dword [ebp - 0x234]
lea eax, [ebp - 0x244]
push ebx
push eax
call fcn.2e0471a4
add esp, 0xc
mov ecx, eax
call fcn.2e0444df
push eax
push dword [ebp - 0x238]
lea eax, [ebp - 0x24]
push eax
call fcn.2e05ced2
push esi
lea eax, [ebp - 0x22c]
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
xor ebx, ebx
push ebx
push ebx
push esi
push 2
push ebx
push 1
push edi
lea eax, [ebp - 0x22c]
push eax
call fcn.2e062071
mov dword [ebp - 0x23c], eax
jmp 0x2e0477b8
call fcn.2e036193
xor ebx, ebx
cmp dword [ebp - 0x230], 0x64
pop edi
pop esi
jb 0x2e0477c9
mov dword [ebp - 0x230], ebx
mov eax, dword [ebp - 0x230]
inc eax
push eax
push 0x2e006150
call fcn.2e04ced6
call fcn.2e0453d9
cmp dword [ebp - 0x240], ebx
je 0x2e047800
push dword [ebp + 0xc]
lea eax, [ebp - 0x22c]
push dword [ebp - 0x240]
push eax
call fcn.2e045c8e
add esp, 0xc
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop ebx
call fcn.2e06e7f2
leave
ret
Function at 0x2e047813
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x414
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
mov esi, 0x104
lea eax, [ebp - 0x20c]
push esi
xor edi, edi
push eax
inc edi
call fcn.2e04682a
pop ecx
pop ecx
test eax, eax
je 0x2e0478d8
push esi
lea eax, [ebp - 0x20c]
push eax
push 0x2e005a28
call fcn.2e05e339
call fcn.2e0457da
test eax, eax
je 0x2e0478d6
call fcn.2e0456e5
test eax, eax
jne 0x2e0478d6
call fcn.2e046e6f
test eax, eax
jne 0x2e04788d
call fcn.2e0467e7
test eax, eax
je 0x2e0478d6
push dword [0x2e0d8830]
call fcn.2e048456
pop ecx
test eax, eax
jne 0x2e0478d6
call fcn.2e0467a6
lea eax, [ebp - 0x414]
push esi
push eax
call fcn.2e0475ee
push 0
lea ecx, [ebp - 0x20c]
push ecx
push edi
push eax
call fcn.2e046b2d
mov edi, eax
add esp, 0x18
lea eax, [ebp - 0x414]
test edi, edi
jne 0x2e0478c7
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x2e0478d6
push esi
push 0x2e0d885c
push eax
call fcn.2e045c8e
add esp, 0xc
mov eax, edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.2e06e7f2
leave
ret

Function at 0x2e04867d
Capabilities:
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
cmp dword [0x2e0dbeac], 0
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetVersion]
push esi
jne 0x2e0486c1
call ebx
test eax, eax
jns 0x2e0486b7
push 0x2e005bfc
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push 0x2e005bf0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov dword [0x2e0dbea8], eax
mov dword [0x2e0dbeac], 1
mov eax, dword [0x2e0dbea8]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x2e0486dd
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
test eax, eax
jne 0x2e04870d
push edi
mov edi, dword [ebp + 0xc]
mov eax, dword [edi]
test eax, eax
jne 0x2e048703
call ebx
test eax, eax
mov eax, dword [ebp + 8]
jns 0x2e0486f8
push dword [eax + 0xc]
call dword [eax + 8]
jmp 0x2e0486fd
push dword [eax + 4]
call dword [eax]
test eax, eax
je 0x2e04870c
mov dword [edi], eax
push dword [ebp + 0x10]
push eax
call esi
mov dword [ebp - 4], eax
pop edi
mov eax, dword [ebp - 4]
pop esi
pop ebx
leave
ret 0xc
Function at 0x2e048fc6
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x41c], ecx
mov ecx, dword [ebp + 0x18]
push esi
mov esi, dword [ebp + 8]
mov dword [ebp - 0x424], ecx
mov ecx, dword [ebp + 0x1c]
mov dword [ebp - 0x414], ecx
test esi, esi
jne 0x2e049006
xor eax, eax
jmp 0x2e049176
and dword [esi], 0
push ebx
push edi
mov edi, dword [ebp + 0x20]
xor ebx, ebx
inc ebx
push ebx
push edi
push eax
push 0x400
lea eax, [ebp - 0x404]
push eax
mov dword [ebp - 0x420], ebx
call fcn.2e04a1d3
and dword [ebp - 0x410], 0
and dword [ebp - 0x418], 0
shr edi, 0x1a
not edi
mov dword [ebp - 0x408], eax
and edi, ebx
cmp dword [ebp - 0x408], 0
je 0x2e04906b
mov eax, dword [ebp + 0x20]
push dword [ebp - 0x408]
shr eax, 0x17
and eax, ebx
push eax
push 0x120001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
mov dword [esi], eax
cmp dword [esi], 0
jne 0x2e049107
test edi, edi
je 0x2e049107
and dword [ebp - 0x40c], 0
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x20]
call fcn.2e04a095
test eax, eax
je 0x2e0490ed
mov eax, dword [ebp + 0x20]
push dword [ebp - 0x408]
shr eax, 0x19
and eax, ebx
push eax
push dword [ebp - 0x414]
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x40c], eax
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x20]
call fcn.2e049e1c
cmp dword [ebp - 0x40c], 5
jne 0x2e0490ed
cmp dword [ebp - 0x418], 0
jne 0x2e0490ed
mov dword [ebp - 0x418], ebx
jmp 0x2e049046
cmp dword [esi], 0
je 0x2e049107
xor eax, eax
cmp dword [ebp - 0x40c], 0xb7
setne al
mov dword [ebp - 0x410], eax
mov eax, dword [esi]
xor ecx, ecx
cmp eax, ecx
je 0x2e049114
cmp eax, 0xffffffff
jne 0x2e049133
cmp edi, ecx
je 0x2e049123
push ecx
push 0x787a6c65
call fcn.2e0448b0
xor ecx, ecx
mov dword [esi], ecx
mov dword [ebp - 0x410], ecx
mov dword [ebp - 0x420], ecx
pop edi
pop ebx
cmp dword [ebp - 0x41c], ecx
je 0x2e04915e
mov eax, dword [ebp - 0x408]
cmp eax, ecx
jne 0x2e04914c
mov eax, 0x2e0029cd
push dword [ebp + 0x14]
push dword [ebp - 0x41c]
push eax
call fcn.2e048cb8
add esp, 0xc
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x2e049170
mov ecx, dword [ebp - 0x410]
mov dword [eax], ecx
mov eax, dword [ebp - 0x420]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.2e06e7f2
leave
ret 0x1c
Function at 0x2e04c8ee
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
lea eax, [ebp - 0x10]
push eax
push dword [ebp + 8]
xor ebx, ebx
call fcn.2e06940d
mov esi, eax
cmp esi, ebx
je 0x2e04c95e
push esi
lea eax, [ebp - 4]
push eax
call fcn.2e044308
test eax, eax
je 0x2e04c95e
push dword [ebp - 4]
push esi
push ebx
push dword [ebp + 8]
call fcn.2e069413
test eax, eax
je 0x2e04c956
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x2e003740
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x2e04c956
cmp dword [ebp - 8], ebx
je 0x2e04c956
mov esi, dword [ebp - 0xc]
push edi
mov edi, dword [ebp + 0xc]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
mov bl, 1
pop edi
push dword [ebp - 4]
call fcn.2e04440f
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x2e04dec5
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
mov edi, dword [ebp + 8]
xor ebx, ebx
cmp edi, ebx
jne 0x2e04dedd
xor eax, eax
jmp 0x2e04dfd3
push esi
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x2e04deed
cmp dword [0x2e0dc338], ebx
je 0x2e04deff
mov dword [ebp - 4], ebx
call fcn.2e04d3c0
test eax, eax
je 0x2e04df06
test byte [edi + 0xc], 0x10
jne 0x2e04df06
xor eax, eax
jmp 0x2e04dfd2
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
call fcn.2e04d5c0
movzx eax, word [edi + 0xc]
neg esi
sbb esi, esi
shr eax, 1
and esi, 2
and eax, 0x10
mov dword [ebp - 0xc], esi
or eax, esi
jmp 0x2e04df95
mov eax, dword [edi]
cmp eax, ebx
je 0x2e04df3a
push eax
call fcn.2e05e9dd
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
jne 0x2e04df46
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push ebx
push ebx
push ebx
push dword [ebp - 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
cmp dword [ebp - 4], ebx
je 0x2e04df63
push dword [ebp - 4]
call fcn.2e04440f
push esi
call fcn.2e04d459
pop ecx
test eax, eax
je 0x2e04dfb6
push 0x796d7468
push ebx
call fcn.2e044904
push dword [ebp + 8]
mov ecx, 0x2e0dc350
call fcn.2e04d7d5
movzx eax, word [edi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0xc]
mov dword [ebp + 8], ebx
push ebx
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp + 8]
push eax
push dword [edi + 8]
call fcn.2e04d833
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x2e04df2b
jmp 0x2e04dfc3
push dword [ebp + 8]
mov ecx, 0x2e0dc350
call fcn.2e04d725
lea ecx, [ebp - 0x10]
call fcn.2e04d5e4
xor eax, eax
cmp esi, ebx
sete al
pop esi
pop edi
pop ebx
leave
ret
Function at 0x2e04e3a0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
test eax, eax
jne 0x2e04e3b6
mov eax, dword [ebp + 8]
mov eax, dword [eax]
push ebx
push esi
push edi
mov edi, dword [ebp + 0x14]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp + 0xc]
push ecx
push 0
push dword [ebp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push 2
pop ebx
mov esi, eax
cmp dword [ebp - 4], ebx
jae 0x2e04e3e8
cmp dword [ebp + 0xc], 1
je 0x2e04e3e6
cmp dword [ebp + 0xc], ebx
jne 0x2e04e3e8
mov esi, ebx
push esi
call fcn.2e04d459
pop ecx
test eax, eax
je 0x2e04e40e
push 0x796d746b
push 0
call fcn.2e044904
push dword [ebp + 8]
mov ecx, 0x2e0dc350
call fcn.2e04d7d5
jmp 0x2e04e46e
test esi, esi
jne 0x2e04e461
cmp dword [ebp + 0xc], ebx
je 0x2e04e41d
cmp dword [ebp + 0xc], 1
jne 0x2e04e429
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
cmp dword [ebp + 0xc], ebx
je 0x2e04e433
cmp byte [ebp + 0x1c], bl
jne 0x2e04e44c
mov eax, dword [ebp + 0x18]
shr eax, 1
push eax
push edi
call fcn.2e04ce1f
pop ecx
pop ecx
test eax, eax
jne 0x2e04e44c
mov esi, 0xea
jmp 0x2e04e461
movzx eax, byte [ebp + 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.2e04d398
pop ecx
pop ecx
test eax, eax
jne 0x2e04e461
mov esi, ebx
push dword [ebp + 8]
mov ecx, 0x2e0dc350
call fcn.2e04d725
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x2e04e475
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x18
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 4], ebx
or edi, 0xffffffff
cmp dword [ebp - 4], ebx
jne 0x2e04e49f
cmp dword [0x2e0dc338], ebx
je 0x2e04e4ae
mov dword [ebp - 0xc], 2
jmp 0x2e04e4bb
cmp dword [ebp - 4], 1
jne 0x2e04e4ae
call fcn.2e04d3c0
test eax, eax
je 0x2e04e4b8
test byte [esi + 0xc], 0x10
je 0x2e04e5ab
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x18]
call fcn.2e04d5c0
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0xc]
push ebx
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
mov dword [ebp - 8], ebx
mov dword [ebp - 0x10], ebx
call fcn.2e04d833
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x2e04e5a1
mov eax, dword [ebp + 0x10]
mov ecx, dword [ebp + 0x14]
mov ebx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 0x10]
test eax, eax
jne 0x2e04e508
mov eax, dword [ebx]
push ecx
push dword [ebp + 0xc]
lea ecx, [ebp - 0x14]
push ecx
push 0
push dword [ebp + 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
push edi
call fcn.2e04d459
pop ecx
test eax, eax
je 0x2e04e56d
push 0x796d746c
xor edi, edi
push edi
call fcn.2e044904
push ebx
mov ecx, 0x2e0dc350
call fcn.2e04d7d5
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0xc]
push edi
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 8]
push eax
push dword [esi + 8]
mov dword [ebp - 8], edi
call fcn.2e04d833
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2e04e4f4
jmp 0x2e04e5a1
push ebx
mov ecx, 0x2e0dc350
call fcn.2e04d725
test edi, edi
jne 0x2e04e5a1
movzx eax, word [esi + 0xc]
mov ecx, eax
and ecx, 0xf
cmp dword [ebp - 0x14], ecx
je 0x2e04e5bf
cmp dword [ebp - 0x14], 3
jne 0x2e04e59e
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 4
jne 0x2e04e59e
and al, 0xf
cmp al, 4
je 0x2e04e5bf
push 2
pop edi
lea ecx, [ebp - 0x18]
call fcn.2e04d5e4
xor ebx, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x2e04e486
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret
mov eax, dword [ebp + 0x1c]
lea ecx, [ebp - 0x18]
mov dword [eax], 1
call fcn.2e04d5e4
xor eax, eax
jmp 0x2e04e5ba
Function at 0x2e04e7f4
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
cmp esi, edi
jne 0x2e04e80c
xor eax, eax
jmp 0x2e04e969
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.2e04d3c0
mov eax, dword [esi]
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x2e04e829
push eax
call fcn.2e05e9dd
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
push ebx
or ebx, 0xffffffff
cmp dword [ebp - 8], edi
jne 0x2e04e846
cmp dword [0x2e0dc338], edi
je 0x2e04e855
mov dword [ebp - 0x18], 2
jmp 0x2e04e862
cmp dword [ebp - 8], 1
jne 0x2e04e855
call fcn.2e04d3c0
test eax, eax
je 0x2e04e85f
test byte [esi + 0xc], 0x10
je 0x2e04e915
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], edi
call fcn.2e04d5c0
jmp 0x2e04e8cc
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x2e04e87b
mov eax, dword [ebp + 8]
mov eax, dword [eax]
lea ecx, [ebp - 4]
push ecx
push edi
lea ecx, [ebp - 0x10]
push ecx
push edi
push dword [ebp - 0x14]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], 2
mov ebx, eax
jae 0x2e04e8a6
cmp dword [ebp - 0x10], 1
je 0x2e04e8a3
cmp dword [ebp - 0x10], 2
jne 0x2e04e8a6
push 2
pop ebx
push ebx
call fcn.2e04d459
pop ecx
test eax, eax
je 0x2e04e8fc
push 0x796d746f
push edi
call fcn.2e044904
push dword [ebp + 8]
mov ecx, 0x2e0dc350
call fcn.2e04d7d5
mov dword [ebp + 8], edi
movzx eax, word [esi + 0xc]
shr eax, 1
and eax, 0x10
or eax, dword [ebp - 0x18]
push edi
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [esi + 8]
mov dword [ebp - 0xc], edi
call fcn.2e04d833
mov ebx, eax
add esp, 0x14
cmp ebx, edi
je 0x2e04e86f
jmp 0x2e04e90d
push dword [ebp + 8]
mov ecx, 0x2e0dc350
call fcn.2e04d725
cmp ebx, edi
je 0x2e04e924
lea ecx, [ebp - 0x1c]
call fcn.2e04d5e4
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x2e04e82d
jmp 0x2e04e92c
lea ecx, [ebp - 0x1c]
call fcn.2e04d5e4
cmp ebx, edi
jne 0x2e04e94b
cmp dword [ebp - 0x10], 2
je 0x2e04e93f
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x2e04e94b
push dword [ebp - 4]
call fcn.2e04cebb
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], edi
je 0x2e04e958
push dword [ebp - 0x14]
call fcn.2e04440f
cmp ebx, edi
pop ebx
je 0x2e04e966
push esi
call fcn.2e04d241
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4
Function at 0x2e04f0ba
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
xor ebx, ebx
push edi
mov edi, dword [ebp + 0xc]
mov dword [ebp - 0xc], ebx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
cmp edi, ebx
jne 0x2e04f0dc
xor esi, esi
jmp 0x2e04f162
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call fcn.2e06940d
mov esi, eax
cmp esi, ebx
je 0x2e04f0d5
push esi
call fcn.2e025b7c
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x2e04f104
push ebx
push 0x33753468
jmp 0x2e04f14d
push eax
push esi
push ebx
push dword [ebp + 8]
call fcn.2e069413
test eax, eax
jne 0x2e04f11b
push ebx
push 0x33753469
jmp 0x2e04f14d
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x2e003740
push dword [ebp + 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x2e04f147
cmp dword [ebp - 4], 0x34
jne 0x2e04f147
mov esi, dword [ebp - 8]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
jmp 0x2e04f154
push ebx
push 0x3375346a
call fcn.2e0448b0
xor esi, esi
cmp dword [ebp + 0xc], ebx
je 0x2e04f162
push dword [ebp + 0xc]
call fcn.2e0309b3
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x2e04f75e
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x30]
push eax
call fcn.2e048812
test eax, eax
jne 0x2e04f77b
lea eax, [ebp - 0x30]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
movzx eax, word [ebp - 0x30]
push edi
push eax
push 0x11
call fcn.2e04557f
push dword [ebp - 0x1c]
push 0x12
call fcn.2e04557f
push 0x2e0064c4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
cmp eax, edi
je 0x2e04f87c
push esi
push 0x2e0064a4
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x2e04f87b
lea eax, [ebp - 4]
push eax
push edi
mov dword [ebp - 4], edi
call esi
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x7a
jne 0x2e04f87b
push dword [ebp - 4]
call fcn.2e0441a3
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x2e04f873
lea ecx, [ebp - 4]
push ecx
push eax
call esi
test eax, eax
je 0x2e04f873
mov eax, dword [ebp - 4]
push 0x18
xor edx, edx
pop ecx
div ecx
xor esi, esi
mov dword [ebp - 8], edi
cmp eax, edi
jbe 0x2e04f873
mov edx, dword [ebp - 0xc]
push ebx
mov ebx, eax
mov eax, dword [edx + 4]
sub eax, 0
je 0x2e04f82a
dec eax
dec eax
jne 0x2e04f83b
push dword [edx]
call fcn.2e04ed33
pop ecx
cmp edi, eax
ja 0x2e04f83b
mov edi, eax
jmp 0x2e04f83b
push dword [edx]
inc dword [ebp - 8]
call fcn.2e04ed33
pop ecx
cmp esi, eax
ja 0x2e04f83b
mov esi, eax
add edx, 0x18
dec ebx
jne 0x2e04f80e
pop ebx
test esi, esi
je 0x2e04f851
push esi
push 0x19e1
call fcn.2e04557f
test edi, edi
je 0x2e04f860
push edi
push 0x19e2
call fcn.2e04557f
cmp dword [ebp - 8], 0
je 0x2e04f873
push dword [ebp - 8]
push 0x19e0
call fcn.2e04557f
push dword [ebp - 0xc]
call fcn.2e0441d7
pop esi
call fcn.2e04eb8d
pop edi
test eax, eax
jne 0x2e04f88f
push dword [ebp - 0x1c]
call fcn.2e04f64b
pop ecx
leave
ret
Function at 0x2e04f891
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x2e00652c
lea edi, [ebp - 0x20]
rep movsd dword es:[edi], dword [esi]
xor ebx, ebx
push 0x118
lea eax, [ebp - 0x138]
push ebx
push eax
mov dword [ebp - 0x140], ebx
movsw word es:[edi], word [esi]
mov dword [ebp - 0x13c], ebx
call fcn.2e06e640
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 1
push ebx
push 0x2e006500
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x2e04f94a
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
push eax
push ebx
push 0x2e0064f0
push dword [ebp - 0x144]
mov dword [ebp - 0x14c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e04f93c
push dword [ebp - 0x148]
push 0x22df
call fcn.2e04557f
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x2e04f955
push ebx
push 0x66397234
call fcn.2e0448b0
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x13c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2e04f9df
push dword [ebp - 0x130]
push 0x1a
call fcn.2e04557f
movzx eax, word [ebp - 0x28]
movzx ecx, word [ebp - 0x26]
shl eax, 0x10
or eax, ecx
push eax
push 0x43
call fcn.2e04557f
movzx eax, word [ebp - 0x24]
push eax
push 0x3a5
call fcn.2e04557f
push dword [ebp - 0x138]
push 0x22e1
call fcn.2e04557f
push dword [ebp - 0x134]
push 0x22e2
call fcn.2e04557f
movzx eax, word [ebp - 0x28]
push eax
push 0x22e4
call fcn.2e04557f
movzx eax, word [ebp - 0x26]
push eax
push 0x22e5
call fcn.2e04557f
call fcn.2e061e1b
test eax, eax
je 0x2e04fa72
lea eax, [ebp - 0x20]
push eax
call fcn.2e04c580
mov esi, eax
cmp esi, ebx
jne 0x2e04fa03
push ebx
push 0x38317137
jmp 0x2e04fa50
push 0x2e0064e0
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x2e04fa1b
push ebx
push 0x38317138
jmp 0x2e04fa50
lea ecx, [ebp - 0x140]
push ecx
movzx ecx, word [ebp - 0x26]
push ecx
movzx ecx, word [ebp - 0x28]
push ecx
push dword [ebp - 0x134]
push dword [ebp - 0x138]
call eax
test eax, eax
jne 0x2e04fa57
push 0xffffffffffffffff
push 0x1af7
call fcn.2e04557f
push ebx
push 0x38317139
call fcn.2e0448b0
jmp 0x2e04fa67
push dword [ebp - 0x140]
push 0x1af7
call fcn.2e04557f
cmp esi, ebx
je 0x2e04fa72
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.2e06e7f2
leave
ret
Function at 0x2e061e28
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x2e0c18a0]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0xa0]
push eax
mov dword [ebp - 0xa0], 0x9c
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x2e061efb
cmp dword [ebp - 0x90], 2
mov ecx, dword [ebp - 0x98]
mov al, byte [ebp - 6]
push esi
mov dword [0x2e0dcf04], ecx
mov byte [0x2e0dcf0a], al
jne 0x2e061ee7
mov eax, dword [ebp - 0x9c]
mov dx, word [ebp - 0xc]
mov dword [0x2e0dcf00], eax
mov word [0x2e0dcf08], dx
cmp eax, 5
jne 0x2e061ec9
mov esi, 0x2e0029cd
cmp ecx, 1
jae 0x2e061eab
push 0
push esi
push 0x3535796e
push esi
call fcn.2e04a48a
cmp dword [ebp - 0x98], 1
jne 0x2e061ec9
cmp word [ebp - 0xc], 1
ja 0x2e061ec9
push 0
push esi
push 0x3535796f
push esi
call fcn.2e04a48a
movzx eax, word [ebp - 8]
mov ecx, eax
and ecx, 0x110
and eax, 0x100
mov dword [0x2e0dcf10], ecx
mov dword [0x2e0dcf14], eax
jmp 0x2e061efa
push 0
mov esi, 0x2e0029cd
push esi
push 0x31343461
push esi
call fcn.2e04a48a
pop esi
push 0x56
call dword [sym.imp.USER32.dll_GetSystemMetrics]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
neg eax
xor ecx, ebp
mov dword [0x2e0dcf0c], eax
call fcn.2e06e7f2
leave
ret

Function at 0x2e061ff9
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x2e062013
test al, 0x10
je 0x2e062013
xor eax, eax
inc eax
jmp 0x2e062015
xor eax, eax
pop ebp
ret 4

Function at 0x2e062111
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
push eax
push 0x20019
xor esi, esi
push esi
push 0x2e01e758
push reloc.OLEAUT32.dll_SysReAllocString
xor edi, edi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x2e062187
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push 0x2e01e73c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e06217e
cmp dword [ebp - 8], 1
jne 0x2e06217e
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x2e0063e8
call esi
test eax, eax
jne 0x2e06217b
push 0x2e0063d4
call esi
test eax, eax
je 0x2e06217e
xor edi, edi
inc edi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
leave
ret