joyce8/EMBER2024-capa huggingface dataset:
Function at 0x2e05aa38
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 0x2e05aa50
xor eax, eax
jmp 0x2e05ab46
push esi
mov esi, dword [ebp + 0xc]
cmp esi, ebx
je 0x2e05aa60
cmp dword [0x2e10f158], ebx
je 0x2e05aa72
mov dword [ebp - 4], ebx
call fcn.2e059dfa
test eax, eax
je 0x2e05aa79
test byte [edi + 0xc], 0x10
jne 0x2e05aa79
xor eax, eax
jmp 0x2e05ab45
lea ecx, [ebp - 0x10]
mov dword [ebp + 8], ebx
mov dword [ebp - 8], ebx
call fcn.2e05a016
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 0x2e05ab08
mov eax, dword [edi]
cmp eax, ebx
je 0x2e05aaad
push eax
call fcn.2e06521b
mov dword [ebp - 4], eax
mov eax, dword [ebp - 8]
cmp eax, ebx
jne 0x2e05aab9
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 0x2e05aad6
push dword [ebp - 4]
call fcn.2e05c32c
push esi
call fcn.2e059e93
pop ecx
test eax, eax
je 0x2e05ab29
push 0x796d7468
push ebx
call fcn.2e05d538
push dword [ebp + 8]
mov ecx, 0x2e10e5b8
call fcn.2e05a250
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.2e05a2ae
mov esi, eax
add esp, 0x14
cmp esi, ebx
je 0x2e05aa9e
jmp 0x2e05ab36
push dword [ebp + 8]
mov ecx, 0x2e10e5b8
call fcn.2e05a17b
lea ecx, [ebp - 0x10]
call fcn.2e05a03a
xor eax, eax
cmp esi, ebx
sete al
pop esi
pop edi
pop ebx
leave
ret
Function at 0x2e05af13
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 0x2e05af29
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 0x2e05af5b
cmp dword [ebp + 0xc], 1
je 0x2e05af59
cmp dword [ebp + 0xc], ebx
jne 0x2e05af5b
mov esi, ebx
push esi
call fcn.2e059e93
pop ecx
test eax, eax
je 0x2e05af81
push 0x796d746b
push 0
call fcn.2e05d538
push dword [ebp + 8]
mov ecx, 0x2e10e5b8
call fcn.2e05a250
jmp 0x2e05afe1
test esi, esi
jne 0x2e05afd4
cmp dword [ebp + 0xc], ebx
je 0x2e05af90
cmp dword [ebp + 0xc], 1
jne 0x2e05af9c
mov eax, dword [ebp - 4]
shr eax, 1
xor ecx, ecx
mov word [edi + eax*2 - 2], cx
cmp dword [ebp + 0xc], ebx
je 0x2e05afa6
cmp byte [ebp + 0x1c], bl
jne 0x2e05afbf
mov eax, dword [ebp + 0x18]
shr eax, 1
push eax
push edi
call fcn.2e05d595
pop ecx
pop ecx
test eax, eax
jne 0x2e05afbf
mov esi, 0xea
jmp 0x2e05afd4
movzx eax, byte [ebp + 0x1c]
push eax
push dword [ebp + 0xc]
call fcn.2e059dd2
pop ecx
pop ecx
test eax, eax
jne 0x2e05afd4
mov esi, ebx
push dword [ebp + 8]
mov ecx, 0x2e10e5b8
call fcn.2e05a17b
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x2e05afe8
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 0x2e05b012
cmp dword [0x2e10f158], ebx
je 0x2e05b021
mov dword [ebp - 0xc], 2
jmp 0x2e05b02e
cmp dword [ebp - 4], 1
jne 0x2e05b021
call fcn.2e059dfa
test eax, eax
je 0x2e05b02b
test byte [esi + 0xc], 0x10
je 0x2e05b11e
mov dword [ebp - 0xc], ebx
lea ecx, [ebp - 0x18]
call fcn.2e05a016
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.2e05a2ae
mov edi, eax
add esp, 0x14
cmp edi, ebx
jne 0x2e05b114
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 0x2e05b07b
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.2e059e93
pop ecx
test eax, eax
je 0x2e05b0e0
push 0x796d746c
xor edi, edi
push edi
call fcn.2e05d538
push ebx
mov ecx, 0x2e10e5b8
call fcn.2e05a250
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.2e05a2ae
mov edi, eax
add esp, 0x14
test edi, edi
je 0x2e05b067
jmp 0x2e05b114
push ebx
mov ecx, 0x2e10e5b8
call fcn.2e05a17b
test edi, edi
jne 0x2e05b114
movzx eax, word [esi + 0xc]
mov ecx, eax
and ecx, 0xf
cmp dword [ebp - 0x14], ecx
je 0x2e05b132
cmp dword [ebp - 0x14], 3
jne 0x2e05b111
mov ecx, dword [ebp + 0x14]
cmp dword [ecx], 4
jne 0x2e05b111
and al, 0xf
cmp al, 4
je 0x2e05b132
push 2
pop edi
lea ecx, [ebp - 0x18]
call fcn.2e05a03a
xor ebx, ebx
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jl 0x2e05aff9
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.2e05a03a
xor eax, eax
jmp 0x2e05b12d
Function at 0x2e05b367
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 0x2e05b37f
xor eax, eax
jmp 0x2e05b4dc
mov dword [ebp - 0x10], edi
mov dword [ebp - 4], edi
call fcn.2e059dfa
mov eax, dword [esi]
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0x2e05b39c
push eax
call fcn.2e06521b
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], edi
push ebx
or ebx, 0xffffffff
cmp dword [ebp - 8], edi
jne 0x2e05b3b9
cmp dword [0x2e10f158], edi
je 0x2e05b3c8
mov dword [ebp - 0x18], 2
jmp 0x2e05b3d5
cmp dword [ebp - 8], 1
jne 0x2e05b3c8
call fcn.2e059dfa
test eax, eax
je 0x2e05b3d2
test byte [esi + 0xc], 0x10
je 0x2e05b488
mov dword [ebp - 0x18], edi
lea ecx, [ebp - 0x1c]
mov dword [ebp + 8], edi
call fcn.2e05a016
jmp 0x2e05b43f
mov eax, dword [ebp - 0xc]
cmp eax, edi
jne 0x2e05b3ee
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 0x2e05b419
cmp dword [ebp - 0x10], 1
je 0x2e05b416
cmp dword [ebp - 0x10], 2
jne 0x2e05b419
push 2
pop ebx
push ebx
call fcn.2e059e93
pop ecx
test eax, eax
je 0x2e05b46f
push 0x796d746f
push edi
call fcn.2e05d538
push dword [ebp + 8]
mov ecx, 0x2e10e5b8
call fcn.2e05a250
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.2e05a2ae
mov ebx, eax
add esp, 0x14
cmp ebx, edi
je 0x2e05b3e2
jmp 0x2e05b480
push dword [ebp + 8]
mov ecx, 0x2e10e5b8
call fcn.2e05a17b
cmp ebx, edi
je 0x2e05b497
lea ecx, [ebp - 0x1c]
call fcn.2e05a03a
inc dword [ebp - 8]
cmp dword [ebp - 8], 2
jl 0x2e05b3a0
jmp 0x2e05b49f
lea ecx, [ebp - 0x1c]
call fcn.2e05a03a
cmp ebx, edi
jne 0x2e05b4be
cmp dword [ebp - 0x10], 2
je 0x2e05b4b2
mov al, byte [esi + 0xc]
and al, 0xf
cmp al, 2
jne 0x2e05b4be
push dword [ebp - 4]
call fcn.2e05d631
pop ecx
mov dword [ebp - 4], eax
cmp dword [ebp - 0x14], edi
je 0x2e05b4cb
push dword [ebp - 0x14]
call fcn.2e05c32c
cmp ebx, edi
pop ebx
je 0x2e05b4d9
push esi
call fcn.2e05d9d6
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
pop edi
pop esi
leave
ret 4

