joyce8/EMBER2024-capa huggingface dataset:
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

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
invalid
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

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
invalid
xchg esp, eax

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 0x10367d1
Capabilities:
Find taskbar

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor edi, edi
push edi
push 0x10027f0
call dword [sym.imp.USER32.dll_FindWindowW]
cmp eax, edi
je 0x1036835
mov esi, dword [sym.imp.USER32.dll_FindWindowExW]
push edi
push 0x10027d4
push edi
push eax
call esi
mov ebx, eax
cmp ebx, edi
je 0x1036835
push edi
push 0x10027bc
push edi
push ebx
call esi
test eax, eax
je 0x1036827
xor eax, eax
inc eax
jmp 0x10368b0
push edi
push 0x10027a0
push edi
push ebx
call esi
test eax, eax
jne 0x103681f
mov esi, 0x104
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01058c4e
test eax, eax
je 0x1036872
push 0x1002784
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010358a6
test eax, eax
jl 0x1036872
lea eax, [ebp - 0x20c]
push eax
call fcn.010366f9
test eax, eax
jne 0x103681f
push esi
push edi
lea eax, [ebp - 0x20c]
push eax
call fcn.01058c4e
test eax, eax
je 0x10368ae
push 0x1002768
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010358a6
test eax, eax
jl 0x10368ae
lea eax, [ebp - 0x20c]
push eax
call fcn.010366f9
test eax, eax
jne 0x103681f
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
invalid

Function at 0x103696b
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x41c
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x210]
push eax
mov esi, 0x105
push esi
xor edi, edi
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x10369d1
push 0x1002878
lea eax, [ebp - 0x210]
push eax
push 0x100286c
lea eax, [ebp - 0x41c]
push esi
push eax
call fcn.0103592d
add esp, 0x14
test eax, eax
jl 0x10369d1
lea eax, [ebp - 0x41c]
push eax
call fcn.010561eb
test eax, eax
jne 0x10369d1
inc edi
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
xor ecx, ebp
pop esi
call fcn.01047480
leave
ret
Function at 0x1047471
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x106fb88
call fcn.01047530
xor ebx, ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 4], ebx
lea eax, [ebp - 0x68]
push eax
call dword [sym.imp.KERNEL32.dll_GetStartupInfoA]
mov dword [ebp - 4], 0xfffffffe
mov dword [ebp - 4], 1
mov eax, dword fs:[0x18]
mov esi, dword [eax + 4]
mov edi, 0x1075584
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1047228
cmp eax, esi
jne 0x104721b
xor esi, esi
inc esi
mov ebx, esi
jmp 0x104722b
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1047202
xor esi, esi
inc esi
mov eax, dword [0x1075580]
cmp eax, esi
jne 0x104723e
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x104726d
mov eax, dword [0x1075580]
test eax, eax
jne 0x1047267
mov dword [0x1075580], esi
push 0x100171c
push 0x1001710
call fcn.01047167
pop ecx
pop ecx
test eax, eax
je 0x104726d
jmp 0x1047395
mov dword [0x1074328], esi
mov eax, dword [0x1075580]
cmp eax, esi
jne 0x1047291
push 0x100170c
push 0x1001680
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x1075580], 2
test ebx, ebx
jne 0x104729d
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x1075588], 0
je 0x10472c1
push 0x1075588
call fcn.010476a9
pop ecx
test eax, eax
je 0x10472c1
push 0
push 2
push 0
call dword [0x1075588]
mov eax, dword [sym.imp.msvcrt.dll__acmdln]
mov esi, dword [eax]
mov dword [ebp - 0x20], esi
mov al, byte [esi]
cmp al, 0x20
ja 0x104731d
test al, al
je 0x10472db
cmp dword [ebp - 0x1c], 0
jne 0x104731d
mov al, byte [esi]
test al, al
je 0x10472eb
cmp al, 0x20
ja 0x10472eb
inc esi
mov dword [ebp - 0x20], esi
jmp 0x10472db
test byte [ebp - 0x3c], 1
je 0x10472f7
movzx eax, word [ebp - 0x38]
jmp 0x10472fa
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x1074324], eax
cmp dword [0x1074318], 0
jne 0x1047371
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x104732c
xor ecx, ecx
cmp dword [ebp - 0x1c], ecx
sete cl
mov dword [ebp - 0x1c], ecx
movzx eax, al
push eax
call dword [sym.imp.msvcrt.dll__ismbblead]
pop ecx
test eax, eax
je 0x104733f
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x10472c8
cmp dword [0x1074328], 0
jne 0x1047380
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x1074324]
jmp 0x10473a1
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.01047575
call fcn.01047894
jmp 0x10471c8

