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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x294
mov eax, dword [0x475010]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
push 0x468860
push eax
call fcn.00440ffa
add esp, 8
mov dword [ebp - 0x294], eax
test eax, eax
jne 0x415186
mov eax, 0xfffffff9
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.00423606
mov esp, ebp
pop ebp
ret
push ebx
push esi
push dword [edi]
call fcn.00415790
mov ebx, dword [edi + 0x3c]
lea ecx, [ebp - 0x104]
movzx edx, al
add esp, 4
mov dword [ebp - 0x288], edx
mov eax, pe_nt_image_headers32
mov dword [ebp - 0x290], eax
mov dword [ebp - 0x28c], ecx
test ebx, ebx
je 0x415250
cmp dword [edi + 0x34], 1
je 0x4151cb
mov eax, dword [edi + 0x2c]
cmp eax, dword [edi + 0x38]
jle 0x41524a
mov esi, dword [edi + 0x30]
cmp esi, 0x180
ja 0x415312
push 0x180
lea eax, [ebp - 0x284]
push 0
push eax
call fcn.00424dd0
push esi
lea eax, [ebp - 0x284]
push eax
push dword [edi + 0x40]
call ebx
add esp, 0x18
test eax, eax
je 0x41520b
mov esi, 0xfffffff7
jmp 0x4152e2
mov ebx, dword [edi + 0x30]
lea eax, [ebp - 0x284]
push ebx
push eax
push edi
call fcn.00414f00
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x41522c
mov dword [edi + 0x2c], 1
lea eax, [ebp - 0x284]
push ebx
push eax
call fcn.0041ac10
add esp, 8
test esi, esi
jne 0x4152e2
mov edx, dword [ebp - 0x288]
mov eax, pe_nt_image_headers32
nop
cmp eax, edx
mov ebx, eax
push edi
cmova ebx, edx
call fcn.00415a70
mov esi, eax
add esp, 4
test esi, esi
jne 0x415319
push dword [ebp - 0x288]
lea eax, [edi + 0xc]
push eax
push edi
call fcn.00415d70
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x415319
lea eax, [edi + 0xc]
push eax
push edi
call fcn.00415980
mov esi, eax
add esp, 8
test esi, esi
jne 0x415319
mov esi, dword [ebp - 0x28c]
lea eax, [edi + 0xc]
push ebx
push eax
push esi
call fcn.00424f30
mov eax, dword [ebp - 0x290]
add esi, ebx
mov edx, dword [ebp - 0x288]
add esp, 0xc
sub eax, ebx
mov dword [ebp - 0x28c], esi
mov dword [ebp - 0x290], eax
jne 0x415250
push 0
push 0
push edi
call fcn.00414f00
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x415319
inc dword [edi + 0x2c]
test esi, esi
jne 0x415319
mov edi, dword [ebp - 0x294]
lea eax, [ebp - 0x104]
push edi
push pe_nt_image_headers32
push 1
push eax
call fcn.0042f523
add esp, 0x10
lea esi, [eax - 0x100]
neg esi
sbb esi, esi
and esi, 0xfffffff9
jmp 0x41531f
mov esi, 0xfffffffb
jmp 0x4152e2
mov edi, dword [ebp - 0x294]
push edi
call fcn.00440c48
lea eax, [ebp - 0x104]
push pe_nt_image_headers32
push eax
call fcn.0041ac10
mov ecx, dword [ebp - 4]
add esp, 0xc
mov eax, esi
xor ecx, ebp
pop esi
pop ebx
pop edi
call fcn.00423606
mov esp, ebp
pop ebp
ret
Function at 0x416cf0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x5c
mov eax, dword [0x475010]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x44]
push edi
mov edi, dword [ebp + 0x10]
push 0x40
push 0
push eax
call fcn.00424dd0
push dword [ebp + 0xc]
lea eax, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push esi
push eax
mov dword [ebp - 0x58], 0
mov dword [ebp - 0x54], 0x67452301
mov dword [ebp - 0x50], 0xefcdab89
mov dword [ebp - 0x4c], 0x98badcfe
mov dword [ebp - 0x48], 0x10325476
call fcn.00416e20
mov esi, eax
add esp, 0x18
test esi, esi
jne 0x416d64
lea eax, [ebp - 0x5c]
push edi
push eax
call fcn.00416b70
add esp, 8
mov esi, eax
lea eax, [ebp - 0x5c]
push 0x58
push eax
call fcn.0041ac10
mov ecx, dword [ebp - 4]
add esp, 8
mov eax, esi
xor ecx, ebp
pop edi
pop esi
call fcn.00423606
mov esp, ebp
pop ebp
ret

