joyce8/EMBER2024-capa huggingface dataset:
Function at 0x6ad6dc
Capabilities:
Encrypt data using aes

Disassembly:
mov eax, edi
jmp 0x6ad655
lea ebp, [eax*4]
jmp 0x6ad3ca
lea esp, [esp + 8]
and eax, 0xff000000
jmp 0x6ad403
mov edi, edx
lea ebp, [edi*4]
mov bp, word [esp]
jmp 0x6ad42c
xor eax, edi
mov ebp, dword [esp]
neg edi
bt bp, si
jmp 0x6ad3ed
bsr bp, ax
shr edi, 0x18
mov ebp, 0x824b5579
push ebp
jmp 0x6ad472
lea ebp, [ebp*4]
lea ebp, [ebp + 0x669724]
jmp 0x6ad492
pushal
xchg dh, cl
mov dword [esp + 8], edi
popal
jmp 0x6ad45c
mov ebp, 0x859cffc8
xchg edi, ebp
lea ebp, [ebx + edi]
jmp 0x6ad4b4
movzx edi, byte [ebp]
pop ebp
push ebp
shl ebp, cl
xor eax, edi
jmp 0x6ad47c
lea esp, [esp + 2]
jmp 0x6ad4f5
mov edi, edx
and edi, esi
sub esp, 0x1a
mov byte [esp + 0xe], dl
jmp 0x6ad49e
mov ebp, 0x6af3a7dc
jmp 0x6ad751
mov edi, dword [edi*4 + 0x669724]
not bp
cmp ebp, 0xc3ecc798
lea ebp, [edx + ebp]
jmp 0x6ad4df
dec di
mov di, sp
lea edi, [esi*4]
mov di, word [esp]
lea edi, [ecx + 0x10]
call fcn.006ad53b
mov ecx, edx
mov edi, dword [esp]
shr ecx, 8
mov edi, edx
jmp 0x6ad63a
and ecx, esi
mov ecx, dword [ecx*4 + 0x669724]
jmp 0x6ad678
mov edx, dword [eax + 0xc]
mov ecx, ebx
stc
mov edi, 0x5147b308
jmp 0x6ad62a
and edi, esi
jmp 0x6ad6a9
shr edi, 0x10
push si
pushfd
lea esp, [esp + 2]
jmp 0x6ad662
lea esp, [esp + 4]
and edi, 0xff000000
push bx
lea esp, [esp + 2]
jmp 0x6ad6d3
mov edi, dword [edi*4 + 0x669724]
lea esp, [esp + 4]
and ecx, 0xff0000
push esi
jmp 0x6ad684
xor ecx, edi
mov edi, edx
call fcn.006ad6bd
mov dword [esp], ebx
jmp 0x6ad737
xor eax, edi
mov edi, 0x18adecf9
lea esp, [esp + 0x1c]
xor eax, dword [ecx]
jmp 0x6ad612
lea esp, [esp + 1]
jmp 0x6ad8fa
shr edi, 0x18
movzx edi, byte [edi*4 + 0x669724]
cmc
sub esp, 9
jmp 0x6ad721
add ebp, 0x950d5724
push esp
lea esp, [esp + 4]
and edi, ebp
jmp 0x6ad70f
mov dx, bx
mov edx, dword [eax + 4]
jmp 0x6ad788
xor ecx, dword [eax]
mov dx, 0xf594
add ebx, 4
mov dword [edi], ecx
jmp 0x6ad760
xor edx, ecx
bswap ecx
mov dword [eax + 0x14], edx
mov cx, 0xf389
jmp 0x6ad7ed
mov ebx, eax
add ebx, 8
mov ecx, dword [ebx]
pop ebx
clc
jmp 0x6ad7d5
lea edi, [0x11bceb30]
lea edi, [eax + 0x10]
bswap edx
bt dx, di
jmp 0x6ad77b
mov dword [eax + 0x18], ecx
mov dl, ah
jmp 0x6ad814
pushal
xor ecx, edx
add dx, 0x13ec
jmp 0x6ad7bf
push dx
clc
lea esp, [esp + 2]
push ebx
jmp 0x6ad795
mov dword [eax + 0x1c], edx
pushfd
lea esp, [esp + 3]
lea esp, [esp + 1]
jmp 0x6ad81c
mov edx, dword [eax + 0xc]
xor edx, ecx
cmc
jmp 0x6ad7f7
lea esp, [esp + 0x20]
cmp ebx, 0x66af4c
jne 0x6ad07a
jmp 0x6ad8a7
mov edi, dword [esp]
mov ebp, dword [esp]
setb bl
pushal
xchg byte [esp + 0x18], bh
jmp 0x6ad878
xor ecx, edx
lea esp, [esp + 0x10]
xor ecx, dword [ebx]
rcr edi, 0x18
jmp 0x6ad7ae
lea esp, [esp + 0x24]
pop esi
push 0xa
pop eax
not bp
mov di, 0x476c
jmp 0x6ad82e
xor ecx, edi
and edx, ebp
mov edi, esp
mov di, word [esp]
jmp 0x6ad847
Function at 0x6adba1
Capabilities:
Encrypt data using aes

