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

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, 1
cmp byte [esi], 0
je 0x434677
push 0
lea eax, [ebp - 4]
push eax
push edi
lea eax, [ebp + 0xb]
push eax
push dword [esi + 4]
lea ebx, [esi + 8]
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
jne 0x434672
mov byte [ebx], 1
mov edi, dword [ebp - 4]
jmp 0x4346a4
mov ebx, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
lea eax, [ebx + 1]
cmp eax, ecx
jbe 0x434688
mov edi, ecx
sub edi, ebx
mov eax, dword [esi + 0x14]
add eax, ebx
push edi
push eax
lea eax, [ebp + 0xb]
push eax
call fcn.005010e0
lea eax, [ebx + edi]
add esp, 0xc
mov dword [esi + 0x1c], eax
lea ebx, [esi + 8]
cmp edi, 1
jne 0x4346bb
mov eax, dword [ebp + 0xc]
movzx ecx, byte [ebp + 0xb]
mov dword [eax], ecx
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret
cmp byte [esi], 0
je 0x4346b2
cmp byte [ebx], 0
je 0x4346b2
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x436320
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
push ebp
mov ebp, esp
mov edx, dword [ebp + 0xc]
test edx, edx
jne 0x43632e
xor eax, eax
pop ebp
ret
mov eax, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0x10]
not eax
cmp esi, 8
jb 0x4363ed
push edi
mov edi, esi
shr edi, 3
movzx ecx, byte [edx]
sub esi, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
movzx ecx, byte [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
movzx ecx, byte [edx + 2]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
movzx ecx, byte [edx + 3]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
movzx ecx, byte [edx + 4]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
movzx ecx, byte [edx + 5]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
movzx ecx, byte [edx + 6]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
movzx ecx, byte [edx + 7]
add edx, 8
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
sub edi, 1
jne 0x436346
pop edi
test esi, esi
je 0x43640b
movzx ecx, byte [edx]
lea edx, [edx + 1]
xor ecx, eax
shr eax, 8
movzx ecx, cl
xor eax, dword [ecx*4 + 0x5a4208]
sub esi, 1
jne 0x4363f1
not eax
pop esi
pop ebp
ret
Function at 0x436900
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, dword [ebp + 8]
xor ebx, ebx
push edi
xor edi, edi
mov eax, dword [esi + 0x6af90]
mov dword [esi + 0x6af80], 2
test eax, eax
je 0x436b0d
cmp eax, 3
jb 0x436976
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
xor ecx, eax
and ecx, 0x7fff
and edx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebx
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
test ebx, ebx
je 0x4369b4
mov eax, dword [esi + 0x6af84]
sub eax, ebx
cmp eax, 0x7efa
ja 0x4369b4
mov eax, dword [esi + 0x6af90]
cmp dword [esi + 0x6afa0], eax
jbe 0x43699d
mov dword [esi + 0x6afa0], eax
push ebx
push esi
call fcn.00437a40
mov ecx, dword [esi + 0x6af90]
mov edi, eax
add esp, 8
cmp edi, ecx
cmova edi, ecx
mov ecx, dword [esi + 0x6af84]
cmp edi, 3
jb 0x436a8a
sub ecx, dword [esi + 0x6af88]
lea eax, [edi - 3]
push eax
push ecx
push esi
call fcn.00436710
mov ecx, dword [esi + 0x6af90]
add esp, 0xc
sub ecx, edi
mov dword [ebp + 8], eax
mov dword [esi + 0x6af90], ecx
cmp edi, dword [esi + 0x6af98]
ja 0x436a59
cmp ecx, 3
jb 0x436a59
dec edi
nop word [eax + eax]
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
mov eax, dword [esi + 0x6af7c]
shl eax, 5
movzx ecx, byte [edx + esi + 0x1af72]
and edx, 0x7fff
xor ecx, eax
and ecx, 0x7fff
mov dword [esi + 0x6af7c], ecx
mov ebx, dword [esi + ecx*4 + 0x4af70]
mov dword [esi + edx*4 + 0x2af70], ebx
mov ecx, dword [esi + 0x6af7c]
mov eax, dword [esi + 0x6af84]
mov dword [esi + ecx*4 + 0x4af70], eax
sub edi, 1
jne 0x436a00
jmp 0x436aa7
add dword [esi + 0x6af84], edi
xor edi, edi
mov edx, dword [esi + 0x6af84]
movzx ecx, byte [edx + esi + 0x1af70]
mov dword [esi + 0x6af7c], ecx
movzx eax, byte [edx + esi + 0x1af71]
shl ecx, 5
xor eax, ecx
mov dword [esi + 0x6af7c], eax
jmp 0x436ab3
movzx eax, byte [ecx + esi + 0x1af70]
push eax
push 0
push esi
call fcn.00436710
add esp, 0xc
mov dword [ebp + 8], eax
dec dword [esi + 0x6af90]
inc dword [esi + 0x6af84]
mov edx, dword [esi + 0x6af84]
cmp dword [ebp + 8], 0
je 0x436aea
mov eax, dword [esi + 0x6af74]
test eax, eax
js 0x436acd
lea ecx, [esi + 0x1af70]
add ecx, eax
jmp 0x436acf
xor ecx, ecx
push 0
sub edx, eax
push edx
push ecx
push esi
call fcn.00436ca0
mov eax, dword [esi + 0x6af84]
add esp, 0x10
mov dword [esi + 0x6af74], eax
cmp dword [esi + 0x6af90], 0x106
jae 0x436aff
push esi
call fcn.00436b40
add esp, 4
mov eax, dword [esi + 0x6af90]
test eax, eax
jne 0x436925
mov ecx, dword [esi + 0x6af74]
test ecx, ecx
js 0x436b21
lea edx, [esi + 0x1af70]
add edx, ecx
jmp 0x436b23
xor edx, edx
mov eax, dword [esi + 0x6af84]
push 1
sub eax, ecx
push eax
push edx
push esi
call fcn.00436ca0
add esp, 0x10
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x438790
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
push edi
mov edi, ecx
mov ecx, dword [edi + 0x84]
test ecx, ecx
je 0x4387f2
mov edx, dword [edi + 0x8c]
mov ebx, dword [edi + 0x88]
cmp edx, ebx
jae 0x438839
mov esi, dword [ebp + 8]
lea eax, [edx + ecx]
sub ebx, edx
cmp ebx, dword [ebp + 0xc]
cmova ebx, dword [ebp + 0xc]
push ebx
push eax
push esi
call fcn.005010e0
add dword [edi + 0x8c], ebx
add dword [edi + 0x74], ebx
push ebx
push esi
push dword [edi + 0x78]
call fcn.00436320
add esp, 0x18
mov dword [edi + 0x78], eax
mov eax, ebx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov eax, dword [edi + 0x7c]
test eax, eax
je 0x438832
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 4]
push 0
push ecx
push dword [ebp + 0xc]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x438839
mov esi, dword [ebp - 4]
add dword [edi + 0x74], esi
push esi
push ebx
push dword [edi + 0x78]
call fcn.00436320
add esp, 0xc
mov dword [edi + 0x78], eax
mov eax, esi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
mov dword [edi + 0x14], 0x1000000
pop edi
pop esi
xor eax, eax
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x438c00
Capabilities:
Encode data using xor
Generate random numbers using the delphi lcg
Hash data with crc32
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [ebp + 8]
cmp byte [esi + 0x2d], 0
je 0x438cd5
mov ecx, dword [esi + 0x3c]
mov eax, ecx
mov ebx, dword [ebp + 0xc]
test ecx, ecx
je 0x438c38
cmp dword [esi + 0x40], ebx
jae 0x438c38
push ecx
call fcn.004ffbb9
add esp, 4
mov dword [esi + 0x3c], 0
jmp 0x438c3c
test eax, eax
jne 0x438c4e
lea eax, [ebx + ebx]
push eax
call fcn.004ffbb0
add esp, 4
mov dword [esi + 0x3c], eax
mov dword [esi + 0x40], ebx
push ebx
push edi
push eax
call fcn.005010e0
xor edx, edx
add esp, 0xc
mov dword [ebp + 8], edx
test ebx, ebx
je 0x438cd2
mov eax, dword [esi + 0x3c]
mov ecx, dword [esi + 0x30]
mov bl, byte [edx + eax]
mov edx, dword [esi + 0x38]
mov edi, edx
movsx eax, bl
and edi, 0xfffd
xor eax, ecx
or edi, 2
movzx eax, al
shr ecx, 8
xor ecx, dword [eax*4 + 0x5a4208]
movzx eax, cl
add eax, dword [esi + 0x34]
imul eax, eax, 0x8088405
mov dword [esi + 0x30], ecx
mov ecx, edi
xor ecx, 1
imul ecx, edi
inc eax
mov dword [esi + 0x34], eax
shr eax, 0x18
xor eax, edx
shr ecx, 8
movzx eax, al
xor cl, bl
shr edx, 8
xor edx, dword [eax*4 + 0x5a4208]
mov dword [esi + 0x38], edx
mov edx, dword [ebp + 8]
mov eax, dword [esi + 0x3c]
mov byte [edx + eax], cl
inc edx
mov dword [ebp + 8], edx
cmp edx, dword [ebp + 0xc]
jb 0x438c62
mov edi, dword [esi + 0x3c]
mov ecx, dword [esi + 0x20]
test ecx, ecx
je 0x438d13
mov edx, dword [esi + 0x24]
mov ebx, dword [ebp + 0xc]
lea eax, [edx + ebx]
cmp eax, dword [esi + 0x28]
jb 0x438cfa
pop edi
mov dword [esi + 0x14], 0x30000
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
push ebx
add ecx, edx
push edi
push ecx
call fcn.005010e0
add esp, 0xc
mov eax, ebx
add dword [esi + 0x24], ebx
pop edi
pop esi
pop ebx
pop ebp
ret 8
mov eax, dword [esi + 4]
test eax, eax
je 0x438d35
push 0
lea ecx, [ebp + 8]
push ecx
push dword [ebp + 0xc]
push edi
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
pop ebp
ret 8
pop edi
mov dword [esi + 0x14], 0x1000000
xor eax, eax
pop esi
pop ebx
pop ebp
ret 8
Function at 0x4395e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0xc]
lea ecx, [ebp + 0x18]
push esi
push edi
mov edi, dword [ebp + 8]
push ecx
push 0
push eax
push 0x103
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00407bc0
push dword [eax + 4]
push dword [eax]
call fcn.0050e2d9
push dword [ebp + 0x14]
lea eax, [ebp - 0x108]
push eax
push dword [ebp + 0x10]
lea eax, [ebp - 0x20c]
push eax
call fcn.0042d780
mov eax, dword [edi + 0x14]
push str.DidPfdXO19a07m
add eax, 0x100
push eax
push 0
call fcn.004356a0
mov esi, eax
add esp, 0x3c
test esi, esi
jne 0x43966c
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
push dword [edi]
lea eax, [ebp - 0x310]
push 0x6154b8
push 0x104
push eax
call fcn.00407c20
push dword [edi + 0x14]
lea eax, [ebp - 0x310]
push dword [edi + 0x18]
push eax
push esi
call fcn.00435c70
add esp, 0x20
test eax, eax
je 0x4396e6
push esi
call fcn.004304f0
add esp, 4
push esi
test al, al
je 0x4396c9
call fcn.0042fa80
add esp, 4
mov eax, 0xfffffffe
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
call fcn.004355d0
add esp, 4
mov eax, 0xfffffffe
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
lea eax, [ebp - 0x314]
push eax
lea eax, [ebp - 0x318]
push eax
push esi
call fcn.00435cc0
add esp, 0xc
test eax, eax
je 0x439749
push esi
call fcn.004304f0
add esp, 4
push esi
test al, al
je 0x43972c
call fcn.0042fa80
add esp, 4
mov eax, 0xfffffffd
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
call fcn.004355d0
add esp, 4
mov eax, 0xfffffffd
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
push 0
push dword [ebp - 0x314]
lea eax, [ebp - 0x108]
push dword [ebp - 0x318]
push eax
call fcn.0042e9b0
add esp, 0x10
push esi
cmp eax, dword [ebp - 0x314]
jae 0x4397ad
call fcn.004304f0
add esp, 4
push esi
test al, al
je 0x439783
call fcn.0042fa80
jmp 0x439788
call fcn.004355d0
add esp, 4
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
mov eax, 0xfffffffd
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
call fcn.004304f0
add esp, 4
push esi
test al, al
je 0x4397c1
call fcn.0042fa80
jmp 0x4397c6
call fcn.004355d0
mov ecx, dword [ebp - 4]
add esp, 4
mov eax, dword [ebp - 0x314]
xor ecx, ebp
pop edi
pop esi
call fcn.004ff23c
mov esp, ebp
pop ebp
ret
Function at 0x4397e0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, ecx
push esi
push edi
mov edi, dword [ebp + 8]
mov eax, dword [ebx + 0x14]
push str.DidPfdXO19a07m
add eax, 0x100
push eax
push 0
call fcn.004356a0
mov esi, eax
add esp, 0xc
test esi, esi
jne 0x43982f
pop edi
pop esi
or eax, 0xffffffff
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
push dword [ebx]
lea eax, [ebp - 0x108]
push 0x6154b8
push 0x104
push eax
call fcn.00407c20
push dword [ebx + 0x14]
lea eax, [ebp - 0x108]
push dword [ebx + 0x18]
push eax
push esi
call fcn.00435c70
add esp, 0x20
test eax, eax
je 0x43988d
push esi
call fcn.004304f0
add esp, 4
push esi
test al, al
je 0x43987e
call fcn.0042fa80
mov eax, 0xfffffffe
jmp 0x43996e
call fcn.004355d0
mov eax, 0xfffffffe
jmp 0x43996e
lea eax, [ebp - 0x10c]
push eax
lea eax, [ebp - 0x110]
push eax
push esi
call fcn.00435cc0
add esp, 0xc
test eax, eax
je 0x4398d4
push esi
call fcn.004304f0
add esp, 4
push esi
test al, al
je 0x4398c5
call fcn.0042fa80
mov eax, 0xfffffffd
jmp 0x43996e
call fcn.004355d0
mov eax, 0xfffffffd
jmp 0x43996e
push 0
push dword [ebp - 0x10c]
push dword [ebp - 0x110]
push edi
call fcn.0042e9b0
add esp, 0x10
push esi
cmp eax, dword [ebp - 0x10c]
jae 0x43994f
call fcn.004304f0
add esp, 4
push esi
test al, al
je 0x439928
call fcn.0042fa80
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
call fcn.004355d0
add esp, 4
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
mov eax, 0xfffffffd
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
call fcn.004304f0
add esp, 4
push esi
test al, al
je 0x439963
call fcn.0042fa80
jmp 0x439968
call fcn.004355d0
mov eax, dword [ebp - 0x10c]
mov ecx, dword [ebp - 4]
add esp, 4
xor ecx, ebp
pop edi
pop esi
pop ebx
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 4
Function at 0x43bcc0
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [sym.imp.USER32.dll_ShowWindow]
push esi
push edi
mov edi, dword [ebp + 8]
lea esi, [ebp + 8]
mov eax, dword [esi + 4]
lea esi, [esi + 4]
test eax, eax
jle 0x43bceb
push 0
push eax
push edi
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call ebx
jmp 0x43bcd2
pop edi
pop esi
pop ebx
pop ebp
ret
Function at 0x43be90
Capabilities:
Create new key via cryptacquirecontext
Hash data via wincrypt
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, dword [ebp + 0xc]
lea eax, [ebp - 4]
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_CryptAcquireContextA]
push edi
push 8
push 1
push 0
push 0x5a47d4
push eax
mov dword [ebp - 4], 0
mov dword [ebp - 0xc], 0
mov dword [ebp - 8], 0
call esi
test eax, eax
jne 0x43bee7
push eax
push 1
push eax
push 0x5a47d4
lea eax, [ebp - 4]
push eax
call esi
test eax, eax
jne 0x43bee7
lea edi, [eax + 1]
jmp 0x43c027
lea eax, [ebp - 0xc]
push eax
push 0
push 0
push dword [0x61ff4c]
push 0x61feb8
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptImportKey]
test eax, eax
jne 0x43bf0f
lea edi, [eax + 2]
jmp 0x43c027
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0x8003
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x43bf31
lea edi, [eax + 3]
jmp 0x43c027
mov edx, dword [ebp + 8]
mov ecx, edx
lea esi, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bf40
push 0
sub ecx, esi
push ecx
push edx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x43bf62
lea edi, [eax + 4]
jmp 0x43c027
mov ecx, ebx
lea edx, [ecx + 1]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bf67
sub ecx, edx
lea edx, [ebx - 1]
add edx, ecx
mov cl, byte [edx]
lea eax, [ecx - 0x30]
cmp al, 9
ja 0x43bf86
movsx eax, cl
add eax, 0xffffffd0
jmp 0x43bf9a
lea eax, [ecx - 0x61]
cmp al, 5
jbe 0x43bf94
lea eax, [ecx - 0x41]
cmp al, 5
ja 0x43bf9f
movsx eax, cl
add eax, 0xffffffc9
cmp eax, 0xffffffff
jne 0x43bfa5
mov byte [edx], 0
dec edx
jmp 0x43bf75
mov ecx, ebx
lea edx, [ecx + 1]
nop word [eax + eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x43bfb0
push 0
lea eax, [ebp - 0x10]
sub ecx, edx
push eax
push ebx
mov dword [ebp - 0x10], ecx
call fcn.0043a910
mov esi, dword [ebp - 0x10]
add esp, 0xc
push 0
push 0x5a47d4
push dword [ebp - 0xc]
push esi
push ebx
push dword [ebp - 8]
call dword [sym.imp.ADVAPI32.dll_CryptVerifySignatureA]
movups xmm0, xmmword [0x5a47c0]
neg eax
sbb edi, edi
mov al, byte [0x5a47d0]
neg edi
mov byte [ebp - 0x14], al
dec edi
add esi, 0xffffffff
movups xmmword [ebp - 0x24], xmm0
js 0x43c027
movsx ecx, byte [ebx + esi]
mov eax, ecx
and ecx, 0xf
sar eax, 4
and eax, 0xf
movzx eax, byte [ebp + eax - 0x24]
mov byte [ebx + esi*2], al
movzx eax, byte [ebp + ecx - 0x24]
mov byte [ebx + esi*2 + 1], al
sub esi, 1
jns 0x43c002
mov eax, dword [ebp - 8]
test eax, eax
je 0x43c035
push eax
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov eax, dword [ebp - 4]
test eax, eax
je 0x43c045
push 0
push eax
call dword [sym.imp.ADVAPI32.dll_CryptReleaseContext]
mov eax, edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43db00
Capabilities:
Check if file exists
Create shortcut via ishelllink
Delete file
Get common file path
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x628
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
mov edx, dword [ebp + 0xc]
mov eax, 0x615266
push ebx
mov ebx, dword [ebp + 0x14]
test edx, edx
push esi
mov esi, dword [ebp + 0x18]
cmovne eax, edx
push edi
push eax
push str._AUTOSTART
push str._WAITFORDATAPATH
push str._s__s__s
lea eax, [ebp - 0x414]
mov edi, ecx
push 0x208
push eax
call fcn.00407c20
movzx eax, word [edi + 8]
add esp, 0x18
mov ecx, 0x912530
push 0
push eax
call fcn.0042f710
push eax
lea eax, [edi + 0xff9]
push eax
push str._s_s.exe
lea eax, [ebp - 0x20c]
push 0x104
push eax
call fcn.00407c20
add esp, 0x14
lea eax, [ebp - 0x628]
push eax
push 0x8007
push 0
call sub.SHELL32.dll_SHGetSpecialFolderLocation
test eax, eax
je 0x43dbb0
pop edi
pop esi
mov eax, 0xf013
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 0x14
lea eax, [ebp - 0x108]
push eax
push dword [ebp - 0x628]
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListA]
lea eax, [ebp - 0x108]
push eax
call fcn.0042cde0
add esp, 4
test esi, esi
jne 0x43dbe8
movzx eax, word [edi + 8]
mov ecx, 0x912530
push esi
push eax
call fcn.0042f710
mov esi, eax
push esi
lea eax, [ebp - 0x108]
push eax
push str._s_s.lnk
mov ecx, eax
push 0x104
push ecx
call fcn.00407c20
add esp, 0x14
cmp dword [ebp + 8], 0
jne 0x43dc2d
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
pop edi
pop esi
xor eax, eax
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 0x14
cmp byte [ebp + 0x10], 0
je 0x43dc45
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x43dc18
lea eax, [ebp - 0x620]
push eax
push 0x5e2700
push 1
push 0
push 0x5e2730
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
js 0x43db98
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x20c]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x50]
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x414]
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x2c]
mov ecx, dword [ebp - 0x620]
lea eax, [ebp - 0x20c]
test ebx, ebx
push 0
cmovne eax, ebx
mov edx, dword [ecx]
push eax
push ecx
call dword [edx + 0x44]
mov eax, dword [ebp - 0x620]
lea edx, [ebp - 0x624]
push edx
push 0x5e2760
push eax
mov ecx, dword [eax]
call dword [ecx]
test eax, eax
js 0x43dd10
push 0x104
lea eax, [ebp - 0x61c]
push eax
push 0xffffffffffffffff
lea eax, [ebp - 0x108]
push eax
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [ebp - 0x624]
lea edx, [ebp - 0x61c]
push 1
push edx
push eax
mov ecx, dword [eax]
call dword [ecx + 0x18]
mov esi, eax
mov eax, dword [ebp - 0x624]
push eax
mov ecx, dword [eax]
call dword [ecx + 8]
sar esi, 0x1f
and esi, 0xf013
jmp 0x43dd15
mov esi, 0xf013
mov ecx, dword [ebp - 0x620]
push ecx
mov edx, dword [ecx]
call dword [edx + 8]
mov eax, esi
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4407f0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
lea eax, [ebp - 4]
push eax
push 0x20019
push 0
push str.SoftwareDeskSoft
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x44081d
xor eax, eax
mov esp, ebp
pop ebp
ret 8
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 8]
push eax
push 0
push 0
push 0
push esi
push dword [ebp - 4]
mov dword [ebp - 8], 0
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
mov eax, dword [ebp - 8]
test eax, eax
jne 0x440855
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
push edi
push eax
push 1
call fcn.0050489e
mov edi, eax
add esp, 8
test edi, edi
je 0x440887
lea eax, [ebp - 8]
push eax
push edi
push 0
push 0
push esi
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x44089a
push edi
call fcn.00504903
add esp, 4
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
xor eax, eax
pop esi
mov esp, ebp
pop ebp
ret 8
mov esi, 0x52e
cmp dword [ebp - 8], esi
cmovb esi, dword [ebp - 8]
push esi
push edi
push dword [ebp + 0xc]
call fcn.005010e0
push edi
call fcn.00504903
add esp, 0x10
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
mov eax, esi
pop esi
mov esp, ebp
pop ebp
ret 8
Function at 0x443e40
Capabilities:
Check if file exists
Create process on windows
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x210
mov eax, dword [0x62bcc0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
lea eax, [ebp - 0x107]
push edi
mov edi, dword [ebp + 0xc]
push 0x103
push 0
push eax
mov dword [ebp - 0x210], ecx
mov byte [ebp - 0x108], 0
call fcn.00501660
push str..chm
push esi
call fcn.00500b90
add esp, 0x14
test eax, eax
jne 0x443ea4
pop edi
mov eax, 1
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 8
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
push esi
cmp eax, 0xffffffff
jne 0x443ed8
mov eax, dword [ebp - 0x210]
add eax, 0xff9
push eax
push str._s_s
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00407c20
add esp, 0x14
jmp 0x443eec
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.005048a9
add esp, 0xc
push 0x104
lea eax, [ebp - 0x108]
push eax
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
lea eax, [ebp - 0x20c]
push eax
push 0
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.SHELL32.dll_FindExecutableA]
cmp eax, 0x1f
jne 0x443f6f
push esi
push 1
push 0x111
push 0
push 0xf007
mov ecx, 0x912530
call fcn.0042f710
push eax
movzx eax, word [0x911008]
mov ecx, 0x912530
push 0
push eax
call fcn.0042f710
push eax
push 0
push 0x911000
call fcn.004442a0
add esp, 0x1c
mov eax, 2
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 8
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x443fdc
lea eax, [ebp - 0x108]
mov ecx, 0x912530
push eax
push 1
push 0x111
push 1
push 0xf007
call fcn.0042f710
push eax
movzx eax, word [0x911008]
mov ecx, 0x912530
push 0
push eax
call fcn.0042f710
push eax
push 0
push 0x911000
call fcn.004442a0
add esp, 0x1c
mov eax, 3
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 8
test edi, edi
je 0x444010
cmp byte [edi], 0
je 0x444010
push 0x5a4a04
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00511c6f
push edi
lea eax, [ebp - 0x108]
push 0x104
push eax
call fcn.00511c6f
add esp, 0x18
lea ecx, [ebp - 0x108]
lea edx, [ecx + 1]
nop dword [eax]
mov al, byte [ecx]
inc ecx
test al, al
jne 0x444020
sub ecx, edx
lea eax, [ecx + 1]
push eax
lea eax, [ebp - 0x108]
push eax
lea eax, [ebp - 0x107]
push eax
call fcn.005010e0
push 0x5a4a08
lea eax, [ebp - 0x108]
mov byte [ebp - 0x108], 0x22
push 0x104
push eax
call fcn.00511c6f
add esp, 0x18
lea eax, [ebp - 0x108]
push 1
push 0
push eax
lea eax, [ebp - 0x20c]
push eax
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
cmp eax, 0x20
ja 0x4440d6
push esi
push 1
push 0x111
push 0
push 0xf007
mov ecx, 0x912530
call fcn.0042f710
push eax
movzx eax, word [0x911008]
mov ecx, 0x912530
push 0
push eax
call fcn.0042f710
push eax
push 0
push 0x911000
call fcn.004442a0
add esp, 0x1c
mov eax, 4
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 8
mov ecx, dword [ebp - 4]
xor eax, eax
pop edi
xor ecx, ebp
pop esi
call fcn.004ff23c
mov esp, ebp
pop ebp
ret 8