joyce8/EMBER2024-capa huggingface dataset:
Function at 0x42fe96
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x441ea0
cmp edx, dword [eax]
je 0x42feb8
add eax, 8
inc ecx
cmp eax, 0x441f30
jl 0x42fea9
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x441ea0]
jne 0x42ffe6
mov eax, dword [0x445640]
cmp eax, 1
je 0x42ffc0
test eax, eax
jne 0x42fee9
cmp dword [0x43f4a4], 1
je 0x42ffc0
cmp edx, 0xfc
je 0x42ffe6
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x42ff20
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.00426fd0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00427800
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x42ff63
lea eax, [ebp - 0x1a4]
push eax
call fcn.00427800
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x437560
push edi
call fcn.00427700
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.00426fd0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.00426fe0
lea eax, [ebp - 0xa0]
push 0x437540
push eax
call fcn.00426fe0
push dword [esi + 0x441ea4]
lea eax, [ebp - 0xa0]
push eax
call fcn.00426fe0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.00431bf8
add esp, 0x2c
pop edi
jmp 0x42ffe6
lea eax, [ebp + 8]
lea esi, [esi + 0x441ea4]
push 0
push eax
push dword [esi]
call fcn.00427800
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret

Function at 0x435252
Capabilities:
Accept command line arguments
Terminate process

Disassembly:
call fcn.004352a7
jmp fcn.0042996c

Function at 0x43549d
Capabilities:
Access peb ldr_data
Resolve function by hash

Disassembly:
push edi
push esi
cld
mov edx, dword fs:[0x30]
mov edx, dword [edx + 0xc]
mov edx, dword [edx + 0x14]
mov esi, dword [edx + 0x28]
push 0x18
pop ecx
xor edi, edi
xor eax, eax
lodsb al, byte [esi]
cmp al, 0x61
jl 0x4354be
sub al, 0x20
ror edi, 0xd
add edi, eax
loop 0x4354b5
cmp edi, 0x6a4abc5b
mov eax, dword [edx + 0x10]
mov edx, dword [edx]
jne 0x4354ad
pop esi
pop edi
ret

Function at 0x43551c
Capabilities:
Resolve function by hash

Disassembly:
push dword [esp + 8]
push 0xec0e4e8e
push dword [esp + 0xc]
call fcn.0043554a
call eax
ret 8