Disassembly:
movzx ebx, byte [esi + 2]
stc
jmp 0x6adba7
lea esp, [esp + 2]
jmp 0x6adb8b
mov ebx, dword [ebx*4 + 0x669724]
and ebx, ecx
lea esp, [esp + 0x20]
jmp 0x6adc3a
mov edx, dword [edx*4 + 0x669724]
jmp 0x6adbf2
and edx, ecx
call 0x6adbd5
xor edi, dword [ebx*4 + 0x669f24]
ror ebx, 0x13
movzx ebx, byte [esi + 5]
and edx, ecx
jmp 0x6adbb9

Function at 0x6adbcf
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
call fcn.006adba1
lea esp, [esp + 4]
xor edi, dword [edx*4 + 0x66a724]
jmp 0x6adc0f
mov ecx, esi
mov dword [ecx], edi
pop ecx
cmc
jmp 0x6adc1c
mov edx, dword [esi + 4]
sub esp, 0x13
lea esp, [esp + 3]
push ecx
jmp 0x6adbf9
mov ebx, dword [ebx*4 + 0x669724]
pushfd
mov edi, edx
push ebp
call fcn.006adc4f
sbb dword [edi + 0x4d996a0f], ebx
jno 0x6adc24
add ax, si
inc ebp
insd dword es:[edi], dx
jl 0x6adc6e
cmp al, 0x9d
and al, 0x9f
add cl, al
retf
out dx, eax
sbb al, ch
or bh, bh
invalid

Function at 0x6adbd5
Capabilities:
Encrypt data using aes

Disassembly:
push ebp
call fcn.006adba1
lea esp, [esp + 4]
xor edi, dword [edx*4 + 0x66a724]
jmp 0x6adc0f
mov ecx, esi
mov dword [ecx], edi
pop ecx
cmc
jmp 0x6adc1c
mov edx, dword [esi + 4]
sub esp, 0x13
lea esp, [esp + 3]
push ecx
jmp 0x6adbf9
mov ebx, dword [ebx*4 + 0x669724]
pushfd
mov edi, edx
push ebp
call fcn.006adc4f
sbb dword [edi + 0x4d996a0f], ebx
jno 0x6adc24
add ax, si
inc ebp
insd dword es:[edi], dx
jl 0x6adc6e
cmp al, 0x9d
and al, 0x9f
add cl, al
retf
out dx, eax
sbb al, ch
or bh, bh
invalid

Function at 0x6adc4f
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
jmp 0x6adc8b
and edi, ecx
mov edi, dword [edi*4 + 0x669b24]
jmp 0x6adc75
shr edi, 0x18
push edx
mov edi, dword [edi*4 + 0x669724]
jmp 0x6adc51
Function at 0x6add37
Capabilities:
Encrypt data using aes

