joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001ce9e
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
movzx eax, byte [ebp + 0xc]
test eax, eax
je 0x1001cef2
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 8], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 4], eax
push dword [ebp - 4]
push 0x604e
push dword [ebp - 8]
push 0x497d
push dword [ebp - 0xc]
push dword [ebp - 0x10]
push dword [ebp - 0x14]
push 1
call fcn.1001cf7c
add esp, 0x20
jmp 0x1001cf78
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], eax
lea eax, [ebp + 0x24]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x18]
movzx eax, byte [eax]
test eax, eax
je 0x1001cf53
push 0
push 0x600
push 0x26e6
push 0xaaa
push 0x633
push 0xdb6
push 0xb0b
push 0x1ee7
push 0x1f2f
push 0x1372
push 0x43f
push 0x235f
push 0x229
push 0x26da
call dword [sym.imp.GDI32.dll_CreateFontA]
jmp 0x1001cf78
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 0x20]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1001cf78
push 0xf5f
push 0
push 0
call dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
mov esp, ebp
pop ebp
ret
Function at 0x1001f209
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x18]
test eax, eax
je 0x1001f29d
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1001f284
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1001f265
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1001f282
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1000d4c0
mov dword [eax], 0xfffffff8
jmp 0x1001f25a
jmp 0x1001f298
push 0xe7e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x1001f331
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x1001f30c
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x1001f2ed
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x1001f30a
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.1000d4c0
mov dword [eax], 0xbf288841
jmp 0x1001f2e2
jmp 0x1001f331
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 0x44]
movzx eax, byte [eax]
test eax, eax
je 0x1001f331
push 1
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetSystemMenu]
mov esp, ebp
pop ebp
ret
Function at 0x1001f5c7
Capabilities:
Terminate process

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push esi
cmp dword [ebp + 8], 0xa
jle 0x1001f5d9
jmp 0x1001f7f4
mov ecx, 0x108d8084
call fcn.1000d8e1
cmp eax, 4
jne 0x1001f7c6
push 0x108d8084
mov ecx, 0x108d809c
call fcn.1002fb8b
mov byte [ebp - 1], 1
push 0
mov ecx, 0x108d809c
call fcn.1000d4c0
mov esi, eax
push 1
mov ecx, 0x108d809c
call fcn.1000d4c0
mov ecx, dword [esi]
add ecx, dword [eax]
cmp ecx, dword [0x1068d55c]
je 0x1001f629
mov byte [ebp - 1], 0
push 2
mov ecx, 0x108d809c
call fcn.1000d4c0
mov esi, eax
push 3
mov ecx, 0x108d809c
call fcn.1000d4c0
mov ecx, dword [esi]
add ecx, dword [eax]
cmp ecx, dword [0x1068d9ec]
je 0x1001f653
mov byte [ebp - 1], 0
push 0
mov ecx, 0x108d809c
call fcn.1000d4c0
mov esi, eax
push 2
mov ecx, 0x108d809c
call fcn.1000d4c0
mov ecx, dword [esi]
add ecx, dword [eax]
cmp ecx, dword [0x1068d9e4]
je 0x1001f67d
mov byte [ebp - 1], 0
push 1
mov ecx, 0x108d809c
call fcn.1000d4c0
mov esi, eax
push 3
mov ecx, 0x108d809c
call fcn.1000d4c0
mov ecx, dword [esi]
add ecx, dword [eax]
cmp ecx, dword [0x1068da18]
je 0x1001f6a7
mov byte [ebp - 1], 0
push 0
mov ecx, 0x108d809c
call fcn.1000d4c0
mov esi, eax
push 3
mov ecx, 0x108d809c
call fcn.1000d4c0
mov ecx, dword [esi]
add ecx, dword [eax]
cmp ecx, dword [0x1068da1c]
je 0x1001f6d1
mov byte [ebp - 1], 0
push 1
mov ecx, 0x108d809c
call fcn.1000d4c0
mov esi, eax
push 2
mov ecx, 0x108d809c
call fcn.1000d4c0
mov ecx, dword [esi]
add ecx, dword [eax]
cmp ecx, dword [0x1068da0c]
je 0x1001f6fb
mov byte [ebp - 1], 0
movzx eax, byte [ebp - 1]
test eax, eax
je 0x1001f792
push fcn.10010bca
push 1
mov ecx, 0x108d809c
call fcn.1000d4c0
push dword [eax]
push 0
mov ecx, 0x108d809c
call fcn.1000d4c0
push dword [eax]
mov ecx, 0x1065b658
call fcn.1000d2c4
mov dl, 0x20
mov ecx, eax
call fcn.10010a14
mov ecx, eax
call fcn.1000d2c4
mov ecx, eax
call fcn.1000d2b8
push fcn.10010bca
push 3
mov ecx, 0x108d809c
call fcn.1000d4c0
push dword [eax]
push 2
mov ecx, 0x108d809c
call fcn.1000d4c0
push dword [eax]
mov ecx, 0x1065b658
call fcn.1000d2c4
mov dl, 0x20
mov ecx, eax
call fcn.10010a14
mov ecx, eax
call fcn.1000d2c4
mov ecx, eax
call fcn.1000d2b8
push 0
call fcn.100533e5
lea eax, [ebp - 8]
push eax
mov ecx, 0x108d809c
call fcn.1000d458
push dword [eax]
lea eax, [ebp - 0xc]
push eax
mov ecx, 0x108d809c
call fcn.1000d44a
push dword [eax]
call fcn.10030ac2
pop ecx
pop ecx
movzx eax, al
test eax, eax
jne 0x1001f5fb
jmp 0x1001f7f4
mov eax, dword [ebp + 8]
inc eax
push eax
call fcn.1001f5c7
pop ecx
lea eax, [ebp + 8]
push eax
mov ecx, 0x108d8084
call fcn.1002fc66
mov eax, dword [ebp + 8]
inc eax
push eax
call fcn.1001f5c7
pop ecx
mov ecx, 0x108d8084
call fcn.1002fcbb
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x100275db
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
movzx eax, byte [ebp + 0x1c]
test eax, eax
je 0x1002767d
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 8]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x10027615
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_EqualSid]
jmp 0x1002767b
mov eax, dword [ebp - 0x10]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 8], eax
push 4
push 0x2000
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
mov eax, dword [ebp - 4]
push dword [eax + 0x34]
push 0x2e0d
push 0x38ab
call fcn.108dc000
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 0
jne 0x1002767b
push 4
push 0x2000
mov eax, dword [ebp - 4]
push dword [eax + 0x50]
push 0
push 0x2e0d
push 0x38ab
call fcn.108dc000
pop ecx
pop ecx
call eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
jmp 0x100276a3
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x18], eax
push dword [ebp - 0x18]
push 0x3f46
push 0
push dword [ebp - 0x1c]
push 0xf7c
call fcn.10026d85
add esp, 0x14
mov esp, ebp
pop ebp
ret
Function at 0x10028114
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
movzx eax, byte [ebp + 0x14]
test eax, eax
je 0x100281ad
mov eax, dword [ebp + 0x20]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0xc]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002818f
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x10028170
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 2
jge 0x1002818d
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1000d4c0
mov dword [eax], 0xfffffffc
jmp 0x10028165
jmp 0x100281a8
push 0xb0a
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetDC]
push eax
call dword [sym.imp.GDI32.dll_GetDeviceCaps]
jmp 0x10028243
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x34], eax
lea eax, [ebp + 0x10]
mov dword [ebp - 0x24], eax
mov eax, dword [ebp + 8]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x24]
movzx eax, byte [eax]
test eax, eax
je 0x100281fb
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
movzx eax, byte [eax]
test eax, eax
je 0x100281f9
push 0xe7e
push 0
call dword [sym.imp.USER32.dll_GetDesktopWindow]
push eax
call dword [sym.imp.USER32.dll_GetWindowTextA]
jmp 0x10028243
mov eax, dword [ebp - 0x34]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp - 8]
mov dword [eax], 0
jmp 0x10028229
mov eax, dword [ebp - 8]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 8]
mov dword [ecx], eax
mov eax, dword [ebp - 8]
cmp dword [eax], 2
jge 0x10028243
mov eax, dword [ebp - 8]
push dword [eax]
mov ecx, dword [ebp - 0x44]
call fcn.1000d4c0
and dword [eax], 0
jmp 0x1002821e
mov esp, ebp
pop ebp
ret
Function at 0x1002b140
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
movzx eax, byte [ebp + 0x20]
test eax, eax
je 0x1002b1f4
mov eax, dword [ebp + 8]
mov dword [ebp - 0x28], eax
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x24], eax
lea eax, [ebp + 0x18]
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0x24]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp - 0xc]
movzx eax, byte [eax]
test eax, eax
je 0x1002b1c7
mov eax, dword [ebp - 0x10]
mov dword [ebp - 0x18], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword [ebp - 4], eax
mov eax, dword [ebp - 0x1c]
mov dword [ebp - 0x20], eax
mov eax, dword [ebp - 4]
mov dword [eax], 0
jmp 0x1002b1a8
mov eax, dword [ebp - 4]
mov eax, dword [eax]
inc eax
mov ecx, dword [ebp - 4]
mov dword [ecx], eax
mov eax, dword [ebp - 4]
cmp dword [eax], 1
jge 0x1002b1c5
mov eax, dword [ebp - 4]
push dword [eax]
mov ecx, dword [ebp - 0x20]
call fcn.1000d4c0
mov dword [eax], 1
jmp 0x1002b19d
jmp 0x1002b1f2
mov eax, dword [ebp - 0x24]
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x28]
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x30]
mov dword [ebp - 0x34], eax
mov eax, dword [ebp - 0x34]
push dword [eax]
mov ecx, dword [ebp - 0x38]
call fcn.1000d4c0
mov dword [eax], 0xb6ac8918
jmp 0x1002b24f
lea eax, [ebp + 0x28]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x44], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebp - 0x40], eax
mov eax, dword [ebp - 0x3c]
movzx eax, byte [eax]
test eax, eax
je 0x1002b224
push 0
push 0
push 0
push 0
push 0
push 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
jmp 0x1002b24f
mov eax, dword [ebp - 0x40]
mov dword [ebp - 0x48], eax
mov eax, dword [ebp - 0x44]
mov dword [ebp - 0x4c], eax
mov eax, dword [ebp - 0x48]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 0x4c]
mov dword [ebp - 0x50], eax
mov eax, dword [ebp - 8]
mov eax, dword [eax]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x50]
add eax, dword [ecx]
mov ecx, dword [ebp - 8]
mov ecx, dword [ecx]
mov dword [ecx], eax
mov esp, ebp
pop ebp
ret
Function at 0x10064427
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x1006f760]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_EncodePointer]
push esi
push edi
mov dword [ebp - 0x1c], eax
xor esi, esi
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebp - 0x20], eax
call ebx
mov edi, eax
mov dword [ebp - 0x18], edi
call fcn.10056ca8
mov dword [ebp - 0x14], eax
cmp dword [0x1065c77c], esi
jne 0x1006451a
push 0x800
push esi
push 0x1000a250
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x100644a7
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x100645fa
push esi
push esi
push 0x1000a250
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x100645fa
push 0x1000a268
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x100645fa
push eax
call ebx
push 0x1000a274
push edi
mov dword [0x1065c77c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000a284
push edi
mov dword [0x1065c780], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x1000a298
push edi
mov dword [0x1065c784], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065c78c], eax
test eax, eax
je 0x10064517
push 0x1000a2b4
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x1065c788], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x1006453f
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x10064532
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x10064554
push 4
pop eax
jmp 0x100645fc
cmp dword [ebp - 0x14], esi
je 0x10064554
push dword [0x1065c77c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x10064539
mov eax, dword [0x1065c788]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x100645b2
cmp dword [0x1065c78c], edi
je 0x100645b2
push eax
call ebx
push dword [0x1065c78c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x100645b2
test eax, eax
je 0x100645b2
call ecx
test eax, eax
je 0x100645a7
lea ecx, [ebp - 0x24]
push ecx
push 0xc
lea ecx, [ebp - 0x10]
push ecx
push 1
push eax
call dword [ebp - 0x18]
test eax, eax
je 0x100645a7
test byte [ebp - 8], 1
jne 0x100645b2
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x100645e2
mov eax, dword [0x1065c780]
cmp eax, edi
je 0x100645df
push eax
call ebx
test eax, eax
je 0x100645df
call eax
mov esi, eax
test esi, esi
je 0x100645df
mov eax, dword [0x1065c784]
cmp eax, edi
je 0x100645df
push eax
call ebx
test eax, eax
je 0x100645df
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x1065c77c]
call ebx
test eax, eax
je 0x100645fa
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x100645fc
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.10054236
mov esp, ebp
pop ebp
ret
Function at 0x401434
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x50
pushal
call 0x401443
pop dword [ebp - 0x40]
mov eax, 0x401443
sub dword [ebp - 0x40], eax
mov dword [ebp - 0x50], 0xf4d0aec3
sub dword [ebp - 0x50], 0xa67e6978
mov dword [ebp - 0x4c], 0xea9bf690
sub dword [ebp - 0x4c], 0xb868aa4b
mov dword [ebp - 0x48], 0xbd2b20e3
add dword [ebp - 0x48], 0x8f21234b
mov dword [ebp - 0x44], 0x97e85a9d
add dword [ebp - 0x44], 0x6817a563
lea eax, [ebp - 0x50]
push eax
mov eax, sym.imp.kernel32.dll_GetModuleHandleA
add eax, dword [ebp - 0x40]
call dword [eax]
mov dword [ebp - 0x50], 0xe7f6e2e3
add dword [ebp - 0x50], 0x8c7b8673
mov dword [ebp - 0x4c], 0xc8545ed9
add dword [ebp - 0x4c], 0x7918029c
mov dword [ebp - 0x48], 0xcc32c779
sub dword [ebp - 0x48], 0x68c35b0d
mov dword [ebp - 0x44], 0xa9a164bc
sub dword [ebp - 0x44], 0xa9a164bc
lea ebx, [ebp - 0x50]
push ebx
push eax
mov eax, 0x9ffced29
add eax, 0x604393d7
add eax, dword [ebp - 0x40]
call dword [eax]
push 0x40
push 0x1000
push 0x3a842
push 0
call eax
mov ecx, 0xebc38ccb
add ecx, 0x143cc42b
xor edx, edx
add edx, eax
mov ebx, 0x457200
add ebx, dword [ebp - 0x40]
mov edi, 0x45d2a1f2
sub dword [ebp - 0x20], ebx
mov esi, dword [ebx]
add dword [ebp - 0x38], 0x43e39f97
xor esi, edi
mov dword [ebp - 0x28], 0xf34d19b5
mov dword [edx], esi
sub dword [ebp - 8], ebx
add edx, 4
add ebx, 4
loop 0x401551
add eax, 0x186322e7
sub eax, 0x1861ec3c
mov ebx, eax
add eax, 5
mov ecx, 0x400000
add ecx, dword [ebp - 0x40]
call ebx
leave
ret

Function at 0x402c93
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
mov eax, dword [0x434f90]
or al, 8
xor ebx, ebx
push eax
push ebx
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
jne 0x402d27
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyW]
mov edi, 0x105
jmp 0x402ce4
cmp dword [ebp + 0x10], ebx
jne 0x402d1b
lea eax, [ebp - 0x210]
push ebx
push eax
push dword [ebp - 4]
call fcn.00401434
test eax, eax
jne 0x402cf6
lea eax, [ebp - 0x210]
push edi
push eax
push ebx
push dword [ebp - 4]
call esi
test eax, eax
je 0x402ccb
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 3
call fcn.004064be
cmp eax, ebx
je 0x402d2e
push ebx
push dword [0x434f90]
push dword [ebp + 0xc]
push dword [ebp + 8]
call eax
jmp 0x402d27
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
leave
ret 0xc
cmp dword [0x434f90], ebx
jne 0x402d24
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
test eax, eax
jne 0x402d24
jmp 0x402d27
Function at 0x100052aa
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push dword [ebp + 0xc]
mov esi, eax
push dword [ebp + 8]
xor eax, eax
mov dword [ebp - 0x14], eax
mov dword [ebp - 0x10], eax
mov dword [ebp - 0xc], eax
mov dword [esi], eax
mov eax, 0x2001f
lea ebx, [ebp - 0x14]
mov byte [ebp - 1], 1
call fcn.10005408
test eax, eax
je 0x10005304
xor bl, bl
lea esi, [ebp - 0x14]
call fcn.1000545a
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.100021af
mov eax, dword [ebp + 0x10]
add eax, 0xfffffff0
call fcn.100021af
pop esi
mov al, bl
pop ebx
leave
ret 0xc
lea eax, [ebp + 8]
push eax
push esi
lea eax, [ebp - 8]
push eax
push 0
push dword [ebp + 0x10]
mov dword [ebp + 8], 4
push dword [ebp - 0x14]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x10005330
cmp dword [ebp - 8], 4
jne 0x10005330
test eax, eax
je 0x10005334
mov byte [ebp - 1], 0
lea esi, [ebp - 0x14]
call fcn.1000545a
mov bl, byte [ebp - 1]
jmp 0x100052de

