joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44af3c
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
xor edi, edi
mov dword [ebp - 4], ecx
mov esi, edi
cmp dword [ebp + 8], esi
je 0x44af81
call fcn.00446832
push 0xf0
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x44af81
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov esi, eax
test esi, esi
je 0x44af9d
push esi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
mov ecx, dword [ebp - 4]
push edi
call fcn.00452a63
mov ebx, eax
test edi, edi
je 0x44af9b
test esi, esi
je 0x44af9b
push esi
call dword [sym.imp.KERNEL32.dll_FreeResource]
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4

Function at 0x451046
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
xor esi, esi
call fcn.00446832
push 5
push dword [ebp + 8]
mov ebx, dword [eax + 0xc]
push ebx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov edi, eax
test edi, edi
je 0x45107d
push edi
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
mov ecx, dword [ebp - 4]
push ebx
push dword [ebp + 0xc]
push esi
call fcn.0045109e
push edi
mov esi, eax
call dword [sym.imp.KERNEL32.dll_FreeResource]
pop edi
mov eax, esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x465b92
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 4]
push eax
push dword [ebp + 0xc]
mov ecx, dword [esi + 4]
call fcn.0045208f
push 0xfffffffffffffff0
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowLongW]
push dword [ebp + 0xc]
and eax, 3
mov ecx, esi
cmp al, 3
je 0x465bce
call fcn.00465db1
mov dword [esi + 0xc], 1
jmp 0x465bd3
call fcn.00465db1
cmp dword [esi], 0
je 0x465c1c
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
mov esi, dword [ebp + 0x10]
test eax, eax
jle 0x465bf6
lea ecx, [eax + 1]
push ecx
push eax
mov ecx, esi
call fcn.0044aff4
jmp 0x465c07
push 0xff
mov ecx, esi
call fcn.0043a820
push 0x100
push eax
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_GetWindowTextW]
push 0xffffffffffffffff
mov ecx, esi
call fcn.00448f06
jmp 0x465c40
mov esi, dword [ebp + 0x10]
push dword [esi]
push 0xffffffffffffffff
push 0x14d
push dword [ebp - 4]
call dword [sym.imp.USER32.dll_SendMessageW]
cmp eax, 0xffffffff
jne 0x465c40
push dword [esi]
push dword [ebp - 4]
call fcn.00457f27
pop esi
mov esp, ebp
pop ebp
ret 0xc
Function at 0x465d06
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, dword [ebp + 8]
mov ecx, esi
push edi
push dword [ebp + 0xc]
call fcn.00465db1
cmp dword [esi], 0
mov edi, eax
mov dword [esi + 0xc], 1
je 0x465d4e
push edi
call dword [sym.imp.USER32.dll_GetWindowTextLengthW]
lea ecx, [eax + 1]
push ecx
mov ecx, dword [ebp + 0x10]
push eax
call fcn.0044aff4
push eax
push edi
call dword [sym.imp.USER32.dll_GetWindowTextW]
mov ecx, dword [ebp + 0x10]
push 0xffffffffffffffff
call fcn.00448f06
jmp 0x465d59
mov eax, dword [ebp + 0x10]
push dword [eax]
push edi
call fcn.00457f27
pop edi
pop esi
pop ebp
ret 0xc

Function at 0x4713f9
Capabilities:
Get common file path

Disassembly:
push esi
mov esi, ecx
call fcn.004845df
call fcn.00446886
cmp dword [eax + 0x14], 0
jne 0x471414
mov ecx, esi
pop esi
jmp fcn.004707d7
pop esi
ret

Function at 0x47ef15
Capabilities:
Get common file path
Get file system object information

