joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44a32f
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push edi
xor edi, edi
mov dword [ecx + 0x9c], edi
cmp dword [str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorer], edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], edi
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
mov ebx, 0x464a1c
je 0x44a3eb
push esi
lea eax, [ebp - 4]
push eax
push 1
push edi
push dword [ebx]
push SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x44a3d3
mov esi, dword [ebx + 4]
jmp 0x44a3cd
lea ecx, [ebp - 0x14]
push ecx
lea ecx, [ebp - 8]
push ecx
lea ecx, [ebp - 0xc]
push ecx
push edi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x44a3bd
cmp dword [ebp - 0xc], 4
jne 0x44a3bd
cmp dword [ebp - 8], edi
mov eax, dword [ebp - 0x10]
mov ecx, dword [esi + 4]
je 0x44a3b5
or dword [eax + 0x9c], ecx
jmp 0x44a3bd
not ecx
and dword [eax + 0x9c], ecx
mov dword [ebp - 8], edi
mov dword [ebp - 0x14], 4
mov dword [ebp - 0xc], edi
add esi, 8
mov eax, dword [esi]
cmp eax, edi
jne 0x44a381
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
add ebx, 8
cmp dword [ebx], edi
mov dword [ebp - 4], edi
jne 0x44a364
pop esi
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop edi
inc eax
pop ebx
leave
ret

Function at 0x44a7a4
Capabilities:
Query or enumerate registry key

Disassembly:
mov eax, 0x44f714
call fcn.00431d68
sub esp, 0x11c
mov eax, dword [0x4654b0]
push ebx
push esi
push edi
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov eax, dword [eax]
mov dword [ebp - 0x10], esp
lea ecx, [ebp - 0x124]
push ecx
push eax
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyA]
mov esi, eax
test esi, esi
jne 0x44a89d
push 0x104
lea eax, [ebp - 0x11c]
push eax
push 0
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyA]
mov esi, eax
test esi, esi
jne 0x44a871
and dword [ebp - 4], eax
lea eax, [ebp - 0x11c]
push eax
lea ecx, [ebp - 0x120]
call fcn.00405470
lea eax, [ebp - 0x120]
push eax
push dword [ebp - 0x124]
mov byte [ebp - 4], 1
call fcn.0044a7a4
mov ecx, dword [ebp - 0x120]
mov esi, eax
test esi, esi
setne bl
add ecx, 0xfffffff0
mov byte [ebp - 4], 0
call fcn.004033c0
test bl, bl
jne 0x44a871
or dword [ebp - 4], 0xffffffff
jmp 0x44a7e2
cmp esi, 0x103
je 0x44a881
cmp esi, 0x3f2
jne 0x44a891
mov eax, dword [ebp + 0xc]
push dword [eax]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
push dword [ebp - 0x124]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov ecx, dword [ebp - 0x14]
mov eax, esi
call fcn.004308f0
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44ae04
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov edi, dword [esp + 0x10]
test edi, edi
jle 0x44ae39
cmp edi, dword [esi + 0xc]
jge 0x44ae39
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44ae39
cmp edi, dword [eax + 8]
jge 0x44ae39
mov eax, dword [eax + 0xc]
mov edi, dword [eax + edi*4]
jmp 0x44ae3b
xor edi, edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, edi
pop edi
pop esi
pop ebx
ret 4

Function at 0x44af3f
Capabilities:
Allocate thread local storage