Function at 0x43554a
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x3c]
mov esi, dword [esi + eax + 0x78]
add esi, eax
push esi
mov esi, dword [esi + 0x20]
add esi, eax
xor ecx, ecx
dec ecx
inc ecx
lodsd eax, dword [esi]
add eax, dword [ebp + 8]
xor ebx, ebx
movzx edx, byte [eax]
cmp dl, dh
je 0x43557a
ror ebx, 0xd
add ebx, edx
inc eax
jmp 0x43556b
cmp ebx, dword [ebp + 0xc]
jne 0x435564
mov edx, dword [ebp + 8]
pop esi
mov ebx, dword [esi + 0x24]
add ebx, edx
mov cx, word [ebx + ecx*2]
mov ebx, dword [esi + 0x1c]
add ebx, edx
mov eax, dword [ebx + ecx*4]
add eax, edx
pop esi
pop ebx
leave
ret 8
Function at 0x435676
Capabilities:
Encode data using xor
Encrypt data using rc4 prga

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c
mov eax, dword [ebp + 0xc]
mov cl, byte [eax]
add cl, 0x30
mov byte [ebp - 0x18], cl
mov cl, byte [eax + 2]
mov al, byte [eax + 6]
push ebx
push esi
mov byte [ebp - 0x17], cl
mov ecx, dword [ebp + 0x10]
push edi
and ecx, 0xfffffffe
push 2
mov dword [ebp - 0x14], ecx
mov byte [ebp - 0x16], al
mov byte [ebp - 0x15], 0
lea eax, [ebp - 0x18]
pop ecx
xor dword [eax], 0xd6d7a4be
add eax, 4
dec ecx
jne 0x4356a9
push 0xf0000040
xor ebx, ebx
inc ebx
push ebx
xor esi, esi
push esi
push esi
lea eax, [ebp - 0x10]
push eax
mov byte [ebp - 1], cl
push 0x43c28bf0
push dword [ebp + 0x14]
call fcn.0043554a
call eax
test eax, eax
je 0x435778
lea eax, [ebp - 8]
push eax
push esi
push esi
push 0x8003
push dword [ebp - 0x10]
push 0x4105a130
push dword [ebp + 0x14]
call fcn.0043554a
call eax
push 0x10
pop edi
cmp eax, ebx
jne 0x43575f
push esi
push 8
lea eax, [ebp - 0x18]
push eax
push dword [ebp - 8]
mov dword [ebp - 0xc], edi
push 0xc2122629
push dword [ebp + 0x14]
call fcn.0043554a
call eax
cmp eax, ebx
jne 0x43574d
push esi
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x28]
push eax
push 2
push dword [ebp - 8]
push 0xc7afb4a9
push dword [ebp + 0x14]
call fcn.0043554a
call eax
cmp eax, ebx
jne 0x43574d
cmp dword [ebp - 0xc], edi
jne 0x43574d
mov byte [ebp - 1], bl
push dword [ebp - 8]
push 0x25d4ae7a
push dword [ebp + 0x14]
call fcn.0043554a
call eax
push esi
push dword [ebp - 0x10]
push 0x5ae8e894
push dword [ebp + 0x14]
call fcn.0043554a
call eax
cmp byte [ebp - 1], 0
jne 0x43577f
xor al, al
jmp 0x435813
xor bl, bl
lea edx, [ebp - 0x28]
mov cl, byte [edx]
mov al, cl
and al, 0xf
shr cl, 4
add al, cl
add al, 0x61
cmp al, 0x7a
ja 0x4357a0
mov esi, dword [ebp + 8]
movzx ecx, bl
mov byte [esi + ecx], al
inc bl
inc edx
dec edi
jne 0x435784
mov esi, dword [ebp + 8]
movzx eax, bl
mov byte [esi + eax], 0x2e
mov eax, dword [ebp + 0x10]
push 5
xor edx, edx
pop edi
div edi
inc bl
movzx ecx, bl
add ecx, esi
add bl, 3
test edx, edx
jne 0x4357ce
mov dword [ecx], 0x7a6962
jmp 0x43580a
mov eax, dword [ebp + 0x10]
test al, 3
jne 0x4357df
mov dword [ecx], 0x6f666e69
inc bl
jmp 0x43580a
push 3
xor edx, edx
pop edi
div edi
test edx, edx
jne 0x4357f2
mov dword [ecx], 0x67726f
jmp 0x43580a
mov al, byte [ebp + 0x10]
and al, 1
movzx eax, al
neg eax
sbb eax, eax
and eax, 0xfff909f5
add eax, 0x74656e
mov dword [ecx], eax
movzx eax, bl
mov byte [esi + eax], 0
mov al, bl
pop edi
pop esi
pop ebx
leave
ret 0x10
Function at 0x100096e0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x14
mov edi, ecx
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1000cfe0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov ecx, edi
push 0
call fcn.100214a5
mov dword [edi + 4], 0
mov byte [edi + 8], 0
mov dword [edi + 0xc], 0
mov byte [edi + 0x10], 0
mov dword [edi + 0x14], 0
mov word [edi + 0x18], 0
mov dword [edi + 0x1c], 0
mov word [edi + 0x20], 0
mov dword [edi + 0x24], 0
mov byte [edi + 0x28], 0
mov dword [edi + 0x2c], 0
mov byte [edi + 0x30], 0
test esi, esi
mov dword [ebp - 0x20], edi
je 0x1000978f
mov dword [ebp - 0x10], 0
push esi
push edi
call fcn.100215cd
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, dword [ebp - 0x20]
add esp, 0x14
pop esi
pop edi
pop ebx
pop ebp
ret 4
mov dword [ebp - 0x10], 0
push str.bad_locale_name
call fcn.100219df
add esp, 4
nop word cs:[eax + eax]
nop dword [eax]
push ebp
sub esp, 8
add ebp, 0xc
mov eax, dword [ebp - 0x20]
mov esi, eax
mov eax, dword [eax + 0x2c]
test eax, eax
je 0x100097cc
push eax
call fcn.10032f92
add esp, 4
mov eax, esi
mov dword [esi + 0x2c], 0
mov eax, dword [esi + 0x24]
test eax, eax
je 0x100097e5
push eax
call fcn.10032f92
add esp, 4
mov eax, esi
mov dword [esi + 0x24], 0
mov eax, dword [esi + 0x1c]
test eax, eax
je 0x100097fe
push eax
call fcn.10032f92
add esp, 4
mov eax, esi
mov dword [esi + 0x1c], 0
mov eax, dword [esi + 0x14]
test eax, eax
je 0x10009817
push eax
call fcn.10032f92
add esp, 4
mov eax, esi
mov dword [esi + 0x14], 0
mov eax, dword [esi + 0xc]
test eax, eax
je 0x10009830
push eax
call fcn.10032f92
add esp, 4
mov eax, esi
mov dword [esi + 0xc], 0
mov eax, dword [esi + 4]
test eax, eax
je 0x10009849
push eax
call fcn.10032f92
add esp, 4
mov ecx, esi
mov dword [esi + 4], 0
call fcn.100214d6
add esp, 8
pop ebp
ret