Function at 0x416dd0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov dword [eax], 0
mov dword [eax + 4], 0
mov dword [eax + 8], 0x67452301
mov dword [eax + 0xc], 0xefcdab89
mov dword [eax + 0x10], 0x98badcfe
mov dword [eax + 0x14], 0x10325476
xor eax, eax
pop ebp
ret

Function at 0x4174b0
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x468f50], 0
mov eax, 0x468f50
je 0x4174d1
mov ecx, dword [ebp + 8]
cmp dword [eax + 0x10], ecx
je 0x4174d8
add eax, 0x14
cmp dword [eax], 0
jne 0x4174c4
mov eax, 0xffffffd2
pop ebp
ret
mov ecx, dword [ebp + 0xc]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0x10]
mov dword [eax], ecx
xor eax, eax
pop ebp
ret

Function at 0x4174f0
Capabilities:
Encrypt data using openssl ecdsa

Disassembly:
push ebp
mov ebp, esp
cmp dword [0x468f08], 0
mov eax, 0x468f08
je 0x417519
mov ecx, dword [ebp + 0xc]
mov edx, dword [ebp + 8]
cmp dword [eax + 0x14], edx
jne 0x417511
cmp dword [eax + 0x10], ecx
je 0x417520
add eax, 0x18
cmp dword [eax], 0
jne 0x417507
mov eax, 0xffffffd2
pop ebp
ret
mov ecx, dword [ebp + 0x10]
mov edx, dword [eax]
mov dword [ecx], edx
mov ecx, dword [eax + 4]
mov eax, dword [ebp + 0x14]
mov dword [eax], ecx
xor eax, eax
pop ebp
ret
Function at 0x417540
Capabilities:
Encrypt data using openssl rsa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x468f50
mov edx, edi
test eax, eax
je 0x4175c1
cmp dword [0x468f50], 0
je 0x4175c1
mov ebx, dword [eax + 4]
cmp dword [edx + 4], ebx
jne 0x4175b7
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [eax + 8]
sub esi, 4
jb 0x417582
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x417587
add edx, 4
add eax, 4
sub esi, 4
jae 0x417571
cmp esi, 0xfffffffc
je 0x4175cb
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x4175b4
cmp esi, 0xfffffffd
je 0x4175cb
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x4175b4
cmp esi, 0xfffffffe
je 0x4175cb
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x4175b4
cmp esi, 0xffffffff
je 0x4175cb
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x4175cb
mov eax, dword [ebp + 8]
add edi, 0x14
mov edx, edi
cmp dword [edi], 0
jne 0x417560
pop edi
pop esi
mov eax, 0xffffffd2
pop ebx
pop ebp
ret
test edi, edi
je 0x4175c1
mov eax, dword [ebp + 0xc]
mov ecx, dword [edi + 0x10]
pop edi
pop esi
mov dword [eax], ecx
xor eax, eax
pop ebx
pop ebp
ret

