joyce8/EMBER2024-capa huggingface dataset:
Function at 0x70e97e60
Capabilities:
Packed with generic packer

Disassembly:
cmp byte [esp + 8], 1
jne 0x70e98044
pushal
mov esi, section.UPX1
lea edi, [esi - 0xd3000]
push edi
or ebp, 0xffffffff
jmp 0x70e97e8a
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x70e97e91
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70e97e80
mov eax, 1
add ebx, ebx
jne 0x70e97ea3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x70e97eb4
jne 0x70e97ed3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70e97ed3
dec eax
add ebx, ebx
jne 0x70e97ec0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x70e97e98
add ebx, ebx
jne 0x70e97ecf
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x70e97f25
xor ecx, ecx
sub eax, 3
jb 0x70e97eeb
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x70e97f5a
sar eax, 1
mov ebp, eax
jmp 0x70e97ef6
add ebx, ebx
jne 0x70e97ef6
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70e97ec4
inc ecx
add ebx, ebx
jne 0x70e97f04
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x70e97ec4
add ebx, ebx
jne 0x70e97f11
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x70e97f06
jne 0x70e97f22
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x70e97f06
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x70e97f44
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x70e97f36
jmp 0x70e97e86
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x70e97f44
add edi, ecx
jmp 0x70e97e86
pop esi
mov edi, esi
mov ecx, 0x5e7a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x70e97f62
cmp byte [edi], 0x27
jne 0x70e97f62
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 0x70e97f67
lea edi, [esi + 0x190000]
mov eax, dword [edi]
or eax, eax
je 0x70e97fd6
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19846c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1984e4]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x70e97f94
mov ecx, edi
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1984e8]
or eax, eax
je 0x70e97fd0
mov dword [ebx], eax
add ebx, 4
jmp 0x70e97fb1
popal
xor eax, eax
ret 0xc
add edi, 4
lea ebx, [esi - 4]
xor eax, eax
mov al, byte [edi]
inc edi
or eax, eax
je 0x70e98007
cmp al, 0xef
ja 0x70e97ffa
add ebx, eax
mov eax, dword [ebx]
xchg ah, al
rol eax, 0x10
xchg ah, al
add eax, esi
mov dword [ebx], eax
jmp 0x70e97fdc
and al, 0xf
shl eax, 0x10
mov ax, word [edi]
add edi, 2
jmp 0x70e97fe9
mov ebp, dword [esi + 0x1984ec]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x207]
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 0x70e9803b
sub esp, 0xffffff80
jmp 0x70d351fc
Function at 0x1033774
Capabilities:
Delete registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push eax
push 0x2001f
push 0
push 0x1001b38
push 0x80000001
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10337c2
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push 0x1001c04
push dword [ebp - 4]
call esi
push 0x1001bdc
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret

Function at 0x1033848
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
call fcn.010337c9
test eax, eax
jne 0x10339c1
push eax
lea ecx, [ebp - 0x418]
push ecx
push eax
push 0x2001f
push eax
push eax
push eax
push 0x1001c88
push 0x80000002
mov dword [ebp - 0x418], eax
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10339c1
push ebx
mov ebx, 0x104
push ebx
lea eax, [ebp - 0x414]
push eax
call fcn.0105a9b1
test eax, eax
je 0x10339b4
push esi
push edi
lea eax, [ebp - 0x414]
push eax
call fcn.01055efe
mov dword [ebp - 0x420], eax
push ebx
lea eax, [ebp - 0x20c]
push eax
mov dword [ebp - 0x41c], edx
call fcn.0105a553
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edi, 0x1001c80
test eax, eax
je 0x103392d
lea eax, [ebp - 0x20c]
push eax
call fcn.01055efe
cmp edx, dword [ebp - 0x41c]
ja 0x1033941
jb 0x1033908
cmp eax, dword [ebp - 0x420]
jae 0x1033941
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1033911
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
jmp 0x1033930
push 4
push edi
push 1
push 0
push 0x1001c58
push dword [ebp - 0x418]
call esi
cmp dword [0x1073a18], 0
jne 0x10339b2
push ebx
lea eax, [ebp - 0x20c]
push eax
call fcn.01059118
test eax, eax
je 0x103399e
lea eax, [ebp - 0x20c]
push eax
call fcn.01055efe
cmp edx, dword [ebp - 0x41c]
ja 0x10339b2
jb 0x1033979
cmp eax, dword [ebp - 0x420]
jae 0x10339b2
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x1033982
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
lea eax, [ebp - 0x20c]
push eax
jmp 0x10339a1
push 4
push edi
push 1
push 0
push 0x1001c38
push dword [ebp - 0x418]
call esi
pop edi
pop esi
push dword [ebp - 0x418]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.01047480
leave
ret
Function at 0x1033b38
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 0x20019
push esi
push esi
push esi
push 0x1001c88
push 0x80000002
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1033ba8
push 4
pop eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0x1001d08
push dword [ebp - 4]
mov dword [ebp - 8], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
invalid
test eax, eax
jne 0x1033b9f
cmp dword [ebp - 8], 0xc00d2afc
sete al

