joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10001000
Capabilities:
Read file on windows
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
push edi
jmp 0x10001028
mov eax, dword [ebp + 8]
sub eax, 0
je 0x100010e3
dec eax
je 0x10001079
dec eax
jne 0x10001101
push 0x100052ac
push 0x10005370
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
pop ecx
test esi, esi
pop ecx
je 0x10001101
push esi
push 1
push 0x50
push 0x10005488
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
jmp 0x10001101
push 0x100052a8
push 0x10005370
call dword [sym.imp.MSVCRT.dll_fopen]
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x10001101
push edi
push 1
mov esi, 0x10005488
push 0x50
push esi
call dword [sym.imp.MSVCRT.dll_fread]
push edi
call dword [sym.imp.MSVCRT.dll_fclose]
lea eax, [ebp - 4]
push eax
call dword [sym.imp.MSVCRT.dll_time]
mov ecx, dword [ebp - 4]
mov eax, dword [0x100054d4]
sub ecx, eax
add esp, 0x18
cmp ecx, 0x258
jg 0x100010cd
cmp dword [ebp - 4], eax
jge 0x10001101
push 0x50
push 0
push esi
call sub.MSVCRT.dll_memset
push 0
call section..text
add esp, 0x10
jmp 0x10001101
push 0x100052ac
push 0x10005370
call dword [sym.imp.MSVCRT.dll_fopen]
pop ecx
test eax, eax
pop ecx
je 0x10001101
push eax
call dword [sym.imp.MSVCRT.dll_fclose]
pop ecx
pop edi
pop esi
leave
ret

Function at 0x1000129f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
jmp 0x100012c4
mov eax, dword [ebp + 8]
mov dl, byte [eax]
test dl, dl
je 0x100012dc
mov ecx, eax
xor dl, 0xa5
mov byte [ecx], dl
mov dl, byte [ecx + 1]
inc ecx
test dl, dl
jne 0x100012cf
pop ebp
ret