Function at 0x417790
Capabilities:
Encrypt data using openssl ecdsa

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, 0x468f08
mov edx, edi
test eax, eax
je 0x417811
cmp dword [0x468f08], 0
je 0x417811
mov ebx, dword [eax + 4]
cmp dword [edx + 4], ebx
jne 0x417807
mov edx, dword [edx]
mov esi, ebx
mov eax, dword [eax + 8]
sub esi, 4
jb 0x4177d2
mov ecx, dword [edx]
cmp ecx, dword [eax]
jne 0x4177d7
add edx, 4
add eax, 4
sub esi, 4
jae 0x4177c1
cmp esi, 0xfffffffc
je 0x417818
mov cl, byte [edx]
cmp cl, byte [eax]
jne 0x417804
cmp esi, 0xfffffffd
je 0x417818
mov cl, byte [edx + 1]
cmp cl, byte [eax + 1]
jne 0x417804
cmp esi, 0xfffffffe
je 0x417818
mov cl, byte [edx + 2]
cmp cl, byte [eax + 2]
jne 0x417804
cmp esi, 0xffffffff
je 0x417818
mov cl, byte [edx + 3]
cmp cl, byte [eax + 3]
je 0x417818
mov eax, dword [ebp + 8]
add edi, 0x18
mov edx, edi
cmp dword [edi], 0
jne 0x4177b0
pop edi
pop esi
xor eax, eax
pop ebx
pop ebp
ret
mov eax, edi
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x418e70
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push esi
push 0x468864
push dword [ebp + 8]
call fcn.00440ffa
mov esi, eax
add esp, 8
test esi, esi
jne 0x418e92
mov eax, 0xffffc200
pop esi
pop ebp
ret
push ebx
push 2
push 0
push esi
call fcn.00441701
push esi
call fcn.00441e89
mov ebx, eax
add esp, 0x10
cmp ebx, 0xffffffff
jne 0x418ebf
push esi
call fcn.00440c48
add esp, 4
mov eax, 0xffffc200
pop ebx
pop esi
pop ebp
ret
push edi
push 0
push 0
push esi
call fcn.00441701
mov edi, dword [ebp + 0x10]
add esp, 0xc
mov dword [edi], ebx
add ebx, 1
je 0x418f49
push ebx
push 1
call fcn.0042ed7b
mov ebx, dword [ebp + 0xc]
add esp, 8
mov dword [ebx], eax
test eax, eax
je 0x418f49
push esi
push dword [edi]
push 1
push eax
call fcn.00441271
add esp, 0x10
push esi
cmp eax, dword [edi]
je 0x418f20
call fcn.00440c48
push dword [edi]
push dword [ebx]
call fcn.0041ac10
push dword [ebx]
call fcn.0042ed86
add esp, 0x10
mov eax, 0xffffc200
pop edi
pop ebx
pop esi
pop ebp
ret
call fcn.00440c48
mov ecx, dword [ebx]
mov eax, dword [edi]
push str._____BEGIN
mov byte [ecx + eax], 0
push dword [ebx]
call fcn.004254b0
add esp, 0xc
test eax, eax
je 0x418f42
inc dword [edi]
pop edi
pop ebx
xor eax, eax
pop esi
pop ebp
ret
push esi
call fcn.00440c48
add esp, 4
mov eax, 0xffffc080
pop edi
pop ebx
pop esi
pop ebp
ret
Function at 0x41ba20
Capabilities:
Hash data using sha224
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 8]
mov edx, 0x367cd507
mov ecx, dword [ebp + 0xc]
test ecx, ecx
push ebx
push esi
mov dword [eax], 0
mov ebx, 0xa54ff53a
mov dword [eax + 4], 0
mov esi, 0x9b05688c
mov eax, 0xbb67ae85
mov dword [ebp - 4], 0xc1059ed8
cmovne eax, edx
mov ecx, 0x510e527f
mov dword [ebp - 8], eax
mov edx, 0x3070dd17
mov eax, 0x3c6ef372
cmovne eax, edx
mov edx, 0x5be0cd19
mov dword [ebp - 0xc], eax
mov eax, 0xf70e5939
cmovne ebx, eax
mov eax, 0x64f98fa7
push edi
mov edi, 0x1f83d9ab
mov dword [ebp - 0x10], ebx
mov ebx, dword [ebp + 0xc]
cmovne edi, eax
mov eax, 0x68581511
cmovne esi, eax
mov eax, 0xbefa4fa4
cmovne edx, eax
test ebx, ebx
mov ebx, dword [ebp + 8]
mov eax, 0xffc00b31
cmovne ecx, eax
mov eax, 0x6a09e667
cmovne eax, dword [ebp - 4]
mov dword [ebx + 8], eax
mov eax, dword [ebp - 8]
mov dword [ebx + 0xc], eax
mov eax, dword [ebp - 0xc]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 8]
mov ebx, dword [ebp - 0x10]
mov dword [eax + 0x14], ebx
mov dword [eax + 0x18], ecx
mov ecx, dword [ebp + 0xc]
mov dword [eax + 0x1c], esi
mov dword [eax + 0x20], edi
pop edi
mov dword [eax + 0x24], edx
pop esi
mov dword [eax + 0x68], ecx
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422000
Capabilities:
Receive data
Receive data on socket
Send data
Send data on socket

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x90
mov eax, dword [0x475010]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
push 0x1a0
push 0
push 0x477c98
mov dword [0x477c90], 0
call fcn.00424dd0
push 0x68
lea eax, [ebp - 0x6c]
push 0
push eax
call fcn.00424dd0
mov eax, dword [0x477c4c]
add esp, 0x18
xor esi, esi
mov dword [ebp - 0x6c], 0x54504e54
mov dword [ebp - 0x68], 0x4e54504e
mov dword [ebp - 0x64], 0x10068
mov byte [ebp - 0x5f], 0
test eax, eax
jle 0x4220ad
mov edi, dword [sym.imp.WS2_32.dll_htons]
mov ebx, dword [sym.imp.WS2_32.dll_sendto]
push 0xd431
mov dword [ebp - 0x78], 0xffffffff
call edi
mov word [ebp - 0x7a], ax
mov eax, 2
push 0x10
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7c]
push eax
push 0
push 0x68
lea eax, [ebp - 0x6c]
push eax
push dword [esi*8 + 0x477c50]
call ebx
mov eax, dword [0x477c4c]
inc esi
cmp esi, eax
jl 0x422071
xor ebx, ebx
test eax, eax
jle 0x42223b
mov edi, dword [sym.imp.WS2_32.dll_recvfrom]
mov esi, 0x477c50
nop dword [eax]
nop word [eax + eax]
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0x10
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x68
lea eax, [ebp - 0x6c]
push eax
push dword [esi]
call edi
cmp eax, 0xffffffff
je 0x42222b
nop dword [eax]
cmp dword [ebp - 0x6c], 0x54504e54
jne 0x42222b
cmp dword [ebp - 0x68], 0x4e54504e
jne 0x42222b
cmp word [ebp - 0x64], 0x68
jne 0x42222b
cmp word [ebp - 0x62], 1
jne 0x42222b
cmp byte [ebp - 0x5d], 0
jne 0x422158
cmp byte [ebp - 0x5c], 0
jne 0x422158
cmp byte [ebp - 0x5b], 0
jne 0x422158
cmp byte [ebp - 0x5a], 0
jne 0x422158
cmp byte [ebp - 0x59], 0
jne 0x422158
cmp byte [ebp - 0x58], 0
je 0x4221fe
mov al, byte [ebp - 0x5f]
cmp al, 1
je 0x422167
cmp al, 3
jne 0x4221fe
mov eax, str.TinyES3
lea ecx, [ebp - 0x47]
nop
mov dl, byte [ecx]
cmp dl, byte [eax]
jne 0x422190
test dl, dl
je 0x42218c
mov dl, byte [ecx + 1]
cmp dl, byte [eax + 1]
jne 0x422190
add ecx, 2
add eax, 2
test dl, dl
jne 0x422170
xor eax, eax
jmp 0x422195
sbb eax, eax
or eax, 1
test eax, eax
jne 0x4221fe
mov edx, dword [0x477c90]
cmp edx, 8
jge 0x4221fe
mov eax, dword [ebp - 0x5d]
movups xmm0, xmmword [ebp - 0x47]
imul ecx, edx, 0x34
inc edx
mov dword [0x477c90], edx
mov dword [ecx + 0x477c98], eax
mov ax, word [ebp - 0x59]
mov word [ecx + 0x477c9c], ax
mov eax, dword [ebp - 0x57]
mov dword [ecx + 0x477ca0], eax
mov eax, dword [ebp - 0x4b]
mov dword [ecx + 0x477ca4], eax
movzx eax, byte [ebp - 0x37]
movups xmmword [ecx + 0x477ca8], xmm0
mov byte [ecx + 0x477cb8], al
movups xmm0, xmmword [ebp - 0x36]
movzx eax, byte [ebp - 0x26]
movups xmmword [ecx + 0x477cb9], xmm0
mov byte [ecx + 0x477cc9], al
lea eax, [ebp - 0x90]
mov dword [ebp - 0x90], 0x10
push eax
lea eax, [ebp - 0x8c]
push eax
push 0
push 0x68
lea eax, [ebp - 0x6c]
push eax
push dword [esi]
call edi
cmp eax, 0xffffffff
jne 0x422100
inc ebx
add esi, 8
cmp ebx, dword [0x477c4c]
jl 0x4220d0
mov eax, dword [0x477c90]
mov ecx, dword [ebp - 4]
neg eax
pop edi
sbb eax, eax
xor ecx, ebp
neg eax
pop esi
dec eax
pop ebx
call fcn.00423606
mov esp, ebp
pop ebp
ret
Function at 0x450e7b
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00450a73