Function at 0x1000d0a0
Capabilities:
Encode data using xor
Resolve function by hash

Disassembly:
push ebp
push ebx
push edi
push esi
mov edi, dword [esp + 0x14]
push 0x3bd09a55
push 0x6a4abc5b
call fcn.1000fc60
add esp, 8
push 2
push 0xc9
push edi
call eax
mov ebx, dword [eax]
mov ebp, dword [eax + 4]
push ebp
call fcn.10020da9
add esp, 4
mov esi, eax
push ebp
push 0
push eax
call fcn.1000d1a0
add esp, 0xc
lea eax, [ebx + edi]
add eax, 0x67
push ebp
push eax
push esi
call fcn.1000d220
add esp, 0xc
mov eax, 1
nop word cs:[eax + eax]
lea ecx, [eax - 1]
and ecx, 0xe
movzx ecx, byte [ecx*4 + 0x1004a88c]
xor byte [esi + eax - 1], cl
mov ecx, eax
and ecx, 0xf
movzx ecx, byte [ecx*4 + 0x1004a88c]
xor byte [esi + eax], cl
add eax, 2
cmp eax, 0x23201
jne 0x1000d100
mov eax, 1
nop word cs:[eax + eax]
nop dword [eax + eax]
lea ecx, [eax - 1]
and ecx, 0xe
movzx ecx, byte [ecx*4 + 0x1004a84c]
xor byte [esi + eax - 1], cl
mov ecx, eax
and ecx, 0xf
movzx ecx, byte [ecx*4 + 0x1004a84c]
xor byte [esi + eax], cl
add eax, 2
cmp eax, 0x23201
jne 0x1000d140
mov eax, esi
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000d8e0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0xc
mov ebx, dword [0x1005d650]
mov eax, dword [ebx + 0x3c]
mov esi, dword [eax + ebx + 0x78]
test esi, esi
je 0x1000d987
mov eax, dword [esi + ebx + 0x1c]
add eax, ebx
mov ebp, dword [esi + ebx + 0x24]
add ebp, ebx
cmp dword [esi + ebx + 0x18], 0
mov dword [esp + 4], eax
je 0x1000d95f
mov eax, dword [ebx + esi + 0x20]
add eax, ebx
mov dword [esp + 8], eax
xor edi, edi
nop
mov dword [esp], ebp
mov eax, dword [esp + 8]
mov ebp, dword [eax + edi*4]
add ebp, ebx
mov eax, dword [esp + 0x20]
push eax
call fcn.1000d180
add esp, 4
push eax
push dword [esp + 0x24]
push ebp
call fcn.1000d2f0
add esp, 0xc
test eax, eax
je 0x1000d95c
add edi, 1
mov ebp, dword [esp]
add ebp, 2
cmp edi, dword [ebx + esi + 0x18]
jb 0x1000d920
jmp 0x1000d95f
mov ebp, dword [esp]
movzx eax, word [ebp]
test eax, eax
mov ecx, dword [esp + 4]
lea eax, [ecx + eax*4]
cmove eax, ecx
add ebx, dword [eax]
je 0x1000d987
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
push dword [esp + 0x30]
call ebx
jmp 0x1000d98c
mov eax, 0xffffffff
add esp, 0xc
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x1000fc60
Capabilities:
Access peb ldr_data
Resolve function by parsing pe exports

