joyce8/EMBER2024-capa huggingface dataset:
Function at 0x1001c2f5
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [ebp + 8]
mov ecx, eax
push ebx
mov ebx, dword [ebp + 0xc]
and eax, 0x3f
push esi
sar ecx, 6
push edi
imul edi, eax, 0x38
mov dword [ebp - 8], ecx
mov eax, dword [ecx*4 + 0x10035ad0]
push 0xa
pop edx
mov dword [ebp - 0x18], edx
mov ecx, dword [eax + edi + 0x18]
mov dword [ebp - 0x1c], ecx
mov ecx, dword [ebp + 0x10]
test ecx, ecx
je 0x1001c33b
cmp word [ebx], dx
jne 0x1001c33b
or byte [eax + edi + 0x28], 4
jmp 0x1001c340
and byte [eax + edi + 0x28], 0xfb
lea edx, [ebx + ecx*2]
mov eax, ebx
mov dword [ebp - 0xc], edx
mov esi, ebx
mov dword [ebp - 4], eax
cmp ebx, edx
jae 0x1001c4a3
mov dword [ebp - 0x10], 0xd
movzx ecx, word [eax]
mov edx, ecx
mov dword [ebp - 0x14], edx
mov edx, dword [ebp - 0xc]
cmp ecx, 0x1a
je 0x1001c483
add eax, 2
cmp cx, word [ebp - 0x10]
je 0x1001c381
mov dword [ebp - 4], eax
mov word [esi], cx
jmp 0x1001c3b7
cmp eax, edx
jae 0x1001c3c5
movzx eax, word [eax]
xor ecx, ecx
cmp ax, word [ebp - 0x18]
mov edx, eax
push 0xa
sete cl
xor eax, eax
lea ecx, [ecx*2 + 2]
add dword [ebp - 4], ecx
pop ecx
cmp dx, cx
mov edx, dword [ebp - 0xc]
sete al
dec eax
and eax, 3
add eax, ecx
mov word [esi], ax
mov eax, dword [ebp - 4]
push 2
pop ecx
add esi, ecx
cmp eax, edx
jb 0x1001c35c
jmp 0x1001c4a3
push 0
lea eax, [ebp - 0x18]
push eax
push 2
lea eax, [ebp - 4]
push eax
push dword [ebp - 0x1c]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1001c47e
cmp dword [ebp - 0x18], 0
je 0x1001c47e
mov edx, dword [ebp - 8]
push 0xa
mov eax, dword [edx*4 + 0x10035ad0]
test byte [eax + edi + 0x28], 0x48
je 0x1001c454
lea eax, [esi + 2]
mov dword [ebp - 0x1c], eax
mov ax, word [ebp - 4]
pop ecx
mov word [ebp - 2], ax
cmp ax, cx
jne 0x1001c418
mov word [esi], cx
jmp 0x1001c44f
push 0xd
pop ecx
mov word [esi], cx
movzx ecx, ax
mov eax, dword [edx*4 + 0x10035ad0]
mov dx, word [ebp - 2]
shr ecx, 8
push 0xa
mov byte [eax + edi + 0x2a], dl
mov edx, dword [ebp - 8]
mov eax, dword [edx*4 + 0x10035ad0]
mov byte [eax + edi + 0x2b], cl
mov eax, dword [edx*4 + 0x10035ad0]
pop ecx
mov byte [eax + edi + 0x2c], cl
mov esi, dword [ebp - 0x1c]
jmp 0x1001c4a3
pop eax
cmp word [ebp - 4], ax
jne 0x1001c464
cmp esi, ebx
jne 0x1001c464
mov word [esi], ax
jmp 0x1001c4a0
push 1
push 0xffffffffffffffff
push 0xfffffffffffffffe
push dword [ebp + 8]
call fcn.1001c14a
add esp, 0x10
push 0xa
pop eax
cmp word [ebp - 4], ax
je 0x1001c4a3
push 0xd
pop eax
jmp 0x1001c45f
mov edx, dword [ebp - 8]
mov edx, dword [edx*4 + 0x10035ad0]
mov al, byte [edx + edi + 0x28]
test al, 0x40
jne 0x1001c49d
or al, 2
mov byte [edx + edi + 0x28], al
jmp 0x1001c4a3
mov word [esi], cx
add esi, 2
sub esi, ebx
and esi, 0xfffffffe
pop edi
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x1001ea2a
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x1001eac7
push ebx
push esi
call fcn.1001e9f3
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.1001d7c8
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x1001ea74
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001eac6
push edi
push eax
call fcn.10015a89
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x1001ea94
call fcn.10015a4f
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x1001eac5
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.1001d7c8
add esp, 0x20
test eax, eax
jne 0x1001eab3
push edi
call fcn.10015a4f
jmp 0x1001eabb
push ebx
call fcn.10015a4f
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x1002275b
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
push edi
call fcn.10016ec7
mov esi, dword [ebp + 8]
mov edi, eax
push 2
lea eax, [ebp - 4]
mov ecx, esi
push eax
and ecx, 0x3ff
push 0x20000001
or ecx, 0x400
push ecx
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x100227ca
cmp esi, dword [ebp - 4]
je 0x100227c5
cmp dword [ebp + 0xc], 0
je 0x100227c5
mov esi, dword [edi + 0x50]
lea ecx, [esi + 2]
mov ax, word [esi]
add esi, 2
test ax, ax
jne 0x100227a2
push dword [edi + 0x50]
sub esi, ecx
sar esi, 1
call fcn.100222ad
pop ecx
xor ecx, ecx
cmp eax, esi
setne cl
mov eax, ecx
jmp 0x100227cc
xor eax, eax
inc eax
jmp 0x100227cc
xor eax, eax
pop edi
pop esi
leave
ret
Function at 0x10022831
Capabilities:
Get geographical location

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x18
mov eax, dword [0x10034040]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push ebx
mov ebx, dword [ebp + 0x10]
push esi
mov esi, dword [ebp + 8]
push edi
mov dword [ebp - 0x18], eax
call fcn.10016ec7
add eax, 0x50
lea edi, [ebp - 0x10]
mov dword [ebp - 0x14], eax
xor eax, eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
call fcn.10016ec7
lea ecx, [ebp - 0x10]
xor edx, edx
mov dword [eax + 0x34c], ecx
lea ecx, [esi + 0x80]
mov eax, dword [ebp - 0x14]
mov dword [eax], esi
lea edi, [eax + 4]
mov dword [edi], ecx
test ecx, ecx
je 0x100228a8
cmp word [ecx], dx
je 0x100228a8
mov eax, dword [0x1002b694]
push edi
dec eax
push eax
push 0x1002b580
call fcn.100227d0
mov eax, dword [ebp - 0x14]
add esp, 0xc
xor edx, edx
mov dword [ebp - 0x10], edx
mov eax, dword [eax]
test eax, eax
je 0x1002291b
cmp word [eax], dx
je 0x1002291b
mov eax, dword [edi]
test eax, eax
je 0x100228cc
cmp word [eax], dx
je 0x100228cc
lea eax, [ebp - 0x10]
push eax
call fcn.100221b3
jmp 0x100228d5
lea eax, [ebp - 0x10]
push eax
call fcn.1002224e
cmp dword [ebp - 0x10], 0
pop ecx
jne 0x10022945
mov eax, dword [0x1002b57c]
push dword [ebp - 0x14]
dec eax
push eax
push 0x1002b270
call fcn.100227d0
add esp, 0xc
test al, al
je 0x10022945
mov eax, dword [edi]
xor edi, edi
test eax, eax
je 0x10022910
cmp word [eax], di
je 0x10022910
lea eax, [ebp - 0x10]
push eax
call fcn.100221b3
pop ecx
jmp 0x10022947
lea eax, [ebp - 0x10]
push eax
call fcn.1002224e
jmp 0x1002290d
mov eax, dword [edi]
test eax, eax
je 0x10022932
cmp word [eax], dx
je 0x10022932
lea eax, [ebp - 0x10]
push eax
call fcn.10022168
pop ecx
jmp 0x10022945
mov dword [ebp - 0x10], 0x104
call dword [sym.imp.KERNEL32.dll_GetUserDefaultLCID]
mov dword [ebp - 8], eax
mov dword [ebp - 0xc], eax
xor edi, edi
cmp dword [ebp - 0x10], 0
je 0x10022a10
lea eax, [ebp - 0x10]
push eax
lea eax, [esi + 0x100]
neg esi
sbb esi, esi
and esi, eax
push esi
call fcn.10022655
mov esi, eax
pop ecx
pop ecx
test esi, esi
je 0x10022a10
movzx ecx, si
push ecx
call dword [sym.imp.KERNEL32.dll_IsValidCodePage]
test eax, eax
je 0x10022a10
push 1
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_IsValidLocale]
test eax, eax
je 0x10022a10
mov eax, dword [ebp - 0x18]
test eax, eax
je 0x1002299d
mov dword [eax], esi
mov eax, dword [ebp - 0x14]
push edi
push 0x55
add eax, 0x250
push eax
push dword [ebp - 0xc]
call fcn.10019a30
test ebx, ebx
je 0x10022a0b
push edi
push 0x55
lea eax, [ebx + 0x120]
push eax
push dword [ebp - 0xc]
call fcn.10019a30
push 0x40
push ebx
push 0x1001
push dword [ebp - 0xc]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10022a10
push 0x40
lea eax, [ebx + 0x80]
push eax
push 0x1002
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_GetLocaleInfoW]
test eax, eax
je 0x10022a10
push 0xa
push 0x10
lea ecx, [ebx + 0x100]
push ecx
push esi
call fcn.100242c2
add esp, 0x10
xor eax, eax
inc eax
jmp 0x10022a12
xor eax, eax
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1000a439
leave
ret
Function at 0x10025bb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x10025bdd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x10025bdd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret

Function at 0x419d30
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x410015
lea edi, [esi - 0xf015]
push edi
or ebp, 0xffffffff
jmp 0x419d52
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x419d59
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x419d48
mov eax, 1
add ebx, ebx
jne 0x419d6b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x419d60
jne 0x419d7c
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419d60
xor ecx, ecx
sub eax, 3
jb 0x419d90
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x419e02
mov ebp, eax
add ebx, ebx
jne 0x419d9b
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x419da8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x419dcc
inc ecx
add ebx, ebx
jne 0x419db8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x419dad
jne 0x419dc9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x419dad
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x419dec
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x419ddd
jmp 0x419d4e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x419dec
add edi, ecx
jmp 0x419d4e
pop esi
mov edi, esi
mov ecx, 0x2b3
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x419e0a
cmp byte [edi], 5
jne 0x419e0a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x419e0f
lea edi, [esi + 0x17000]
mov eax, dword [edi]
or eax, eax
je 0x419e87
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x19000]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x1908c]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x419e3c
mov ecx, edi
jns 0x419e6b
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x19090]
or eax, eax
je 0x419e81
mov dword [ebx], eax
add ebx, 4
jmp 0x419e59
call dword [esi + 0x190a0]
mov ebp, dword [esi + 0x19094]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x419ebb
sub esp, 0xffffff80
jmp 0x404c20
Function at 0x4020e8
Capabilities:
Accept command line arguments
Query environment variable