Function at 0x450e86
Capabilities:
Read file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00450bfd

Function at 0x451feb
Capabilities:
Print debug messages

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.00451ebf

Function at 0x454c20
Capabilities:
Set environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
pop ebp
jmp fcn.004545de
Function at 0xe4174b
Capabilities:
Write file on windows

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push edi
mov edi, ecx
mov eax, dword [edi + 0x44]
xor ebx, ebx
cmp eax, ebx
je 0xe417a6
cmp eax, 0xffffffff
je 0xe417a6
cmp dword [ebp + 8], ebx
je 0xe417a6
push esi
push dword [ebp + 8]
mov dword [ebp - 4], ebx
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov edi, dword [edi + 0x44]
push ebx
mov esi, eax
lea eax, [ebp - 4]
push eax
add esi, esi
push esi
push dword [ebp + 8]
push edi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0xe4f302
cmp esi, dword [ebp - 4]
jne 0xe4f31d
pop esi
pop edi
mov eax, ebx
pop ebx
leave
ret 4
mov ebx, 0x80070057
jmp 0xe4179e

Function at 0xe4227c
Capabilities:
Query environment variable

Disassembly:
push 0x20
mov eax, 0xe5621c
call fcn.00e41350
xor ebx, ebx
mov dword [ebp - 0x2c], ebx
mov dword [ebp - 0x28], ebx
mov dword [ebp - 0x24], ebx
push ebx
push 0x20019
push dword [0xe5b458]
lea ecx, [ebp - 0x2c]
push 0x80000002
mov dword [ebp - 4], ebx
mov dword [ebp - 0x18], ebx
call fcn.00e42097
test eax, eax
jne 0xe423c4
lea eax, [ebp - 0x20]
push eax
push dword [0xe5b45c]
lea ecx, [ebp - 0x2c]
push ebx
mov dword [ebp - 0x1c], ebx
mov dword [ebp - 0x14], ebx
mov dword [ebp - 0x20], ebx
call fcn.00e423dc
test eax, eax
jne 0xe423c4
mov eax, dword [ebp - 0x20]
xor ecx, ecx
push 2
add eax, eax
pop edx
mul edx
seto cl
mov byte [ebp - 4], 1
neg ecx
or ecx, eax
push ecx
call fcn.00e413e0
mov esi, eax
pop ecx
mov dword [ebp - 0x1c], esi
cmp esi, ebx
je 0xe423c4
lea eax, [ebp - 0x20]
push eax
push dword [0xe5b45c]
lea ecx, [ebp - 0x2c]
push esi
call fcn.00e423dc
test eax, eax
jne 0xe423bb
push ebx
push ebx
push esi
mov esi, dword [sym.imp.KERNEL32.dll_ExpandEnvironmentStringsW]
call esi
mov edi, eax
cmp edi, ebx
je 0xe423bb
xor ecx, ecx
push 2
pop edx
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e413e0
pop ecx
mov dword [ebp - 0x14], eax
cmp eax, ebx
je 0xe423bb
push edi
push eax
push dword [ebp - 0x1c]
call esi
mov esi, eax
cmp esi, ebx
je 0xe423b2
cmp dword [ebp + 8], ebx
je 0xe4ea08
push dword [0xe5b460]
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea edi, [eax + esi + 1]
xor ecx, ecx
push 2
pop edx
mov eax, edi
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e413e0
pop ecx
mov dword [ebp - 0x18], eax
cmp eax, ebx
je 0xe423b2
push dword [ebp - 0x14]
push esi
push eax
call fcn.00e421cb
push dword [0xe5b460]
push edi
push dword [ebp - 0x18]
call fcn.00e42436
push dword [ebp - 0x14]
call fcn.00e413c0
pop ecx
push dword [ebp - 0x1c]
call fcn.00e413c0
pop ecx
lea ecx, [ebp - 0x2c]
call fcn.00e41f10
mov eax, dword [ebp - 0x18]
call fcn.00e41390
ret 4
Function at 0xe423dc
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0x10]
push edi
push esi
lea eax, [ebp - 4]
push eax
xor ebx, ebx
push ebx
push dword [ebp + 0xc]
mov dword [ebp - 4], ebx
push dword [ecx]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [ebp - 4], ebx
jbe 0xe4242c
cmp dword [ebp - 4], 2
ja 0xe4e965
mov ecx, dword [edi]
test cl, 1
jne 0xe4242c
cmp esi, ebx
je 0xe42425
shr ecx, 1
cmp word [esi + ecx*2 - 2], bx
jne 0xe4242c
pop edi
pop esi
pop ebx
leave
ret 0xc
push 0xd
pop eax
jmp 0xe42425