Disassembly:
push ebp
push ebx
push edi
push esi
push eax
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x14]
test eax, eax
je 0x1000fcff
mov ebp, dword [esp + 0x18]
nop dword [eax]
mov esi, dword [eax + 0x28]
movzx ebx, word [eax + 0x24]
xor edi, edi
cmp ebx, 1
jne 0x1000fca0
test bl, 1
jne 0x1000fce4
cmp edi, ebp
jne 0x1000fcf9
jmp 0x1000fd03
mov ebp, ebx
and ebp, 0xfffffffe
neg ebp
xor edi, edi
nop dword [eax]
rol edi, 0x13
movzx ecx, byte [esi]
lea edx, [ecx - 0x20]
cmp ecx, 0x60
cmovbe edx, ecx
add edx, edi
rol edx, 0x13
movzx ecx, byte [esi + 1]
lea edi, [ecx - 0x20]
cmp ecx, 0x60
cmovbe edi, ecx
add edi, edx
add esi, 2
add ebp, 2
jne 0x1000fcb0
mov ebp, dword [esp + 0x18]
test bl, 1
je 0x1000fc93
movzx ecx, byte [esi]
lea edx, [ecx - 0x20]
cmp ecx, 0x60
cmovbe edx, ecx
rol edi, 0x13
add edi, edx
cmp edi, ebp
je 0x1000fd03
mov eax, dword [eax]
test eax, eax
jne 0x1000fc80
xor eax, eax
jmp 0x1000fd61
mov eax, dword [eax + 0x10]
mov ecx, dword [eax + 0x3c]
mov edx, dword [ecx + eax + 0x78]
mov edi, dword [edx + eax + 0x20]
add edi, eax
mov ecx, edx
mov dword [esp], edx
mov esi, dword [edx + eax + 0x24]
add esi, eax
nop
mov ecx, dword [edi]
mov dl, byte [ecx + eax]
lea ebx, [ecx + eax]
add ebx, 1
xor ebp, ebp
nop dword [eax]
mov ecx, ebp
rol ecx, 0x13
movsx ebp, dl
add ebp, ecx
movzx edx, byte [ebx]
add ebx, 1
test dl, dl
jne 0x1000fd30
cmp ebp, dword [esp + 0x1c]
je 0x1000fd52
add edi, 4
add esi, 2
jmp 0x1000fd20
mov ecx, dword [esp]
mov ecx, dword [eax + ecx + 0x1c]
add ecx, eax
movzx edx, word [esi]
add eax, dword [ecx + edx*4]
add esp, 4
pop esi
pop edi
pop ebx
pop ebp
ret
Function at 0x100182f0
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x28
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001eba0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x20], 7
mov dword [ebp - 0x24], 0
mov word [ebp - 0x34], 0
mov dword [ebp - 0x10], 0
lea eax, [ebp - 0x34]
push eax
call fcn.10014fe0
add esp, 4
mov esi, eax
test eax, eax
js 0x10018373
cmp dword [ebp - 0x20], 7
lea eax, [ebp - 0x34]
jbe 0x1001835d
mov eax, dword [ebp - 0x34]
push 1
push 0
push 0
push eax
push str.edit
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
xor esi, esi
mov ecx, dword [ebp - 0x20]
cmp ecx, 8
jb 0x100183ac
mov eax, dword [ebp - 0x34]
lea edx, [ecx + ecx]
add edx, 2
cmp edx, 0x1000
jb 0x100183a2
mov edx, eax
add edx, 0xfffffffc
mov eax, dword [eax - 4]
sub edx, eax
cmp edx, 0x20
jae 0x100183c1
add ecx, ecx
add ecx, 0x25
mov edx, ecx
push edx
push eax
call fcn.10020d78
add esp, 8
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x28
pop esi
pop edi
pop ebx
pop ebp
ret 4
call fcn.100306be
nop word cs:[eax + eax]
push ebp
sub esp, 0x18
add ebp, 0xc
lea ecx, [ebp - 0x34]
call fcn.100183f0
call fcn.10025075
int3

Function at 0x10018b20
Capabilities:
Hide graphical window

