joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4108b0
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push esi
mov esi, edx
test esi, esi
not eax
je 0x4108e2
lea esp, [esp]
test cl, 3
je 0x4108e2
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x430af0]
add ecx, 1
sub esi, 1
jne 0x4108c0
cmp esi, 0x20
push ebx
push edi
jb 0x410acc
mov edi, esi
shr edi, 5
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x430ef0]
xor edx, dword [ebx*4 + 0x4312f0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x430af0]
add ecx, 4
xor edx, dword [eax*4 + 0x4316f0]
add ecx, 4
xor edx, dword [ecx - 8]
add ecx, 4
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x430ef0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4312f0]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x430af0]
add ecx, 4
xor eax, dword [edx*4 + 0x4316f0]
add ecx, 4
xor eax, dword [ecx - 0x10]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x430ef0]
xor edx, dword [ebx*4 + 0x4312f0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x430af0]
xor edx, dword [eax*4 + 0x4316f0]
xor edx, dword [ecx - 0xc]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x430ef0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4312f0]
mov ebx, edx
and edx, 0xff
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x430af0]
xor eax, dword [edx*4 + 0x4316f0]
xor eax, dword [ecx - 8]
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x430ef0]
xor edx, dword [ebx*4 + 0x4312f0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x430af0]
xor edx, dword [eax*4 + 0x4316f0]
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x430ef0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4312f0]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x430af0]
and edx, 0xff
xor eax, dword [edx*4 + 0x4316f0]
xor eax, dword [ecx]
add ecx, 4
mov edx, eax
shr edx, 0x10
movzx ebx, ah
and edx, 0xff
mov edx, dword [edx*4 + 0x430ef0]
xor edx, dword [ebx*4 + 0x4312f0]
mov ebx, eax
and eax, 0xff
shr ebx, 0x18
xor edx, dword [ebx*4 + 0x430af0]
add ecx, 4
xor edx, dword [eax*4 + 0x4316f0]
sub esi, 0x20
xor edx, dword [ecx - 4]
mov eax, edx
shr eax, 0x10
and eax, 0xff
mov eax, dword [eax*4 + 0x430ef0]
movzx ebx, dh
xor eax, dword [ebx*4 + 0x4312f0]
mov ebx, edx
shr ebx, 0x18
xor eax, dword [ebx*4 + 0x430af0]
and edx, 0xff
xor eax, dword [edx*4 + 0x4316f0]
sub edi, 1
jne 0x4108f2
cmp esi, 4
jb 0x410b19
mov edx, esi
shr edx, 2
xor eax, dword [ecx]
add ecx, 4
mov edi, eax
shr edi, 0x10
and edi, 0xff
mov edi, dword [edi*4 + 0x430ef0]
movzx ebx, ah
xor edi, dword [ebx*4 + 0x4312f0]
mov ebx, eax
shr ebx, 0x18
xor edi, dword [ebx*4 + 0x430af0]
and eax, 0xff
xor edi, dword [eax*4 + 0x4316f0]
sub esi, 4
sub edx, 1
mov eax, edi
jne 0x410ad6
test esi, esi
pop edi
pop ebx
je 0x410b3d
nop
movzx edx, byte [ecx]
xor edx, eax
and edx, 0xff
shr eax, 8
xor eax, dword [edx*4 + 0x430af0]
add ecx, 1
sub esi, 1
jne 0x410b20
not eax
pop esi
ret
Function at 0x414002
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x437368]
jne 0x41400c
repz ret
jmp fcn.00419d44
Function at 0x41c7df
Capabilities:
Write file on windows