Function at 0x2e05b4e2
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
pop ebp
jmp fcn.2e05b367

Function at 0x2e05bdda
Capabilities:
Set thread local storage value

Disassembly:
mov eax, dword [esp + 4]
mov ecx, dword [eax + 4]
mov edx, dword [eax]
cmp ecx, edx
jb 0x2e05bdfb
mov eax, dword [eax + 8]
cmp ecx, eax
jb 0x2e05bdfb
cmp edx, eax
jb 0x2e05bdfb
add eax, 0x10000
cmp eax, ecx
jae 0x2e05be26
mov eax, dword [0x2e0d63d0]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
push 0
push 0x35636561
call fcn.2e05d4f9
push 0
push 0
push 1
push 0xe0000001
call dword [sym.imp.KERNEL32.dll_RaiseException]
ret
Function at 0x2e05c4ce
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x10
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
push esi
lea eax, [esp + 4]
push eax
push 1
push ecx
xor esi, esi
push edx
mov dword [esp + 0x14], esi
call fcn.2e062492
test eax, eax
jne 0x2e05c538
lea eax, [esp + 0xc]
push eax
mov eax, dword [esp + 0x24]
lea ecx, [esp + 0xc]
push ecx
mov ecx, dword [esp + 0xc]
lea edx, [esp + 0x18]
push edx
push esi
push eax
push ecx
mov dword [esp + 0x20], esi
mov dword [esp + 0x24], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e05c538
cmp dword [esp + 0x10], 4
jne 0x2e05c538
mov edx, dword [esp + 0x24]
mov eax, dword [esp + 8]
mov dword [edx], eax
mov esi, 1
mov eax, dword [esp + 4]
test eax, eax
je 0x2e05c54f
push eax
mov dword [esp + 8], 0
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10
ret
Function at 0x2e05ccbc
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x424
mov eax, dword [0x2e0d530c]
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 0x2e05ccfc
xor eax, eax
jmp 0x2e05ce6c
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.2e060d39
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 0x2e05cd61
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 0x2e05cdfd
test edi, edi
je 0x2e05cdfd
and dword [ebp - 0x40c], 0
push ebx
lea eax, [ebp - 0x414]
push eax
push dword [ebp + 0x20]
call fcn.2e060bfb
test eax, eax
je 0x2e05cde3
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.2e060982
cmp dword [ebp - 0x40c], 5
jne 0x2e05cde3
cmp dword [ebp - 0x418], 0
jne 0x2e05cde3
mov dword [ebp - 0x418], ebx
jmp 0x2e05cd3c
cmp dword [esi], 0
je 0x2e05cdfd
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 0x2e05ce0a
cmp eax, 0xffffffff
jne 0x2e05ce29
cmp edi, ecx
je 0x2e05ce19
push ecx
push 0x787a6c65
call fcn.2e05d4f9
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 0x2e05ce54
mov eax, dword [ebp - 0x408]
cmp eax, ecx
jne 0x2e05ce42
mov eax, 0x2e006d4a
push dword [ebp + 0x14]
push dword [ebp - 0x41c]
push eax
call fcn.2e05caa7
add esp, 0xc
mov eax, dword [ebp - 0x424]
test eax, eax
je 0x2e05ce66
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.2e046266
leave
ret 0x1c
Function at 0x2e05e06a
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 0x2e05e08c
xor esi, esi
jmp 0x2e05e112
lea eax, [ebp - 0xc]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x2e05e085
push esi
call fcn.2e098133
pop ecx
mov dword [ebp + 0xc], eax
cmp eax, ebx
jne 0x2e05e0b4
push ebx
push 0x33753468
jmp 0x2e05e0fd
push eax
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
jne 0x2e05e0cb
push ebx
push 0x33753469
jmp 0x2e05e0fd
lea eax, [ebp - 4]
push eax
lea eax, [ebp - 8]
push eax
push 0x2e004a1c
push dword [ebp + 0xc]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x2e05e0f7
cmp dword [ebp - 4], 0x34
jne 0x2e05e0f7
mov esi, dword [ebp - 8]
push 0xd
pop ecx
rep movsd dword es:[edi], dword [esi]
xor esi, esi
inc esi
jmp 0x2e05e104
push ebx
push 0x3375346a
call fcn.2e05d4f9
xor esi, esi
cmp dword [ebp + 0xc], ebx
je 0x2e05e112
push dword [ebp + 0xc]
call fcn.2e045e7f
pop ecx
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret

Function at 0x2e05e796
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
lea eax, [ebp - 0x30]
push eax
call fcn.2e05c885
test eax, eax
jne 0x2e05e7b3
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.2e0567e1
push dword [ebp - 0x1c]
push 0x12
call fcn.2e0567e1
push 0x2e004c50
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
xor edi, edi
cmp eax, edi
je 0x2e05e8b4
push esi
push 0x2e008498
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
cmp esi, edi
je 0x2e05e8b3
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 0x2e05e8b3
push dword [ebp - 4]
call fcn.2e05c0c0
mov dword [ebp - 0xc], eax
cmp eax, edi
je 0x2e05e8ab
lea ecx, [ebp - 4]
push ecx
push eax
call esi
test eax, eax
je 0x2e05e8ab
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 0x2e05e8ab
mov edx, dword [ebp - 0xc]
push ebx
mov ebx, eax
mov eax, dword [edx + 4]
sub eax, 0
je 0x2e05e862
dec eax
dec eax
jne 0x2e05e873
push dword [edx]
call fcn.2e05dce3
pop ecx
cmp edi, eax
ja 0x2e05e873
mov edi, eax
jmp 0x2e05e873
push dword [edx]
inc dword [ebp - 8]
call fcn.2e05dce3
pop ecx
cmp esi, eax
ja 0x2e05e873
mov esi, eax
add edx, 0x18
dec ebx
jne 0x2e05e846
pop ebx
test esi, esi
je 0x2e05e889
push esi
push 0x19e1
call fcn.2e0567e1
test edi, edi
je 0x2e05e898
push edi
push 0x19e2
call fcn.2e0567e1
cmp dword [ebp - 8], 0
je 0x2e05e8ab
push dword [ebp - 8]
push 0x19e0
call fcn.2e0567e1
push dword [ebp - 0xc]
call fcn.2e05c0f4
pop esi
call fcn.2e05b709
pop edi
test eax, eax
jne 0x2e05e8c7
push dword [ebp - 0x1c]
call fcn.2e05e683
pop ecx
leave
ret
Function at 0x2e05e8c9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x150
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 6
pop ecx
mov esi, 0x2e006ba8
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.2e046a1a
add esp, 0xc
lea eax, [ebp - 0x144]
push eax
push 1
push ebx
push 0x2e0084d8
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x2e05e982
lea eax, [ebp - 0x14c]
push eax
lea eax, [ebp - 0x148]
push eax
lea eax, [ebp - 0x150]
push eax
push ebx
push 0x2e0084c8
push dword [ebp - 0x144]
mov dword [ebp - 0x14c], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x2e05e974
push dword [ebp - 0x148]
push 0x22df
call fcn.2e0567e1
push dword [ebp - 0x144]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x2e05e98d
push ebx
push 0x66397234
call fcn.2e05d4f9
lea eax, [ebp - 0x13c]
push eax
mov dword [ebp - 0x13c], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x2e05ea17
push dword [ebp - 0x130]
push 0x1a
call fcn.2e0567e1
movzx eax, word [ebp - 0x28]
movzx ecx, word [ebp - 0x26]
shl eax, 0x10
or eax, ecx
push eax
push 0x43
call fcn.2e0567e1
movzx eax, word [ebp - 0x24]
push eax
push 0x3a5
call fcn.2e0567e1
push dword [ebp - 0x138]
push 0x22e1
call fcn.2e0567e1
push dword [ebp - 0x134]
push 0x22e2
call fcn.2e0567e1
movzx eax, word [ebp - 0x28]
push eax
push 0x22e4
call fcn.2e0567e1
movzx eax, word [ebp - 0x26]
push eax
push 0x22e5
call fcn.2e0567e1
call fcn.2e061fa5
test eax, eax
je 0x2e05eaaa
lea eax, [ebp - 0x20]
push eax
call fcn.2e05e5fb
mov esi, eax
cmp esi, ebx
jne 0x2e05ea3b
push ebx
push 0x38317137
jmp 0x2e05ea88
push 0x2e0084b8
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
jne 0x2e05ea53
push ebx
push 0x38317138
jmp 0x2e05ea88
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 0x2e05ea8f
push 0xffffffffffffffff
push 0x1af7
call fcn.2e0567e1
push ebx
push 0x38317139
call fcn.2e05d4f9
jmp 0x2e05ea9f
push dword [ebp - 0x140]
push 0x1af7
call fcn.2e0567e1
cmp esi, ebx
je 0x2e05eaaa
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.2e046266
leave
ret
Function at 0x2e05ed12
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 sub.VERSION.dll_GetFileVersionInfoSizeW
mov esi, eax
cmp esi, ebx
je 0x2e05ed82
push esi
lea eax, [ebp - 4]
push eax
call fcn.2e05c225
test eax, eax
je 0x2e05ed82
push dword [ebp - 4]
push esi
push ebx
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x2e05ed7a
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0xc]
push eax
push 0x2e004a1c
push dword [ebp - 4]
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x2e05ed7a
cmp dword [ebp - 8], ebx
je 0x2e05ed7a
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.2e05c32c
pop esi
mov al, bl
pop ebx
leave
ret