Function at 0x10001732
Capabilities:
Create thread
Get common file path

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
jmp 0x10001756
cmp dword [ebp + 0xc], 1
jne 0x10001803
mov edi, 0x104
mov esi, 0x10005638
push edi
push esi
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push esi
call dword [sym.imp.MSVCRT.dll__strlwr]
jmp 0x1000179a
mov ebx, 0x10005110
push ebx
call fcn.1000129f
push eax
push esi
call dword [sym.imp.MSVCRT.dll_strstr]
add esp, 0x10
test eax, eax
je 0x10001803
jmp 0x100017bb
push ebx
call fcn.1000129f
cmp byte [0x100050e9], 1
pop ecx
jne 0x100017fe
xor eax, eax
mov byte [0x100050e9], 0x88
push eax
push eax
push eax
push 0x100020a2
push eax
push eax
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, 0x10005370
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
push 0x10005100
push esi
call fcn.10001199
pop ecx
pop ecx
push 1
pop eax
jmp 0x10001805
xor eax, eax
pop edi
pop esi
pop ebx
pop ebp
ret 0xc
Function at 0x10001b45
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x3c
push ebx
push esi
push edi
push 0x1000
call fcn.100011d2
pop ecx
mov edi, eax
jmp 0x10001b79
mov esi, dword [sym.imp.KERNEL32.dll_lstrcatA]
and byte [ebp - 0x13], 0
and byte [ebp - 0x19], 0
and byte [ebp - 0xc], 0
lea eax, [ebp - 0x18]
mov byte [ebp - 0x17], 0x45
push eax
push edi
mov byte [ebp - 0x16], 0x54
mov byte [ebp - 0x18], 0x47
mov byte [ebp - 0x14], 0x2f
mov byte [ebp - 0x15], 0x20
mov byte [ebp - 0x1f], 0x48
mov byte [ebp - 0x37], 0x2f
mov byte [ebp - 0x2d], 0x2d
mov byte [ebp - 0x38], 0x50
mov byte [ebp - 0x31], 0x55
mov byte [ebp - 0x26], 0x20
mov byte [ebp - 0x21], 0xd
mov byte [ebp - 0x28], 0x74
mov byte [ebp - 0x33], 0xd
mov byte [ebp - 0x1d], 0x73
mov byte [ebp - 0x2c], 0x41
mov byte [ebp - 0x32], 0xa
mov byte [ebp - 0x27], 0x3a
mov byte [ebp - 0x2a], 0x65
mov byte [ebp - 0x34], 0x31
mov byte [ebp - 0x24], 0x6e
mov byte [ebp - 0x25], 0x49
mov byte [ebp - 0x23], 0x65
mov byte [ebp - 0x2f], 0x65
mov byte [ebp - 0x39], 0x54
mov byte [ebp - 0x1e], 0x6f
mov byte [ebp - 0x35], 0x2e
mov byte [ebp - 0x3b], 0x48
mov byte [ebp - 0x2b], 0x67
mov byte [ebp - 0x20], 0xa
mov byte [ebp - 0x30], 0x73
mov byte [ebp - 0x36], 0x31
mov byte [ebp - 0x1a], 0x20
mov byte [ebp - 0x22], 0x74
mov byte [ebp - 0x3a], 0x54
mov byte [ebp - 0x2e], 0x72
mov byte [ebp - 0x1c], 0x74
mov byte [ebp - 0x29], 0x6e
mov byte [ebp - 0x3c], 0x20
mov byte [ebp - 0x1b], 0x3a
mov byte [ebp - 0xd], 0xa
mov byte [ebp - 0xe], 0xd
mov byte [ebp - 0xf], 0xa
mov byte [ebp - 0x10], 0xd
call esi
push dword [ebp + 0x10]
push edi
call esi
push dword [ebp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
call ebx
and dword [ebp + 0x10], 0
mov dword [ebp - 8], eax
test eax, eax
jle 0x10001c8b
mov eax, dword [ebp + 0x14]
mov ecx, dword [ebp + 0x10]
mov al, byte [ecx + eax]
cmp al, 0x20
ja 0x10001c72
push 0x100052c0
jmp 0x10001c7d
and byte [ebp - 1], 0
mov byte [ebp - 2], al
lea eax, [ebp - 2]
push eax
push edi
call esi
inc dword [ebp + 0x10]
mov eax, dword [ebp + 0x10]
cmp eax, dword [ebp - 8]
jl 0x10001c5e
lea eax, [ebp - 0x3c]
push eax
push edi
call esi
push dword [ebp + 0xc]
push edi
call esi
lea eax, [ebp - 0x10]
push eax
push edi
call esi
push 0
push edi
call ebx
push eax
push edi
push dword [ebp + 8]
call dword [0x10005620]
push 0x1000
push edi
mov esi, eax
call fcn.100011ff
pop ecx
mov eax, esi
pop ecx
pop edi
pop esi
pop ebx
leave
ret
Function at 0x10001cc5
Capabilities:
Contain obfuscated stackstrings

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
and byte [ebp - 8], 0
and byte [ebp - 0x10], 0
push esi
push edi
push 0x100a
mov byte [ebp - 0xa], 0xd
mov byte [ebp - 0xb], 0xa
mov byte [ebp - 9], 0xa
mov byte [ebp - 0xc], 0xd
mov byte [ebp - 0x20], 0x43
mov byte [ebp - 0x18], 0x4c
mov byte [ebp - 0x1d], 0x74
mov byte [ebp - 0x14], 0x74
mov byte [ebp - 0x16], 0x6e
mov byte [ebp - 0x1e], 0x6e
mov byte [ebp - 0x1f], 0x6f
mov byte [ebp - 0x13], 0x68
mov byte [ebp - 0x11], 0x20
mov byte [ebp - 0x1a], 0x74
mov byte [ebp - 0x17], 0x65
mov byte [ebp - 0x1b], 0x6e
mov byte [ebp - 0x15], 0x67
mov byte [ebp - 0x12], 0x3a
mov byte [ebp - 0x1c], 0x65
mov byte [ebp - 0x19], 0x2d
call fcn.100011d2
pop ecx
mov dword [ebp - 4], eax
jmp 0x10001d51
xor esi, esi
push esi
push 0x1000
push eax
push dword [ebp + 8]
call dword [0x1000561c]
cmp eax, 0xffffffff
je 0x10001dcc
mov edi, dword [sym.imp.MSVCRT.dll_strstr]
lea eax, [ebp - 0x20]
push eax
push dword [ebp - 4]
call edi
pop ecx
test eax, eax
pop ecx
jne 0x10001d82
or eax, 0xffffffff
jmp 0x10001dda
add eax, 0x10
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
mov esi, eax
pop ecx
test esi, esi
je 0x10001dcc
lea eax, [ebp - 0xc]
push eax
push dword [ebp - 4]
call edi
mov edi, eax
pop ecx
test edi, edi
pop ecx
je 0x10001da7
add edi, 4
mov eax, dword [ebp + 0x10]
dec eax
cmp esi, eax
jle 0x10001db1
mov esi, eax
lea eax, [esi + 1]
push eax
push 0
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memset
push esi
push edi
push dword [ebp + 0xc]
call sub.MSVCRT.dll_memcpy
add esp, 0x18
push 0xa
push dword [ebp - 4]
call fcn.100011ff
pop ecx
mov eax, esi
pop ecx
pop edi
pop esi
leave
ret

Function at 0x10002381
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40c
push ebx
push esi
jmp 0x100023ab
xor ebx, ebx
xor edx, edx
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
lea eax, [ebp - 0x40c]
mov ecx, 0x100
mov dword [eax], edx
inc edx
add eax, 4
cmp edx, ecx
jl 0x100023c0
push edi
xor esi, esi
lea eax, [ebp - 0x40c]
mov dword [ebp - 0xc], ecx
mov edx, dword [eax]
mov cl, byte [ebp + esi + 0xc]
add cl, dl
add cl, bl
inc esi
movzx ebx, cl
mov edi, dword [ebp + ebx*4 - 0x40c]
cmp esi, 4
lea ecx, [ebp + ebx*4 - 0x40c]
mov dword [eax], edi
mov dword [ecx], edx
jl 0x100023fd
xor esi, esi
add eax, 4
dec dword [ebp - 0xc]
jne 0x100023d6
xor esi, esi
pop edi
mov al, byte [ebp - 4]
inc al
movzx eax, al
mov ebx, dword [ebp + eax*4 - 0x40c]
mov dword [ebp - 4], eax
lea ecx, [ebp + eax*4 - 0x40c]
mov al, byte [ebp - 8]
add al, bl
movzx eax, al
mov dword [ebp - 8], eax
lea edx, [ebp + eax*4 - 0x40c]
mov eax, dword [ebp + eax*4 - 0x40c]
mov dword [ecx], eax
mov ecx, dword [ebp + 8]
add al, bl
mov dword [edx], ebx
movzx eax, al
add ecx, esi
mov al, byte [ebp + eax*4 - 0x40c]
xor byte [ecx], al
inc esi
cmp esi, 0x80
jl 0x10002408
pop esi
pop ebx
leave
ret
Function at 0x112e30b0
Capabilities:
Decompress data using aplib

Disassembly:
call fcn.112e3200
push ebx
mov ebx, esp
push ebx
mov esi, dword [ebx + 8]
mov edi, dword [ebx + 0x10]
cld
mov dl, 0x80
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
mov ebx, 2
add dl, dl
jne 0x112e30d6
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112e30c2
add dl, dl
jne 0x112e30e1
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112e3134
xor eax, eax
add dl, dl
jne 0x112e30ee
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x112e31d5
add dl, dl
jne 0x112e30fd
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112e3108
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112e3113
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112e311e
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x112e312a
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x112e30cd
mov eax, 1
add dl, dl
jne 0x112e3142
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x112e314d
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112e3139
sub eax, ebx
mov ebx, 1
jne 0x112e3180
mov ecx, 1
add dl, dl
jne 0x112e3166
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112e3171
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112e315d
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112e30cd
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x112e3197
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x112e31a2
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x112e318e
cmp eax, 0x7d00
jae 0x112e31c5
cmp eax, 0x500
jb 0x112e31c0
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112e30cd
cmp eax, 0x7f
ja 0x112e31c8
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x112e30cd
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x112e31f6
adc ecx, 2
mov ebp, eax
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
mov ebx, 1
jmp 0x112e30cd
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x411d73
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x198
mov eax, dword [0x437270]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
mov dword [ebp - 0x198], edx
mov ebx, ecx
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
test edi, edi
je 0x411e25
push 0x40edc4
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
jne 0x411dbe
push 0x40edd8
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
jmp 0x411e25
push esi
push 0x40ee30
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov esi, eax
test esi, esi
jne 0x411dd8
push 0x40ee40
jmp 0x411e1e
push dword [0x437284]
push ebx
push edi
push dword [ebp - 0x198]
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x40ee98
lea eax, [ebp - 0x194]
mov ecx, esi
push eax
call dword [0x4392d8]
call esi
add esp, 0x1c
test eax, eax
jns 0x411e11
push 0x40efb8
jmp 0x411e1e
xor eax, eax
mov word [ebp - 6], ax
lea eax, [ebp - 0x194]
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00430d80
leave
ret 4

Function at 0x411e7a
Capabilities:
Allocate thread local storage
Set thread local storage value

Disassembly:
push 0x14
mov eax, 0x431759
call fcn.00430e31
mov ebx, ecx
and dword [ebp - 4], 0
cmp dword [ebx], 0
je 0x411909
mov eax, 0x8000ffff
jmp 0x411971
mov byte [ebp - 4], 1
mov eax, dword [ebx + 0x28]
mov esi, dword [eax + 4]
mov ecx, esi
call dword [0x4392d8]
lea ecx, [ebx + 0x28]
call esi
call fcn.004115a6
xor ecx, ecx
mov dword [ebp - 0x1c], 0x40f0d8
lea eax, [ebx + 0x10]
mov dword [ebp - 0x18], ecx
push eax
push ecx
push ecx
xor edx, edx
lea eax, [ebp - 0x1c]
push eax
inc edx
push edx
push 0x40f030
push ecx
push 0x411d50
mov dword [ebx], edx
call dword [sym.imp.ADVAPI32.dll_RegisterTraceGuidsW]
test eax, eax
je 0x411962
jle 0x411971
movzx eax, ax
or eax, 0x80070000
jmp 0x411971
xor eax, eax
jmp 0x411971
call fcn.00430d96
ret
xor eax, eax
inc eax
lock xadd dword [0x438d34], eax
inc eax
cmp eax, 1
jne 0x411ec9
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
mov dword [0x437284], eax
cmp eax, 0xffffffff
jne 0x411ea2
mov edx, 0x40ecf8
jmp 0x411eb4
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x411ebf
mov edx, 0x40ed34
push ecx
mov ecx, 0x40ed0c
call fcn.00411d73
mov ecx, 0x437298
jmp 0x4118eb
xor eax, eax
ret

Function at 0x411f80
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push esi
push edi
mov edi, dword [0x437284]
mov esi, ecx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
test eax, eax
jne 0x411fae
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push esi
push edi
push 0x40ed84
call fcn.00411d70
add esp, 0x10
pop edi
xor eax, eax
pop esi
ret
Function at 0x413365
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x60]
push ebx
push esi
mov esi, ecx
xor ebx, ebx
push edi
mov dword [esi + 8], ebx
test eax, eax
jne 0x41337e
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x1c], eax
mov eax, dword [ebp + 8]
mov dword [esi + 0xc], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x10], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0x18]
mov dword [esi + 0x18], eax
call dword [sym.imp.KERNEL32.dll_GetTickCount]
or dword [esi + 4], 0xffffffff
lea edi, [esi + 0x2c]
push dword [0x437284]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [esi + 0x28], eax
xor eax, eax
mov dword [esi], ebx
mov dword [esi + 0x3c], ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov edi, eax
test edi, edi
jne 0x4133dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
je 0x4133dc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov ecx, esi
call fcn.00411f80
test eax, eax
js 0x4133ec
mov dword [esi + 0x3c], edi
jmp 0x4133ef
mov edi, dword [esi + 0x3c]
test edi, edi
je 0x4133f9
mov eax, dword [edi + 0x20]
inc eax
jmp 0x4133fb
mov eax, ebx
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x28]
cmp eax, 0xff
jne 0x41340b
add eax, 0xffffffa1
push ebx
push eax
push 0x40f460
mov ecx, esi
call fcn.00413753
lea ecx, [ebp + 8]
call fcn.0041318e
pop edi
mov eax, esi
pop esi
pop ebx
pop ebp
ret 0x5c
Function at 0x41353d
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x80c
mov eax, dword [0x437270]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x438d34]
neg eax
push esi
mov esi, ecx
sbb eax, eax
and eax, dword [0x4372bc]
cmp eax, dword [esi + 4]
je 0x413668
mov dword [esi + 4], eax
mov eax, dword [0x438d34]
test eax, eax
je 0x4135a3
mov edx, dword [esi + 0x18]
lea eax, [ebp - 0x80c]
mov ecx, dword [esi + 0x1c]
and dword [ebp - 0x80c], 0
push eax
call fcn.004115e2
test eax, eax
je 0x41359e
mov eax, dword [ebp - 0x80c]
jmp 0x4135d7
mov eax, dword [0x438d34]
mov ecx, dword [esi + 0x3c]
test ecx, ecx
je 0x4135b1
call fcn.00413529
jmp 0x4135d7
test eax, eax
je 0x4135d5
cmp dword [0x437298], 0
je 0x4135d5
cmp dword [0x43729c], 0
je 0x4135d5
cmp dword [0x437288], 0
je 0x4135d5
xor eax, eax
inc eax
jmp 0x4135d7
xor eax, eax
mov dword [esi], eax
mov eax, dword [0x437290]
cmp eax, dword [esi + 4]
je 0x413668
push 0x800
lea eax, [ebp - 0x808]
push 0
push eax
call sub.msvcrt.dll_memset
pop ecx
pop ecx
lea eax, [ebp - 0x808]
push eax
call fcn.00413ad3
push dword [esi + 4]
lea eax, [ebp - 0x808]
push dword [0x437290]
push eax
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
push 0x40f4f8
push 0x78
push 0x40f5a0
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x24f
push 0x40f5c0
push 0x40f358
push 0x40f368
call fcn.004130e8
push esi
call fcn.00413851
mov eax, dword [esi + 4]
add esp, 0x7c
mov dword [0x437290], eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00430d80
leave
ret
Function at 0x4150c9
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x60
mov eax, 0x431a7b
call fcn.00430dc8
mov esi, ecx
xor ebx, ebx
push ebx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x1f8
push 0x40fee8
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea ecx, [ebp - 0x6c]
call fcn.00413365
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x14]
push eax
push ebx
lea eax, [ebp - 0x18]
mov dword [ebp - 4], ebx
push eax
push ebx
push 0x40f040
mov dword [edi], ebx
push dword [esi + 8]
mov dword [ebp - 0x18], ebx
mov dword [ebp - 0x14], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
cmp edx, 2
je 0x41518a
test edx, edx
je 0x415144
cmp edx, 0xea
jne 0x41521d
push 4
pop eax
cmp dword [ebp - 0x18], eax
je 0x41518d
push 0x40f040
push dword [esi + 0x10]
push 0x40ff88
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x21e
push 0x40fee8
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x6c]
push eax
call fcn.004143e1
add esp, 0x68
push ebx
jmp 0x415201
cmp dword [ebp - 0x14], eax
jne 0x415275
mov dword [ebp - 0x1c], eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x24]
mov dword [ebp - 0x20], ebx
push eax
lea eax, [ebp - 0x20]
mov dword [ebp - 0x24], ebx
push eax
push ebx
mov ebx, 0x40f040
push ebx
push dword [esi + 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, eax
test edx, edx
je 0x4151fa
push dword [ebp - 0x1c]
lea ecx, [esi + 0xc]
push dword [ebp - 0x20]
push ebx
call fcn.00414b64
push eax
push dword [esi + 8]
push 0x40ff20
test edx, edx
jle 0x4151e6
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x23a
jmp 0x415258
mov eax, dword [ebp - 0x24]
mov dword [edi], eax
push 1
lea ecx, [ebp - 0x6c]
call fcn.00414f02
lea ecx, [ebp - 0x6c]
mov bl, al
call fcn.0041342a
mov al, bl
call fcn.00430d96
ret 0xc
push dword [ebp - 0x14]
lea ecx, [esi + 0xc]
push dword [ebp - 0x18]
push 0x40f040
call fcn.00414b64
push eax
push dword [esi + 8]
push 0x40ff20
test edx, edx
jle 0x415246
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x217
push 0x40fee8
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x6c]
push eax
call fcn.00414204
push 0x40f040
lea ecx, [esi + 0xc]
call fcn.00414b64
push eax
push dword [esi + 8]
push dword [ebp - 0x14]
push 0x410048
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push 0xff
push 0xb
push 0x22b
push 0x40fee8
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x6c]
push eax
call fcn.00414204
int3
Function at 0x4153e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x58
mov eax, 0x431a9e
call fcn.00430dc8
mov esi, ecx
push 0
sub esp, 0x58
mov edi, 0xff
mov ecx, esp
push edi
push 0xb
pop ebx
push ebx
push 0x3bb
push 0x410300
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea ecx, [ebp - 0x64]
call fcn.00413365
and dword [ebp - 4], 0
mov ecx, esi
call fcn.00415597
push 4
pop ecx
cmp dword [esi + 0xc], ecx
jne 0x4154e1
mov eax, dword [esi + 0x1c]
cmp eax, ecx
jne 0x415514
mov eax, dword [esi + 0x18]
xor edx, edx
mov dword [ebp - 0x14], eax
lea eax, [ebp - 0x20]
push eax
lea eax, [ebp - 0x1c]
mov dword [ebp - 0x1c], edx
push eax
lea eax, [ebp - 0x18]
mov dword [ebp - 0x18], edx
push eax
push edx
lea eax, [ebp - 0x14]
mov dword [ebp - 0x20], ecx
push eax
push dword [esi + 0x14]
push dword [esi + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edx, eax
test edx, edx
je 0x4154a5
cmp edx, 0x103
jne 0x415549
push dword [esi + 4]
push dword [esi + 8]
push 0x4101a8
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push edi
push ebx
push 0x3e3
jmp 0x41552c
mov eax, dword [ebp - 0x18]
cmp eax, dword [esi + 0xc]
je 0x4154c9
push dword [esi + 0xc]
push eax
push 0x4103e8
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push edi
push ebx
push 0x3dd
jmp 0x41552c
mov ecx, dword [ebp + 8]
mov eax, dword [ebp - 0x1c]
mov dword [ecx], eax
lea ecx, [ebp - 0x64]
call fcn.0041342a
call fcn.00430d96
ret 4
push 0x410368
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push edi
push ebx
push 0x3c1
push 0x410300
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x64]
push eax
call fcn.00414204
push ecx
push eax
push 0x4104b8
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push edi
push ebx
push 0x3c6
push 0x410300
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x64]
push eax
call fcn.00414204
push dword [ebp - 0x14]
lea ecx, [esi + 0x10]
call fcn.00414b64
push eax
push dword [esi + 8]
push dword [esi]
push 0x410478
test edx, edx
jle 0x41556c
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push edi
push ebx
push 0x3e5
push 0x410300
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x64]
push eax
call fcn.00414204
int3
Function at 0x415597
Capabilities:
Query or enumerate registry value