Disassembly:
push ecx
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
xor esi, esi
xor edi, edi
cmp ebx, dword [edi*8 + 0x437ae8]
je 0x41c7fa
inc edi
cmp edi, 0x17
jb 0x41c7eb
cmp edi, 0x17
jae 0x41c97a
push ebp
push 3
call fcn.00424882
cmp eax, 1
pop ecx
je 0x41c946
push 3
call fcn.00424882
test eax, eax
pop ecx
jne 0x41c82e
cmp dword [0x4371b0], 1
je 0x41c946
cmp ebx, 0xfc
je 0x41c979
push 0x42d418
mov ebx, 0x314
push ebx
mov ebp, 0x439158
push ebp
call fcn.0041a1aa
add esp, 0xc
test eax, eax
je 0x41c864
push esi
push esi
push esi
push esi
push esi
call fcn.004149c7
add esp, 0x14
push 0x104
mov esi, 0x439171
push esi
push 0
mov byte [0x439275], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x41c8a8
push 0x42d400
push 0x2fb
push esi
call fcn.0041a1aa
add esp, 0xc
test eax, eax
je 0x41c8a8
xor eax, eax
push eax
push eax
push eax
push eax
push eax
call fcn.004149c7
add esp, 0x14
push esi
call fcn.00416620
inc eax
cmp eax, 0x3c
pop ecx
jbe 0x41c8ed
push esi
call fcn.00416620
sub esi, 0x3b
add eax, esi
push 3
mov ecx, 0x43946c
push 0x42d3fc
sub ecx, eax
push ecx
push eax
call fcn.00420633
add esp, 0x14
test eax, eax
je 0x41c8ed
xor esi, esi
push esi
push esi
push esi
push esi
push esi
call fcn.004149c7
add esp, 0x14
jmp 0x41c8ef
xor esi, esi
push 0x42d3f8
push ebx
push ebp
call fcn.004205c2
add esp, 0xc
test eax, eax
je 0x41c90f
push esi
push esi
push esi
push esi
push esi
call fcn.004149c7
add esp, 0x14
push dword [edi*8 + 0x437aec]
push ebx
push ebp
call fcn.004205c2
add esp, 0xc
test eax, eax
je 0x41c931
push esi
push esi
push esi
push esi
push esi
call fcn.004149c7
add esp, 0x14
push 0x12010
push 0x42d3d0
push ebp
call fcn.004246c5
add esp, 0xc
jmp 0x41c979
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
mov ebp, eax
cmp ebp, esi
je 0x41c979
cmp ebp, 0xffffffff
je 0x41c979
push 0
lea eax, [esp + 0x14]
push eax
lea esi, [edi*8 + 0x437aec]
push dword [esi]
call fcn.00416620
pop ecx
push eax
push dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop ebp
pop edi
pop esi
pop ebx
pop ecx
ret
Function at 0x4246c5
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.0041a782
xor ebx, ebx
cmp dword [0x4396fc], ebx
mov dword [ebp - 8], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
jne 0x42479b
push 0x42e590
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
je 0x42487b
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x42e584
push edi
call esi
cmp eax, ebx
je 0x42487b
push eax
call fcn.0041a714
mov dword [esp], 0x42e574
push edi
mov dword [0x4396fc], eax
call esi
push eax
call fcn.0041a714
mov dword [esp], 0x42e560
push edi
mov dword [0x439700], eax
call esi
push eax
call fcn.0041a714
mov dword [0x439704], eax
lea eax, [ebp - 0xc]
push eax
call fcn.0041c56c
test eax, eax
pop ecx
pop ecx
je 0x424769
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004149c7
add esp, 0x14
cmp dword [ebp - 0xc], 2
jne 0x42479b
push 0x42e544
push edi
call esi
push eax
call fcn.0041a714
cmp eax, ebx
pop ecx
mov dword [0x43970c], eax
je 0x42479b
push 0x42e52c
push edi
call esi
push eax
call fcn.0041a714
pop ecx
mov dword [0x439708], eax
mov eax, dword [0x439708]
mov ecx, dword [ebp - 8]
cmp eax, ecx
je 0x424820
cmp dword [0x43970c], ecx
je 0x424820
push eax
call fcn.0041a78b
push dword [0x43970c]
mov esi, eax
call fcn.0041a78b
cmp esi, ebx
pop ecx
pop ecx
mov edi, eax
je 0x424820
cmp edi, ebx
je 0x424820
call esi
cmp eax, ebx
je 0x4247ed
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x4247ed
test byte [ebp - 0x18], 1
jne 0x424820
lea eax, [ebp - 0x10]
push eax
call fcn.0041c5a3
test eax, eax
pop ecx
je 0x424808
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.004149c7
add esp, 0x14
cmp dword [ebp - 0x10], 4
jb 0x424817
or dword [ebp + 0x10], 0x200000
jmp 0x42485b
or dword [ebp + 0x10], 0x40000
jmp 0x42485b
mov eax, dword [0x439700]
cmp eax, dword [ebp - 8]
je 0x42485b
push eax
call fcn.0041a78b
cmp eax, ebx
pop ecx
je 0x42485b
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x42485b
mov eax, dword [0x439704]
cmp eax, dword [ebp - 8]
je 0x42485b
push eax
call fcn.0041a78b
cmp eax, ebx
pop ecx
je 0x42485b
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4396fc]
call fcn.0041a78b
cmp eax, ebx
pop ecx
je 0x42487b
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x42487d
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x1006fc7
Capabilities:
Terminate process