Disassembly:
push esi
mov esi, ecx
call fcn.00405730
call fcn.00446886
cmp dword [eax + 0x14], 0
jne 0x47ef30
mov ecx, esi
pop esi
jmp fcn.0047e7fe
pop esi
ret
Function at 0x5835b8
Capabilities:
Link many functions at runtime
Print debug messages

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x620330]
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.0057637c
mov dword [ebp - 0x14], eax
cmp dword [0x62db4c], esi
jne 0x5836ab
push 0x800
push esi
push 0x5ecb10
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
jne 0x583638
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0x57
jne 0x58378b
push esi
push esi
push 0x5ecb10
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test edi, edi
je 0x58378b
push 0x5ecb28
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x58378b
push eax
call ebx
push 0x5ecb34
push edi
mov dword [0x62db4c], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5ecb44
push edi
mov dword [0x62db50], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
push 0x5ecb58
push edi
mov dword [0x62db54], eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x62db5c], eax
test eax, eax
je 0x5836a8
push 0x5ecb74
push edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push eax
call ebx
mov dword [0x62db58], eax
mov edi, dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_IsDebuggerPresent]
test eax, eax
je 0x5836d0
mov eax, dword [ebp - 0x1c]
test eax, eax
je 0x5836c3
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringW]
cmp dword [ebp - 0x14], esi
je 0x5836e5
push 4
pop eax
jmp 0x58378d
cmp dword [ebp - 0x14], esi
je 0x5836e5
push dword [0x62db4c]
call dword [sym.imp.KERNEL32.dll_DecodePointer]
push 3
jmp 0x5836ca
mov eax, dword [0x62db58]
mov ebx, dword [sym.imp.KERNEL32.dll_DecodePointer]
cmp eax, edi
je 0x583743
cmp dword [0x62db5c], edi
je 0x583743
push eax
call ebx
push dword [0x62db5c]
mov dword [ebp - 0x14], eax
call ebx
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x18], eax
test ecx, ecx
je 0x583743
test eax, eax
je 0x583743
call ecx
test eax, eax
je 0x583738
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 0x583738
test byte [ebp - 8], 1
jne 0x583743
mov edi, dword [ebp + 0x10]
or edi, 0x200000
jmp 0x583773
mov eax, dword [0x62db50]
cmp eax, edi
je 0x583770
push eax
call ebx
test eax, eax
je 0x583770
call eax
mov esi, eax
test esi, esi
je 0x583770
mov eax, dword [0x62db54]
cmp eax, edi
je 0x583770
push eax
call ebx
test eax, eax
je 0x583770
push esi
call eax
mov esi, eax
mov edi, dword [ebp + 0x10]
push dword [0x62db4c]
call ebx
test eax, eax
je 0x58378b
push edi
push dword [ebp - 0x20]
push dword [ebp - 0x1c]
push esi
call eax
jmp 0x58378d
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0056bc07
mov esp, ebp
pop ebp
ret
Function at 0x592b69
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateThread]
pop ebp
ret
Function at 0x409840
Capabilities:
Clear file content

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov ebx, dword [ebp + 8]
mov eax, dword [0x40e300]
cmp ebx, eax
jae 0x40986d
mov eax, ebx
and eax, 0x1f
mov edx, ebx
sar edx, 5
mov edx, dword [edx*4 + 0x40e304]
test byte [edx + eax*8 + 4], 1
jne 0x40987f
mov dword [0x40d334], 9
or eax, 0xffffffff
jmp 0x40999c
push 1
push 0
push ebx
call fcn.00408af0
add esp, 0xc
mov esi, eax
cmp eax, 0xffffffff
je 0x4098a7
push 2
push 0
push ebx
call fcn.00408af0
add esp, 0xc
mov edi, eax
cmp eax, 0xffffffff
jne 0x4098af
or eax, 0xffffffff
jmp 0x40999c
mov eax, dword [ebp + 0xc]
neg edi
add edi, eax
jle 0x409941
push 0x1000
push 1
call fcn.00409e10
add esp, 8
mov dword [ebp - 4], eax
test eax, eax
je 0x40993b
push 0x8000
push ebx
call fcn.00409e70
add esp, 8
mov dword [ebp - 8], eax
mov eax, 0x1000
cmp edi, 0x1000
jge 0x4098f2
mov eax, edi
mov edx, eax
push edx
mov eax, dword [ebp - 4]
push eax
push ebx
call fcn.004074e0
add esp, 0xc
mov dword [ebp + 0xc], eax
cmp eax, 0xffffffff
jne 0x409910
or dword [ebp - 0xc], 0xffffffff
jmp 0x409922
mov eax, edi
sub eax, dword [ebp + 0xc]
mov edi, eax
mov dword [ebp - 0xc], 0
test eax, eax
jg 0x4098e3
mov eax, dword [ebp - 8]
push eax
push ebx
call fcn.00409e70
add esp, 8
mov eax, dword [ebp - 4]
push eax
call fcn.004040b0
pop ecx
jmp 0x40998d
or dword [ebp - 0xc], 0xffffffff
jmp 0x40998d
mov dword [ebp - 0xc], 0
test edi, edi
jge 0x40998d
push 0
mov eax, dword [ebp + 0xc]
push eax
push ebx
call fcn.00408af0
add esp, 0xc
cmp eax, 0xffffffff
jne 0x409966
or dword [ebp - 0xc], 0xffffffff
jmp 0x40998d
push ebx
call fcn.00407980
pop ecx
push eax
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
mov dword [ebp - 0xc], 0
test eax, eax
jne 0x40998d
mov dword [0x40d334], 0xd
or dword [ebp - 0xc], 0xffffffff
push 0
push esi
push ebx
call fcn.00408af0
add esp, 0xc
mov eax, dword [ebp - 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x430000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
nop
mov eax, section..text
mov ebx, 0x408ecc
nop
nop
mov ecx, 0x19077ef2
nop
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x43004e
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
nop
jne 0x430024
nop
nop
mov eax, section..data
mov ebx, 0x42e1d0
nop
mov ecx, 0x243e7f6d
nop
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x430084
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
cmp eax, ebx
nop
nop
jne 0x43006c
nop
nop
nop
nop
nop
nop
popal
nop
nop
nop
jmp 0x401219
Function at 0x10001320
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x10001339
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x1000134d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x1000136e
cmp esi, eax
jae 0x10001347
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x10001360
cmp esi, eax
jae 0x10001347
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret
Function at 0x10002bc0
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push 0xffffffffffffffff
push 0x100142a8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x40
mov eax, dword [0x100192e0]
push ebx
push esi
mov dword [esp + 0x44], eax
push edi
lea eax, [esp + 0x2c]
push eax
mov esi, ecx
call fcn.100029a0
lea ecx, [esp + 0x10]
push ecx
xor ebx, ebx
mov ecx, esi
mov dword [esp + 0x58], ebx
call fcn.10002ab0
mov eax, dword [esp + 0x44]
xor esi, esi
cmp eax, 0x10
mov eax, dword [esp + 0x30]
jae 0x10002c15
lea eax, [esp + 0x30]
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
push ebp
lea edx, [esp + 0x10]
push edx
push 0x2001f
push ebx
push eax
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x24], ebx
call edi
cmp eax, ebx
mov ebp, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jne 0x10002c7a
mov eax, dword [esp + 0x2c]
mov esi, dword [esp + 0x10]
cmp eax, 0x10
mov eax, dword [esp + 0x18]
jae 0x10002c52
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
cmp dword [esp + 0x2c], 0x10
mov eax, dword [esp + 0x18]
jae 0x10002c69
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
cmp esi, ebx
je 0x10002c7a
push esi
call ebp
xor esi, esi
lea eax, [esp + 0x10]
push eax
push 0x2001f
push ebx
push 0x10015250
push SysReAllocString
mov dword [esp + 0x24], ebx
call edi
cmp eax, ebx
jne 0x10002cc9
xor eax, eax
cmp esi, ebx
je 0x10002ca2
push esi
call ebp
cmp eax, ebx
mov esi, dword [esp + 0x10]
jne 0x10002cc9
mov eax, dword [esp + 0x2c]
mov edi, 0x10
cmp eax, edi
mov eax, dword [esp + 0x18]
jae 0x10002cbf
lea eax, [esp + 0x18]
push eax
push esi
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
jmp 0x10002cce
mov edi, 0x10
cmp esi, ebx
je 0x10002cd5
push esi
call ebp
cmp dword [esp + 0x2c], edi
pop ebp
jb 0x10002ce9
mov ecx, dword [esp + 0x14]
push ecx
call fcn.1000cae8
add esp, 4
cmp dword [esp + 0x44], edi
pop edi
pop esi
mov dword [esp + 0x1c], ebx
mov byte [esp + 0xc], bl
mov dword [esp + 0x20], 0xf
pop ebx
jb 0x10002d0f
mov edx, dword [esp + 0x24]
push edx
call fcn.1000cae8
add esp, 4
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x3c]
call fcn.1000ca3e
add esp, 0x4c
ret
Function at 0x10003170
Capabilities:
Clear file content