Disassembly:
jmp 0x4020fa
mov eax, dword [0x62e09f]
shl eax, 2
mov dword [0x62e0a3], eax
push edx
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov edx, eax
call fcn.0061dccc
pop edx
call fcn.0061dbf4
call fcn.0061de28
push 0
call fcn.0061fb48
pop ecx
push 0x62e048
push 0
call sub.KERNEL32.DLL_GetModuleHandleW
mov dword [0x62e0a7], eax
push 0
jmp fcn.00629008

Function at 0x404560
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffdd0
mov dword [ebp - 0x230], 0x22c
push 0
push 2
call sub.KERNEL32.DLL_CreateToolhelp32Snapshot
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
jne 0x404589
xor eax, eax
jmp 0x404603
lea edx, [ebp - 0x230]
push edx
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32FirstW
lea ecx, [ebp - 0x20c]
push ecx
push dword [ebp + 8]
call fcn.00404608
add esp, 8
test eax, eax
jne 0x4045e6
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x228]
jmp 0x404603
lea edx, [ebp - 0x20c]
push edx
push dword [ebp + 8]
call fcn.00404608
add esp, 8
test eax, eax
jne 0x4045e6
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
mov eax, dword [ebp - 0x228]
jmp 0x404603
lea edx, [ebp - 0x230]
push edx
push dword [ebp - 4]
call sub.KERNEL32.DLL_Process32NextW
test eax, eax
jne 0x4045c0
push dword [ebp - 4]
call sub.KERNEL32.DLL_CloseHandle
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x407a40
Capabilities:
Get disk information