Disassembly:
xor eax, eax
push esi
mov esi, ecx
mov dword [esi + 0x14], eax
mov dword [esi + 0x18], eax
mov dword [esi + 0x18], 4
mov dword [esi + 4], eax
mov dword [esi + 8], 1
mov dword [esi + 0xc], eax
mov dword [esi + 0x10], eax
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
cmp eax, 0xffffffff
mov dword [esi], eax
jne 0x44af73
jmp fcn.0043db61
lea eax, [esi + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov eax, esi
pop esi
ret

Function at 0x44afe4
Capabilities:
Get thread local storage value
Set thread local storage value

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
lea esi, [edi + 0x1c]
push esi
mov dword [ebp - 4], esi
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [ebp + 8]
xor ebx, ebx
cmp eax, ebx
jle 0x44b0dd
cmp eax, dword [edi + 0xc]
jge 0x44b0dd
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
mov esi, eax
cmp esi, ebx
je 0x44b035
mov ecx, dword [ebp + 8]
cmp ecx, dword [esi + 8]
jl 0x44b0c6
cmp dword [ebp + 0xc], ebx
je 0x44b0c6
jmp 0x44b05f
push 0x10
call fcn.0044acd0
cmp eax, ebx
je 0x44b04b
mov ecx, eax
call fcn.0044af36
mov esi, eax
jmp 0x44b04d
xor esi, esi
mov dword [esi + 8], ebx
mov dword [esi + 0xc], ebx
mov ecx, dword [edi + 0x14]
mov eax, dword [edi + 0x18]
mov dword [esi + eax], ecx
mov dword [edi + 0x14], esi
mov eax, dword [esi + 0xc]
cmp eax, ebx
jne 0x44b076
mov eax, dword [edi + 0xc]
shl eax, 2
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LocalAlloc]
jmp 0x44b086
mov ecx, dword [edi + 0xc]
push 2
shl ecx, 2
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_LocalReAlloc]
cmp eax, ebx
jne 0x44b098
push dword [ebp - 4]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
call fcn.0043db61
mov ecx, dword [esi + 8]
mov dword [esi + 0xc], eax
mov edx, dword [edi + 0xc]
sub edx, ecx
shl edx, 2
push edx
lea eax, [eax + ecx*4]
push ebx
push eax
call fcn.00431150
mov eax, dword [edi + 0xc]
add esp, 0xc
push esi
mov dword [esi + 8], eax
push dword [edi]
call dword [sym.imp.KERNEL32.dll_TlsSetValue]
mov ecx, dword [ebp + 8]
mov eax, dword [esi + 0xc]
cmp eax, ebx
je 0x44b0d8
cmp ecx, dword [esi + 8]
jge 0x44b0d8
mov edx, dword [ebp + 0xc]
mov dword [eax + ecx*4], edx
push dword [ebp - 4]
jmp 0x44b0de
push esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop edi
pop esi
pop ebx
leave
ret 8
Function at 0x44b19d
Capabilities:
Get thread local storage value

Disassembly:
push ebx
push esi
mov esi, ecx
lea ebx, [esi + 0x1c]
push ebx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
cmp dword [esp + 0x10], 0
jne 0x44b1cb
push dword [esi]
call dword [sym.imp.KERNEL32.dll_TlsGetValue]
test eax, eax
je 0x44b1e9
push dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.0044b107
jmp 0x44b1e9
mov eax, dword [esi + 0x14]
test eax, eax
je 0x44b1e9
push edi
push dword [esp + 0x10]
mov edi, dword [eax + 4]
push eax
mov ecx, esi
call fcn.0044b107
test edi, edi
mov eax, edi
jne 0x44b1d3
pop edi
push ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
pop esi
pop ebx
ret 8
mov ecx, dword [0x4694cc]
test ecx, ecx
je 0x44b29c
jmp 0x44b19c
ret 8
Function at 0x1041a058
Capabilities:
Decompress data using aplib

