joyce8/EMBER2024-capa huggingface dataset:
Function at 0x7dedff81
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x7dea2798
test eax, eax
jne 0x7df0c3a6
mov eax, dword [0x7df700b4]
mov edi, 0x7dea27c4
test eax, eax
jne 0x7df0c3d5
test ebx, ebx
je 0x7df0c457
mov eax, dword [ebx + 0x50]
test eax, 0x10000
jne 0x7df0c457
cmp dword [ebx + 4], 0x7dea2788
jne 0x7df0c457
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x28], 0
jne 0x7df0c457
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0c402
push 1
push ebx
call fcn.7ded9ea9
test eax, eax
je 0x7dee0027
mov eax, dword [ebp + 4]
mov dword [ebx + 0x58], eax
xor eax, eax
push eax
push eax
push eax
push ebx
call fcn.7deb80d0
mov eax, ebx
or ecx, 0xffffffff
lock xadd dword [eax], ecx
jne 0x7dee0027
mov eax, dword [ebx + 4]
push ebx
call dword [eax]
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0c429
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7dee010e
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x7dea2798
test eax, eax
jne 0x7df0c1f8
mov eax, dword [0x7df700b4]
mov edi, 0x7dea27c4
test eax, eax
jne 0x7df0c237
test ebx, ebx
je 0x7df0c2e1
mov eax, dword [ebx + 0x50]
test eax, 0x30000
jne 0x7df0c2e1
cmp dword [ebx + 4], 0x7dea2788
jne 0x7df0c2e1
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x28], 0
jne 0x7df0c2e1
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0c264
mov eax, dword [ebx + 0x50]
test eax, 0x1000000
je 0x7df0c28b
push dword [ebp + 0xc]
push ebx
call fcn.7dedfdfa
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0c2b3
pop edi
pop esi
pop ebx
leave
ret 8

Function at 0x7dee03f8
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 0x14]
push esi
push edi
mov edi, 0x7dedc890
mov esi, 0x7deb4168
test eax, eax
jne 0x7df0c8a8
xor ecx, ecx
cmp ebx, ecx
je 0x7dee049c
mov eax, dword [ebx + 0x1c]
cmp dword [ebp + 8], ecx
je 0x7df0c8f9
cmp dword [ebp + 0xc], ecx
je 0x7df0c8f9
test eax, 0xfffffffc
jne 0x7df0c8f9
mov edx, dword fs:[0x18]
mov edx, dword [edx + 0x30]
mov edx, dword [edx + 0xc]
cmp byte [edx + 0x28], cl
jne 0x7df0c8f9
push eax
push ebx
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7dec42ba
mov ebx, eax
test ebx, ebx
jl 0x7dee047a
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 4]
mov ecx, dword [ecx]
mov dword [ecx + 0x54], eax
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0c8dc
pop edi
pop esi
mov eax, ebx
pop ebx
leave
ret 0x10
xor eax, eax
jmp 0x7dee0426
Function at 0x7dee0813
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x7dea2798
test eax, eax
jne 0x7df0c07a
mov eax, dword [0x7df700b4]
mov edi, 0x7dea27c4
test eax, eax
jne 0x7df0c0a9
test ebx, ebx
je 0x7df0c153
mov eax, dword [ebx + 0x50]
test eax, 0x30000
jne 0x7df0c153
cmp dword [ebx + 4], 0x7dea2788
jne 0x7df0c153
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x28], 0
jne 0x7df0c153
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0c0d6
mov eax, dword [ebx + 0x50]
test eax, 0x1000000
je 0x7df0c0fd
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0c125
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4

