joyce8/EMBER2024-capa huggingface dataset:
Function at 0x40a79a
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
cmp byte [0x471378], 0
jne 0x40a86d
cmp byte [0x471379], 0
jne 0x40a86d
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push eax
push 0x20019
xor ebx, ebx
mov edx, 0x80000002
push ecx
inc ebx
push 0x3d7210
mov byte [0x471378], bl
call fcn.0040fa36
test eax, eax
jne 0x40a86c
push esi
push 4
pop esi
lea eax, [ebp - 8]
mov dword [ebp - 8], esi
push eax
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x3daba4
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x40a81c
cmp dword [ebp - 0xc], esi
jne 0x40a81c
cmp dword [ebp - 0x14], eax
ja 0x40a81e
xor bl, bl
cmp dword [0x4728b4], 0
mov byte [0x471379], bl
mov dword [ebp - 8], esi
ja 0x40a862
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
lea eax, [ebp - 0xc]
push eax
push 0
push 0x3dabbc
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegQueryValueExW]
test eax, eax
jne 0x40a862
cmp dword [ebp - 0xc], esi
jne 0x40a862
cmp dword [ebp - 0x10], eax
jbe 0x40a862
push dword [ebp - 0x10]
call fcn.00444a9c
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
pop esi
pop ebx
leave
ret

Function at 0x40ba46
Capabilities:
Parse pe header

Disassembly:
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x40ba5d
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
je 0x40ba5f
xor eax, eax
ret

Function at 0x40c02d
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x78
push ebx
push esi
push edi
mov dword [ebp - 0x14], edx
in al, dx

Function at 0x40c038
Capabilities:
Access peb ldr_data
Get number of processors

Disassembly:
in al, dx
mov dword [ebp - 0x10], ecx
push eax
mov eax, dword fs:[0x30]
mov dword [ebp - 4], eax
pop eax
mov eax, dword [ebp - 4]
mov edi, dword [eax + 0xc]
add edi, 0xc
mov dword [ebp - 0xc], edi
mov esi, dword [edi]
cmp esi, edi
je 0x40c0e8
xor eax, eax
mov ebx, eax
cmp dword [esi + 0x30], eax
je 0x40c0b8
cmp dword [esi + 0x30], 0xffff
je 0x40c0b8
lea eax, [ebp - 0x78]
push 0x64
push eax
call fcn.0040b9fc
mov eax, dword [esi + 0x30]
pop ecx
pop ecx
xor ecx, ecx
jmp 0x40c087
inc ebx
lea eax, [eax + 2]
cmp word [eax], cx
jne 0x40c083
test ebx, ebx
jle 0x40c0ab
mov edi, ecx
mov eax, dword [esi + 0x30]
mov cx, word [eax + edi*2]
call fcn.0040ba2e
mov word [ebp + edi*2 - 0x78], ax
inc edi
cmp edi, ebx
jl 0x40c092
mov edi, dword [ebp - 0xc]
lea ecx, [ebp - 0x78]
call fcn.0040baea
cmp dword [ebp - 0x10], eax
je 0x40c0c0
mov eax, dword [esi]
mov esi, eax
cmp eax, edi
jmp 0x40c057
mov edi, dword [ebp - 0x14]
test edi, edi
je 0x40c0e3
push dword [esi + 0x28]
call fcn.0040bfe6
lea eax, [eax*2 + 2]
push eax
push dword [esi + 0x28]
push edi
call fcn.0040bfa9
add esp, 0x10
mov eax, dword [esi + 0x18]
jmp 0x40c0ea
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40c1cf
Capabilities:
Authenticate hmac

Disassembly:
push esi
mov esi, ecx
push esi
call fcn.0040bfe6
pop ecx
test eax, eax
je 0x40c1f0
lea ecx, [esi + eax*2]
mov edx, ecx
dec eax
sub ecx, 2
cmp word [ecx], 0x5c
je 0x40c1f5
test eax, eax
jne 0x40c1e0
or eax, 0xffffffff
pop esi
ret
mov ecx, edx
pop esi
jmp fcn.0040baea