Disassembly:
mov word [esp], bp
lea esp, [esp + 8]
jmp 0x6add7b
add edx, 4
mov dword [edx], edi
pop edx
jmp 0x6adfd7
xor edi, dword [edx*4 + 0x66a724]
mov dx, 0x604f
mov dx, 0xc869
mov edx, dword [esi + 8]
call fcn.006add5f
lea esp, [esp + 3]
push edx
mov edx, esi
jmp 0x6add64
lea esp, [esp + 8]
xor edi, dword [ebx*4 + 0x669f24]
jmp 0x6ade00
lea esp, [esp + 4]
mov word [esp + 4], si
and ebx, ecx
clc
clc
jmp 0x6addc5
sub esp, 5
mov dword [esp], edi
lea esp, [esp + 1]
jmp 0x6adeaa
movzx ebx, byte [esi + 0xd]
and edx, ecx
mov edx, dword [edx*4 + 0x669724]
jmp 0x6addea
xor edi, dword [ebx*4 + 0x66a324]
movzx ebx, byte [esi + 0xa]
mov ebx, dword [ebx*4 + 0x669724]
sub esp, 0xc
jmp 0x6adddb
and edx, ecx
clc
call fcn.006ade72
lea ebp, [ebp*4]
lea ebp, [ebp + 0x669724]
mov edi, dword [ebp]
jmp 0x6adf1f
mov edi, dword [edi*4 + 0x669b24]
and ebx, ecx
lea esp, [esp + 0x20]
jmp 0x6ade24
lea esp, [esp + 3]
mov edi, dword [edi*4 + 0x669b24]
and ebx, ecx
jmp 0x6adf2c
movzx ebx, byte [esi + 0xe]
jmp 0x6adf71
pop ebp
and edi, ecx
pushfd
push dword [esp + 1]
sub esp, 7
jmp 0x6adef7
lea esp, [esp + 0x28]
xor edi, dword [ebx*4 + 0x66a324]
bsf ebx, ebx
or ebx, esi
mov ebx, dword [esp]
jmp 0x6adf06
shr edi, 0x18
mov edi, dword [edi*4 + 0x669724]
and edi, ecx
stc
jmp 0x6adee5
mov ebx, dword [ebx*4 + 0x669724]
and edx, ecx
call 0x6adf5a
lea edi, [edi + 0x669724]
mov edx, dword [edi]
pop edi
push ax
lea esp, [esp + 2]
jmp 0x6adfb7
and ebx, ecx
lea esp, [esp + 4]
xor edi, dword [ebx*4 + 0x669f24]
call fcn.006adfa1
mov dword [ecx - 0x2f], 0x87f243b0
add dl, byte [eax + 0x43bd02f7]
cli
mov ebx, dword [ebx*4 + 0x669724]
pushal
mov edi, edx
jmp 0x6adf4b

Function at 0x6ade72
Capabilities:
Encrypt data using aes
Reference aes constants

Disassembly:
lea esp, [esp + 3]
jmp 0x6ade7f
bsf dx, di
mov dx, word [esp]
mov edx, dword [esi + 0xc]
clc
sub esp, 0x1b
jmp 0x6ade3b
lea esp, [esp + 8]
xor edi, dword [edx*4 + 0x66a724]
jmp 0x6ade51
mov dword [esi + 8], edi
mov ebx, dword [ebx*4 + 0x669724]
bsf edi, edx
mov edi, 0xdfdd05d2
jmp 0x6adec8
push ebp
mov ebp, edi
jmp 0x6adeb2
mov edi, edx
shr edi, 0x18
cmc
push ecx
jmp 0x6ade93

Function at 0x6adfa1
Capabilities:
Encrypt data using aes

Disassembly:
jmp 0x6ae1c6
and edx, ecx
lea esp, [esp + 4]
xor edi, dword [edx*4 + 0x66a724]
dec dword [ebp - 4]
jmp fcn.006ae12a

Function at 0x6aefe0
Capabilities:
Execute anti-debugging instructions

Disassembly:
mov dword [esp + 0x1c], ecx
sub esp, 0x1f
pop dword [esp + 8]
call fcn.006aefbb
les esi, [edi + 0x5e]
test eax, 0x648d6bc8
and al, 1
lea esp, [esp + 1]
pushal
rdtsc
lea edi, [esi*4]
rdtsc
jmp 0x6aef6b
add edi, edx
xor edx, edx
sub eax, 0x6b7e90c2
sub esp, 7
push word [esp + 1]
jmp 0x6aef81
sub edx, eax
setnp ah
jmp 0x6aefa8

Function at 0x6b0c6e
Capabilities:
Execute anti-debugging instructions