Function at 0x7dee0a76
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
push ebx
push esi
mov esi, dword [ebp + 8]
mov ebx, 0x7dea2798
test eax, eax
jne 0x7df0aae7
push 0
push 0
push dword [esi + 0x38]
call fcn.7dec41d7
push 0
push 0
push dword [esi + 0x58]
call fcn.7dec41d7
push 1
push dword [esi + 0x38]
call fcn.7dee0585
push 1
push dword [esi + 0x58]
call fcn.7dee0585
lea eax, [esi + 0x20]
push eax
call fcn.7dee0b0e
lea eax, [esi + 0x40]
push eax
call fcn.7dee0b0e
lea eax, [esi + 4]
push eax
call fcn.7dea81f5
mov eax, dword [0x7df700b0]
add eax, 0x180000
push esi
push eax
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push dword [eax + 0x18]
call fcn.7dea1b85
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0ab16
pop esi
pop ebx
pop ebp
ret 4
inc ecx
add byte [edi + ebp], bl
inc ecx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [ecx], al
add byte [eax], al
add byte [edi + ebp], ch
inc ecx
add byte [edi + ebp], dh
inc ecx
add byte [eax], al
add byte [eax], al
add ah, cl
pop eax
inc ecx
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add bh, bh
invalid

Function at 0x7dee0b79
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
sub esp, 0x50
push ebx
push esi
push edi
mov edi, 0x7dedd000
mov esi, 0x7dec9788
test eax, eax
jne 0x7df097b2
test dword [edi], edx
mov word [edx], es
invalid
xor eax, eax
cmp dword [ebp + 8], eax
je 0x7df09825
add byte gs:[ebx], dh
add byte [eax], al
add byte [ecx], ah
sub eax, 0x72006900
Function at 0x7dee0c19
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov edi, 0x7dedd09c
mov esi, 0x7dec9788
test eax, eax
jne 0x7df098a0
test ebx, ebx
je 0x7df09906
cmp dword [ebp + 0xc], 0
jl 0x7df09906
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x28], 0
jne 0x7df09906
push 4
lea eax, [ebp + 0xc]
push eax
push 5
push ebx
call fcn.7dea664e
push eax
call fcn.7de956c0
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df098ce
cmp byte [0x7ffe0384], 0
jne 0x7df098f8
pop edi
pop esi
sub eax, 0x72006b00
imul eax, dword [eax], 0x67
Function at 0x7dee1def
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
sub esp, 0x50
test eax, eax
je 0x7df0a3ae
cmp eax, dword [0x7df72090]
jne 0x7df0a3ae
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x28], 0
jne 0x7df0a3ae
push 0x7df72044
push 0x7df72090
call fcn.7ded00e4
leave
ret 4
fnstcw word [edi]
add byte [eax], al
add byte [eax], al
sbb byte [ebp - 0x27], 0x3f
add byte [eax], al
add byte [eax], al
sbb byte [ebp - 0x27], 0x3f
add byte [eax], al
add byte [eax], al
push eax
add ebx, ecx
aas
add byte [eax], al
add byte [eax], al
push eax
add ebx, ecx
aas
add byte [eax], al
add byte [eax], al
and byte [ecx + 0x3fd8], ch
add byte [eax], al
and byte [ecx + 0x3fd8], ch
add byte [eax], al
loopne 0x7df0a43b
fdivr dword [edi]
add byte [eax], al
add byte [eax], al
loopne 0x7df0a443
fdivr dword [edi]
add byte [eax], al
add byte [eax], al
sub bh, bh
xlatb
aas
add byte [eax], al
add byte [eax], al
sub bh, bh
xlatb
aas
add byte [eax], al
add byte [eax], al
pushal
scasd eax, dword es:[edi]
xlatb
aas
add byte [eax], al
add byte [eax], al
pushal
scasd eax, dword es:[edi]
xlatb
aas
add byte [eax], al
add byte [eax], al
cwde
pop edi
xlatb
aas
add byte [eax], al
add byte [eax], al
cwde
pop edi
xlatb
aas
add byte [eax], al
add byte [eax], al
ror byte [edi], 1
xlatb
aas
add byte [eax], al
add byte [eax], al
add byte [eax + 0x3fd6c3], al
add byte [eax], al
add byte [eax + 0x3fd67a], ch
add byte [eax], al
add byte [eax + 0x3fd67a], ch
add byte [eax], al
add al, dl
xor esi, edx
Function at 0x7dee394e
Capabilities:
Get process heap flags

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0x18]
push ebx
xor ebx, ebx
mov dword [ebp - 0xc], eax
cmp dword [ebp + 0x10], ebx
jne 0x7dee3bf7
cmp dword [ebp + 8], ebx
jne 0x7dee3bf7
mov eax, dword [ebp + 0x44]
mov ecx, dword [ebp + 0x48]
mov byte [eax], bl
movzx eax, byte [ebp + 0x18]
neg eax
sbb eax, eax
and eax, 0x400
mov dword [ecx], eax
mov eax, dword [ebp + 0x40]
mov dword [eax], ebx
mov eax, 0x8000000b
pop ebx
leave
ret 0x44
push esi
mov esi, dword [ebp + 0x40]
mov dword [ebp - 8], 0xc8
mov dword [ebp - 4], ebx
push edi
mov eax, dword [0x7df70058]
push dword [ebp - 8]
add eax, 0x140000
push eax
push dword [ebp - 0xc]
call fcn.7dea1c26
mov dword [esi], eax
cmp eax, ebx
je 0x7dee51d6
push dword [ebp + 0x48]
push dword [ebp + 0x44]
push eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 0x3c]
push dword [ebp + 0x38]
push dword [ebp + 0x34]
push dword [ebp + 0x30]
push dword [ebp + 0x2c]
push dword [ebp + 0x28]
push dword [ebp + 0x24]
push dword [ebp + 0x20]
push dword [ebp + 0x1c]
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
call fcn.7dee3c81
mov edi, eax
cmp edi, ebx
jl 0x7dee51ab
cmp dword [ebp - 8], ebx
je 0x7defc5fb
mov eax, edi
pop edi
pop esi
jmp 0x7dee399b
push dword [esi]
push ebx
push dword [ebp - 0xc]
call fcn.7dea1b85
mov dword [esi], ebx
cmp edi, 0xc0000023
jne 0x7dee3c73
inc dword [ebp - 4]
cmp dword [ebp - 4], 2
jae 0x7dee3c73
jmp 0x7dee3c06
mov eax, 0xc0000017
jmp 0x7dee3c75
add ch, cl
pushal
invalid
Function at 0x7dee5521
Capabilities:
Access peb ldr_data

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [0x7df700b4]
sub esp, 0x50
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
mov esi, 0x7deb4168
test eax, eax
jne 0x7df0cdb0
mov eax, dword [0x7df700b4]
mov edi, 0x7dec02f8
test eax, eax
jne 0x7df0cddf
test ebx, ebx
je 0x7df0ce62
mov eax, dword [ebx + 0x50]
test eax, 0x30000
jne 0x7df0ce62
cmp dword [ebx + 4], 0x7dea2878
jne 0x7df0ce62
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
mov eax, dword [eax + 0xc]
cmp byte [eax + 0x28], 0
jne 0x7df0ce62
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0ce0c
mov edi, dword [ebx + 0x20]
mov eax, dword [ebx + 0x24]
mov eax, dword [0x7df700b4]
test eax, eax
jne 0x7df0ce33
mov eax, edi
pop edi
pop esi
pop ebx
leave
ret 4
push 0x6a69
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], al
add byte [eax], dl
Function at 0x7dee9b59
Capabilities:
Check for peb beingdebugged flag

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 0xc]
imul esi, esi, 0xc
add esi, 0x7df74724
push edi
push esi
lea ebx, [esi + 4]
call fcn.7dea65f1
mov edi, dword [ebx]
cmp edi, ebx
je 0x7def6cc5
cmp edi, dword [ebp + 8]
jne 0x7def6cbe
dec dword [edi + 8]
jne 0x7dee9bd7
mov eax, dword [edi]
mov ecx, dword [edi + 4]
mov dword [ecx], eax
mov dword [eax + 4], ecx
cmp eax, ecx
jne 0x7dee9bb3
mov ecx, dword fs:[0x18]
mov eax, dword [ebp + 0xc]
mov ecx, dword [ecx + 0x30]
add eax, 2
add ecx, 0x28
lock btr dword [ecx], eax
push esi
call fcn.7dea65ab
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
push edi
push 0
push dword [eax + 0x18]
call fcn.7dea1b85
xor eax, eax
inc eax
pop edi
pop esi
pop ebx
pop ebp
ret 8
push esi
call fcn.7dea65ab
jmp 0x7dee9bcd
mov edi, dword [edi]
jmp 0x7dee9b78
push esi
call fcn.7dea65ab
xor eax, eax
jmp 0x7dee9bd0
Function at 0x7deee32a
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0x27c
push 0x7de9c2a8
call fcn.7dea1d40
mov esi, dword [ebp + 8]
mov dword [ebp - 0x234], esi
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x238], eax
mov eax, dword [ebp + 0x18]
mov dword [ebp - 0x230], eax
mov ebx, dword fs:[0x18]
mov dword [ebp - 0x220], ebx
cmp dword [ebp + 0xc], 0xffffffff
je 0x7def95a8
mov eax, dword fs:[0x18]
mov eax, dword [eax + 0x30]
cmp byte [eax + 2], 0
jne 0x7def959e
push dword [ebp + 0x10]
push dword [ebp + 0xc]
call fcn.7de94ec8
test eax, eax
jne 0x7def95a8
xor eax, eax
call fcn.7dea1d88
ret 0x18
pop ecx
inc ecx
add byte [ecx], al
call fcn.7def9c7b
call fcn.7defa1ca
test al, al
jne 0x7def95b4
push ds
or al, 0
add byte [eax + eax*8 - 0x3fcdfb8b], al
xor al, al
pop ebp
ret
call fcn.7defd23d
test al, al
jne 0x7def95c7
push 0
call fcn.7defa1e9
pop ecx
jmp 0x7def95b0
mov al, 1
pop ebp
ret
Function at 0x7def99d4
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [0x40e020]
test eax, eax
je 0x7def9a13
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x7def9a13
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x7def9a13
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x7def9a13
cmp dword [ecx + 0x74], 0xe
jbe 0x7def9a13
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret

Function at 0x7df04eb0
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x7df04edd
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x7df04edd
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x401800
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 8]
push edi
mov edi, dword [esp + 0x10]
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
jne 0x401819
pop edi
pop ebx
ret
push esi
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov esi, eax
test esi, esi
jne 0x40182d
pop esi
pop edi
xor eax, eax
pop ebx
ret
push edi
push ebx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [esp + 0x18]
add eax, esi
and ecx, 0xf
jbe 0x40184e
cmp esi, eax
jae 0x401827
dec ecx
movzx edx, word [esi]
lea esi, [esi + edx*2 + 2]
jne 0x401840
cmp esi, eax
jae 0x401827
mov ax, word [esi]
neg ax
sbb eax, eax
and eax, esi
pop esi
pop edi
pop ebx
ret

Function at 0x401b10
Capabilities:
Set registry value

Disassembly:
mov edx, dword [esp + 4]
push 4
lea eax, [esp + 0xc]
push eax
mov eax, dword [ecx]
push 4
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
ret 8

Function at 0x401b30
Capabilities:
Set registry value

Disassembly:
push esi
push edi
mov edi, dword [esp + 0x10]
push edi
mov esi, ecx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0xc]
lea eax, [eax + eax + 2]
push eax
mov eax, dword [esi]
push edi
push ecx
push 0
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
ret 0xc