Disassembly:
push ebx
push esi
add esp, 0xffffffdc
mov ebx, eax
mov byte [esp], 0
test ebx, ebx
je 0x407add
mov eax, ebx
call fcn.00407d2c
test al, al
je 0x407add
mov eax, ebx
call fcn.00407b48
mov esi, eax
mov eax, ebx
call fcn.00486e88
mov edx, esi
add edx, edx
add eax, edx
sub eax, 2
mov ebx, eax
call sub.KERNEL32.DLL_GetLogicalDrives
mov esi, eax
movzx edx, word [ebx]
mov eax, edx
mov ecx, edx
add ecx, 0xffffff9f
sub cx, 0x1a
jae 0x407a96
mov eax, edx
and ax, 0xffdf
mov ebx, eax
movzx eax, byte [0x62f770]
movzx edx, byte [0x62f774]
lea ecx, [esp + 4]
mov ah, 0x20
call fcn.00484228
lea eax, [esp + 4]
mov edx, ebx
movzx edx, dl
bt dword [eax], edx
setb al
test al, al
je 0x407add
mov eax, ebx
movzx edx, byte [0x62f770]
sub al, dl
mov ecx, eax
shr esi, cl
and esi, 1
cmp esi, 1
sete byte [esp]
movzx eax, byte [esp]
add esp, 0x24
pop esi
pop ebx
ret
Function at 0x414f7c
Capabilities:
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
mov ecx, 0x631e54
test edx, edx
jne 0x414f9b
xor eax, eax
jmp 0x4150b9
mov dword [ebp - 4], 1
cmp byte [ebp - 4], 0
je 0x414fb8
push esi
push edx
push eax
call fcn.004150c0
add esp, 0xc
jmp 0x4150b9
push esi
push edx
push eax
call fcn.00415380
add esp, 0xc
jmp 0x4150b9
pop esi
pop ebx
pop ecx
pop ebp
ret
Function at 0x43c2d8
Capabilities:
Resume thread

Disassembly:
push ebp
mov ebp, esp
push 0
push 0
push ebx
mov ebx, eax
xor eax, eax
push ebp
push 0x43c376
push dword fs:[eax]
mov dword fs:[eax], esp
or dl, byte [ebx + 0xc]
je 0x43c33a
cmp byte [ebx + 0x10], 0
jne 0x43c33a
cmp byte [ebx + 0x3c], 0
jne 0x43c33a
mov byte [ebx + 0xe], 0
mov byte [ebx + 0xc], 0
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
cmp eax, 1
je 0x43c35b
lea edx, [ebp - 4]
mov eax, dword [0x63e2e4]
call fcn.00489cdc
mov ecx, dword [ebp - 4]
mov dl, 1
mov eax, dword [0x4286dc]
call fcn.0046a724
call fcn.00485928
jmp 0x43c35b
lea edx, [ebp - 8]
mov eax, dword [0x63e2e4]
call fcn.00489cdc
mov ecx, dword [ebp - 8]
mov dl, 1
mov eax, dword [0x4286dc]
call fcn.0046a724
call fcn.00485928
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x43c37d
lea eax, [ebp - 8]
mov edx, 2
call fcn.00486180
ret

Function at 0x43cc78
Capabilities:
Suspend thread

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff8
push ebx
push esi
push edi
mov dword [ebp - 4], eax
mov eax, dword [ebp - 4]
movzx eax, byte [eax + 0xe]
mov byte [ebp - 5], al
xor eax, eax
push ebp
push 0x43ccc6
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp - 4]
mov byte [eax + 0xe], 1
mov eax, dword [ebp - 4]
mov eax, dword [eax + 4]
push eax
call sub.KERNEL32.DLL_SuspendThread
test eax, eax
setge dl
mov eax, dword [ebp - 4]
call fcn.0043c210
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
jmp 0x43ccdf
pop edi
pop esi
pop ebx
pop ecx
pop ecx
pop ebp
ret

Function at 0x43cce8
Capabilities:
Resume thread

Disassembly:
push ebx
push esi
mov ebx, eax
mov eax, dword [ebx + 4]
push eax
call sub.KERNEL32.DLL_ResumeThread
mov esi, eax
test esi, esi
setge dl
mov eax, ebx
call fcn.0043c210
dec esi
jne 0x43cd0a
mov byte [ebx + 0xe], 0
pop esi
pop ebx
ret