Function at 0x1047d2c
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x118
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
lea eax, [ebp - 0x118]
push eax
xor bl, bl
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp eax, 1
jne 0x1047d78
cmp dword [ebp - 0x108], 2
jne 0x1047d76
cmp dword [ebp - 0x114], 6
jb 0x1047d76
mov bl, al
jmp 0x1047d78
xor bl, bl
mov ecx, dword [ebp - 4]
invalid
Function at 0x1048952
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x214
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
mov esi, ecx
mov ecx, dword [esi]
xor ebx, ebx
mov eax, 0x80004005
mov dword [ebp - 0x214], eax
cmp ecx, ebx
je 0x1048b34
push ecx
push 0x1006530
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.0103592d
add esp, 0x10
test eax, eax
jl 0x1048b2e
push edi
mov edi, dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x80000002
mov dword [ebp - 0x210], ebx
call edi
test eax, eax
je 0x10489fd
push ebx
lea eax, [ebp - 0x210]
push eax
push ebx
push 0x20006
push ebx
push ebx
push ebx
lea eax, [ebp - 0x20c]
push eax
push 0x80000001
call edi
test eax, eax
je 0x10489fd
mov dword [ebp - 0x210], ebx
cmp dword [ebp - 0x210], ebx
je 0x1048b2d
push dword [esi + 0xc]
push 0x1006510
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x64]
push 0x10064f8
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x68]
push 0x10064d8
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x5c]
push 0x10064bc
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x54]
push 0x10064a0
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x50]
push 0x1006480
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x58]
push 0x1006464
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x6c]
mov edi, 0x1006444
push edi
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x70]
push edi
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x74]
push 0x1006424
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x78]
mov edi, 0x1006404
push edi
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x7c]
push edi
push dword [ebp - 0x210]
call fcn.01047d8c
push dword [esi + 0x80]
push 0x10063e4
push dword [ebp - 0x210]
call fcn.01047d8c
lea eax, [esi + 0x4c]
cmp dword [eax], ebx
je 0x1048b1b
push 4
push eax
push 4
push ebx
push 0x10063d8
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
push dword [ebp - 0x210]
mov dword [ebp - 0x214], ebx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, dword [ebp - 0x214]
mov ecx, dword [ebp - 4]
pop esi
xor ecx, ebp
pop ebx
call fcn.01047480
leave
Function at 0x104a09e
Capabilities:
Delete registry value
Set registry value

Disassembly:
cmp dword [ecx + 0x40], 0
je fcn.0104a0b4
call fcn.01048fa3
test eax, eax
je fcn.0104a0b4
mov ecx, eax
jmp fcn.01048ba8