Disassembly:
call 0x1041a1a8
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 0x1041a07e
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1041a06a
add dl, dl
jne 0x1041a089
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1041a0dc
xor eax, eax
add dl, dl
jne 0x1041a096
mov dl, byte [esi]
inc esi
adc dl, dl
jae 0x1041a17d
add dl, dl
jne 0x1041a0a5
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1041a0b0
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1041a0bb
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1041a0c6
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
je 0x1041a0d2
push edi
mov eax, eax
sub edi, eax
mov al, byte [edi]
pop edi
mov byte [edi], al
inc edi
mov ebx, 2
jmp 0x1041a075
mov eax, 1
add dl, dl
jne 0x1041a0ea
mov dl, byte [esi]
inc esi
adc dl, dl
adc eax, eax
add dl, dl
jne 0x1041a0f5
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1041a0e1
sub eax, ebx
mov ebx, 1
jne 0x1041a128
mov ecx, 1
add dl, dl
jne 0x1041a10e
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1041a119
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1041a105
push esi
mov esi, edi
sub esi, ebp
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1041a075
dec eax
shl eax, 8
mov al, byte [esi]
inc esi
mov ebp, eax
mov ecx, 1
add dl, dl
jne 0x1041a13f
mov dl, byte [esi]
inc esi
adc dl, dl
adc ecx, ecx
add dl, dl
jne 0x1041a14a
mov dl, byte [esi]
inc esi
adc dl, dl
jb 0x1041a136
cmp eax, 0x7d00
jae 0x1041a16d
cmp eax, 0x500
jb 0x1041a168
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1041a075
cmp eax, 0x7f
ja 0x1041a170
add ecx, 2
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x1041a075
mov al, byte [esi]
inc esi
xor ecx, ecx
shr al, 1
je 0x1041a19e
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 0x1041a075
pop ebx
sub edi, dword [ebx + 0x10]
mov eax, edi
pop ebx
ret 0x10
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x60
pushal
call 0x401443
pop dword [ebp - 0x50]
mov eax, 0x3d6b2847
sub eax, 0x3d2b1404
sub dword [ebp - 0x50], eax
mov dword [ebp - 0x60], 0x7b474f54
sub dword [ebp - 0x60], 0x2cf50a09
mov dword [ebp - 0x5c], 0xcaca2b76
add dword [ebp - 0x5c], 0x676920cf
mov dword [ebp - 0x58], 0x24da437a
sub dword [ebp - 0x58], 0xd88dff4c
mov dword [ebp - 0x54], 0x7257a362
sub dword [ebp - 0x54], 0x7257a362
lea eax, [ebp - 0x60]
push eax
mov eax, 0x137bb6a3
sub eax, 0x133b362b
add eax, dword [ebp - 0x50]
call dword [eax]
mov dword [ebp - 0x60], 0xb37a8724
sub dword [ebp - 0x60], 0x3f081dce
mov dword [ebp - 0x5c], 0x8391a752
sub dword [ebp - 0x5c], 0x422545dd
mov dword [ebp - 0x58], 0xf8b0ee0d
sub dword [ebp - 0x58], 0x954181a1
mov dword [ebp - 0x54], 0x2726d8b6
sub dword [ebp - 0x54], 0x2726d8b6
lea ebx, [ebp - 0x60]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x50]
call dword [eax]
push 0x40
push 0x1000
push 0x3b0e1
push 0
call eax
mov ecx, 0xfa818d9d
sub ecx, 0xfa813ae6
xor edi, edi
add edi, eax
mov ebx, 0xa30d1563
sub ebx, 0xa2c80163
add ebx, dword [ebp - 0x50]
mov edx, 0xd9ddeda4
xor dword [ebp - 4], eax
mov esi, dword [ebx]
mov dword [ebp - 0x20], 0xb4a48599
sub esi, edx
add dword [ebp - 0x44], ebx
mov dword [edi], esi
xor dword [ebp - 0x1c], esi
add edi, 0x61233aa5
add edi, 0x9edcc55f
add ebx, 0x88812e38
add ebx, 0x777ed1cc
loop 0x40155c
add eax, 0x13daf
xor ebx, ebx
add ebx, eax
add eax, 0x4e821fd6
add eax, 0xb17de02f
mov ecx, 0xdd7871e9
sub ecx, 0xdd3871e9
add ecx, dword [ebp - 0x50]
call ebx
leave
ret
Function at 0x90c88e
Capabilities:
Decompress data using aplib

Disassembly:
push ebp
mov ebp, esp
mov esi, dword [ebp + 8]
mov edi, dword [ebp + 0xc]
cld
mov dl, 0x80
movsb byte es:[edi], byte [esi]
call fcn.0090c90d
jae 0x90c89a
xor ecx, ecx
call fcn.0090c90d
jae 0x90c8c4
xor eax, eax
call fcn.0090c90d
jae 0x90c8d5
mov al, 0x10
call fcn.0090c90d
adc al, al
jae 0x90c8b6
jne 0x90c902
stosb byte es:[edi], al
jmp 0x90c89b
call fcn.0090c919
dec ecx
loop 0x90c8e1
mov eax, ebp
call fcn.0090c917
jmp 0x90c903
lodsb al, byte [esi]
shr eax, 1
je 0x90c929
adc ecx, 2
mov ebp, eax
jmp 0x90c903
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
mov ebp, eax
call fcn.0090c917
cmp eax, 0x7d00
jae 0x90c901
cmp eax, 0x500
jae 0x90c902
cmp eax, 0x7f
ja 0x90c903
inc ecx
inc ecx
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x90c89b
pop ebp
ret 8