Disassembly:
sub esp, 0x18
jmp 0x6b0c77
sub esp, 9
lea esp, [esp + 1]
mov dword [esp + 0x20], eax
lea eax, [edx + 0x228a]
jmp 0x6b0cd2
mov eax, dword [ecx]
xor eax, ecx
xor eax, ebx
Function at 0x77bcad
Capabilities:
Access peb ldr_data
Parse pe header

Disassembly:
call int.0077a130
lea esp, [esp + 0x20]
jmp 0x77bf72
push dword [esp]
lea esp, [esp + 1]
lea esp, [esp + 3]
mov dword [esp + 0x20], edi
jmp 0x77bc97
mov eax, dword [eax]
mov eax, dword [eax + 8]
push eax
jmp 0x77a12b
mov eax, dword fs:[0x30]
mov eax, dword [eax + 0xc]
mov eax, dword [eax + 0x1c]
jmp 0x77be62

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x401990
Capabilities:
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x426d60
mov eax, dword fs:[0]
push eax
sub esp, 0x44
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0x40], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x58]
mov dword fs:[0], eax
mov eax, dword [esp + 0x68]
mov ebp, dword [esp + 0x6c]
push eax
lea edi, [esp + 0x3c]
mov esi, ecx
call fcn.00401af0
xor ebx, ebx
mov dword [esp + 0x60], ebx
cmp dword [esp + 0x4c], ebx
jne 0x4019fd
cmp dword [esp + 0x50], 8
jb 0x4019f6
mov ecx, dword [esp + 0x3c]
push ecx
call fcn.00413bbf
add esp, 4
xor al, al
jmp 0x401acf
mov dword [esp + 0x18], 0xffffffff
lea edx, [esp + 0x38]
push edx
add esi, 4
push esi
lea edi, [esp + 0x24]
mov byte [esp + 0x68], 1
mov byte [esp + 0x1f], bl
call fcn.004037c0
mov eax, dword [esp + 0x28]
add esp, 8
cmp dword [esp + 0x34], 8
jae 0x401a32
lea eax, [esp + 0x20]
push ebx
push ebx
push 2
push ebx
push ebx
push 0x40000000
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401a83
cmp ebp, ebx
mov dword [esp + 0x18], ebx
je 0x401a83
mov edi, dword [esp + 0x70]
push ebx
lea eax, [esp + 0x1c]
push eax
push edi
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x401a83
cmp edi, dword [esp + 0x18]
jne 0x401a83
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
test eax, eax
je 0x401a7e
or esi, 0xffffffff
mov byte [esp + 0x17], 1
mov edi, 8
cmp dword [esp + 0x34], edi
jb 0x401a9b
mov ecx, dword [esp + 0x20]
push ecx
call fcn.00413bbf
add esp, 4
cmp esi, 0xffffffff
mov dword [esp + 0x34], 7
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
je 0x401ab8
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [esp + 0x50], edi
jb 0x401acb
mov edx, dword [esp + 0x3c]
push edx
call fcn.00413bbf
add esp, 4
mov al, byte [esp + 0x17]
mov ecx, dword [esp + 0x58]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x40]
xor ecx, esp
call fcn.004138c3
add esp, 0x50
ret 0xc
Function at 0x403870
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x4278d8
mov eax, dword fs:[0]
push eax
sub esp, 0x20
push edi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor edi, edi
push 0xffffffffffffffff
push edi
lea ecx, [esp + 0x14]
mov dword [esp + 0x10], edi
mov dword [esp + 0x2c], 7
mov dword [esp + 0x28], edi
mov word [esp + 0x18], di
call fcn.004030d0
mov eax, ebx
mov dword [esp + 0x30], edi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x4038c4
sub eax, edx
sar eax, 1
push eax
push ebx
lea ecx, [esp + 0x14]
call fcn.00402fd0
push 0xffffffffffffffff
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
push edi
mov ecx, esi
mov word [esi + 4], di
call fcn.004030d0
cmp dword [esp + 0x24], 8
jb 0x40390a
mov eax, dword [esp + 0x10]
push eax
call fcn.00413bbf
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop edi
add esp, 0x2c
ret
Function at 0x4044c0
Capabilities:
Check for peb beingdebugged flag