Function at 0x104a0ba
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x220
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
and dword [ebp - 0x210], 0
push esi
push edi
push 0x1006acc
mov esi, ecx
push 3
mov dword [ebp - 0x220], esi
call fcn.01055c50
mov eax, dword [esi + 0x10]
test eax, eax
je 0x104a0fb
push eax
mov ecx, esi
call fcn.01049cd4
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push ebx
lea eax, [ebp - 0x210]
push eax
push 1
push 0
mov ebx, 0x1001b38
push ebx
push 0x80000001
call edi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x104a241
and dword [ebp - 0x218], 0
push 4
pop eax
mov dword [ebp - 0x214], eax
mov dword [ebp - 0x21c], eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0x1006a94
push dword [ebp - 0x210]
call esi
test eax, eax
jne 0x104a1d2
cmp dword [ebp - 0x218], 1
jne 0x104a1d2
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0x1006a60
push dword [ebp - 0x210]
mov dword [ebp - 0x21c], 0x208
call esi
test eax, eax
jne 0x104a1d2
cmp dword [ebp - 0x214], 1
jne 0x104a1d2
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.01049dcf
lea eax, [ebp - 0x20c]
push eax
push 0x1006a40
push 3
call fcn.01055c8a
add esp, 0xc
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x214]
push eax
push 0
push 0x1001f20
push dword [ebp - 0x210]
mov dword [ebp - 0x21c], 0x208
call esi
test eax, eax
jne 0x104a235
cmp dword [ebp - 0x214], 1
jne 0x104a235
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.01049eb9
lea eax, [ebp - 0x20c]
push eax
push 0x1006a20
push 3
call fcn.01055c8a
add esp, 0xc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 0x210]
push eax
push 1
push 0
push ebx
push 0x80000002
call edi
pop ebx
test eax, eax
jne 0x104a30d
push 4
pop edi
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x20c]
push eax
lea eax, [ebp - 0x218]
push eax
push 0
push 0x10069f4
push dword [ebp - 0x210]
mov dword [ebp - 0x218], edi
mov dword [ebp - 0x214], 0x208
call esi
test eax, eax
jne 0x104a301
cmp dword [ebp - 0x218], 1
jne 0x104a301
mov ecx, 0x1001e44
lea eax, [ebp - 0x20c]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x104a2d0
test dx, dx
je 0x104a2cc
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x104a2d0
add eax, edi
add ecx, edi
test dx, dx
jne 0x104a2ac
xor eax, eax
jmp 0x104a2d5
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x104a301
mov ecx, dword [ebp - 0x220]
lea eax, [ebp - 0x20c]
push eax
call fcn.01049fb4
lea eax, [ebp - 0x20c]
push eax
push 0x10069d0
push 3
call fcn.01055c8a
add esp, 0xc
push dword [ebp - 0x210]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop esi
call fcn.01047480
leave
ret
Function at 0x104a320
Capabilities:
Check for time delay via gettickcount

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x3a4
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, ecx
mov eax, dword [esi + 0x2c]
mov ecx, dword [eax]
lea edx, [ebp - 0x3a4]
push edx
xor ebx, ebx
push eax
mov dword [ebp - 0x38c], ebx
call dword [ecx + 0x1c]
cmp dword [ebp - 0x3a0], ebx
mov edi, dword [sym.imp.KERNEL32.dll_CloseHandle]
jl 0x104a365
cmp dword [esi + 0x34], ebx
je 0x104a381
mov dword [esi + 0x30], ebx
mov eax, dword [esi + 0x28]
invalid
Function at 0x104aa22
Capabilities:
Create directory
Get common file path
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x654
mov eax, dword [0x1072c48]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, ecx
mov dword [ebp - 0x620], esi
mov dword [ebp - 0x624], 1
call fcn.01048fa3
test eax, eax
jne 0x104aa5d
mov eax, 0x80004005
jmp 0x104ad32
push ebx
mov ecx, esi
call fcn.01048fa3
xor ebx, ebx
cmp dword [eax + 0xac], ebx
je 0x104aa76
xor eax, eax
jmp 0x104ad31
mov ecx, esi
call fcn.01048fa3
cmp dword [eax + 0x28], ebx
je 0x104ad2b
mov ecx, esi
mov edx, 0x1001e44
call fcn.01048fa3
mov eax, dword [eax + 0x28]
mov cx, word [eax]
cmp cx, word [edx]
jne 0x104aabb
cmp cx, bx
je 0x104aab7
mov cx, word [eax + 2]
cmp cx, word [edx + 2]
jne 0x104aabb
add eax, 4
add edx, 4
cmp cx, bx
jne 0x104aa95
xor eax, eax
jmp 0x104aac0
sbb eax, eax
sbb eax, 0xffffffff
cmp eax, ebx
je 0x104ad2b
lea eax, [ebp - 0x414]
push eax
push ebx
push ebx
push 0x801c
push ebx
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
jl 0x104ad2b
lea ecx, [ebp - 0x630]
mov dword [ebp - 0x654], 0x10063bc
mov dword [ebp - 0x650], ebx
mov dword [ebp - 0x640], 0x1013cec
mov dword [ebp - 0x63c], ebx
mov dword [ebp - 0x638], ebx
mov dword [ebp - 0x634], ebx
call fcn.0106d6aa
lea eax, [ebp - 0x630]
push eax
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
push eax
lea ecx, [ebp - 0x654]
call fcn.0106667e
test eax, eax
jl 0x104ad15
mov ecx, esi
call fcn.01048fa3
push dword [eax]
call fcn.01047cd3
push eax
lea eax, [ebp - 0x414]
push eax
push 0x1006dd8
mov esi, 0x208
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01035968
add esp, 0x14
test eax, eax
jl 0x104ad15
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push ebx
lea eax, [ebp - 0x20c]
push eax
call edi
mov ecx, dword [ebp - 0x620]
call fcn.01048fa3
push dword [eax]
call fcn.01047cd3
push dword [ebp - 0x630]
push eax
lea eax, [ebp - 0x414]
push eax
push 0x1006d98
lea eax, [ebp - 0x20c]
push esi
push eax
call fcn.01035968
add esp, 0x18
test eax, eax
jl 0x104ad14
push ebx
lea eax, [ebp - 0x20c]
push eax
call edi
cmp eax, ebx
jne 0x104abfc
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov edi, eax
cmp edi, ebx
jne 0x104abe0
push 0x57
pop edi
cmp edi, 0xb7
je 0x104abfc
lea eax, [ebp - 0x20c]
push eax
call fcn.010587e2
test eax, eax
je 0x104acfd
push 0x1006d74
push esi
lea eax, [ebp - 0x20c]
push eax
call fcn.010358e7
test eax, eax
jl 0x104ad14
mov edi, dword [ebp - 0x620]
mov ecx, edi
call fcn.01048fa3
mov eax, dword [eax + 0x28]
lea ecx, [ebp - 0x20c]
push ecx
push eax
mov ecx, edi
call fcn.0104a665
invalid