Function at 0x401b60
Capabilities:
Set registry value

Disassembly:
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_lstrlenW]
push ebp
push esi
mov esi, dword [esp + 0x14]
push edi
mov ebp, ecx
xor edi, edi
push esi
call ebx
inc eax
lea ecx, [eax + eax]
add esi, ecx
add edi, ecx
cmp eax, 1
jne 0x401b72
mov eax, dword [esp + 0x18]
mov ecx, dword [esp + 0x14]
mov edx, dword [ebp]
push edi
push eax
push 7
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
pop edi
pop esi
pop ebp
pop ebx
ret 8
Function at 0x4027e0
Capabilities:
Query or enumerate registry key

Disassembly:
sub esp, 0x21c
mov eax, dword [0x42d5a0]
mov edx, dword [esp + 0x220]
push esi
push edi
mov edi, ecx
lea ecx, [esp + 0x10]
push ecx
push 0x2001f
push 0
mov dword [esp + 0x22c], eax
mov eax, dword [edi]
push edx
push eax
mov dword [esp + 0x28], edi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x24], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov ecx, dword [esp + 8]
mov esi, eax
test esi, esi
jne 0x40284a
test ecx, ecx
je 0x40283c
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test eax, eax
mov ecx, dword [esp + 0x10]
mov esi, eax
mov dword [esp + 8], ecx
je 0x402858
test ecx, ecx
je 0x4028fb
push ecx
jmp 0x4028f5
mov esi, dword [sym.imp.ADVAPI32.dll_RegEnumKeyExW]
lea eax, [esp + 0x18]
push eax
push 0
push 0
push 0
lea edx, [esp + 0x1c]
push edx
lea eax, [esp + 0x34]
push eax
push 0
push ecx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
jne 0x4028c2
lea ecx, [esp + 0x20]
push ecx
lea ecx, [esp + 0xc]
call fcn.004027e0
mov edi, eax
test edi, edi
jne 0x402914
lea edx, [esp + 0x18]
push edx
mov edx, dword [esp + 0xc]
push eax
push eax
push eax
lea eax, [esp + 0x1c]
push eax
lea ecx, [esp + 0x34]
push ecx
push edi
push edx
mov dword [esp + 0x2c], 0x100
call esi
test eax, eax
je 0x402884
mov edi, dword [esp + 0x14]
mov eax, dword [esp + 8]
test eax, eax
je 0x4028d9
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov dword [esp + 8], 0
mov eax, dword [esp + 0x228]
mov ecx, dword [edi]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
mov esi, eax
mov eax, dword [esp + 8]
test eax, eax
je 0x4028fb
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov ecx, dword [esp + 0x218]
call fcn.00419c7e
add esp, 0x21c
ret 4
mov eax, dword [esp + 8]
test eax, eax
je 0x402923
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [esp + 0x220]
mov eax, edi
pop edi
pop esi
call fcn.00419c7e
add esp, 0x21c
ret 4