Function at 0xe424ed
Capabilities:
Delete file
Move file

Disassembly:
push 0x14
mov eax, 0xe56b05
call fcn.00e41350
mov esi, ecx
mov eax, dword [esi + 0x44]
xor edi, edi
mov ebx, 0x8007000e
mov dword [ebp - 0x18], edi
mov dword [ebp - 0x14], edi
cmp eax, edi
je 0xe42519
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esi + 0x44], edi
cmp dword [ebp + 8], edi
je 0xe4265b
cmp dword [ebp + 0xc], edi
je 0xe4265b
push 1
call fcn.00e4227c
mov dword [ebp - 0x1c], eax
cmp eax, edi
je 0xe4264a
mov esi, dword [sym.imp.KERNEL32.dll_lstrlenW]
push eax
mov dword [ebp - 4], edi
call esi
push dword [ebp + 8]
mov edi, eax
call esi
lea eax, [eax + edi + 1]
xor ecx, ecx
push 2
pop edx
mov dword [ebp - 0x20], eax
mul edx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e413e0
pop ecx
mov dword [ebp - 0x18], eax
test eax, eax
je 0xe4259b
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00e421cb
mov ebx, eax
test ebx, ebx
jl 0xe4259b
push dword [ebp + 8]
push dword [ebp - 0x20]
push dword [ebp - 0x18]
call fcn.00e42436
mov ebx, eax
test ebx, ebx
jl 0xe4259b
xor ebx, ebx
inc ebx
or dword [ebp - 4], 0xffffffff
test ebx, ebx
jl 0xe42632
push 2
pop ebx
push dword [ebp - 0x1c]
mov dword [ebp - 4], ebx
call esi
push dword [ebp + 0xc]
mov edi, eax
call esi
lea esi, [eax + edi + 1]
xor ecx, ecx
mov eax, esi
mul ebx
seto cl
neg ecx
or ecx, eax
push ecx
call fcn.00e413e0
pop ecx
mov dword [ebp - 0x14], eax
test eax, eax
je 0xe42654
push dword [ebp - 0x1c]
inc edi
push edi
push eax
call fcn.00e421cb
mov ebx, eax
test ebx, ebx
jl 0xe42623
push dword [ebp + 0xc]
push esi
push dword [ebp - 0x14]
call fcn.00e42436
mov ebx, eax
test ebx, ebx
jl 0xe42623
xor ebx, ebx
inc ebx
test ebx, ebx
jl 0xe42623
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
push 1
push dword [ebp - 0x14]
push dword [ebp - 0x18]
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
je 0xe4f3a2
xor ebx, ebx
cmp dword [ebp - 0x14], 0
je 0xe42632
push dword [ebp - 0x14]
call fcn.00e413c0
pop ecx
cmp dword [ebp - 0x18], 0
je 0xe42641
push dword [ebp - 0x18]
call fcn.00e413c0
pop ecx
push dword [ebp - 0x1c]
call fcn.00e413c0
pop ecx
mov eax, ebx
call fcn.00e41390
ret 8
mov ebx, 0x8007000e
jmp 0xe425fe
mov ebx, 0x80070057
jmp 0xe4264a
Function at 0xe43a67
Capabilities:
Query or enumerate registry value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x10
and dword [ebp - 8], 0
push esi
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push 0xe43ae4
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
mov esi, eax
test esi, esi
jne 0xe43ac0
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 0x10]
push eax
push esi
push 0xe43ad0
push dword [ebp - 4]
mov dword [ebp - 0xc], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
cmp esi, 0xffffffff
pop esi
je 0xe4e30e
mov eax, dword [ebp - 8]
leave
ret
Function at 0xe44267
Capabilities:
Create thread

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push esi
xor esi, esi
cmp dword [0xe5b00c], esi
jne 0xe442be
lea eax, [ebp - 4]
push eax
push esi
push esi
push 0xe42c6f
push esi
push esi
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov dword [0xe5b00c], eax
cmp eax, esi
je 0xe4e4ec
push 0xffffffffffffffff
push dword [0xe5b014]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push dword [0xe5b014]
call dword [sym.imp.KERNEL32.dll_ResetEvent]
cmp dword [0xe5b018], esi
jl 0xe4e50a
pop esi
leave
ret