Function at 0x40c36c
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push esi
mov esi, ecx
mov ecx, dword [ebp + 8]
mov eax, ecx
mov byte [ebp + 0xb], cl
shr eax, 0x18
mov byte [ebp + 8], al
mov eax, ecx
shr eax, 0x10
mov byte [ebp + 9], al
mov eax, ecx
push edi
mov edi, edx
shr eax, 8
xor ecx, ecx
mov byte [ebp + 0xa], al
mov edx, ecx
test edi, edi
je 0x40c3b3
mov al, byte [ebp + ecx + 8]
xor byte [edx + esi], al
lea eax, [ecx + 1]
sub ecx, 3
inc edx
neg ecx
sbb ecx, ecx
and ecx, eax
cmp edx, edi
jb 0x40c39b
pop edi
pop esi
pop ebp
ret

Function at 0x40c3b7
Capabilities:
Enumerate pe sections

Disassembly:
push esi
push edi
movzx edi, word [ecx + 6]
xor esi, esi
test edi, edi
je 0x40c3e3
movzx eax, word [ecx + 0x14]
add ecx, 0x18
add ecx, eax
cmp edx, dword [ecx + 0xc]
jb 0x40c3db
mov eax, dword [ecx + 0x10]
add eax, dword [ecx + 0xc]
cmp edx, eax
jbe 0x40c3e9
inc esi
add ecx, 0x28
cmp esi, edi
jb 0x40c3cc
or eax, 0xffffffff
pop edi
pop esi
ret
mov eax, dword [ecx + 0x14]
sub eax, dword [ecx + 0xc]
add eax, edx
jmp 0x40c3e6

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2c4
mov eax, dword [ebp + 8]
mov dword [eax + 0x23c], 1
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x228], 0
xor edx, edx
mov ecx, 0x6ae69f02
call fcn.0040c02d
mov edx, dword [ebp + 8]
mov dword [edx + 8], eax
xor edx, edx
mov ecx, 0xa7dc6e73
call fcn.0040c02d
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x14], eax
push 0x208
lea edx, [ebp - 0x2c4]
push edx
call fcn.0040b9fc
add esp, 8
lea edx, [ebp - 0x2c4]
mov ecx, 0x84c05e40
call fcn.0040c02d
mov ecx, dword [ebp + 8]

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

Disassembly:
mov dword [ecx + 0xc], eax
mov edx, dword [ebp + 8]
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
mov dword [edx + 0x10], ecx
mov edx, 0x10066f2f
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
Function at 0x40cc40
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov dword [ecx + 0x38], eax
mov edx, 0xa1efe929
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x3c], eax
mov edx, 0xa7fb4165
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
dec dword [ebx + 0x4189084d]
inc eax
mov edx, 0x95c03d0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x44], eax
mov edx, 0x180c0d23
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x48], eax
mov edx, 0xcb1508dc
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x4c], eax
mov edx, 0x3fc1bd8d
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x50], eax
mov edx, 0xb64c13ee
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x54], eax
mov edx, 0xe9258e7a
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x58], eax
mov edx, 0x72641c0b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x5c], eax
mov edx, 0x2e50340b
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 8]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x60], eax
mov edx, 0xd6c37a18
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
call fcn.0040bf41
mov ecx, dword [ebp + 8]
mov dword [ecx + 0x64], eax
mov edx, 0xde73fed
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
invalid
Function at 0x40db8e
Capabilities:
64-bit execution via heavens gate

Disassembly:
mov ah, 0
add byte [eax], al
add byte [ebx - 0x3d7c03ab], cl
or byte [ecx + 0x458bfc55], cl
cld