Function at 0x41d1e0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x12000]
push edi
or ebp, 0xffffffff
jmp 0x41d202
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x41d209
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x41d1f8
mov eax, 1
add ebx, ebx
jne 0x41d21b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x41d210
jne 0x41d22c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d210
xor ecx, ecx
sub eax, 3
jb 0x41d240
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x41d2b2
mov ebp, eax
add ebx, ebx
jne 0x41d24b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x41d258
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x41d27c
inc ecx
add ebx, ebx
jne 0x41d268
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x41d25d
jne 0x41d279
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x41d25d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x41d29c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x41d28d
jmp 0x41d1fe
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x41d29c
add edi, ecx
jmp 0x41d1fe
pop esi
mov edi, esi
mov ecx, 0xc5d
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x41d2ba
cmp byte [edi], 2
jne 0x41d2ba
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 eax, ebx
loop 0x41d2bf
lea edi, [esi + 0x1b000]
mov eax, dword [edi]
or eax, eax
je 0x41d337
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x1e80c]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1e884]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x41d2ec
mov ecx, edi
jns 0x41d31b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x1e888]
or eax, eax
je 0x41d331
mov dword [ebx], eax
add ebx, 4
jmp 0x41d309
call dword [esi + 0x1e88c]
popal
jmp 0x41241f
Function at 0x4035e5
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x1000
call fcn.00415650
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
cmp word [esi], 0
je 0x403766
push esi
call fcn.0040376f
push esi
call fcn.0041a1c3
pop ecx
push esi
mov edi, eax
call fcn.0040379a
test al, al
je 0x40369a
push esi
call fcn.0040376f
test al, al
je 0x403654
lea eax, [edi + 4]
cmp dword [ebp + 0x10], eax
jbe 0x403766
push dword [ebp + 0x10]
push str.__
push dword [ebp + 0xc]
call fcn.0040694c
push dword [ebp + 0x10]
push esi
push dword [ebp + 0xc]
call fcn.00406924
mov al, 1
jmp 0x403768
push 0x5c
pop eax
cmp word [esi], ax
jne 0x403766
lea ebx, [esi + 2]
cmp word [ebx], ax
jne 0x403766
mov esi, dword [ebp + 0x10]
lea eax, [edi + 6]
cmp esi, eax
jbe 0x403766
push esi
push str.__
push dword [ebp + 0xc]
call fcn.0040694c
push esi
push 0x4295f4
push dword [ebp + 0xc]
call fcn.00406924
push esi
push ebx
jmp 0x403645
lea eax, [ebp - 0x1000]
mov ebx, 0x7ff
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_GetCurrentDirectoryW]
test eax, eax
je 0x403766
cmp eax, ebx
ja 0x403766
movzx eax, word [esi]
push eax
call fcn.004037cf
test al, al
je 0x403705
lea eax, [edi + 6]
mov edi, dword [ebp + 0x10]
cmp edi, eax
jbe 0x403766
push edi
push str.__
push dword [ebp + 0xc]
call fcn.0040694c
xor eax, eax
mov word [ebp - 0xffc], ax
lea eax, [ebp - 0x1000]
push edi
push eax
push dword [ebp + 0xc]
call fcn.00406924
push edi
jmp 0x403644
push 0x800
lea eax, [ebp - 0x1000]
push eax
call fcn.004031e2
lea eax, [ebp - 0x1000]
push eax
call fcn.0041a1c3
add edi, 4
add eax, edi
mov edi, dword [ebp + 0x10]
pop ecx
cmp edi, eax
jbe 0x403766
push edi
push str.__
push dword [ebp + 0xc]
call fcn.0040694c
push edi
lea eax, [ebp - 0x1000]
push eax
push dword [ebp + 0xc]
call fcn.00406924
cmp word [esi], 0x2e
jne 0x4036ff
movzx eax, word [esi + 2]
push eax
call fcn.004037cf
test al, al
je 0x4036ff
add esi, 4
jmp 0x4036ff
xor al, al
pop edi
pop esi
pop ebx
leave
ret 0xc
Function at 0x486980
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x148
push ebx
push esi
push edi
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 0x44]
push ecx
call fcn.004e6ed0
add esp, 8
cmp dword [ebp + 8], 0
je 0x4869d0
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x545998
call fcn.0049be80
add esp, 4
push eax
lea ecx, [ebp - 0x148]
push ecx
call fcn.004e6fc0
add esp, 0x10
jmp 0x4869f5
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
push 0x5459c4
call fcn.0049be80
add esp, 4
push eax
lea ecx, [ebp - 0x148]
push ecx
call fcn.004e6fc0
add esp, 0x10
jmp 0x486a16
push 0
lea edx, [ebp - 0x48]
push edx
push 0
push 0x20006
push 0
push 0x5e4740
push 0
lea eax, [ebp - 0x148]
push eax
push 0x80000001
call dword [0x5fa06c]
test eax, eax
jne 0x486a71
mov ecx, dword [ebp + 0x1c]
push ecx
mov edx, dword [ebp + 0x18]
push edx
push 3
push 0
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp - 0x48]
push ecx
call dword [sym.imp.advapi32.dll_RegSetValueExA]
test eax, eax
jne 0x486a67
mov dword [ebp - 4], 1
mov edx, dword [ebp - 0x48]
push edx
call dword [0x5f5cac]
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x492d40
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
call fcn.0049b2e0
mov eax, dword [0x5f93ae]
and eax, 0x2000000
test eax, eax
je 0x492d5b
call fcn.00499710
cmp dword [0x544aa8], 0
je 0x492d7c
cmp dword [0x544aac], 0
je 0x492d7c
call fcn.00486170
mov dword [0x544aac], 0
cmp dword [0x5e4530], 0
je 0x492d97
push 0
call dword [0x5f7e6c]
mov dword [0x5e4530], 0
cmp dword [0x5e4534], 0
je 0x492dca
cmp dword [0x5e4538], 0
je 0x492dc0
mov ecx, dword [0x5e4538]
push ecx
call dword [0x5f53c0]
mov dword [0x5e4538], 0
mov dword [0x5e4534], 0
cmp dword [0x5e4514], 0
je 0x492dec
mov edx, dword [0x5e4514]
push edx
call dword [0x5f5b44]
mov eax, dword [0x5e4514]
push eax
call dword [0x5f5334]
cmp dword [0x5e44f8], 0
je 0x492e02
mov ecx, dword [0x5e44f8]
push ecx
call dword [0x5f5334]
cmp dword [0x5fd58c], 0
je 0x492e18
mov edx, dword [0x5fd58c]
push edx
call dword [0x5f5334]
cmp dword [0x5e4708], 0
je 0x492e2d
mov eax, dword [0x5e4708]
push eax
call dword [0x5f5334]
cmp dword [0x5e467c], 0
je 0x492e43
mov ecx, dword [0x5e467c]
push ecx
call dword [0x5f53c0]
cmp dword [0x5e4510], 0
je 0x492e59
mov edx, dword [0x5e4510]
push edx
call dword [0x5f5334]
cmp dword [0x5e44fc], 0
je 0x492e6e
mov eax, dword [0x5e44fc]
push eax
call dword [0x5f5334]
cmp dword [0x5e4500], 0
je 0x492e84
mov ecx, dword [0x5e4500]
push ecx
call dword [0x5f5334]
cmp dword [0x5e4504], 0
je 0x492e9a
mov edx, dword [0x5e4504]
push edx
call dword [0x5f5334]
cmp dword [0x5e4508], 0
je 0x492eaf
mov eax, dword [0x5e4508]
push eax
call dword [0x5f5334]
cmp dword [0x5e4514], 0
je 0x492ec5
mov ecx, dword [0x5e4514]
push ecx
call dword [0x5f5334]
cmp dword [0x525af0], 0
je 0x492edd
push 0x552100
push 3
call fcn.00499750
add esp, 8
xor edx, edx
test edx, edx
jne 0x492ec5
cmp dword [0x525af0], 0
je 0x492efb
push 0x5e478c
push 4
call fcn.00499750
add esp, 8
xor eax, eax
test eax, eax
jne 0x492ee3
mov ecx, dword [ebp + 8]
push ecx
call fcn.004e6a52
pop ebp
ret