Function at 0x10005341
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [esi]
and dword [esi], 0
add eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xc]
push eax
mov eax, dword [ebp + 8]
push 0
push dword [ebp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100053a5
cmp dword [ebp + 0xc], 1
je 0x1000537d
cmp dword [ebp + 0xc], 2
je 0x1000537d
push 0xd
pop eax
jmp 0x100053a5
mov eax, dword [ebp - 4]
test edi, edi
je 0x1000539f
test eax, eax
je 0x1000539a
test al, 1
jne 0x10005378
mov ecx, eax
shr ecx, 1
cmp word [edi + ecx*2 - 2], 0
je 0x1000539f
jmp 0x10005378
xor ecx, ecx
mov word [edi], cx
shr eax, 1
mov dword [esi], eax
xor eax, eax
leave
ret 8

Function at 0x10005b98
Capabilities:
Download url
Receive data

Disassembly:
push ebp
mov ebp, esp
push esi
xor eax, eax
push eax
push eax
push dword [ebp + 0xc]
push dword [ebp + 8]
push eax
call dword [sym.imp.urlmon.dll_URLDownloadToFileW]
mov esi, eax
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov eax, dword [ebp + 0xc]
add eax, 0xfffffff0
call fcn.100021af
mov eax, esi
pop esi
pop ebp
ret

Function at 0x10005bca
Capabilities:
Get common file path

Disassembly:
push 0x424
mov eax, 0x10018123
call fcn.1001450a
and dword [ebp - 0x42c], 0
and dword [ebp - 4], 0
lea eax, [ebp - 0x21c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x428]
push eax
push 0
push 0x1001c3e8
lea eax, [ebp - 0x21c]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
mov eax, esp
mov dword [ebp - 0x42c], esp
lea ecx, [ebp - 0x428]
push ecx
push eax
call fcn.100027cb
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x430], esp
mov esi, esp
call fcn.10001dec
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], 0
call fcn.10005b98
pop ecx
pop ecx
test eax, eax
je 0x10005c5a
push 0x1001b858
jmp 0x10005c5f
push 0x1001c3bc
push edi
call fcn.100027cb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov eax, edi
call fcn.10014554
ret
Function at 0x10005c78
Capabilities:
Get common file path
Read file on windows