Disassembly:
push esi
mov esi, dword [esp + 8]
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_IsWindow]
test eax, eax
je 0x10018b49
xor eax, eax
cmp dword [esp + 0xc], 0
setne al
lea eax, [eax + eax*4]
push eax
push dword [esi + 0xc]
call dword [sym.imp.USER32.dll_ShowWindow]
xor eax, eax
pop esi
ret 8
Function at 0x10019e80
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x42c
mov esi, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001ec00
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], eax
mov dword [ebp - 0x30], ecx
mov dword [ebp - 0x34], 0
mov dword [ebp - 0x438], 0
push 0x60
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test eax, eax
jne 0x10019eed
push 2
push 0
push esi
call dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
mov edi, eax
test eax, eax
je 0x10019f75
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceW]
test eax, eax
je 0x10019fc7
mov esi, eax
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10019fc7
mov ebx, eax
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, 0x8007000e
cmp eax, 0xffffffff
je 0x10019fce
lea edx, [eax + 1]
add edx, edx
mov dword [ebp - 0x28], edi
jb 0x1001a006
cmp edx, 0x401
jb 0x10019f7e
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 1
lea ecx, [ebp - 0x438]
push edx
call fcn.1001a200
mov ecx, dword [ebp - 0x438]
mov ebx, dword [ebp - 0x20]
test ecx, ecx
mov edi, dword [ebp - 0x28]
mov esi, 0x8007000e
mov eax, dword [ebp - 0x24]
jne 0x10019f8a
jmp 0x10019fce
call fcn.10019b60
mov esi, eax
jmp 0x10019fe3
lea ecx, [ebp - 0x434]
mov dword [ebp - 0x438], ecx
push eax
push ecx
push eax
push ebx
push 0
push 3
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
test eax, eax
je 0x10019fc7
mov edx, dword [ebp + 0x14]
mov ecx, dword [ebp - 0x438]
mov word [ecx + eax*2], 0
mov eax, dword [ebp - 0x438]
mov dword [ebp - 0x10], 0
lea ecx, [ebp - 0x34]
push edx
push eax
call fcn.1001a080
mov edi, dword [ebp - 0x28]
jmp 0x10019fcc
call fcn.10019b60
mov esi, eax
push edi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea eax, [ebp - 0x434]
cmp dword [ebp - 0x438], eax
je 0x10019fee
lea ecx, [ebp - 0x438]
call fcn.1001c370
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, esi
add esp, 0x42c
pop esi
pop edi
pop ebx
pop ebp
ret 0x10
mov dword [ebp - 0x24], eax
mov dword [ebp - 0x20], ebx
mov dword [ebp - 0x10], 1
push 0x80070216
call fcn.10015ab0
add ebp, 0xc
mov ebx, dword [ebp - 0x20]
mov ecx, dword [ebp - 0x2c]
jmp 0x10019f64
Function at 0x1001bb10
Capabilities:
Query or enumerate registry key

Disassembly:
push ebp
push ebx
push edi
push esi
sub esp, 0x21c
mov esi, ecx
mov eax, dword [0x1005ca38]
xor eax, esp
mov dword [esp + 0x218], eax
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov dword [esp + 0x14], 0
mov eax, dword [ecx]
mov ebx, dword [ecx + 4]
mov ecx, ebx
or ecx, 0x2001f
mov dword [esp + 0x18], 0
lea ebp, [esp + 0x18]
push ebp
push ecx
push 0
push dword [esp + 0x23c]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x1001bb75
mov edi, eax
jmp 0x1001bbe4
mov edi, dword [esp + 0x18]
mov dword [esp + 0xc], edi
and ebx, 0x300
mov dword [esp + 0x10], ebx
mov dword [esp], 0x100
lea eax, [esp + 4]
mov ecx, esp
push eax
push 0
push 0
push 0
push ecx
push ebp
push 0
push edi
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1001bc01
test edi, edi
je 0x1001bbbd
push edi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 0xc], 0
mov dword [esp + 0x10], 0
mov ecx, esi
push dword [esp + 0x230]
call fcn.1001c2c0
mov edi, eax
mov eax, dword [esp + 0xc]
test eax, eax
je 0x1001bbe4
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x218]
xor ecx, esp
call fcn.10020dc0
mov eax, edi
add esp, 0x21c
pop esi
pop edi
pop ebx
pop ebp
ret 4
lea ebx, [esp + 0xc]
nop word cs:[eax + eax]
nop
mov ecx, ebx
push ebp
call fcn.1001bb10
test eax, eax
jne 0x1001bbd3
mov dword [esp], 0x100
lea eax, [esp + 4]
push eax
push 0
push 0
push 0
lea eax, [esp + 0x10]
push eax
push ebp
push 0
push dword [esp + 0x28]
call dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
test eax, eax
je 0x1001bc10
mov edi, dword [esp + 0xc]
test edi, edi
jne 0x1001bbae
jmp 0x1001bbbd
Function at 0x1001d2a0
Capabilities:
Access peb ldr_data
Get process heap flags

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x18
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x1001ece0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x50
call fcn.10020cee
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x24], eax
mov dword [esi + 4], eax
movaps xmm0, xmmword [0x1004a9e0]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x20], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.10020cee
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, eax
add ecx, 0x40
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
movd xmm0, dword [ebp - 0x24]
pshufd xmm0, xmm0, 0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edx
add esp, 0x18
pop esi
pop edi
pop ebx
pop ebp
ret 8