Function at 0x40dcb0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp + 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 4], eax
mov dword [ebp - 8], 0
jmp 0x40dce2
mov ecx, dword [ebp - 8]
add ecx, 1
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 4]
add edx, 0x28
mov dword [ebp - 4], edx
mov eax, dword [ebp + 8]
movzx ecx, word [eax + 6]
cmp dword [ebp - 8], ecx
jge 0x40dd26
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x10]
mov dword [ebp - 0x10], edx
mov ecx, dword [ebp + 0xc]
cmp ecx, dword [ebp - 0xc]
jb 0x40dd24
mov edx, dword [ebp + 0xc]
cmp edx, dword [ebp - 0x10]
ja 0x40dd24
mov eax, dword [ebp + 0xc]
sub eax, dword [ebp - 0xc]
inc ebp
hlt
mov ecx, dword [ebp - 4]
add eax, dword [ecx + 0x14]
jmp 0x40dd29
jmp 0x40dcd0
or eax, 0xffffffff
mov esp, ebp
pop ebp
ret
Function at 0x40efc0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
push esi
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
call fcn.0040ba46
mov dword [ebp - 4], eax
push 4
push 0x1000
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x50]
push edx
push 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x80]
call ecx
mov edx, dword [ebp + 0xc]
mov dword [edx + 0x6c], eax
mov eax, dword [ebp + 0xc]
cmp dword [eax + 0x6c], 0
jne 0x40f006
xor al, al
jmp 0x40f0d0
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x54]
push edx
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 0x6c]
push eax
call fcn.0040bfa9
add esp, 0xc
mov ecx, dword [ebp - 4]
movzx edx, word [ecx + 6]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 4]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 4]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 8], eax
mov dword [ebp - 0x10], 0
jmp 0x40f059
mov ecx, dword [ebp - 0x10]
add ecx, 1
mov dword [ebp - 0x10], ecx
mov edx, dword [ebp - 8]
add edx, 0x28
mov dword [ebp - 8], edx
mov eax, dword [ebp - 0x10]
cmp eax, dword [ebp - 0x14]
jae 0x40f0a6
mov dword [ebp - 0xc], 0
jmp 0x40f073
mov ecx, dword [ebp - 0xc]
add ecx, 1
mov dword [ebp - 0xc], ecx
mov edx, dword [ebp - 8]
mov eax, dword [ebp - 0xc]
cmp eax, dword [edx + 0x10]
jae 0x40f0a4
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x20]
mov eax, dword [ebp - 8]
add edx, dword [eax + 0x14]
mov ecx, dword [ebp + 0xc]
mov eax, dword [ecx + 0x6c]
mov ecx, dword [ebp - 8]
add eax, dword [ecx + 0xc]
mov ecx, dword [ebp - 0xc]
mov esi, dword [ebp - 0xc]
mov dl, byte [edx + esi]
mov byte [eax + ecx], dl
jmp 0x40f06a
jmp 0x40f047
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0xc]
push ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x34]
push eax
mov ecx, dword [ebp + 0xc]
mov edx, dword [ecx + 0x6c]
push edx
call fcn.0040f8a0
add esp, 0xc
movzx eax, al
test eax, eax
jne 0x40f0ce
xor al, al
jmp 0x40f0d0
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x40f630
Capabilities:
Inspect section memory permissions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1c
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
and eax, 0x20000000
je 0x40f650
invalid
mov dword [ebp - 0x14], 1
mov dword [ebp - 0x14], 0