Disassembly:
push 0x428
mov eax, 0x100180e8
call fcn.1001450a
mov edi, ecx
xor ebx, ebx
mov dword [ebp - 0x430], edi
mov dword [ebp - 0x42c], ebx
lea eax, [ebp - 0x428]
push eax
push 0x104
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x21c]
push eax
push ebx
push 0x1001c3f0
lea eax, [ebp - 0x428]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
push ecx
mov eax, esp
mov dword [ebp - 0x42c], esp
lea ecx, [ebp - 0x21c]
push ecx
push eax
call fcn.100027cb
mov byte [ebp - 4], 1
mov eax, dword [ebp + 8]
push ecx
add eax, 0xfffffff0
mov dword [ebp - 0x434], esp
mov esi, esp
call fcn.10001dec
add eax, 0x10
mov dword [esi], eax
mov byte [ebp - 4], bl
call fcn.10005b98
pop ecx
pop ecx
cmp eax, ebx
je 0x10005d21
push 0x1001b858
push edi
call fcn.100027cb
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov eax, edi
jmp 0x10005d96
lea eax, [ebp - 0x21c]
push 0x1001b968
push eax
call fcn.100074ad
push 2
mov esi, eax
push ebx
push esi
call fcn.10007a62
push esi
call fcn.10007c72
mov edi, eax
lea eax, [edi + 1]
push eax
call fcn.10006956
push ebx
push ebx
push esi
mov dword [ebp - 0x42c], eax
call fcn.10007a62
push esi
push 1
push edi
push dword [ebp - 0x42c]
call fcn.10007f21
push esi
call fcn.100075ea
add esp, 0x3c
push dword [ebp - 0x42c]
push dword [ebp - 0x430]
call fcn.10001aa9
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov eax, dword [ebp - 0x430]
call fcn.10014554
ret

Function at 0x10005efb
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push ebp
mov ebp, esp
push ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x10005f15
test al, 0x10
jne 0x10005f15
mov bl, 1
jmp 0x10005f17
xor bl, bl
mov eax, dword [ebp + 8]
add eax, 0xfffffff0
call fcn.100021af
mov al, bl
pop ebx
pop ebp
ret

Function at 0x1000696c
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1001f0b0]
jne 0x10006976
repz ret
jmp fcn.10008c5a