Function at 0x2e061fb2
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa0
mov eax, dword [0x2e0d530c]
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 0x2e062085
cmp dword [ebp - 0x90], 2
mov ecx, dword [ebp - 0x98]
mov al, byte [ebp - 6]
push esi
mov dword [0x2e10f618], ecx
mov byte [0x2e10f61e], al
jne 0x2e062071
mov eax, dword [ebp - 0x9c]
mov dx, word [ebp - 0xc]
mov dword [0x2e10f614], eax
mov word [0x2e10f61c], dx
cmp eax, 5
jne 0x2e062053
mov esi, 0x2e006d4a
cmp ecx, 1
jae 0x2e062035
push 0
push esi
push 0x3535796e
push esi
call fcn.2e05d3bb
cmp dword [ebp - 0x98], 1
jne 0x2e062053
cmp word [ebp - 0xc], 1
ja 0x2e062053
push 0
push esi
push 0x3535796f
push esi
call fcn.2e05d3bb
movzx eax, word [ebp - 8]
mov ecx, eax
and ecx, 0x110
and eax, 0x100
mov dword [0x2e10f624], ecx
mov dword [0x2e10f628], eax
jmp 0x2e062084
push 0
mov esi, 0x2e006d4a
push esi
push 0x31343461
push esi
call fcn.2e05d3bb
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 [0x2e10f620], eax
call fcn.2e046266
leave
ret