Disassembly:
push 0xffffffffffffffff
push 0x427c23
mov eax, dword fs:[0]
push eax
sub esp, 0x80
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0x7c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x94]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xa4]
xor ebx, ebx
mov edi, 7
mov eax, ecx
mov dword [esp + 0x34], edi
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
lea esi, [eax + 2]
jmp 0x404520
mov dx, word [eax]
add eax, 2
cmp dx, bx
jne 0x404520
sub eax, esi
sar eax, 1
push eax
push ecx
lea esi, [esp + 0x24]
call fcn.00403260
mov eax, esi
push eax
lea ecx, [esp + 0x3c]
push ecx
mov dword [esp + 0xa4], ebx
call fcn.004111f0
mov byte [esp + 0x9c], 2
cmp dword [esp + 0x34], 8
jb 0x40456a
mov edx, dword [esp + 0x20]
push edx
call fcn.00413bbf
add esp, 4
mov dword [esp + 0x34], edi
lea edi, [esp + 0x38]
mov dword [esp + 0x30], ebx
mov word [esp + 0x20], bx
call fcn.00411320
test al, al
je 0x4045f9
mov edx, dword [esp + 0x50]
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
push 0x42af98
push edx
mov dword [esp + 0x28], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x4045f9
mov ecx, dword [esp + 0x14]
mov eax, dword [ecx + 0x10]
mov ecx, dword [ecx + 0x14]
mov edx, eax
movzx eax, ax
shr edx, 0x10
mov dword [ebp], edx
mov dword [ebp + 4], eax
mov edx, ecx
movzx eax, cx
shr edx, 0x10
mov esi, edi
mov dword [ebp + 8], edx
mov dword [ebp + 0xc], eax
call fcn.00411290
mov al, 1
mov ecx, dword [esp + 0x94]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x7c]
xor ecx, esp
call fcn.004138c3
add esp, 0x8c
ret
lea esi, [esp + 0x38]
call fcn.00411290
xor al, al
jmp 0x4045d4

Function at 0x404bd0
Capabilities:
Get common file path
Get startup folder

Disassembly:
sub esp, 0x210
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0x20c], eax
push esi
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0x12]
push edi
push eax
mov esi, ecx
mov dword [esp + 0x14], edi
mov word [esp + 0x18], di
call fcn.00415be0
mov ecx, dword [esp + 0x228]
add esp, 0xc
push edi
push ecx
lea edx, [esp + 0x14]
push edx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], edi
mov word [esi + 4], di
jne 0x404c35
push edi
push 0x42b010
jmp 0x404c55
lea eax, [esp + 0xc]
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
cmp cx, di
jne 0x404c40
sub eax, edx
sar eax, 1
push eax
lea eax, [esp + 0x10]
push eax
call fcn.00403260
mov ecx, dword [esp + 0x214]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.004138c3
add esp, 0x210
ret
Function at 0x404c80
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x3c
push 0x38
lea eax, [esp + 8]
push 0
push eax
call fcn.00415be0
add esp, 0xc
mov dword [esp], 0x3c
call dword [sym.imp.USER32.dll_GetActiveWindow]
mov ecx, dword [esp + 0x40]
mov edx, dword [esp + 0x44]
mov dword [esp + 8], eax
lea eax, [esp]
push eax
mov dword [esp + 0x10], str.open
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], 0
mov dword [esp + 0x1c], edx
mov dword [esp + 0x20], 1
mov dword [esp + 0x3c], 0
mov dword [esp + 8], 0
call dword [sym.imp.SHELL32.dll_ShellExecuteExW]
test eax, eax
je 0x404cfc
mov ecx, 0x20
cmp ecx, dword [esp + 0x20]
sbb eax, eax
neg eax
add esp, 0x3c
ret
xor al, al
add esp, 0x3c
ret
Function at 0x406530
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x427672
mov eax, dword fs:[0]
push eax
sub esp, 0x220
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0x21c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x234]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x244]
mov esi, ecx
xor ebx, ebx
mov dword [esp + 0x1c], ebx
mov dword [esi + 0x18], 7
mov dword [esi + 0x14], ebx
mov dword [esp + 0x20], esi
mov edi, edx
mov word [esi + 4], bx
push 0x208
lea eax, [esp + 0x2a]
mov dword [esp + 0x240], ebx
push ebx
push eax
mov dword [esp + 0x28], 1
mov word [esp + 0x30], bx
call fcn.00415be0
add esp, 0xc
cmp dword [edi + 0x18], 8
mov dword [esp + 0x14], 0x208
mov dword [esp + 0x18], 1
jb 0x4065d0
mov edi, dword [edi + 4]
jmp 0x4065d3
add edi, 4
lea ecx, [esp + 0x14]
push ecx
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x20]
push eax
push ebx
push edi
push ebp
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x40662a
mov eax, dword [esp + 0x14]
cmp eax, 0x104
ja 0x406601
mov word [esp + eax*2 + 0x24], bx
jmp 0x406609
mov word [esp + 0x22c], bx
lea eax, [esp + 0x24]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x406610
sub eax, edx
sar eax, 1
push eax
lea ecx, [esp + 0x28]
push ecx
call fcn.00403260
mov eax, esi
mov ecx, dword [esp + 0x234]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x21c]
xor ecx, esp
call fcn.004138c3
add esp, 0x22c
ret 4
Function at 0x408670
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x64
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0x5c], eax
push esi
push edi
mov esi, ecx
test esi, esi
mov edi, edx
mov dword [edi], 0
je 0x4086fc
cmp ebx, 1
jl 0x4086fc
push 0x58
lea eax, [esp + 0xc]
push 0
push eax
call fcn.00415be0
add esp, 0xc
test ebx, ebx
mov dword [esp + 0xc], 0
mov dword [esp + 8], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
jle 0x4086f3
push 0
lea ecx, [esp + 0xc]
push ebx
push ecx
lea eax, [ebx*8]
mov ecx, ebx
mov edx, esi
call fcn.00412380
add esp, 0xc
lea esi, [esp + 8]
call fcn.00412430
mov ecx, dword [esp + 0x64]
pop edi
pop esi
xor ecx, esp
call fcn.004138c3
add esp, 0x64
ret
Function at 0x4094e0
Capabilities:
Query or enumerate registry value