Function at 0x1001fbe0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
mov eax, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea ecx, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10020bd0
mov edx, dword fs:[0]
mov dword [ebp - 0x18], edx
mov dword fs:[0], ecx
mov eax, dword [eax]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x28
call fcn.10020cee
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
movaps xmm0, xmmword [0x1004a9e0]
movups xmmword [esi + 0xc], xmm0
mov dword [esi + 0x1c], 8
mov dword [ebp - 0x20], esi
mov dword [esi], 0x3f800000
mov dword [ebp - 0x10], 0
push 0x40
call fcn.10020cee
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, eax
add ecx, 0x40
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x30], xmm0
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 8
Function at 0x1001fd20
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push ebx
push edi
push esi
sub esp, 0x1c
mov esi, ecx
mov edx, dword [ebp + 8]
mov dword [ebp - 0x1c], esp
mov dword [ebp - 0x10], 0xffffffff
lea eax, [ebp - 0x18]
mov dword [ebp - 0x14], 0x10020be0
mov ecx, dword fs:[0]
mov dword [ebp - 0x18], ecx
mov dword fs:[0], eax
mov eax, dword [edx]
mov dword [esi], eax
lea eax, [esi + 4]
mov dword [ebp - 0x24], eax
mov dword [esi + 4], 0
mov dword [esi + 8], 0
push 0x28
call fcn.10020cee
add esp, 4
mov dword [eax], eax
mov dword [eax + 4], eax
mov dword [ebp - 0x28], eax
mov dword [esi + 4], eax
mov dword [esi + 0xc], 0
mov dword [esi + 0x10], 0
mov dword [ebp - 0x20], esi
mov dword [esi + 0x14], 0
mov dword [ebp - 0x10], 0
push 0x40
call fcn.10020cee
add esp, 4
mov edx, dword [ebp - 0x20]
mov dword [edx + 0xc], eax
mov ecx, eax
add ecx, 0x40
mov dword [edx + 0x10], ecx
mov dword [edx + 0x14], ecx
movd xmm0, dword [ebp - 0x28]
pshufd xmm0, xmm0, 0
movdqu xmmword [eax], xmm0
movdqu xmmword [eax + 0x10], xmm0
movdqu xmmword [eax + 0x20], xmm0
movdqu xmmword [eax + 0x30], xmm0
mov eax, dword [edx + 4]
mov esi, dword [ebp + 8]
mov ecx, dword [esi + 4]
mov dword [edx + 4], ecx
mov dword [esi + 4], eax
mov eax, dword [edx + 8]
mov ecx, dword [esi + 8]
mov dword [edx + 8], ecx
mov dword [esi + 8], eax
mov eax, dword [edx + 0xc]
mov ecx, dword [esi + 0xc]
mov dword [edx + 0xc], ecx
mov dword [esi + 0xc], eax
mov eax, dword [edx + 0x10]
mov ecx, dword [esi + 0x10]
mov dword [edx + 0x10], ecx
mov dword [esi + 0x10], eax
mov eax, dword [edx + 0x14]
mov ecx, dword [esi + 0x14]
mov dword [edx + 0x14], ecx
mov dword [esi + 0x14], eax
mov eax, dword [esi + 0x18]
mov dword [esi + 0x18], 7
mov dword [edx + 0x18], eax
mov eax, dword [esi + 0x1c]
mov dword [esi + 0x1c], 8
mov dword [edx + 0x1c], eax
mov eax, dword [ebp - 0x18]
mov dword fs:[0], eax
mov eax, edx
add esp, 0x1c
pop esi
pop edi
pop ebx
pop ebp
ret 4