Function at 0x2e06217f
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 0x2e062199
test al, 0x10
je 0x2e062199
xor eax, eax
inc eax
jmp 0x2e06219b
xor eax, eax
pop ebp
ret 4
Function at 0x2e062298
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 0x2e002f00
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 0x2e06230e
push esi
push esi
lea eax, [ebp - 8]
push eax
push esi
push 0x2e002f6c
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x2e062305
cmp dword [ebp - 8], 1
jne 0x2e062305
mov esi, dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push 0x2e007f24
call esi
test eax, eax
jne 0x2e062302
push 0x2e007f10
call esi
test eax, eax
je 0x2e062305
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

Function at 0x2e062314
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x224
mov eax, dword [0x2e0d530c]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
xor esi, esi
mov dword [ebp - 0x224], esi
call fcn.2e0620b0
test eax, eax
je 0x2e06242f
push ebx
push edi
lea eax, [ebp - 0x218]
push eax
push 0x20019
push esi
mov ebx, 0x2e013548
push ebx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x214], esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov edi, reloc.OLEAUT32.dll_SysReAllocString
push edi
call esi
test eax, eax
jne 0x2e06242d
lea eax, [ebp - 0x214]
push eax
push 0x20119
push 0
push ebx
push edi
call esi
test eax, eax
jne 0x2e062421
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
mov edi, 0x2e013534
push edi
push dword [ebp - 0x218]
mov ebx, 0x20a
mov dword [ebp - 0x220], ebx
call esi
test eax, eax
jne 0x2e062415
cmp dword [ebp - 0x21c], 1
jne 0x2e062415
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x21c]
push eax
push 0
push edi
push dword [ebp - 0x214]
mov dword [ebp - 0x220], ebx
call esi
test eax, eax
jne 0x2e062415
xor esi, esi
inc esi
cmp dword [ebp - 0x21c], esi
jne 0x2e062415
call fcn.2e062298
test eax, eax
jne 0x2e062415
mov dword [ebp - 0x224], esi
push dword [ebp - 0x214]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x218]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x224]
xor ecx, ebp
pop esi
call fcn.2e046266
leave
ret
Function at 0x2e06251e
Capabilities:
Create directory
Delete file
Get common file path
Get file attributes
Set file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
cmp dword [ebp + 0xc], 0x104
jge 0x2e06254d
push 0
mov eax, 0x2e006d4a
push eax
push 0x7771736a
push eax
call fcn.2e05d3bb
mov ecx, dword [ebp + 8]
xor eax, eax
mov word [ecx], ax
jmp 0x2e062616
push esi
mov esi, dword [ebp + 8]
push edi
xor edi, edi
push edi
push 0x20
push esi
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x2e062614
push ebx
push esi
call fcn.2e062237
mov ebx, eax
cmp ebx, edi
jg 0x2e062588
push edi
mov eax, 0x2e006d4a
push eax
push 0x34717170
push eax
call fcn.2e05d3bb
jmp 0x2e0625c2
cmp word [esi + ebx*2 - 2], 0x5c
je 0x2e06259d
cmp ebx, dword [ebp + 0xc]
je 0x2e0625c2
push 0x5c
pop eax
mov word [esi + ebx*2], ax
inc ebx
push 1
lea eax, [ebp - 8]
push eax
push 0xc
lea eax, [ebp - 0xc]
push eax
lea ecx, [ebp - 4]
mov dword [ebp - 4], ebx
call fcn.2e059c0d
mov ecx, eax
call fcn.2e059bbb
mov ecx, dword [ebp + 0xc]
cmp dword [eax], ecx
jle 0x2e0625c6
xor eax, eax
jmp 0x2e062613
push 6
lea edi, [esi + ebx*2]
pop ecx
mov esi, 0x2e0135b4
rep movsd dword es:[edi], dword [esi]
mov esi, dword [ebp + 8]
push esi
call fcn.2e06217f
test eax, eax
jne 0x2e062602
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or eax, 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x5c
lea ebx, [esi + ebx*2 + 0x16]
pop eax
mov word [ebx], ax
xor eax, eax
mov word [ebx + 2], ax
inc eax
pop ebx
pop edi
pop esi
leave
ret 8