Function at 0x1033bb2
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 3
push esi
push esi
push esi
push 0x1001c88
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1033c28
cmp dword [ebp + 8], esi
jne 0x1033bf2
push 0x1001d24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
jmp 0x1033c1f
mov eax, dword [ebp + 8]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, si
jne 0x1033bf8
sub eax, edx
sar eax, 1
lea eax, [eax + eax + 2]
push eax
push dword [ebp + 8]
push 1
push esi
push 0x1001d24
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
leave
ret 4

Function at 0x1033d29
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
lea eax, [ebp - 4]
push eax
push 2
xor ebx, ebx
push ebx
push 0x1001c88
push 0x80000002
mov dword [ebp - 4], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1033dba
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push edi
push 4
pop edi
cmp dword [ebp + 8], ebx
je 0x1033d9e
push edi
lea eax, [ebp + 8]
push eax
push edi
push ebx
push 0x1001dc8
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call esi
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x1001d98
push dword [ebp - 4]
call esi
push edi
lea eax, [ebp - 8]
push eax
push edi
push ebx
push 0x1001d70
push dword [ebp - 4]
mov dword [ebp - 8], 1
call esi
push edi
lea eax, [ebp + 0xc]
push eax
push edi
push ebx
push 0x1001d40
push dword [ebp - 4]
call esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add dword [edi + 0x5e], ebx
Function at 0x1033e53
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
cmp dword [0x10739c8], 0
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 0x80004005
jne 0x1033ee6
push 0x58
call sub.msvcrt.dll_void____cdecl_operator_new_unsigned_int_
pop ecx
test eax, eax
je 0x1033e90
mov ecx, eax
call fcn.010457c8
jmp 0x1033e92
xor eax, eax
mov dword [0x10739c8], eax
test eax, eax
je 0x1033ee9
lea eax, [ebp - 0x20c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x1033ee9
mov eax, dword [0x10739c8]
mov ecx, dword [0x107399c]
mov dword [eax + 0x4c], ecx
mov eax, dword [0x10739c8]
mov ecx, dword [0x1072134]
mov dword [eax + 0x44], ecx
mov ecx, dword [0x10739c8]
push 1
lea eax, [ebp - 0x20c]
push eax
push esi
call fcn.01046884
xor edi, edi
jmp 0x1033ee9
xor edi, edi
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.01047480
leave
ret 4

Function at 0x1034154
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [ebp + 8], esi
je 0x10341bb
push esi
lea eax, [ebp - 4]
push eax
push esi
push 2
push esi
push esi
mov dword [ebp - 4], esi
push esi
cmp dword [ebp + 0xc], esi
je 0x103417c
push 0x1001eb8
jmp 0x1034181
push 0x1001e48
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
cmp eax, esi
jne 0x10341bb
cmp dword [ebp - 4], esi
je 0x10341bb
push 2
push 0x1001e44
push 1
push esi
push dword [ebp + 8]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
test eax, eax
jne 0x10341b2
xor esi, esi
inc esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
leave
ret 8
Function at 0x10341c7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 0x210], esi
cmp ebx, esi
je 0x10342d8
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
lea eax, [ebp - 0x210]
push eax
push 0x20019
push esi
push 0x1001f80
push 0x80000002
call edi
test eax, eax
jne 0x10342a1
and dword [ebp - 0x214], esi
lea eax, [ebp - 0x214]
push eax
push 1
push esi
push ebx
push dword [ebp - 0x210]
call edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
jne 0x1034299
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x21c]
push eax
push esi
push 0x1001f58
push dword [ebp - 0x214]
mov dword [ebp - 0x21c], 1
mov dword [ebp - 0x218], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1034291
push eax
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
push dword [ebp - 0x214]
call edi
push dword [ebp - 0x210]
call edi
mov ecx, 0x100173c
mov eax, ebx
pop edi
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10342cf
test dx, dx
je 0x10342cb
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10342cf
add eax, 4
add ecx, 4
test dx, dx
jne 0x10342a9
xor eax, eax
jmp 0x10342d4
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10342ed
push 0
push 0x1001e18
call dword [sym.imp.USER32.dll_FindWindowW]
mov esi, eax
neg esi
sbb esi, esi
neg esi
mov ecx, dword [ebp - 4]
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.01047480
leave
ret 4
Function at 0x1034304
Capabilities:
Accept command line arguments

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x228
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push edi
mov dword [ebp - 0x214], 1
call dword [sym.imp.KERNEL32.dll_GetCommandLineW]
xor edi, edi
cmp eax, edi
je 0x103441c
lea ecx, [ebp - 0x210]
push ecx
push eax
mov dword [ebp - 0x210], edi
call dword [sym.imp.SHELL32.dll_CommandLineToArgvW]
mov dword [ebp - 0x218], eax
cmp eax, edi
je 0x103441c
push ebx
xor ebx, ebx
cmp dword [ebp - 0x210], edi
jle 0x103441b
push esi
mov eax, dword [ebp - 0x218]
lea esi, [eax + ebx*4]
push 0x1001ff8
push dword [esi]
call dword [sym.imp.msvcrt.dll_wcsstr]
pop ecx
pop ecx
test eax, eax
je 0x103440d
push 0x3a
push dword [esi]
call dword [sym.imp.msvcrt.dll_wcschr]
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x103440d
inc esi
inc esi
je 0x103440d
push esi
call fcn.010561eb
test eax, eax
je 0x103440d
push edi
push 2
push edi
push esi
call fcn.0105c660
mov esi, eax
cmp esi, 0xffffffff
je 0x103440d
lea eax, [ebp - 0x228]
push eax
push 0x10094c0
push 0x1001fd8
push esi
call fcn.0105c6af
test eax, eax
je 0x1034406
push 0xffffffffffffffff
push 0x104
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x228]
push eax
push esi
call fcn.0105c088
cmp eax, edi
mov dword [ebp - 0x214], eax
jl 0x1034406
push 1
lea eax, [ebp - 0x20c]
push eax
push edi
call fcn.0105b5c6
push esi
call dword [sym.imp.SETUPAPI.dll_SetupCloseInfFile]
inc ebx
cmp ebx, dword [ebp - 0x210]
jl 0x1034366
pop esi
pop ebx
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
xor ecx, ebp
pop edi
call fcn.01047480
leave
ret