Disassembly:
push 0xffffffffffffffff
push 0x427ad9
mov eax, dword fs:[0]
push eax
sub esp, 0x6c
push ebx
push esi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x78]
mov dword fs:[0], eax
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov dword [edi + 0x18], 7
mov dword [edi + 0x14], ebx
mov dword [esp + 0x58], edi
mov word [edi + 4], bx
mov esi, 1
mov dword [esp + 0x20], esi
mov dword [esp + 0x18], ebx
mov dword [esp + 0x10], ebx
mov dword [esp + 0x14], ebx
lea eax, [esp + 0x10]
push eax
push 0x20019
push ebx
push 0x42b730
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x94], esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
cmp eax, ebx
je 0x40955e
mov dword [esp + 0x10], ebx
jmp 0x409593
mov eax, 4
lea ecx, [esp + 0x24]
push ecx
mov ecx, dword [esp + 0x14]
lea edx, [esp + 0x1c]
push edx
mov dword [esp + 0x24], eax
mov dword [esp + 0x2c], eax
lea eax, [esp + 0x24]
push eax
push ebx
push str.InstallDate
push ecx
mov dword [esp + 0x30], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp eax, ebx
je 0x409597
mov dword [esp + 0x14], eax
mov edx, dword [esp + 0x18]
xor eax, eax
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
mov dword [esp + 0x38], eax
mov dword [esp + 0x3c], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
lea eax, [esp + 0x4c]
push eax
lea ecx, [esp + 0x2c]
push ecx
mov dword [esp + 0x54], edx
mov dword [esp + 0x58], ebx
mov dword [esp + 0x30], ebx
call fcn.0041486b
mov edx, dword [esp + 0x30]
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x38]
push edx
mov edx, dword [esp + 0x40]
push eax
mov eax, dword [esp + 0x48]
push ecx
mov ecx, dword [esp + 0x50]
push edx
add eax, 1
push eax
add ecx, 0x76c
push ecx
push str._04d_02d_02d_02d_02d_02d
mov ecx, edi
call fcn.004053d0
mov eax, dword [edi + 0x14]
add esp, 0x24
cmp eax, 0xe
jae 0x409629
push esi
push 0x42b3b8
mov ecx, edi
call fcn.00402fd0
cmp dword [edi + 0x14], 0xe
jb 0x409616
cmp dword [edi + 0x14], 0xe
jbe 0x409663
push 0xe
push edi
xor ecx, ecx
lea esi, [esp + 0x64]
call fcn.00404d10
push 0xffffffffffffffff
push ebx
mov ecx, edi
mov byte [esp + 0x88], 2
call fcn.004030d0
cmp dword [esp + 0x74], 8
jb 0x409663
mov edx, dword [esp + 0x60]
push edx
call fcn.00413bbf
add esp, 4
mov eax, dword [esp + 0x10]
cmp eax, ebx
je 0x409672
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
mov ecx, dword [esp + 0x78]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x78
ret
Function at 0x409bd0
Capabilities:
Connect to wmi namespace via wbemlocator