Function at 0x494ea0
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ecx
mov dword [ebp - 4], 0
push 0x40
push 0x1000
mov eax, dword [ebp + 0xc]
push eax
push 0
call dword [sym.imp.kernel32.dll_VirtualAlloc]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x494edb
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
mov eax, dword [ebp - 4]
push eax
call fcn.004e6b30
add esp, 0xc
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x497bf0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x2918
call fcn.004e7170
mov dword [ebp - 0x914], 0
lea ecx, [ebp - 0x910]
call fcn.00497e60
push 0x13dd
push 0
mov eax, dword [ebp + 0x10]
push eax
call fcn.004e6e70
add esp, 0xc
push 0x100
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.kernel32.dll_GetSystemDirectoryA]
cmp dword [ebp + 0xc], 0
je 0x497d13
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
call fcn.004a87c0
add esp, 8
test eax, eax
je 0x497d0e
push 0x56c1f0
lea ecx, [ebp - 0x1914]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.004e6ee0
add esp, 8
mov edx, dword [ebp + 0x10]
add edx, 0x381
push edx
lea eax, [ebp - 0x100]
push eax
call fcn.004e6ee0
add esp, 8
mov ecx, dword [ebp + 0x10]
add ecx, 0x7dd
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.004a6f70
add esp, 8
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x910]
call fcn.00498600
mov ecx, dword [ebp - 0x914]
or ecx, eax
mov dword [ebp - 0x914], ecx
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x68d], 0
je 0x497d0e
mov eax, dword [ebp + 0x10]
cmp dword [eax + 0x685], 0
je 0x497d0e
mov ecx, dword [ebp + 0x10]
cmp dword [ecx + 0x695], 0
jne 0x497d0e
mov edx, dword [ebp + 0x10]
cmp dword [edx + 0x699], 0
jne 0x497d0e
mov eax, dword [ebp - 0x914]
or ah, 1
mov dword [ebp - 0x914], eax
jmp 0x497d9e
mov ecx, dword [ebp + 0x10]
push ecx
push 0
mov dl, byte [ebp + 8]
push edx
call fcn.004a8120
add esp, 0xc
test eax, eax
je 0x497d9e
push 0x56c200
lea ecx, [ebp - 0x2914]
call fcn.00497e20
mov ecx, eax
call fcn.00497e50
push eax
lea eax, [ebp - 0x100]
push eax
call fcn.004e6ee0
add esp, 8
mov ecx, dword [ebp + 0x10]
add ecx, 0x381
push ecx
lea edx, [ebp - 0x100]
push edx
call fcn.004e6ee0
add esp, 8
mov eax, dword [ebp + 0x10]
add eax, 0x7dd
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.004a6f70
add esp, 8
mov edx, dword [ebp + 0x10]
push edx
lea ecx, [ebp - 0x910]
call fcn.00498600
mov ecx, dword [ebp - 0x914]
or ecx, eax
mov dword [ebp - 0x914], ecx
cmp dword [ebp + 0x14], 0
je 0x497dd3
cmp dword [ebp + 0x18], 0
jle 0x497dd3
mov edx, dword [ebp + 0x18]
push edx
push 0
mov eax, dword [ebp + 0x14]
push eax
call fcn.004e6e70
add esp, 0xc
lea ecx, [ebp - 0x900]
push ecx
mov edx, dword [ebp + 0x18]
push edx
mov eax, dword [ebp + 0x14]
push eax
call fcn.004973a0
add esp, 0xc
mov ecx, dword [ebp + 0x18]
push ecx
mov edx, dword [ebp + 0x14]
push edx
mov eax, dword [ebp + 0x10]
push eax
lea ecx, [ebp - 0x100]
push ecx
call fcn.004974b0
add esp, 0x10
mov edx, dword [ebp - 0x914]
or edx, eax
mov dword [ebp - 0x914], edx
mov eax, dword [ebp - 0x914]
mov dword [ebp - 0x2918], eax
lea ecx, [ebp - 0x910]
call fcn.00498b10
mov eax, dword [ebp - 0x2918]
mov esp, ebp
pop ebp
ret