Function at 0x1034434
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push edi
push 0x1002088
push dword [ebp + 8]
call dword [sym.imp.msvcrt.dll_wcsstr]
xor edi, edi
pop ecx
pop ecx
cmp eax, edi
je 0x10344cf
push esi
push 0x3a
push eax
call dword [sym.imp.msvcrt.dll_wcschr]
mov esi, eax
pop ecx
pop ecx
cmp esi, edi
je 0x10344ce
push edi
lea eax, [ebp + 8]
push eax
push edi
push 0x20006
push edi
push edi
push edi
push 0x1002038
push 0x80000002
mov dword [ebp + 8], edi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x10344ce
inc esi
inc esi
je 0x10344c5
push 0x1001e44
push esi
call dword [sym.imp.msvcrt.dll__wcsicmp]
pop ecx
pop ecx
test eax, eax
je 0x10344c5
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, di
jne 0x10344a2
sub eax, edx
sar eax, 1
add eax, eax
push eax
push esi
push 1
push edi
push 0x1002018
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
pop ebp
ret 4
Function at 0x10349d7
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push esi
xor esi, esi
push esi
lea eax, [ebp - 4]
push eax
push esi
push 1
push esi
push esi
push esi
push 0x1001b38
push 0x80000001
mov dword [ebp - 4], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
test eax, eax
jne 0x1034a48
push edi
push 4
pop edi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push esi
push 0x10020d0
push dword [ebp - 4]
mov dword [ebp - 0xc], esi
mov dword [ebp - 0x10], edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1034a3e
cmp dword [ebp - 8], edi
jne 0x1034a3e
cmp dword [ebp - 0xc], 1
sete al
mov esi, eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x1034b63
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push edi
lea eax, [ebp - 4]
push eax
push 1
xor edi, edi
push edi
push 0x1002120
push 0x80000002
xor ebx, ebx
mov dword [ebp - 4], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1034bdf
push esi
push 4
pop esi
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
push edi
push 0x100173c
push dword [ebp - 4]
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], edi
mov dword [ebp - 0x10], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1034bd5
cmp dword [ebp - 8], esi
jne 0x1034bd5
cmp dword [ebp - 0xc], edi
sete bl
cmp ebx, edi
je 0x1034bd5
push 0x1002104
push esi
call fcn.01055c50
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret

Function at 0x1034cc2
Capabilities:
Get system information on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
call fcn.01056455
cmp eax, 6
jne 0x1034cee
lea eax, [ebp - 0x24]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
push 6
pop eax
xor ecx, ecx
cmp ax, word [ebp - 0x24]
setne cl
mov eax, ecx
leave
ret
mov ecx, dword [0x10739c8]
push edi
xor edi, edi
test ecx, ecx
je 0x1034d19
push esi
call fcn.010465f5
mov esi, eax
call fcn.0105c74e
test eax, eax
jne 0x1034d10
test esi, esi
jmp 0x1034d13
cmp esi, 1
jne 0x1034d18
xor edi, edi
inc edi
pop esi
mov eax, edi
pop edi
leave
ret
Function at 0x1034d6a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x21c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x208]
push eax
push 0x20019
xor ebx, ebx
push ebx
push 0x1002260
push 0x80000002
mov dword [ebp - 0x214], 1
mov dword [ebp - 0x208], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1034e99
push esi
push 3
pop esi
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x210]
push eax
lea eax, [ebp - 0x218]
push eax
push ebx
push 0x1002250
push dword [ebp - 0x208]
mov dword [ebp - 0x210], ebx
mov dword [ebp - 0x20c], ebx
mov dword [ebp - 0x218], esi
mov dword [ebp - 0x21c], 8
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1034e8c
cmp dword [ebp - 0x218], esi
jne 0x1034e8c
push 0x100
lea eax, [ebp - 0x204]
push eax
call fcn.0105a9b1
test eax, eax
je 0x1034e8c
mov eax, dword [ebp - 0x210]
shr eax, 0x10
cdq
shld edx, eax, 0x10
shl eax, 0x10
mov ecx, eax
movzx eax, word [ebp - 0x210]
mov esi, edx
cdq
or ecx, eax
mov eax, dword [ebp - 0x20c]
or esi, edx
shld esi, ecx, 0x10
shr eax, 0x10
cdq
push edi
shl ecx, 0x10
or ecx, eax
movzx eax, word [ebp - 0x20c]
or esi, edx
mov edi, ecx
shld esi, edi, 0x10
cdq
shl edi, 0x10
or edi, eax
lea eax, [ebp - 0x204]
push eax
or esi, edx
call fcn.01055efe
cmp edx, esi
ja 0x1034e8b
jb 0x1034e85
cmp eax, edi
jae 0x1034e8b
mov dword [ebp - 0x214], ebx
pop edi
push dword [ebp - 0x208]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x214]
xor ecx, ebp
pop ebx
call fcn.01047480
leave
ret

Function at 0x1034eb1
Capabilities:
Check mutex on windows