Disassembly:
push 0x4c
mov eax, 0x431ac1
call fcn.00430dc8
mov esi, ecx
push 0
sub esp, 0x58
mov edi, 0xff
mov ecx, esp
push edi
push 0xb
push 0x45e
push 0x410520
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea ecx, [ebp - 0x58]
call fcn.00413365
xor ecx, ecx
mov dword [ebp - 4], ecx
cmp byte [esi + 0x21], cl
je 0x415633
cmp dword [esi + 0x14], ecx
je 0x415633
cmp byte [esi + 0x20], cl
je 0x4155f7
lea ecx, [ebp - 0x58]
call fcn.0041342a
call fcn.00430d96
ret
mov eax, dword [esi + 0x18]
mov dword [ebp - 0x10], eax
lea eax, [esi + 0x1c]
push eax
push ecx
lea eax, [esi + 0xc]
push eax
push ecx
lea eax, [ebp - 0x10]
push eax
push dword [esi + 0x14]
push dword [esi + 8]
push dword [esi]
call dword [sym.imp.ADVAPI32.dll_RegEnumValueW]
mov edx, eax
test edx, edx
je 0x41562d
cmp edx, 0x103
je 0x4156b5
jmp 0x415667
mov byte [esi + 0x20], 1
jmp 0x4155e9
push 0x410150
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0x462
push 0x410520
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x58]
push eax
call fcn.00414204
push dword [ebp - 0x10]
lea ecx, [esi + 0x10]
call fcn.00414b64
push eax
push dword [esi + 8]
push dword [esi]
push 0x410478
test edx, edx
jle 0x41568a
movzx edx, dx
or edx, 0x80070000
push edx
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0x47a
push 0x410520
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x58]
push eax
call fcn.00414204
push dword [esi + 4]
push dword [esi + 8]
push 0x4101a8
push 0x8000ffff
sub esp, 0x58
mov ecx, esp
push edi
push 0xb
push 0x47e
push 0x410520
push 0x40fdf4
push 0x40fe08
call fcn.004130e8
lea eax, [ebp - 0x58]
push eax
call fcn.00414204
int3

Function at 0x415b3e
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x437270]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x120]
mov dword [ebp - 0x120], 0x11c
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x415b84
cmp dword [ebp - 0x11c], 6
jb 0x415b84
cmp dword [ebp - 0x118], 2
jb 0x415b84
xor al, al
jmp 0x415b86
mov al, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00430d80
leave
ret