Disassembly:
push 0x58
push 0x1009898
call fcn.01007174
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, 0x100b53c
push 0
push esi
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedCompareExchange]
test eax, eax
je 0x1006d7e
cmp eax, esi
jne 0x1006d71
xor esi, esi
inc esi
mov ebx, esi
jmp 0x1006d81
push 0x3e8
call dword [sym.imp.KERNEL32.dll_Sleep]
jmp 0x1006d58
xor esi, esi
inc esi
mov eax, dword [0x100b538]
cmp eax, esi
jne 0x1006d94
push 0x1f
call sub.msvcrt.dll__amsg_exit
pop ecx
jmp 0x1006dc3
mov eax, dword [0x100b538]
test eax, eax
jne 0x1006dbd
mov dword [0x100b538], esi
push 0x10011ec
push 0x10011e0
call fcn.01006cbd
pop ecx
pop ecx
test eax, eax
je 0x1006dc3
jmp 0x1006eeb
mov dword [0x100b150], esi
mov eax, dword [0x100b538]
cmp eax, esi
jne 0x1006de7
push 0x10011dc
push 0x10011cc
call sub.msvcrt.dll__initterm
pop ecx
pop ecx
mov dword [0x100b538], 2
test ebx, ebx
jne 0x1006df3
push ebx
push edi
call dword [sym.imp.KERNEL32.dll_InterlockedExchange]
cmp dword [0x100b540], 0
je 0x1006e17
push 0x100b540
call fcn.010070e9
pop ecx
test eax, eax
je 0x1006e17
push 0
push 2
push 0
call dword [0x100b540]
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 0x1006e73
test al, al
je 0x1006e31
cmp dword [ebp - 0x1c], 0
jne 0x1006e73
mov al, byte [esi]
test al, al
je 0x1006e41
cmp al, 0x20
ja 0x1006e41
inc esi
mov dword [ebp - 0x20], esi
jmp 0x1006e31
test byte [ebp - 0x3c], 1
je 0x1006e4d
movzx eax, word [ebp - 0x38]
jmp 0x1006e50
push 0xa
pop eax
push eax
push esi
push 0
push 0x1000000
call main
mov dword [0x100b14c], eax
cmp dword [0x100b140], 0
jne 0x1006ec7
push eax
call dword [sym.imp.msvcrt.dll_exit]
cmp al, 0x22
jne 0x1006e82
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 0x1006e95
inc esi
mov dword [ebp - 0x20], esi
inc esi
jmp 0x1006e1e
cmp dword [0x100b150], 0
jne 0x1006ed6
call dword [sym.imp.msvcrt.dll__cexit]
mov dword [ebp - 4], 0xfffffffe
mov eax, dword [0x100b14c]
jmp 0x1006ef7
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
call fcn.010071b9
ret
call fcn.01007367
jmp 0x1006d1e
Function at 0x1007a75
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
push ebx
push esi
push edi
xor edi, edi
cmp dword [ebp + 8], 0x80000001
mov dword [ebp - 8], edi
mov dword [ebp - 0xc], edi
mov dword [ebp - 4], edi
jne 0x1007a97
mov dword [ebp - 0xc], edi
lea eax, [ebp - 8]
push eax
push 1
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0100791c
mov esi, eax
cmp esi, edi
mov dword [ebp + 0xc], esi
jl 0x1007b50
mov dword [ebp + 8], edi
lea eax, [ebp + 0xc]
push eax
lea eax, [ebp + 8]
push eax
push dword [ebp - 4]
lea eax, [ebp - 0x10]
push eax
push edi
push dword [ebp + 0x10]
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push eax
call fcn.01007513
test eax, eax
je 0x1007b4d
cmp dword [ebp - 4], edi
jne 0x1007b0d
cmp dword [ebp + 8], edi
jbe 0x1007b46
push dword [ebp + 8]
call fcn.01007579
lea ecx, [ebp - 4]
mov esi, eax
call fcn.01007788
cmp esi, edi
je 0x1007b03
mov dword [ebp - 4], esi
jmp 0x1007ab8
mov dword [ebp - 4], edi
mov esi, 0x8007000e
jmp 0x1007b50
cmp dword [ebp - 0x10], 4
je 0x1007b1a
mov esi, 0x8007000d
jmp 0x1007b50
mov ebx, dword [ebp + 8]
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 0x14]
push ebx
push dword [ebp - 4]
call fcn.0100766d
mov esi, eax
cmp esi, edi
jl 0x1007b50
cmp dword [ebp + 0xc], edi
je 0x1007b3b
mov dword [ebp - 4], edi
mov eax, dword [ebp + 0x18]
cmp eax, edi
je 0x1007b50
mov dword [eax], ebx
jmp 0x1007b50
mov esi, 0x8000ffff
jmp 0x1007b50
mov esi, dword [ebp + 0xc]
lea ecx, [ebp - 4]
call fcn.01007788
lea ecx, [ebp - 0xc]
call fcn.01007735
lea ecx, [ebp - 8]
call fcn.01007735
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret 0x14
Function at 0x1007fe4
Capabilities:
Check os version

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x130
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
mov dword [ebp - 0x130], eax
mov dword [ebp - 0x124], ebx
mov dword [ebp - 0x128], 1
cmp esi, ebx
jne 0x1008028
mov edi, 0x80070057
jmp 0x100812d
cmp eax, ebx
je 0x100801e
lea eax, [ebp - 0x12c]
push eax
lea eax, [esi + 0x478]
push eax
call fcn.01007f8d
mov edi, eax
cmp edi, ebx
jl 0x100812d
cmp dword [ebp - 0x12c], ebx
je 0x10080dc
lea eax, [ebp - 0x120]
push eax
mov dword [ebp - 0x120], 0x11c
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1008083
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.010075b9
mov edi, eax
jmp 0x100812d
cmp dword [ebp - 0x11c], 6
jb 0x1008119
push 0x1003d18
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
lea ecx, [ebp - 0x124]
mov edi, eax
call fcn.01007751
cmp edi, ebx
jne 0x10080b4
mov dword [ebp - 0x124], ebx
jmp 0x1008070
push 0x1003f7c
push edi
mov dword [ebp - 0x124], edi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
cmp eax, ebx
je 0x1008070
lea ecx, [ebp - 0x128]
push ecx
push esi
call eax
mov edi, eax
cmp edi, ebx
jl 0x100812d
jmp 0x100811f
cmp byte [esi + 0x320], bl
je 0x100811f
push ebx
lea eax, [ebp - 0x12c]
push eax
push 0x1003ec4
push 0x1003e58
push 0x80000002
call fcn.01007a75
cmp eax, ebx
jge 0x1008110
cmp eax, 0x80070002
je 0x100811f
jmp 0x100807c
cmp dword [ebp - 0x12c], 1
jne 0x100811f
mov dword [ebp - 0x128], ebx
mov eax, dword [ebp - 0x130]
mov ecx, dword [ebp - 0x128]
mov dword [eax], ecx
lea ecx, [ebp - 0x124]
call fcn.01007751
mov ecx, dword [ebp - 4]
mov eax, edi
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006fe1
leave
ret 8
Function at 0x10081e1
Capabilities:
Create directory
Query environment variable
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xab0
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
mov esi, 0x10040ac
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp dword [ebp + 8], 1
mov dword [ebp - 0xaa0], eax
jne 0x1008217
mov esi, 0x100409c
jmp 0x1008222
cmp dword [ebp + 8], 2
jne 0x1008222
mov esi, 0x1004090
lea eax, [ebp - 0xab0]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [ebp - 0xaa4]
push esi
push eax
movzx eax, word [ebp - 0xaa6]
push eax
movzx eax, word [ebp - 0xaa8]
push eax
movzx eax, word [ebp - 0xaaa]
push eax
movzx eax, word [ebp - 0xaae]
push eax
movzx eax, word [ebp - 0xab0]
push eax
push 0x1004020
lea eax, [ebp - 0xa4]
push 0x50
push eax
call fcn.010081a6
add esp, 0x28
lea eax, [ebp + 0x10]
push eax
push dword [ebp + 0xc]
mov ebx, 0x1f4
push ebx
lea eax, [ebp - 0xa94]
push eax
call fcn.01007699
mov edi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
push 0x105
lea eax, [ebp - 0x4a4]
push eax
push 0x1004138
call edi
xor esi, esi
push esi
push 0x80
push 4
push esi
push 1
push 6
lea eax, [ebp - 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa98], eax
cmp eax, 0xffffffff
jne 0x1008319
push 0x104
lea eax, [ebp - 0x6ac]
push eax
push 0x10040c0
call edi
push esi
lea eax, [ebp - 0x6ac]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
push esi
push 0x80
push 4
push esi
push 1
push 6
lea eax, [ebp - 0x4a4]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0xa98], eax
cmp eax, 0xffffffff
je 0x10083db
push 2
push esi
push esi
push dword [ebp - 0xa98]
call dword [sym.imp.KERNEL32.dll_SetFilePointer]
cmp eax, 0xffffffff
je 0x10083cf
push esi
push esi
push ebx
lea eax, [ebp - 0x298]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa4]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
lea eax, [ebp - 0xa9c]
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov edi, dword [sym.imp.KERNEL32.dll_WriteFile]
push eax
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0xa98]
call edi
push esi
push esi
push ebx
lea eax, [ebp - 0x298]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0xa94]
push eax
push esi
push esi
call dword [sym.imp.KERNEL32.dll_WideCharToMultiByte]
push esi
lea eax, [ebp - 0xa9c]
push eax
lea eax, [ebp - 0x298]
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenA]
push eax
lea eax, [ebp - 0x298]
push eax
push dword [ebp - 0xa98]
call edi
push esi
lea eax, [ebp - 0xa9c]
push eax
push 2
push 0x10040b8
push dword [ebp - 0xa98]
call edi
push dword [ebp - 0xa98]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push dword [ebp - 0xaa0]
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.01006fe1
leave
ret
Function at 0x1008621
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push ebx
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [ebp - 4]
push eax
mov ebx, 0x20019
push ebx
push 0
mov edi, str.SoftwareMicrosoftWindowsCurrentVersionPoliciesExplorerWAU
push edi
push 0x80000002
call esi
test eax, eax
jne 0x100867f
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Disabled
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x1008698
push 0x10044f8
push 2
call fcn.010081e1
pop ecx
xor eax, eax
pop ecx
inc eax
jmp 0x10086e6
lea eax, [ebp - 4]
push eax
push ebx
push 0
push edi
push 0x80000001
call esi
test eax, eax
jne 0x10086d7
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push str.Disabled
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp dword [ebp - 8], 0
je 0x10086e4
push 0x10044a8
jmp 0x100868a
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x1009071
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push edi
xor edi, edi
mov dword [ebp - 4], edi
cmp eax, edi
jne 0x1009093
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
leave
ret 0xc
push esi
cmp dword [ebp + 0xc], edi
je 0x10090c4
lea ecx, [ebp - 4]
push ecx
push 0x20019
push edi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x10090b6
cmp dword [ebp - 4], edi
jne 0x10090c7
xor esi, esi
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, esi
pop esi
jmp 0x100908e
mov dword [ebp - 4], eax
cmp dword [ebp + 0x10], edi
je 0x10090e5
push edi
push edi
push edi
push edi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
neg esi
sbb esi, esi
inc esi
jmp 0x10090e8
xor esi, esi
inc esi
cmp dword [ebp + 0xc], edi
je 0x10090b8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
jmp 0x10090b8
Function at 0x10090fd
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
push esi
xor esi, esi
mov dword [ebp - 4], esi
mov dword [ebp - 8], esi
mov dword [ebp - 0xc], 4
mov dword [ebp - 0x10], esi
cmp eax, esi
jne 0x100912b
push 0x57
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
jmp 0x1009198
cmp dword [ebp + 0xc], esi
je 0x1009150
lea ecx, [ebp - 4]
push ecx
push 0x20019
push esi
push dword [ebp + 0xc]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, esi
jne 0x100914d
cmp dword [ebp - 4], esi
jne 0x1009153
push eax
jmp 0x1009121
mov dword [ebp - 4], eax
push edi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push dword [ebp + 0x10]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edi, eax
cmp edi, esi
jne 0x100917c
cmp dword [ebp - 0xc], 4
je 0x100917f
push 0xd
pop edi
mov dword [ebp - 8], esi
cmp dword [ebp + 0xc], esi
je 0x100918d
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push edi
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, dword [ebp - 8]
pop edi
pop esi
leave
ret 0xc