Function at 0x40f7a0
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov dword [ebp - 0x1c], 0
mov dword [ebp - 0x20], 0
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 0xc]
add ecx, dword [eax + 0x3c]
mov dword [ebp - 8], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 0x14]
mov ecx, dword [ebp - 8]
lea edx, [ecx + eax + 0x18]
mov dword [ebp - 4], edx
mov dword [ebp - 0xc], 0
jmp 0x40f7ec
Function at 0x411380
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov ecx, dword [ebp + 8]
call fcn.0040ba46
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
movzx ecx, word [eax + 0x14]
mov edx, dword [ebp - 8]
lea eax, [edx + ecx + 0x18]
mov dword [ebp - 0xc], eax
mov dword [ebp - 4], 0
jmp 0x4113b4
mov ecx, dword [ebp - 4]
add ecx, 1
mov dword [ebp - 4], ecx
mov edx, dword [ebp - 8]
movzx eax, word [edx + 6]
cmp dword [ebp - 4], eax
jge 0x4113ff
imul ecx, dword [ebp - 4], 0x28
mov edx, dword [ebp - 0xc]
cmp dword [edx + ecx], 0x7865742e
jne 0x4113fd
imul eax, dword [ebp - 4], 0x28
mov ecx, dword [ebp - 0xc]
mov edx, dword [ebp + 8]
add edx, dword [ecx + eax + 0xc]
mov eax, dword [ebp + 0xc]
mov dword [eax], edx
imul ecx, dword [ebp - 4], 0x28
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
mov edx, dword [ebp - 0xc]
add eax, dword [edx + ecx + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ecx + 4], eax
mov al, 1
jmp 0x411401
jmp 0x4113ab
xor al, al
mov esp, ebp
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
call fcn.0040ba46
mov dword [ebp - 0xc], eax
mov ecx, 8
imul edx, ecx, 0
mov eax, dword [ebp + 8]
mov ecx, dword [eax + 0x1c]
mov eax, dword [ebp - 0xc]
add ecx, dword [eax + edx + 0x78]
mov dword [ebp - 4], ecx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x20]
mov dword [ebp - 0x20], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x1c]
mov dword [ebp - 0x18], edx
mov ecx, dword [ebp + 8]
mov edx, dword [ecx + 0x1c]
mov eax, dword [ebp - 4]
add edx, dword [eax + 0x24]
mov dword [ebp - 0x14], edx
mov ecx, 1
test ecx, ecx
je 0x4116db
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x18]
push eax
push 0
mov ecx, dword [ebp + 8]
push ecx
call fcn.00411360
add esp, 0xc
mov dword [ebp - 0x10], eax
mov edx, dword [ebp - 0x10]
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax + edx*2]
mov edx, dword [ebp + 8]
mov eax, dword [edx + 0x1c]
mov edx, dword [ebp - 0x18]
add eax, dword [edx + ecx*4]
mov dword [ebp - 0x1c], eax
mov eax, dword [ebp - 0x1c]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004115e0
add esp, 8
mov dword [ebp - 8], eax
mov edx, dword [ebp + 8]
or byte [ebx - 0x74adc33e], al
inc ebp
clc
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004114a0
add esp, 0xc
movzx edx, al
test edx, edx
je 0x4116d9
mov eax, dword [ebp - 8]
jmp 0x4116dd
jmp 0x411669
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x42c999
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
mov ebx, dword [ebp + 0x28]
xor eax, eax
push esi
push edi
mov edi, dword [ebp + 0x1c]
mov word [ebx], ax
mov eax, dword [ebp + 0x30]
mov dword [ebp - 8], edx
mov dword [ebp - 0xc], ecx
mov byte [eax], 0
xor eax, eax
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
sub eax, 0
je 0x42ca0e
sub eax, 1
je 0x42ca05
sub eax, 1
je 0x42c9df
sub eax, 1
jne 0x42ca18
push edi
call fcn.00407250
jmp 0x42ca15
test edi, edi
js 0x42c9fc
mov edi, 0x8007029c
push edi
push 2
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.0042d72c
mov ecx, edi
call fcn.0042d258
jmp 0x42ca15
mov ecx, edi
call fcn.0042d26b
jmp 0x42ca15
mov ecx, edi
call fcn.0042d245
mov dword [ebp - 4], eax
mov esi, dword [ebp + 0x38]
mov eax, dword [ebp + 0x18]
mov dword [esi], eax
xor eax, eax
mov dword [esi + 4], edi
inc eax
lock xadd dword [0x4713b0], eax
inc eax
mov dword [esi + 8], eax
mov eax, dword [ebp + 0x20]
test eax, eax
je 0x42ca40
xor ecx, ecx
cmp word [eax], cx
jne 0x42ca42
xor eax, eax
mov dword [esi + 0xc], eax
call dword [sym.imp.api_ms_win_core_processthreads_l1_1_0.dll_GetCurrentThreadId]
mov dword [esi + 0x10], eax
lea edi, [esi + 0x2c]
mov eax, dword [ebp + 8]
xor edx, edx
mov dword [esi + 0x1c], eax
mov eax, dword [ebp - 8]
mov dword [esi + 0x20], eax
mov eax, dword [ebp - 4]
mov dword [esi + 0x24], eax
mov eax, dword [ebp + 0x10]
mov dword [esi + 0x14], eax
mov eax, dword [ebp + 0xc]
mov dword [esi + 0x18], eax
mov eax, dword [ebp + 0x14]
mov dword [esi + 0x48], eax
mov eax, dword [ebp - 0xc]
mov dword [esi + 0x4c], eax
xor eax, eax
push 6
pop ecx
mov dword [esi + 0x28], edx
rep stosd dword es:[edi], eax
mov edi, dword [0x472900]
test edi, edi
je 0x42ca9b
mov ecx, edi
call dword [0x473670]
call edi
mov edi, dword [0x4712c4]
mov dword [esi + 0x44], eax
test edi, edi
je 0x42cabb
push 0x400
push dword [ebp + 0x30]
mov ecx, edi
push esi
call dword [0x473670]
call edi
mov edi, dword [0x47299c]
test edi, edi
je 0x42cad0
push esi
mov ecx, edi
call dword [0x473670]
call edi
mov edi, dword [0x4729a4]
test edi, edi
je 0x42cae5
push esi
mov ecx, edi
call dword [0x473670]
call edi
xor eax, eax
cmp dword [esi + 4], eax
jl 0x42cafd
cmp dword [ebp + 0x18], 3
jne 0x42cb86
mov dword [esi + 4], 0x8000ffff
call fcn.0042c95c
mov edi, dword [0x472988]
test al, al
jne 0x42cb29
test edi, edi
je 0x42cb62
cmp byte [0x472994], al
jne 0x42cb62
xor eax, eax
mov ecx, edi
push eax
push eax
push esi
call dword [0x473670]
call edi
jmp 0x42cb62
test edi, edi
je 0x42cb47
cmp byte [0x472994], 0
jne 0x42cb47
push 0x800
push ebx
push esi
mov ecx, edi
call dword [0x473670]
call edi
xor eax, eax
cmp word [ebx], ax
jne 0x42cb5b
push esi
mov edx, 0x800
mov ecx, ebx
call fcn.0042c4c6
push ebx
call dword [sym.imp.api_ms_win_core_debug_l1_1_0.dll_OutputDebugStringW]
cmp byte [0x47298c], 0
je 0x42cb7f
mov esi, dword [0x4728f8]
test esi, esi
je 0x42cb7f
mov ecx, esi
call dword [0x473670]
call esi
pop edi
pop esi
pop ebx
leave
ret 0x34
call fcn.0042e361
int3
Function at 0x431632
Capabilities:
Get common file path