Function at 0x43ef8c
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
push edi
mov edi, 0x63eeac
cmp dword [edi], 0
jne 0x43f008
push 0x40
push 0x1000
push 0x1000
push 0
call sub.KERNEL32.DLL_VirtualAlloc
mov esi, eax
mov eax, dword [0x63eea8]
mov dword [esi], eax
lea edx, [esi + 4]
mov eax, 0x634224
mov ecx, 2
call fcn.00483c8c
mov edx, 0x43ef64
lea eax, [esi + 5]
call fcn.0043ef84
mov dword [esi + 6], eax
lea ebx, [esi + 0xa]
mov byte [ebx], 0xe8
lea edx, [esi + 4]
mov eax, ebx
call fcn.0043ef84
mov dword [ebx + 1], eax
mov eax, dword [edi]
mov dword [ebx + 5], eax
mov dword [edi], ebx
add ebx, 0xd
mov eax, ebx
sub eax, esi
cmp eax, 0xffc
jl 0x43efdd
mov dword [0x63eea8], esi
mov eax, dword [edi]
mov ebx, dword [edi]
mov edx, dword [ebx + 5]
mov dword [edi], edx
mov edx, dword [ebp + 8]
mov dword [ebx + 5], edx
mov edx, dword [ebp + 0xc]
mov dword [ebx + 9], edx
pop edi
pop esi
pop ebx
pop ebp
ret 8
Function at 0x444b3c
Capabilities:
Delete registry key
Query or enumerate registry key

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffc4
push ebx
xor ecx, ecx
mov dword [ebp - 0x3c], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], ecx
mov ebx, edx
mov dword [ebp - 0xc], eax
xor eax, eax
push ebp
push 0x444cf7
push dword fs:[eax]
mov dword fs:[eax], esp
lea eax, [ebp - 4]
mov edx, ebx
call fcn.00486548
mov eax, dword [ebp - 4]
call fcn.004443f4
mov byte [ebp - 0x11], al
cmp byte [ebp - 0x11], 0
jne 0x444b8e
lea eax, [ebp - 4]
mov ecx, 1
mov edx, 1
call fcn.00487284
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 4]
mov dword [ebp - 0x18], eax
mov edx, ebx
mov eax, dword [ebp - 0xc]
call fcn.00445778
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x444c6d
xor eax, eax
push ebp
push 0x444c66
push dword fs:[eax]
mov dword fs:[eax], esp
mov edx, dword [ebp - 0x1c]
mov eax, dword [ebp - 0xc]
call fcn.0044472c
lea edx, [ebp - 0x38]
mov eax, dword [ebp - 0xc]
call fcn.00444d2c
test al, al
je 0x444c44
mov ecx, dword [ebp - 0x34]
inc ecx
lea eax, [ebp - 8]
xor edx, edx
call fcn.004862a8
mov ebx, dword [ebp - 0x38]
dec ebx
cmp ebx, 0
jl 0x444c44
mov eax, dword [ebp - 0x34]
inc eax
mov dword [ebp - 0x10], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0x10]
push eax
mov eax, dword [ebp - 8]
call fcn.00486e88
push eax
push ebx
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegEnumKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044468c
test al, al
je 0x444c3e
mov eax, dword [ebp - 8]
call fcn.00486e88
mov edx, eax
lea eax, [ebp - 0x3c]
call fcn.00486ee0
mov edx, dword [ebp - 0x3c]
mov eax, dword [ebp - 0xc]
call fcn.00444b3c
dec ebx
cmp ebx, 0xffffffff
jne 0x444bed
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444c6d
mov edx, dword [ebp - 0x18]
mov eax, dword [ebp - 0xc]
call fcn.0044472c
mov eax, dword [ebp - 0x1c]
push eax
call sub.ADVAPI32.DLL_RegCloseKey
ret
cmp byte [0x63eeb8], 0
je 0x444cad
push 0
mov eax, dword [ebp - 0xc]
mov eax, dword [eax + 0x18]
and eax, 0x300
push eax
mov eax, dword [ebp - 4]
call fcn.00486e88
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00444718
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyExW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044468c
mov ebx, eax
jmp 0x444cd4
mov eax, dword [ebp - 4]
call fcn.00486e88
push eax
movzx edx, byte [ebp - 0x11]
mov eax, dword [ebp - 0xc]
call fcn.00444718
push eax
call sub.ADVAPI32.DLL_RegDeleteKeyW
mov edx, eax
mov eax, dword [ebp - 0xc]
call fcn.0044468c
mov ebx, eax
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x444cfe
lea eax, [ebp - 0x3c]
call fcn.00486120
lea eax, [ebp - 8]
mov edx, 2
call fcn.00486180
ret
Function at 0x445654
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov edi, edx
mov ebx, eax
movzx eax, byte [ebp + 8]
call fcn.0044440c
mov esi, eax
mov eax, dword [ebp + 0xc]
push eax
mov eax, dword [ebp - 4]
push eax
push esi
push 0
mov eax, edi
call fcn.00486e88
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegSetValueExW
mov edx, eax
mov eax, ebx
call fcn.0044468c
test al, al
jne 0x4456bc
mov dword [ebp - 0xc], edi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x63e984]
mov dl, 1
mov eax, dword [0x4431e0]
call fcn.0046a928
call fcn.00485928
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x4456c8
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xfffffff4
push ebx
push esi
push edi
mov edi, ecx
mov esi, edx
mov ebx, eax
xor eax, eax
mov dword [ebp - 4], eax
lea eax, [ebp + 0xc]
push eax
push edi
lea eax, [ebp - 4]
push eax
push 0
mov eax, esi
call fcn.00486e88
push eax
mov eax, dword [ebx + 4]
push eax
call sub.ADVAPI32.DLL_RegQueryValueExW
mov edx, eax
mov eax, ebx
call fcn.0044468c
test al, al
jne 0x445729
mov dword [ebp - 0xc], esi
mov byte [ebp - 8], 0x11
lea eax, [ebp - 0xc]
push eax
push 0
mov ecx, dword [0x63e988]
mov dl, 1
mov eax, dword [0x4431e0]
call fcn.0046a928
call fcn.00485928
mov ebx, dword [ebp + 0xc]
mov eax, dword [ebp - 4]
call fcn.0044443c
mov edx, dword [ebp + 8]
mov byte [edx], al
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x445d28
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
add esp, 0xffffffd0
push ebx
push esi
push edi
xor ecx, ecx
mov dword [ebp - 0x30], ecx
mov dword [ebp - 4], ecx
mov dword [ebp - 8], edx
mov esi, eax
xor eax, eax
push ebp
push 0x445e50
push dword fs:[eax]
mov dword fs:[eax], esp
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov eax, dword [eax + 4]
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, esi
call fcn.0044472c
xor eax, eax
push ebp
push 0x445e2b
push dword fs:[eax]
mov dword fs:[eax], esp
lea edx, [ebp - 0x2c]
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.00444d2c
test al, al
je 0x445e0f
mov eax, dword [ebp + 8]
push eax
xor ecx, ecx
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00445c08
pop ecx
mov ecx, dword [ebp - 0x20]
inc ecx
lea eax, [ebp - 4]
xor edx, edx
call fcn.004862a8
mov ebx, dword [ebp - 0x24]
dec ebx
test ebx, ebx
jl 0x445e0f
inc ebx
xor edi, edi
mov eax, dword [ebp - 0x20]
inc eax
mov dword [ebp - 0xc], eax
push 0
push 0
push 0
push 0
lea eax, [ebp - 0xc]
push eax
mov eax, dword [ebp - 4]
call fcn.00486e88
push eax
push edi
push esi
call sub.ADVAPI32.DLL_RegEnumValueW
mov edx, eax
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
call fcn.0044468c
test al, al
je 0x445e0b
mov eax, dword [ebp + 8]
push eax
mov eax, dword [ebp - 4]
call fcn.00486e88
mov edx, eax
lea eax, [ebp - 0x30]
call fcn.00486ee0
mov ecx, dword [ebp - 0x30]
mov edx, dword [ebp - 8]
mov eax, esi
call fcn.00445c08
pop ecx
inc edi
dec ebx
jne 0x445db3
xor eax, eax
pop edx
pop ecx
pop ecx
mov dword fs:[eax], edx
push 0x445e32
mov eax, dword [ebp + 8]
mov eax, dword [eax - 4]
mov edx, dword [ebp - 0x10]
call fcn.0044472c
ret