Function at 0x405f50
Capabilities:
Contain obfuscated stackstrings

Disassembly:
lea eax, [ebp - 0x744]
push eax
call fcn.00404674
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404629
add esp, 0xc
mov dword [ebp - 0x704], eax
and byte [ebp - 0x6f4], 0
and byte [ebp - 0x6f3], 0
mov byte [ebp - 0x6f2], 0x43
and byte [ebp - 0x6f1], 0
mov byte [ebp - 0x6f0], 0xeb
mov byte [ebp - 0x6ef], 0xce
mov byte [ebp - 0x6ee], 0xd5
mov byte [ebp - 0x6ed], 0xc8
mov byte [ebp - 0x6ec], 0xd9
mov byte [ebp - 0x6eb], 0xfa
mov byte [ebp - 0x6ea], 0xd5
mov byte [ebp - 0x6e9], 0xd0
mov byte [ebp - 0x6e8], 0xd9
mov byte [ebp - 0x6e7], 0xbc
call fcn.00404664
imul ecx, dword [ecx - 0x7a7207f6], 0xfffff90c
push eax
call fcn.00404674
pop ecx
push eax
push dword [ebp + 0x18]
push dword [ebp + 0x14]
call fcn.00404629
add esp, 0xc
mov dword [ebp - 0x730], eax
and dword [ebp - 0x6fc], 0
Function at 0x4072a2
Capabilities:
Terminate thread