Disassembly:
push 0x42c
mov eax, 0x41c0e5
call fcn.0040bc61
mov dword [ebp - 0x434], edx
mov esi, ecx
mov dword [ebp - 0x438], esi
mov eax, dword [ebp + 0x14]
mov ebx, dword [ebp + 0x10]
mov dword [ebp - 0x430], eax
lea eax, [ebp - 0x218]
push eax
push 1
push 0
push esi
push 0
call dword [sym.imp.ext_ms_win_shell32_shellfolders_l1_1_0.dll_SHGetFolderPathW]
mov edi, eax
test edi, edi
js 0x431745
push 0x3d70b8
mov edx, 0x104
lea ecx, [ebp - 0x218]
call fcn.003f0c07
mov ecx, dword [ebp + 4]
mov edi, eax
test edi, edi
jns 0x4316ac
push edi
push 0x3d9960
mov edx, 0x387
call fcn.0042e47c
jmp 0x431802
push 0x3d7ce8
lea ecx, [ebp - 0x424]
call fcn.003f34c2
xor esi, esi
mov dword [ebp - 4], esi
cmp dword [ebp - 0x424], esi
jne 0x4316d8
mov eax, 0x8007000e
mov edx, 0x391
mov edi, eax
push eax
jmp 0x431727
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x424]
call fcn.0042faf5
cmp dword [ebp - 0x424], esi
jne 0x431701
mov eax, 0x8007000e
mov edx, 0x398
mov edi, eax
push eax
jmp 0x431727
push dword [ebp - 0x430]
mov edx, dword [ebp - 0x434]
mov ecx, dword [ebp - 0x424]
sub esp, 0xc
call fcn.00431356
mov edi, eax
test edi, edi
jns 0x431734
push edi
mov edx, 0x39d
mov ecx, dword [ebp + 4]
push 0x3d9960
call fcn.0042e47c
push dword [ebp - 0x424]
call dword [sym.imp.OLEAUT32.dll_SysStringLen]
jmp 0x431802
push esi
push 0x3de4cc
push edi
push 0x3d9960
push 0x3a4
push dword [ebp + 4]
call fcn.00434a06
xor esi, esi
lea eax, [ebp - 0x420]
push 0x208
push esi
push eax
mov dword [ebp - 0x42c], esi
mov dword [ebp - 0x428], esi
call fcn.0040cfd6
add esp, 0x24
lea eax, [ebp - 0x420]
push 0x104
push eax
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
lea eax, [ebp - 0x420]
push eax
lea ecx, [ebp - 0x42c]
call fcn.0043496f
mov dword [ebp - 4], 1
lea ecx, [ebp - 0x42c]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x7df
call fcn.004349a0
push dword [ebx + 8]
mov ecx, ebx
mov dword [ebx + 0xc], eax
call fcn.003fe5c5
mov esi, dword [ebx + 0xc]
push dword [ebp - 0x438]
mov edx, dword [ebx + 8]
push 0x3d77e4
sub edx, esi
lea eax, [eax + esi*2]
push edx
push eax
call fcn.003ed6f4
add esp, 0xc
mov ecx, ebx
call fcn.003fe58d
lea ecx, [ebp - 0x42c]
call fcn.0040a882
mov eax, edi
call fcn.0040bc10
ret 0x10
Function at 0x434828
Capabilities:
Check for time delay via gettickcount
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
cmp dword [0x472a30], 0
je 0x43484b
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
sub eax, dword [0x472a2c]
cmp eax, 0x4e20
jbe 0x4348b0
and dword [ebp - 4], 0
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
mov dword [ebp - 8], 4
push eax
push 0
push 0x18
push 0x3d97ec
push 0x3d7210
push 0x80000002
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegGetValueW]
test eax, eax
je 0x43489d
mov dword [ebp - 4], 1
call fcn.004348b7
mov ecx, eax
call fcn.00434305
test eax, eax
je 0x43489d
mov eax, dword [ebp - 4]
or eax, 2
mov dword [ebp - 4], eax
jmp 0x4348a0
mov eax, dword [ebp - 4]
mov dword [0x472a30], eax
call dword [sym.imp.api_ms_win_core_sysinfo_l1_1_0.dll_GetTickCount]
mov dword [0x472a2c], eax
mov eax, dword [0x472a30]
leave
ret