Disassembly:
push esi
push 0
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
push 0x1001538c
call dword [sym.imp.KERNEL32.dll_SetEndOfFile]
push 0
push 1
push 0x1001aa64
call fcn.10002390
mov esi, eax
test esi, esi
jl 0x100031af
mov eax, dword [0x10019ec8]
test eax, eax
je 0x100031af
mov ecx, dword [0x1001aa04]
push ecx
call eax
add esp, 4
mov esi, eax
mov ecx, 0x10019e84
call fcn.10002ef0
mov eax, esi
pop esi
ret

Function at 0x100031f0
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenA]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
add esi, eax
add edi, eax
cmp eax, 1
jne 0x10003202
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x10003280
Capabilities:
Get file system object information

Disassembly:
push ebp
lea ebp, [esp - 0x2f8]
sub esp, 0x378
mov eax, dword [0x100192e0]
push ebx
push esi
push edi
mov dword [ebp + 0x2f4], eax
mov esi, ecx
call dword [fcn.10019050]
mov edi, dword [0x1001aa04]
mov dword [ebp - 0x80], eax
push 0x104
lea eax, [ebp + 0xe8]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x100032ce
call fcn.10001400
jmp 0x10003428
cmp eax, 0x104
jne 0x100032df
mov eax, 0x8007007a
jmp 0x10003428
test edi, edi
je 0x10003303
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
cmp edi, eax
je 0x10003303
mov ecx, dword [esi]
lea edx, [ebp + 0xe8]
push edx
push 0x10015408
push esi
call dword [ecx + 0x14]
jmp 0x1000334d
lea eax, [ebp + 0xe8]
push eax
lea ecx, [ebp + 0x1ed]
mov bl, 0x22
push ecx
mov byte [ebp + 0x1ec], bl
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
lea edx, [ebp + 0x1ec]
push edx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea ecx, [ebp + 0x1ec]
push ecx
push 0x10015408
mov byte [ebp + eax + 0x1ec], bl
mov byte [ebp + eax + 0x1ed], 0
mov eax, dword [esi]
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x10003428
mov edx, dword [esi]
lea eax, [ebp + 0xe8]
push eax
push 0x100153fc
push esi
call dword [edx + 0x14]
test eax, eax
jl 0x10003428
lea ecx, [ebp - 0x7c]
push ecx
push 0x10019eb0
call dword [sym.imp.ole32.dll_StringFromCLSID]
test eax, eax
jl 0x10003428
mov eax, dword [ebp - 0x7c]
test eax, eax
mov ebx, eax
je 0x100033b5
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + eax + 2]
mov eax, edi
add eax, 3
and eax, 0xfffffffc
call fcn.1000c9d0
mov edx, dword [ebp - 0x80]
mov eax, esp
push edx
push edi
push ebx
push eax
call fcn.10001200
mov ecx, dword [esi]
push eax
push 0x100153f0
push esi
call dword [ecx + 0x14]
mov edx, dword [ebp - 0x7c]
push edx
mov edi, eax
call dword [sym.imp.ole32.dll_CoTaskMemFree]
test edi, edi
jge 0x100033d5
mov eax, edi
jmp 0x10003428
push 0x2000
push 0x160
lea eax, [ebp - 0x78]
push eax
push 0
lea ecx, [ebp + 0xe8]
push ecx
call dword [sym.imp.SHELL32.dll_SHGetFileInfoA]
test eax, eax
jne 0x10003408
mov edx, dword [esi]
push 0x100153e0
push 0x100153d4
push esi
call dword [edx + 0x14]
jmp 0x10003418
mov eax, dword [esi]
push 0x100153c4
push 0x100153d4
push esi
call dword [eax + 0x14]
test eax, eax
jl 0x10003428
mov ecx, dword [0x10019ec0]
mov edx, dword [ecx]
push esi
call dword [edx + 0x14]
lea esp, [ebp - 0x8c]
mov ecx, dword [ebp + 0x2f4]
call fcn.1000ca3e
pop edi
pop esi
pop ebx
add ebp, 0x2f8
mov esp, ebp
pop ebp
ret
Function at 0x10003670
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
sub esp, 0x11c
mov eax, dword [0x100192e0]
mov edx, dword [esp + 0x120]
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x12c], eax
mov eax, dword [edi]
push edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov ecx, dword [esp + 8]
mov esi, eax
test esi, esi
jne 0x100036da
test ecx, ecx
je 0x100036cc
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 8], ecx
je 0x100036e8
test ecx, ecx
je 0x1000378b
push ecx
jmp 0x10003785
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExA]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push ecx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
jne 0x10003752
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
call fcn.10003670
mov edi, eax
test edi, edi
jne 0x100037a4
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push edx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
je 0x10003714
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x10003769
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
mov eax, dword [esp + 0x128]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyA]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x1000378b
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x118]
call fcn.1000ca3e
add esp, 0x11c
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x100037b3
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x120]
mov eax, edi
pop edi
pop esi
call fcn.1000ca3e
add esp, 0x11c
ret 4
Function at 0x100063d0
Capabilities:
Copy file