Disassembly:
push ecx
push ebx
push esi
mov esi, ecx
mov eax, dword [esi + 4]
test eax, eax
push edi
je 0x4072e0
lea ecx, [esp + 0xc]
push ecx
push eax
mov dword [esp + 0x14], 0
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [esp + 0xc]
xor eax, eax
cmp edx, 0x103
sete al
test eax, eax
je 0x4072e0
mov edx, dword [esi + 4]
push 0
push edx
call dword [sym.imp.KERNEL32.dll_TerminateThread]
mov edi, dword [esp + 0x14]
test edi, edi
lea ebx, [esi + 0x10]
jne 0x4072ef
xor eax, eax
jmp 0x4072f8
push edi
call fcn.00419e1e
add esp, 4
push eax
push edi
mov ecx, ebx
call fcn.00401520
mov eax, dword [esi]
mov ecx, esi
call dword [eax + 8]
pop edi
pop esi
pop ebx
pop ecx
ret 4
Function at 0x409e00
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4247e0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x20
push ebx
push esi
lea ecx, [esp + 0xc]
call fcn.004187d0
mov eax, dword [esp + 0x38]
push 0x12
xor esi, esi
push eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x38], esi
call fcn.00418880
test al, al
je 0x409f8b
mov dword [esp + 0x38], esi
push str.Installed
lea ecx, [esp + 0xc]
mov byte [esp + 0x34], 1
call fcn.00409cc0
mov eax, dword [eax]
push 0x12
push eax
lea ecx, [esp + 0x40]
push ecx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 2
call fcn.00418170
mov bl, al
mov eax, dword [esp + 8]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x409e95
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
je 0x409eaf
mov eax, dword [esp + 0x38]
mov ecx, dword [eax]
lea edx, [esp + 0x3c]
push edx
mov edx, dword [esp + 0x40]
push 0x10
push edx
push eax
call dword [ecx + 0x10]
cmp dword [esp + 0x40], esi
mov eax, dword [esp + 0x38]
je 0x409f44
cmp eax, esi
je 0x409ecb
mov dword [esp + 0x38], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
push str.SVersion
lea ecx, [esp + 0x40]
call fcn.00409cc0
mov eax, dword [eax]
push 0x1012
push eax
lea edx, [esp + 0x40]
push edx
lea ecx, [esp + 0x18]
mov byte [esp + 0x3c], 3
call fcn.00418110
mov bl, al
mov eax, dword [esp + 0x3c]
add eax, 0xfffffff0
mov byte [esp + 0x30], 1
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x409f19
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
call dword [edx + 4]
test bl, bl
mov eax, dword [esp + 0x38]
je 0x409f7c
cmp eax, esi
je 0x409f33
mov dword [esp + 0x38], esi
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 0x38]
cmp eax, esi
mov byte [esp + 0x30], 0
je 0x409f53
mov edx, dword [eax]
push eax
call dword [edx + 8]
jmp 0x409f53
cmp eax, esi
je 0x409f7c
mov ecx, dword [eax]
push eax
mov byte [esp + 0x34], 0
call dword [ecx + 8]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00418750
pop esi
mov eax, 1
pop ebx
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc
cmp eax, esi
mov byte [esp + 0x30], 0
je 0x409f8b
mov edx, dword [eax]
push eax
call dword [edx + 8]
lea ecx, [esp + 0xc]
mov dword [esp + 0x30], 0xffffffff
call fcn.00418750
mov ecx, dword [esp + 0x28]
pop esi
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x2c
ret 0xc