Function at 0x434a5c
Capabilities:
Delete registry value
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
test byte [0x472941], 8
mov dword [ebp - 8], ecx
je 0x434a80
push ecx
mov edx, 0x3d9e28
mov ecx, 0x4705c0
call fcn.00436513
and dword [ebp - 4], 0
lea eax, [ebp - 4]
push ebx
push esi
push eax
push 0xf003f
push ecx
push 0x3d7210
mov edx, 0x80000002
call fcn.0040fa36
mov esi, eax
mov ebx, 0x80070000
test esi, esi
jle 0x434ab1
movzx esi, si
or esi, ebx
test esi, esi
jns 0x434acb
mov ecx, dword [ebp + 4]
mov edx, 0x701
push esi
push 0x3d9960
call fcn.0042e47c
jmp 0x434b7d
cmp dword [ebp - 8], 1
push edi
mov edi, 0x3d9960
jne 0x434b26
call fcn.00436343
mov esi, eax
test esi, esi
jns 0x434aee
push esi
push edi
mov edx, 0x70a
jmp 0x434b74
push 0x3d984c
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegDeleteValueW]
mov esi, eax
cmp esi, 2
je 0x434b08
cmp esi, 3
jne 0x434b0a
xor esi, esi
test esi, esi
jle 0x434b15
movzx esi, si
or esi, ebx
test esi, esi
jns 0x434b2a
mov ecx, dword [ebp + 4]
mov edx, 0x715
push esi
push edi
call fcn.0042e47c
test esi, esi
js 0x434b7c
push 4
lea eax, [ebp - 8]
push eax
push 4
push 0x3d7844
push 0
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
mov esi, eax
test esi, esi
jle 0x434b4f
movzx esi, si
or esi, ebx
test esi, esi
jns 0x434b59
push esi
mov edx, 0x71d
jmp 0x434b73
lea ecx, [ebp - 0x14]
call fcn.0040ead2
lea ecx, [ebp - 0x14]
call fcn.0040eb5a
test eax, eax
jns 0x434b7c
push eax
mov edx, 0x721
push edi
mov ecx, dword [ebp + 4]
call fcn.0042e47c
pop edi
cmp dword [ebp - 4], 0
je 0x434b8c
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
mov eax, esi
pop esi
pop ebx
leave
ret
Function at 0x435418
Capabilities:
Set registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
push edi
lea eax, [ebp - 4]
mov edx, 0x80000002
push eax
push 2
push ecx
push 0x3de6d0
call fcn.0040fa36
mov esi, eax
mov edi, 0x80070000
test esi, esi
jle 0x435449
movzx esi, si
or esi, edi
test esi, esi
js 0x43547e
push 4
lea eax, [ebp - 8]
mov dword [ebp - 8], 1
push eax
push 4
push 0x3de720
push 0
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_shcore_registry_l1_1_0.dll_SHSetValueW]
mov esi, eax
test esi, esi
jle 0x435475
movzx esi, si
or esi, edi
push dword [ebp - 4]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
leave
ret