Disassembly:
push 0xffffffffffffffff
push 0x426978
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
push edi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x14]
mov dword fs:[0], eax
mov ebx, ecx
push 0
call dword [sym.imp.ole32.dll_CoInitialize]
push 0
push 0
push 0
push 3
push 0
push 0
push 0
push 0xffffffffffffffff
push 0
call dword [sym.imp.ole32.dll_CoInitializeSecurity]
lea esi, [ebx + 4]
push esi
push 0x42933c
push 1
push 0
push 0x42940c
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x409c96
cmp dword [esi], 0
je 0x409c96
lea edi, [esp + 0x10]
call fcn.00409690
mov dword [esp + 0x1c], 0
mov eax, dword [eax]
test eax, eax
je 0x409c52
mov ecx, dword [eax]
jmp 0x409c54
xor ecx, ecx
mov eax, dword [esi]
mov edx, dword [eax]
push ebx
push 0
push 0
push 0
push 0
push 0
push 0
push ecx
push eax
mov eax, dword [edx + 0xc]
call eax
lea edi, [esp + 0x10]
mov esi, eax
call fcn.00409730
test esi, esi
jl 0x409c96
mov ebx, dword [ebx]
test ebx, ebx
je 0x409c96
push 0
push 0
push 3
push 3
push 0
push 0
push 0xffffffffffffffff
push ebx
call dword [sym.imp.ole32.dll_CoSetProxyBlanket]
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x10
ret
Function at 0x40eac0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x427978
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
call fcn.004030d0
push 0x24
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], esi
call fcn.004087c0
mov eax, dword [esp + 0x10]
mov esi, 8
add esp, 4
cmp dword [esp + 0x20], esi
jae 0x40eb37
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40eb5a
cmp dword [esp + 0x20], esi
jb 0x40eb56
mov eax, dword [esp + 0xc]
push eax
call fcn.00413bbf
add esp, 4
mov al, 1
jmp 0x40eb6f
cmp dword [esp + 0x20], esi
jb 0x40eb6d
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00413bbf
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004138c3
add esp, 0x2c
ret

Function at 0x40eb90
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push 0xffffffffffffffff
push 0x427978
mov eax, dword fs:[0]
push eax
sub esp, 0x20
mov eax, dword [0x430240]
xor eax, esp
mov dword [esp + 0x1c], eax
push esi
mov eax, dword [0x430240]
xor eax, esp
push eax
lea eax, [esp + 0x28]
mov dword fs:[0], eax
mov eax, dword [esp + 0x38]
xor esi, esi
push 0xffffffffffffffff
push esi
lea ecx, [esp + 0x10]
mov dword [esp + 0x28], 7
mov dword [esp + 0x24], esi
mov word [esp + 0x14], si
call fcn.004030d0
push 0x24
lea ecx, [esp + 0xc]
mov dword [esp + 0x34], esi
call fcn.004087c0
mov eax, dword [esp + 0x10]
mov esi, 8
add esp, 4
cmp dword [esp + 0x20], esi
jae 0x40ec07
lea eax, [esp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x40ec2e
test al, 0x10
je 0x40ec2e
cmp dword [esp + 0x20], esi
jb 0x40ec2a
mov eax, dword [esp + 0xc]
push eax
call fcn.00413bbf
add esp, 4
mov al, 1
jmp 0x40ec43
cmp dword [esp + 0x20], esi
jb 0x40ec41
mov ecx, dword [esp + 0xc]
push ecx
call fcn.00413bbf
add esp, 4
xor al, al
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
pop ecx
pop esi
mov ecx, dword [esp + 0x1c]
xor ecx, esp
call fcn.004138c3
add esp, 0x2c
ret