Function at 0xe44441
Capabilities:
Parse pe header

Disassembly:
push 0xc
push 0xe44498
call fcn.00e42712
xor eax, eax
mov ecx, dword [ebp + 8]
test ecx, ecx
je 0xe44490
cmp ecx, 0xffffffff
je 0xe44490
and dword [ebp - 4], eax
mov edx, 0x5a4d
cmp word [ecx], dx
jne 0xe44489
mov edx, dword [ecx + 0x3c]
test edx, edx
jl 0xe44489
cmp edx, 0x10000000
jae 0xe44489
lea eax, [edx + ecx]
mov dword [ebp - 0x1c], eax
cmp dword [eax], 0x4550
jne 0xe4e892
mov dword [ebp - 4], 0xfffffffe
call fcn.00e42757
ret 4

Function at 0xe4681f
Capabilities:
Get common file path

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x420
mov eax, dword [0xe5b004]
xor eax, ebp
mov dword [ebp - 4], eax
xor eax, eax
push esi
mov esi, ecx
inc eax
cmp dword [esi + 0x2c], 0
jne 0xe46933
push edi
xor eax, eax
push 0x208
push eax
mov word [ebp - 0x41c], ax
lea eax, [ebp - 0x41a]
push eax
call sub.msvcrt.dll_memset
add esp, 0xc
mov edi, 0x105
push edi
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
mov dword [ebp - 0x420], eax
cmp eax, edi
ja 0xe4ed16
lea eax, [ebp - 0x41c]
push eax
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e421cb
test eax, eax
jl 0xe46932
mov ecx, dword [ebp - 0x420]
cmp word [ebp + ecx*2 - 0x210], 0x5c
je 0xe468c3
push 0xe46994
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e42436
test eax, eax
jl 0xe46932
push 0xe46980
push edi
lea eax, [ebp - 0x210]
push eax
call fcn.00e42436
test eax, eax
jl 0xe46932
lea eax, [ebp - 0x210]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov dword [esi + 0x2c], eax
test eax, eax
je 0xe4ed20
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0xe46970
push eax
call edi
push 0xe4695c
push dword [esi + 0x2c]
mov dword [esi + 0x30], eax
call edi
push 0xe46948
push dword [esi + 0x2c]
mov dword [esi + 0x34], eax
call edi
cmp dword [esi + 0x30], 0
mov dword [esi + 0x38], eax
je 0xe46940
cmp dword [esi + 0x34], 0
je 0xe46940
test eax, eax
je 0xe46940
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.00e420d4
leave
ret
mov eax, 0x8007007f
jmp 0xe46932