Disassembly:
mov edi, edi
push esi
push edi
push 0x1002308
push 1
xor edi, edi
push edi
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov esi, eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1034ed5
inc edi
test esi, esi
je 0x1034ee7
push esi
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, edi
pop edi
pop esi
ret
Function at 0x103516c
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], edi
lea eax, [ebp - 4]
mov esi, 0x1001b38
cmp dword [0x107399c], edi
jne 0x10351dd
mov ebx, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push edi
push eax
push edi
push 2
push edi
push edi
push edi
push esi
push 0x80000002
call ebx
test eax, eax
je 0x10351b8
push edi
lea eax, [ebp - 4]
push eax
push edi
push 2
push edi
push edi
push edi
push esi
push 0x80000001
call ebx
cmp dword [ebp - 4], edi
je 0x1035234
push 4
lea eax, [ebp - 8]
push eax
push 4
push edi
push 0x1001b18
push dword [ebp - 4]
mov dword [ebp - 8], 1
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x103522b
mov ebx, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push eax
push 2
push edi
push esi
push 0x80000002
call ebx
test eax, eax
jne 0x103520a
push 0x1001b18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
push 2
push edi
push esi
push 0x80000001
call ebx
test eax, eax
jne 0x1035234
push 0x1001b18
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
pop ebx
leave
ret

Function at 0x103523e
Capabilities:
Hide graphical window

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
xor eax, eax
push ebx
push edi
xor ebx, ebx
mov dword [ebp - 0x14], ebx
lea edi, [ebp - 0x10]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
xor eax, eax
mov dword [ebp - 0x24], ebx
lea edi, [ebp - 0x20]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
cmp dword [ebp + 8], ebx
je 0x1035300
push esi
push dword [ebp + 0x10]
mov esi, dword [sym.imp.USER32.dll_GetDlgItem]
push dword [ebp + 8]
call esi
mov edi, dword [sym.imp.USER32.dll_GetWindowRect]
cmp eax, ebx
mov ebx, dword [sym.imp.USER32.dll_MapWindowPoints]
mov dword [ebp - 4], eax
je 0x10352bb
lea ecx, [ebp - 0x24]
push ecx
push eax
call edi
push 2
lea eax, [ebp - 0x24]
push eax
push dword [ebp + 8]
push 0
call ebx
cmp dword [ebp + 0x14], 0
je 0x10352bb
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_ShowWindow]
push 0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_EnableWindow]
push dword [ebp + 0xc]
push dword [ebp + 8]
call esi
mov dword [ebp - 4], eax
test eax, eax
je 0x10352ff
lea ecx, [ebp - 0x14]
push ecx
push eax
call edi
push 2
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 8]
xor edi, edi
push edi
call ebx
mov eax, dword [ebp - 0x20]
push 1
push edi
push edi
push eax
push dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
push dword [ebp + 0x10]
push dword [ebp + 8]
call esi
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SetWindowPos]
pop esi
pop edi
pop ebx
leave
ret 0x10
Function at 0x1035712
Capabilities:
Delete registry value
Query or enumerate registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
lea eax, [ebp - 4]
push eax
push 3
xor ebx, ebx
push ebx
push 0x1001c88
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1035826
push esi
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0x14]
push eax
push ebx
push 0x1001d08
push dword [ebp - 4]
mov dword [ebp - 8], 4
mov dword [ebp - 0x10], ebx
mov dword [ebp - 0x14], 1
call edi
mov esi, 0x10023dc
test eax, eax
jne 0x10357f7
cmp dword [ebp - 0x10], 0xd2af9
je 0x103578d
cmp dword [ebp - 0x10], 0xc00d2afb
jne 0x10357f7
lea eax, [ebp - 0x1c]
push eax
mov dword [ebp - 0xc], 1
call fcn.010339d2
test eax, eax
jne 0x10357e6
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x24]
push eax
push ebx
push ebx
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 8
call edi
test eax, eax
jne 0x10357e6
mov eax, dword [ebp - 0x18]
cmp eax, dword [ebp - 0x20]
jb 0x10357e3
ja 0x10357ce
mov eax, dword [ebp - 0x1c]
cmp eax, dword [ebp - 0x24]
jbe 0x10357e3
push 8
lea eax, [ebp - 0x1c]
push eax
push 3
push ebx
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
jmp 0x10357e6
mov dword [ebp - 0xc], ebx
call fcn.010567c9
test eax, eax
jne 0x10357f2
mov dword [ebp - 0xc], ebx
cmp dword [ebp - 0xc], ebx
jne 0x103581b
push 4
lea eax, [ebp - 8]
push eax
push 4
push ebx
push 0x1001d08
push dword [ebp - 4]
mov dword [ebp - 8], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
mov eax, dword [ebp - 0xc]
pop ebx
leave
ret