Function at 0x100023f0
Capabilities:
Create thread

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x10]
mov dword [ebp - 0x10], eax
mov ecx, dword [ebp + 0x14]
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 4]
mov dword [ebp - 8], edx
mov eax, dword [ebp + 0x1c]
push eax
mov ecx, dword [ebp + 0x18]
push ecx
lea edx, [ebp - 0x10]
push edx
push 0x100023b0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [ebp - 0x14], eax
push 0x1388
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 0x14]
mov esp, ebp
pop ebp
ret 0x18
Function at 0x401530
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x499188
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
mov dword [esp + 8], esi
mov byte [esp + 0xc], 1
call dword [eax + 8]
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.004015c0
mov ecx, dword [esi + 0x30]
xor eax, eax
test ecx, ecx
jle 0x401594
lea ebx, [ebx]
mov edx, dword [edi + 0x2c]
mov ecx, dword [esi + 0x2c]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x30]
inc eax
cmp eax, ecx
jl 0x401580
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x4019b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4990e8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push esi
mov esi, ecx
mov eax, dword [esi]
push edi
mov dword [esp + 8], esi
mov byte [esp + 0xc], 1
call dword [eax + 8]
mov edi, dword [esp + 0x20]
mov ecx, dword [edi + 0x30]
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0
call fcn.00401a40
mov ecx, dword [esi + 0x30]
xor eax, eax
test ecx, ecx
jle 0x401a14
lea ebx, [ebx]
mov edx, dword [edi + 0x2c]
mov ecx, dword [esi + 0x2c]
mov edx, dword [edx + eax*4]
mov dword [ecx + eax*4], edx
mov ecx, dword [esi + 0x30]
inc eax
cmp eax, ecx
jl 0x401a00
mov eax, dword [esi]
mov ecx, esi
mov dword [esp + 0x18], 0xffffffff
call dword [eax + 0xc]
mov ecx, dword [esp + 0x10]
pop edi
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x14
ret 4