Function at 0x4354ce
Capabilities:
Set registry value

Disassembly:
push 0x21c
mov eax, 0x41c59b
call fcn.0040bc61
mov ebx, edx
mov dword [ebp - 0x228], ecx
lea eax, [ebp - 0x21c]
mov edx, 0x80000002
push eax
push 0xf003f
push ecx
push 0x3d7210
call fcn.0040fa36
mov edi, eax
test edi, edi
jle 0x435510
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp + 4]
xor esi, esi
test edi, edi
jns 0x43552b
push edi
push 0x3d9960
mov edx, 0x2e3
call fcn.0042e47c
jmp 0x435582
push 4
lea eax, [ebp - 0x228]
push eax
push 4
push esi
push 0x3d97ec
push dword [ebp - 0x21c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegSetValueExW]
mov edi, eax
test edi, edi
jle 0x435557
movzx edi, di
or edi, 0x80070000
mov ecx, dword [ebp + 4]
test edi, edi
jns 0x43556e
push edi
push 0x3d9960
mov edx, 0x2e8
call fcn.0042e47c
push dword [ebp - 0x21c]
call dword [sym.imp.api_ms_win_core_registry_l1_1_0.dll_RegCloseKey]
test edi, edi
jns 0x435608
push 0x208
lea eax, [ebp - 0x218]
mov dword [ebp - 0x224], esi
push esi
push eax
mov dword [ebp - 0x220], esi
call fcn.0040cfd6
add esp, 0xc
lea eax, [ebp - 0x218]
push 0x104
push eax
push esi
call dword [sym.imp.api_ms_win_core_libraryloader_l1_2_0.dll_GetModuleFileNameW]
lea eax, [ebp - 0x218]
push eax
lea ecx, [ebp - 0x224]
call fcn.0043496f
mov dword [ebp - 4], esi
lea ecx, [ebp - 0x224]
push dword [ebx + 8]
push dword [ebx + 4]
push 0x7d0
call fcn.004349a0
mov edx, dword [ebx]
push 0xffffffffffffffff
push eax
push 0x3de49c
mov esi, dword [edx + 0x10]
mov ecx, esi
mov dword [ebx + 0xc], eax
call dword [0x473670]
mov ecx, ebx
call esi
lea ecx, [ebp - 0x224]
call fcn.0040a882
mov eax, edi
call fcn.0040bc10
ret