Disassembly:
push 0xffffffffffffffff
push 0x10014588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov eax, dword [0x100192e0]
push ebx
push esi
xor ebx, ebx
push ebx
mov dword [esp + 0x44], eax
mov esi, ecx
call fcn.100080f0
push 0xffffffffffffffff
push ebx
lea eax, [esi + 0x1c]
push eax
lea ecx, [esp + 0x30]
mov dword [esp + 0x48], 0xf
mov dword [esp + 0x44], ebx
mov byte [esp + 0x34], bl
call fcn.100025f0
push 0xffffffffffffffff
push ebx
add esi, 0xa8
push esi
lea ecx, [esp + 0x14]
mov dword [esp + 0x58], ebx
mov dword [esp + 0x2c], 0xf
mov dword [esp + 0x28], ebx
mov byte [esp + 0x18], bl
call fcn.100025f0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x28]
mov esi, 0x10
cmp eax, esi
jae 0x10006459
lea ecx, [esp + 0x28]
cmp dword [esp + 0x20], esi
mov eax, dword [esp + 0xc]
jae 0x10006467
lea eax, [esp + 0xc]
push ebx
push ecx
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileA]
cmp dword [esp + 0x20], esi
jb 0x10006483
mov ecx, dword [esp + 0xc]
push ecx
call fcn.1000cae8
add esp, 4
cmp dword [esp + 0x3c], esi
pop esi
mov dword [esp + 0x18], ebx
mov byte [esp + 8], bl
mov dword [esp + 0x1c], 0xf
pop ebx
jb 0x100064a8
mov edx, dword [esp + 0x20]
push edx
call fcn.1000cae8
add esp, 4
mov ecx, dword [esp + 0x3c]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x38]
call fcn.1000ca3e
add esp, 0x48
ret
Function at 0x10006e20
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x10014588
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x4c
mov eax, dword [0x100192e0]
push ebx
push ebp
push esi
push edi
xor esi, esi
push esi
push 0x1001538a
lea ecx, [esp + 0x44]
mov dword [esp + 0x60], eax
mov dword [esp + 0x5c], 0xf
mov dword [esp + 0x58], esi
mov byte [esp + 0x48], 0
call fcn.100026e0
movzx ebx, byte [0x100159ca]
mov dword [esp + 0x64], esi
mov dword [esp + 0x14], esi
lea esi, [ebx + 1]
push esi
call fcn.1000c516
mov ebp, eax
mov ecx, esi
mov edx, ecx
shr ecx, 2
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov ecx, ebx
mov eax, ecx
shr ecx, 2
mov esi, 0x100159a8
mov edi, ebp
rep movsd dword es:[edi], dword [esi]
push 0x100158b4
mov ecx, eax
and ecx, 3
push ebx
push ebp
rep movsb byte es:[edi], byte [esi]
call fcn.1000a5f0
mov eax, ebp
add esp, 0x10
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x10006ec0
sub eax, edx
push eax
push ebp
lea ecx, [esp + 0x44]
call fcn.100026e0
push ebp
call fcn.1000ceb2
mov ecx, dword [esp + 0x70]
push ecx
lea edx, [esp + 0x44]
push edx
lea eax, [esp + 0x2c]
push eax
call fcn.10006640
mov eax, dword [esp + 0x48]
mov edi, 0x10
add esp, 0x10
cmp eax, edi
mov eax, dword [esp + 0x24]
jae 0x10006f06
lea eax, [esp + 0x24]
lea ecx, [esp + 0x10]
push ecx
push 0xf003f
push 0
push eax
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
jne 0x10006f77
lea edx, [esp + 0x6c]
push edx
mov edx, dword [esp + 0x14]
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x20]
push ecx
push 0
push 0x100156cc
push edx
mov dword [esp + 0x84], 0x50
mov dword [esp + 0x30], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x10006f66
cmp dword [esp + 0x1c], 2
mov esi, 1
je 0x10006f6a
mov esi, dword [esp + 0x14]
mov eax, dword [esp + 0x10]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10006f7b
mov esi, dword [esp + 0x14]
cmp dword [esp + 0x38], edi
jb 0x10006f8e
mov ecx, dword [esp + 0x24]
push ecx
call fcn.1000cae8
add esp, 4
cmp dword [esp + 0x54], edi
mov dword [esp + 0x38], 0xf
mov dword [esp + 0x34], 0
mov byte [esp + 0x24], 0
jb 0x10006fb6
mov edx, dword [esp + 0x40]
push edx
call fcn.1000cae8
add esp, 4
mov ecx, dword [esp + 0x5c]
pop edi
mov eax, esi
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x4c]
pop ebx
call fcn.1000ca3e
add esp, 0x58
ret 4