Function at 0x401a40
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4990c8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push ebp
push esi
mov esi, ecx
mov eax, dword [esi]
mov dword [esp + 0xc], esi
mov byte [esp + 0x10], 1
call dword [eax + 8]
mov ebx, dword [esp + 0x24]
lea ecx, [ebx*4]
push ecx
mov dword [esp + 0x20], 0
call fcn.0047d184
add esp, 4
test ebx, ebx
mov ebp, eax
jle 0x401a97
push edi
mov ecx, ebx
xor eax, eax
mov edi, ebp
rep stosd dword es:[edi], eax
pop edi
mov ecx, dword [esi + 0x30]
xor eax, eax
cmp ebx, ecx
jl 0x401ab8
test ecx, ecx
jle 0x401acf
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + eax*4]
mov dword [ebp + eax*4], ecx
mov ecx, dword [esi + 0x30]
inc eax
cmp eax, ecx
jl 0x401aa4
jmp 0x401acf
test ebx, ebx
jle 0x401acf
lea esp, [esp]
mov edx, dword [esi + 0x2c]
mov ecx, dword [edx + eax*4]
mov dword [ebp + eax*4], ecx
inc eax
cmp eax, ebx
jl 0x401ac0
mov eax, dword [esi + 0x2c]
push eax
call fcn.0047d17f
mov dword [esi + 0x2c], ebp
mov dword [esi + 0x30], ebx
mov edx, dword [esi]
add esp, 4
mov ecx, esi
mov dword [esp + 0x1c], 0xffffffff
call dword [edx + 0xc]
mov ecx, dword [esp + 0x14]
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret 4