joyce8/EMBER2024-capa huggingface dataset:
Function at 0x407265
Capabilities:
Encode data using xor

Disassembly:
push ebx
push ebp
push esi
mov esi, dword [esp + 0x10]
mov ebp, 0x2000000
push edi
mov eax, dword [esi]
mov ebx, 0xff0000
mov edi, 0xff00
mov eax, dword [eax + 4]
mov dword [esp + 0x14], eax
cmp eax, ebp
mov eax, dword [esi + 0x18]
jne 0x4072b2
mov ecx, dword [eax + 8]
mov edx, ecx
mov ebp, ecx
and edx, ebx
shr ebp, 0x10
or edx, ebp
mov ebp, ecx
shl ebp, 0x10
and ecx, edi
or ebp, ecx
shr edx, 8
shl ebp, 8
or edx, ebp
mov ebp, 0x2000000
jmp 0x4072b5
mov edx, dword [eax + 8]
test dl, 1
je 0x407375
mov ecx, dword [esi]
cmp dword [ecx + 4], ebp
mov ecx, dword [eax]
jne 0x4072ee
mov edx, ecx
mov ebp, ecx
and edx, ebx
shr ebp, 0x10
or edx, ebp
mov ebp, ecx
shl ebp, 0x10
and ecx, edi
or ebp, ecx
shr edx, 8
shl ebp, 8
or edx, ebp
mov ebp, 0x2000000
mov dword [esp + 0x14], edx
jmp 0x4072f2
mov dword [esp + 0x14], ecx
mov ecx, dword [esi]
cmp dword [ecx + 4], ebp
jne 0x40731f
mov ecx, dword [eax + 4]
mov edx, ecx
mov ebp, ecx
and edx, ebx
shr ebp, 0x10
or edx, ebp
mov ebp, ecx
shl ebp, 0x10
and ecx, edi
or ebp, ecx
shr edx, 8
shl ebp, 8
or edx, ebp
mov ebp, 0x2000000
jmp 0x407322
mov edx, dword [eax + 4]
add eax, 0xc
push edx
push eax
lea eax, [esp + 0x1c]
push eax
push dword [esp + 0x24]
call fcn.00409490
add esp, 0x10
test eax, eax
jne 0x40736e
mov eax, dword [esi]
cmp dword [eax + 4], ebp
mov eax, dword [esi + 0x18]
jne 0x407366
mov eax, dword [eax]
mov ecx, eax
mov edx, eax
and ecx, ebx
shr edx, 0x10
or ecx, edx
mov edx, eax
shl edx, 0x10
and eax, edi
or edx, eax
shr ecx, 8
shl edx, 8
or ecx, edx
jmp 0x407368
mov ecx, dword [eax]
cmp dword [esp + 0x14], ecx
je 0x4073b3
xor eax, eax
jmp 0x40742b
cmp dword [esp + 0x14], ebp
jne 0x4073a0
mov ecx, dword [eax]
mov edx, ecx
mov ebp, ecx
and edx, ebx
shr ebp, 0x10
or edx, ebp
mov ebp, ecx
shl ebp, 0x10
and ecx, edi
or ebp, ecx
shr edx, 8
shl ebp, 8
or edx, ebp
mov ebp, 0x2000000
jmp 0x4073a2
mov edx, dword [eax]
add eax, 0xc
push edx
push eax
push dword [esp + 0x20]
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, dword [esi]
mov esi, dword [esi + 0x18]
mov eax, dword [eax + 4]
cmp eax, ebp
mov dword [esp + 0x14], eax
jne 0x4073e4
mov eax, dword [esi + 8]
mov ecx, eax
mov edx, eax
and ecx, ebx
shr edx, 0x10
or ecx, edx
mov edx, eax
shl edx, 0x10
and eax, edi
or edx, eax
shr ecx, 8
shl edx, 8
or ecx, edx
jmp 0x4073e7
mov ecx, dword [esi + 8]
test cl, 2
je 0x407427
cmp dword [esp + 0x14], ebp
mov edx, dword [esp + 0x18]
jne 0x407416
mov ecx, dword [esi]
mov eax, ecx
mov esi, ecx
and eax, ebx
shr esi, 0x10
or eax, esi
mov esi, ecx
shl esi, 0x10
and ecx, edi
or esi, ecx
shr eax, 8
shl esi, 8
or eax, esi
jmp 0x407418
mov eax, dword [esi]
mov ecx, eax
dec eax
test ecx, ecx
je 0x407427
inc eax
xor byte [edx], 0xea
inc edx
dec eax
jne 0x407420
mov eax, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x407621
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
push ecx
push ebx
push esi
lea eax, [ebp - 4]
push edi
push eax
call dword [sym.imp.MSVCRT.dll_time]
push dword [ebp - 4]
call dword [sym.imp.MSVCRT.dll_srand]
pop ecx
pop ecx
call dword [sym.imp.MSVCRT.dll_rand]
mov edi, eax
mov eax, dword [ebp + 8]
and edi, 0x7f
add edi, 0x20
and edi, 0xfffffffc
cmp dword [eax + 4], 0x2000000
jne 0x407682
mov eax, dword [eax + 8]
mov ebx, eax
mov ecx, eax
and ebx, 0xff0000
shr ecx, 0x10
or ebx, ecx
mov ecx, eax
shl ecx, 0x10
and eax, 0xff00
or ecx, eax
shr ebx, 8
shl ecx, 8
or ebx, ecx
jmp 0x407685
mov ebx, dword [eax + 8]
mov ecx, dword [ebp + 0xc]
add ebx, edi
lea eax, [ebx + 0xc]
push eax
mov dword [ecx], eax
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x407710
push 0x10
mov dword [esi + 4], 2
pop eax
mov word [esi + 0xc], di
cmp edi, eax
mov dword [esi + 8], ebx
mov dword [ebp + 0xc], eax
jbe 0x4076c9
call dword [sym.imp.MSVCRT.dll_rand]
mov ecx, dword [ebp + 0xc]
inc dword [ebp + 0xc]
cmp dword [ebp + 0xc], edi
mov byte [ecx + esi], al
jb 0x4076b5
mov ecx, dword [ebp + 8]
xor eax, eax
cmp dword [ecx + 8], eax
jbe 0x4076e5
add edi, esi
mov edx, dword [eax + ecx]
xor edx, ebx
mov dword [edi + eax], edx
add eax, 4
cmp eax, dword [ecx + 8]
jb 0x4076d5
push 4
push 0x40d384
push esi
call sub.MSVCRT.dll_memcpy
push 0xc
lea eax, [esi + ebx]
push esi
push eax
call sub.MSVCRT.dll_memcpy
push 4
push 0x40d37c
push esi
call sub.MSVCRT.dll_memcpy
add esp, 0x24
mov eax, esi
pop edi
pop esi
pop ebx
leave
ret

Function at 0x407728
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push esi
push edi
push 0x18
call dword [sym.imp.MSVCRT.dll_malloc]
mov esi, eax
pop ecx
test esi, esi
je 0x4077ed
mov eax, dword [esp + 0xc]
and dword [esi + 0xc], 0
test eax, eax
mov dword [esi + 4], eax
mov dword [esi + 8], 1
je 0x40775e
push eax
call dword [sym.imp.MSVCRT.dll__strdup]
pop ecx
mov dword [esi + 4], eax
mov eax, dword [esi + 4]
test eax, eax
jne 0x40776e
push esi
call dword [sym.imp.MSVCRT.dll_free]
jmp 0x4077ec
push eax
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
mov edi, eax
test edi, edi
jne 0x40778d
push 2
push eax
push dword [esi + 4]
call dword [sym.imp.KERNEL32.dll_LoadLibraryExA]
mov edi, eax
test edi, edi
je 0x4077d2
push 0x40d390
push 0x40d38c
push edi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
je 0x4077b7
push eax
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x4077b7
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [esi], eax
push esi
call fcn.004077f2
test eax, eax
pop ecx
je 0x4077d2
push dword [esi]
call fcn.00406f9a
test eax, eax
pop ecx
je 0x4077d2
mov eax, esi
jmp 0x4077ef
cmp dword [esi + 0xc], 0
mov edi, dword [sym.imp.MSVCRT.dll_free]
je 0x4077e3
push dword [esi]
call edi
pop ecx
push dword [esi + 4]
call edi
push esi
call edi
pop ecx
pop ecx
xor eax, eax
pop edi
pop esi
ret
Function at 0x404d00
Capabilities:
Accept command line arguments

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
push ebx
push esi
call dword [sym.imp.KERNEL32.dll_GetCommandLineA]
mov ebx, eax
cmp byte [ebx], 0
jne 0x404d32
push 0x104
lea eax, [ebp - 0x10c]
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ebx, [ebp - 0x10c]
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
push 0
push 0
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
mov edx, dword [ebp - 8]
lea eax, [edx + eax*4]
push eax
call fcn.004054e0
pop ecx
mov esi, eax
test esi, esi
jne 0x404d65
push 1
call fcn.00404530
pop ecx
lea eax, [ebp - 8]
push eax
lea eax, [ebp - 4]
push eax
mov eax, dword [ebp - 4]
lea eax, [esi + eax*4]
push eax
push esi
push ebx
call fcn.00404b70
add esp, 0x14
mov eax, dword [ebp - 4]
dec eax
mov dword [0x407288], eax
mov dword [0x40728c], esi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x404da0
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 4
push ebx
push esi
push edi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStrings]
mov ebx, eax
test eax, eax
jne 0x404dbb
mov ebx, dword [0x407358]
mov esi, ebx
xor ecx, ecx
jmp 0x404dde
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404dc6
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404dd9
add ecx, dword [ebp - 4]
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404dc1
lea eax, [ecx + 1]
push eax
call fcn.004054e0
pop ecx
mov edi, eax
mov dword [0x407294], eax
cmp dword [0x407294], 0
jne 0x404e05
push 1
call fcn.00404530
pop ecx
mov esi, ebx
jmp 0x404e3a
mov edx, esi
or eax, 0xffffffff
inc eax
cmp byte [edx + eax], 0
jne 0x404e0e
inc eax
mov dword [ebp - 4], eax
cmp byte [esi], 0x3d
je 0x404e35
mov ecx, edi
mov edx, esi
push ecx
sub ecx, edx
mov al, byte [edx]
mov byte [ecx + edx], al
inc edx
test al, al
jne 0x404e25
pop eax
mov eax, dword [ebp - 4]
add edi, eax
mov eax, dword [ebp - 4]
add esi, eax
cmp byte [esi], 0
jne 0x404e09
mov byte [edi], 0
cmp ebx, dword [0x407358]
je 0x404e51
push ebx
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsA]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x402658
Capabilities:
Terminate process

Disassembly:
xor edi, edi
xor esi, esi
mov edx, eax
mov eax, 5
add eax, 5
inc eax
test eax, 0xb
jne 0x40267a
push 0
call dword [sym.imp.kernel32.dll_ExitProcess]
mov edx, eax
mov dword [0x401036], eax
ret
Function at 0x401000
Capabilities:
Allocate or change rwx memory
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
mov eax, dword [section..data]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [0x410180]
mov dword [ebp - 0x10], eax
mov ecx, dword [0x410184]
mov dword [ebp - 0xc], ecx
mov edx, dword [0x410188]
mov dword [ebp - 8], edx
mov dword [ebp - 0x1c], 0
push str.ajg4gn
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [ebp - 0x20], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4010af
mov dword [ebp - 0x14], 0
jmp 0x401062
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0xb
jae 0x401087
mov ecx, dword [ebp - 0x14]
movzx eax, byte [ebp + ecx - 0x10]
sub eax, dword [ebp - 0x14]
sub eax, 0x2a
cdq
mov ecx, 0xff
idiv ecx
mov eax, dword [ebp - 0x14]
mov byte [ebp + eax - 0x10], dl
jmp 0x401059
push 0x40
push 0x1000
push 0xc
push 0
call dword [sym.imp.KERNEL32.dll_VirtualAlloc]
mov dword [ebp - 0x18], eax
push 0xc
lea ecx, [ebp - 0x10]
push ecx
mov edx, dword [ebp - 0x18]
push edx
call fcn.00401c10
add esp, 0xc
jmp 0x4010c7
push str.test.exe
call fcn.0040403b
add esp, 4
push 0x1f4
call dword [sym.imp.KERNEL32.dll_Sleep]
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.004010d7
mov esp, ebp
pop ebp
ret

Function at 0x4018dc
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x40191b
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40191b
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40191b
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x40191b
cmp dword [ecx + 0x74], 0xe
jbe 0x40191b
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x407ffb
Capabilities:
Query environment variable

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push ecx
push ecx
push esi
call dword [sym.imp.KERNEL32.dll_GetEnvironmentStringsW]
mov esi, eax
test esi, esi
je 0x408098
push ebx
push esi
call fcn.00407fc4
xor ebx, ebx
sub eax, esi
push ebx
push ebx
push ebx
push ebx
sar eax, 1
push eax
push esi
push ebx
push ebx
mov dword [ebp - 8], eax
call fcn.00407f58
add esp, 0x24
mov dword [ebp - 4], eax
test eax, eax
jne 0x408045
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408097
push edi
push eax
call fcn.00408c18
mov edi, eax
pop ecx
push ebx
test edi, edi
jne 0x408065
call fcn.0040589b
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
xor eax, eax
jmp 0x408096
push ebx
push dword [ebp - 4]
push edi
push dword [ebp - 8]
push esi
push ebx
push ebx
call fcn.00407f58
add esp, 0x20
test eax, eax
jne 0x408084
push edi
call fcn.0040589b
jmp 0x40808c
push ebx
call fcn.0040589b
mov ebx, edi
pop ecx
push esi
call dword [sym.imp.KERNEL32.dll_FreeEnvironmentStringsW]
mov eax, ebx
pop edi
pop ebx
pop esi
leave
ret

Function at 0x409395
Capabilities:
Allocate thread local storage

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412048
push 0x412040
push str.FlsAlloc
push 0x1f
call fcn.00409254
mov esi, eax
add esp, 0x10
test esi, esi
je 0x4093c9
push dword [ebp + 8]
mov ecx, esi
call dword [0x410128]
call esi
jmp 0x4093cf
call dword [sym.imp.KERNEL32.dll_TlsAlloc]
pop esi
pop ebp
ret 4

Function at 0x409413
Capabilities:
Get thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412058
push 0x412050
push str.FlsGetValue
push 0x21
call fcn.00409254
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40944a
push dword [ebp + 8]
mov ecx, esi
call dword [0x410128]
call esi
pop esi
pop ebp
ret 4
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsGetValue]

Function at 0x409452
Capabilities:
Set thread local storage value

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
push 0x412060
push 0x412058
push str.FlsSetValue
push 0x22
call fcn.00409254
mov esi, eax
add esp, 0x10
test esi, esi
je 0x40948c
push dword [ebp + 0xc]
mov ecx, esi
push dword [ebp + 8]
call dword [0x410128]
call esi
pop esi
pop ebp
ret 8
pop esi
pop ebp
jmp dword [sym.imp.KERNEL32.dll_TlsSetValue]
Function at 0x40ef10
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x40ef3d
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x40ef3d
mov edx, 0x10b
xor eax, eax
cmp word [ecx + 0x18], dx
sete al
pop ebp
ret
xor eax, eax
pop ebp
ret
Function at 0x1000ec86
Capabilities:
Hash data using djb2

Disassembly:
movzx eax, word [ecx]
mov edx, 0x1505
push esi
xor esi, esi
jmp 0x1000eca0
imul edx, edx, 0x21
movzx eax, ax
xor edx, eax
inc esi
movzx eax, word [ecx + esi*2]
test ax, ax
jne 0x1000ec93
imul eax, edx, 0x41c64e6d
imul ecx, edx, 0x10dcd
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1000f8cb
Capabilities:
Hash data using djb2

Disassembly:
push esi
mov esi, ecx
test esi, esi
jne 0x1000f8d7
or eax, 0xffffffff
pop esi
ret
movzx eax, word [esi]
push ebx
push edi
mov edi, 0x1505
xor ebx, ebx
jmp 0x1000f8ff
movzx ecx, ax
add eax, 0xffffffbf
cmp ax, 0x19
lea edx, [ecx + 0x20]
cmova edx, ecx
imul edi, edi, 0x21
xor edi, edx
inc ebx
movzx eax, word [esi + ebx*2]
test ax, ax
jne 0x1000f8e5
imul eax, edi, 0x41c64e6d
imul ecx, edi, 0x10dcd
pop edi
pop ebx
pop esi
add eax, 0x3039
shr eax, 0x10
inc ecx
and ecx, 0xffff0000
or eax, ecx
ret

Function at 0x1001047d
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
pushal
call 0x1001048c
pop dword [ebp - 0x38]
mov eax, 0x1001048c
sub dword [ebp - 0x38], eax
mov dword [ebp - 0x48], 0xfb4052d4
sub dword [ebp - 0x48], 0xacee0d89
mov dword [ebp - 0x44], 0x8ed37a9
add dword [ebp - 0x44], 0x2946149c
mov dword [ebp - 0x40], 0x7bd41b1b
add dword [ebp - 0x40], 0xd0782913
mov dword [ebp - 0x3c], 0x924fc802
add dword [ebp - 0x3c], 0x6db037fe
lea eax, [ebp - 0x48]
push eax
mov eax, 0x2c85203a
sub eax, 0x1c82af3e
add eax, dword [ebp - 0x38]
call dword [eax]
mov dword [ebp - 0x48], 0x62da941b
sub dword [ebp - 0x48], 0xee682ac5
mov dword [ebp - 0x44], 0x5a6b174e
add dword [ebp - 0x44], 0xe7014a27
mov dword [ebp - 0x40], 0xcf318af3
sub dword [ebp - 0x40], 0x6bc21e87
mov dword [ebp - 0x3c], 0x58feaaac
sub dword [ebp - 0x3c], 0x58feaaac
lea ebx, [ebp - 0x48]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 0x38]
call dword [eax]
push 0x40
push 0x1000
push 0x4047b
push 0
call eax
mov ecx, 0x535e
xor edi, edi
add edi, eax
mov ebx, 0xe8593a2a
sub ebx, 0xd8551e2a
add ebx, dword [ebp - 0x38]
mov edx, 0x63b77b1
mov esi, dword [ebx]
sub dword [ebp - 8], 0xa29e8b68
sub esi, edx
xor dword [ebp - 8], 0x48d0ed1b
mov dword [edi], esi
mov dword [ebp - 0x1c], 0x89d5486e
add edi, 4
add ebx, 4
loop 0x1001059a
add eax, 0xfcd325c6
add eax, 0x32e1a85
mov ebx, eax
add eax, 5
mov ecx, 0xd58861d9
sub ecx, 0xc58861d9
add ecx, dword [ebp - 0x38]
call ebx
leave
ret
Function at 0x402116
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
lea ebp, [esp - 0x190]
sub esp, 0x210
mov eax, dword [0x45a040]
xor eax, ebp
mov dword [ebp + 0x18c], eax
and dword [ebp - 0x80], 0
xor eax, eax
push 0x206
push eax
mov word [ebp - 0x7c], ax
lea eax, [ebp - 0x7a]
push eax
call fcn.00437340
add esp, 0xc
lea eax, [ebp - 0x7c]
push eax
push 0x104
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
lea eax, [ebp - 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x402162
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x7e], 0x5c
jne 0x402193
lea eax, [ebp - 0x7c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
test cx, cx
jne 0x40217e
sub eax, edx
sar eax, 1
xor ecx, ecx
mov word [ebp + eax*2 - 0x7e], cx
lea eax, [ebp - 0x7c]
push 0
push eax
call fcn.004349f0
pop ecx
pop ecx
test eax, eax
je 0x4021b0
push 0
lea eax, [ebp - 0x7c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
lea eax, [ebp - 0x7c]
push eax
mov eax, edi
call fcn.00402a50
mov ecx, dword [ebp + 0x18c]
xor ecx, ebp
mov eax, edi
call fcn.0043465f
add ebp, 0x190
leave
ret

Function at 0x40259c
Capabilities:
Write file on windows

Disassembly:
push esi
push edi
push 0x44c564
push dword [esp + 0x10]
mov esi, eax
call fcn.00434ace
mov edi, eax
pop ecx
pop ecx
test edi, edi
jne 0x4025ba
xor al, al
jmp 0x4025e0
cmp dword [esi + 0x18], 0x10
mov eax, dword [esi + 0x14]
jb 0x4025c8
mov esi, dword [esi + 4]
jmp 0x4025cb
add esi, 4
push edi
push eax
push 1
push esi
call fcn.00434c47
push edi
call fcn.00434d40
add esp, 0x14
mov al, 1
pop edi
pop esi
ret 4

Function at 0x4025e5
Capabilities:
Read file on windows

Disassembly:
push 0x40
mov eax, 0x447cea
call fcn.00437296
xor edi, edi
push edi
lea ecx, [ebp - 0x2c]
mov byte [ebp - 0x49], 0
mov dword [ebp - 0x14], 0xf
call fcn.00404a63
push 2
push edi
push ebx
mov dword [ebp - 4], edi
call fcn.00434e46
push ebx
call fcn.00435068
push edi
push edi
push ebx
mov esi, eax
call fcn.00434e46
add esp, 0x1c
mov eax, esi
lea ecx, [ebp - 0x2c]
call fcn.00402a2d
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x40263c
lea eax, [ebp - 0x28]
push ebx
push esi
push 1
push eax
call fcn.00435376
add esp, 0x10
cmp esi, eax
jne 0x40269e
push ebx
call fcn.00434d40
pop ecx
lea ecx, [ebp - 0x2c]
lea esi, [ebp - 0x48]
call fcn.00404d96
mov byte [ebp - 4], 1
cmp dword [0x45e8a4], 8
mov eax, dword [0x45e890]
jae 0x402676
mov eax, 0x45e890
mov edi, dword [0x45e8a0]
mov ecx, dword [ebp - 0x34]
push eax
lea eax, [ebp - 0x48]
call fcn.00403195
test eax, eax
jne 0x402690
mov byte [ebp - 0x49], 1
push 0
push 1
lea esi, [ebp - 0x48]
call fcn.004031f0
xor edi, edi
push ebx
call fcn.00434d40
pop ecx
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404a7f
mov al, byte [ebp - 0x49]
call fcn.00437319
ret
Function at 0x4026b9
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
lea ebp, [esp - 0x1a0]
sub esp, 0x220
mov eax, dword [0x45a040]
xor eax, ebp
mov dword [ebp + 0x19c], eax
mov eax, dword [ebp + 0x1a8]
push ebx
mov dword [ebp - 0x80], eax
xor ebx, ebx
xor eax, eax
mov dword [ebp - 0x7c], ebx
push 0x206
mov word [ebp - 0x6c], ax
lea eax, [ebp - 0x6a]
push ebx
push eax
call fcn.00437340
add esp, 0xc
lea eax, [ebp - 0x74]
push eax
push str.SoftwareSOHUSoHuVA
push 0x80000001
mov dword [ebp - 0x78], 0x208
mov dword [ebp - 0x74], ebx
mov dword [ebp - 0x7c], 1
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x40279b
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
push edi
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
mov edi, str.Path
push edi
push dword [ebp - 0x74]
call esi
cmp dword [ebp - 0x78], ebx
je 0x402759
lea eax, [ebp - 0x6c]
push ebx
push eax
call fcn.004349f0
pop ecx
pop ecx
test eax, eax
je 0x402790
lea eax, [ebp - 0x70]
push eax
push str.SoftwareSOHUSoHuVAInstallPath
push 0x80000002
mov dword [ebp - 0x70], ebx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
jne 0x402790
lea eax, [ebp - 0x78]
push eax
lea eax, [ebp - 0x6c]
push eax
lea eax, [ebp - 0x7c]
push eax
push ebx
push edi
push dword [ebp - 0x70]
call esi
push dword [ebp - 0x70]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push dword [ebp - 0x74]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop edi
pop esi
lea eax, [ebp - 0x6c]
lea edx, [eax + 2]
mov cx, word [eax]
inc eax
inc eax
cmp cx, bx
jne 0x4027a1
sub eax, edx
sar eax, 1
jne 0x4027c6
xor eax, eax
movzx ecx, word [eax + str.C:Program_Files_]
mov word [ebp + eax - 0x6c], cx
inc eax
inc eax
cmp cx, bx
jne 0x4027b3
lea eax, [ebp - 0x6c]
push eax
mov eax, dword [ebp - 0x80]
call fcn.00402a50
mov ecx, dword [ebp + 0x19c]
mov eax, dword [ebp - 0x80]
xor ecx, ebp
pop ebx
call fcn.0043465f
add ebp, 0x1a0
leave
ret 4
Function at 0x4027ed
Capabilities:
Create process on windows

Disassembly:
push 0x78
mov eax, 0x447996
call fcn.0043722d
push 0x40
xor ebx, ebx
lea eax, [ebp - 0x80]
push ebx
push eax
call fcn.00437340
xor eax, eax
mov dword [ebp - 0x20], ebx
lea edi, [ebp - 0x1c]
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
mov edi, dword [ebp + 8]
mov eax, dword [edi]
add esp, 0xc
push ebx
mov ecx, edi
mov dword [ebp - 0x84], 0x44
call dword [eax + 0x14]
cmp byte [0x45e8e8], bl
jne 0x402864
lea eax, [edi + 0xf8]
cmp dword [eax + 0x18], 8
jb 0x402843
mov eax, dword [eax + 4]
jmp 0x402846
add eax, 4
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push eax
push ebx
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
jmp 0x402902
mov eax, dword [0x45d8cc]
mov ecx, 0x45d8cc
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp + 8], eax
lea eax, [ebp - 0x3c]
push eax
mov dword [ebp - 4], ebx
call fcn.004026b9
mov byte [ebp - 4], 1
cmp dword [eax + 0x18], 8
jb 0x402892
mov eax, dword [eax + 4]
jmp 0x402895
add eax, 4
push eax
lea eax, [ebp + 8]
push str.__SP___VERYSILENT__SUPPRESSMSGBOXES__NOICONS__NORESTART___s_
push eax
call fcn.0040411b
add esp, 0xc
push ebx
push 1
lea esi, [ebp - 0x3c]
mov byte [ebp - 4], bl
call fcn.004031f0
mov esi, dword [ebp + 8]
cmp dword [esi - 4], 1
jle 0x4028cd
push dword [esi - 0xc]
lea eax, [ebp + 8]
push eax
call fcn.004032ca
mov esi, dword [ebp + 8]
lea eax, [edi + 0xf8]
cmp dword [eax + 0x18], 8
jb 0x4028de
mov eax, dword [eax + 4]
jmp 0x4028e1
add eax, 4
lea ecx, [ebp - 0x20]
push ecx
lea ecx, [ebp - 0x84]
push ecx
push ebx
push ebx
push ebx
push ebx
push ebx
push ebx
push esi
push eax
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
lea eax, [esi - 0x10]
call fcn.004045ea
or edi, 0xffffffff
cmp dword [ebp - 0x20], edi
je 0x402916
push 1
push edi
push dword [ebp - 0x20]
call dword [sym.imp.KERNEL32.dll_WaitForSingleObjectEx]
mov esi, dword [sym.imp.KERNEL32.dll_CloseHandle]
cmp dword [ebp - 0x1c], edi
je 0x402926
push dword [ebp - 0x1c]
call esi
cmp dword [ebp - 0x20], edi
je 0x402930
push dword [ebp - 0x20]
call esi
push ebx
push ebx
push 0x12
push dword [0x45e808]
call dword [sym.imp.USER32.dll_PostMessageW]
call fcn.00437305
ret 4
Function at 0x404add
Capabilities:
Hash data with md5
Initialize hashing via wincrypt

Disassembly:
push 0x2c
mov eax, 0x447202
call fcn.00437296
xor edi, edi
mov esi, ecx
mov dword [ebp - 0x38], edi
push edi
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x14], 0xf
call fcn.00404a63
mov dword [ebp - 4], edi
mov dword [ebp - 0x34], edi
push 0xf0000040
lea eax, [ebp - 0x34]
push eax
mov byte [ebp - 4], 1
call fcn.00404e67
cmp eax, 0x80090019
jne 0x404b2d
push 0xf0000048
lea eax, [ebp - 0x34]
push eax
call fcn.00404e67
cmp eax, edi
jge 0x404b41
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.0040451c
jmp 0x404bde
mov dword [ebp - 0x30], edi
lea eax, [ebp - 0x30]
push eax
push edi
push edi
push 0x8003
mov byte [ebp - 4], 2
push dword [ebp - 0x34]
call dword [sym.imp.ADVAPI32.dll_CryptCreateHash]
test eax, eax
jne 0x404b67
call fcn.00404e8e
jmp 0x404b69
xor eax, eax
cmp eax, edi
jl 0x404bc2
cmp dword [esi + 0x18], 0x10
mov eax, dword [esi + 0x14]
jb 0x404b7b
mov esi, dword [esi + 4]
jmp 0x404b7e
add esi, 4
push eax
push esi
lea eax, [ebp - 0x30]
call fcn.00404e45
test eax, eax
jl 0x404bc2
push 0x11
pop eax
lea ecx, [ebp - 0x2c]
mov dword [ebp - 0x38], eax
call fcn.00402a2d
cmp dword [ebp - 0x14], 0x10
mov eax, dword [ebp - 0x28]
jae 0x404ba6
lea eax, [ebp - 0x28]
lea ecx, [ebp - 0x38]
push ecx
push eax
lea eax, [ebp - 0x30]
call fcn.00404e21
test eax, eax
jl 0x404bc2
push 0x10
pop eax
lea ecx, [ebp - 0x2c]
call fcn.00402a2d
lea eax, [ebp - 0x2c]
push eax
mov ecx, ebx
call fcn.0040451c
cmp dword [ebp - 0x30], edi
je 0x404bde
push dword [ebp - 0x30]
call dword [sym.imp.ADVAPI32.dll_CryptDestroyHash]
mov dword [ebp - 0x30], edi
lea esi, [ebp - 0x34]
call fcn.00404ea3
push edi
push 1
lea ecx, [ebp - 0x2c]
call fcn.00404a7f
mov eax, ebx
call fcn.00437319
ret

Function at 0x404e45
Capabilities:
Hash data via wincrypt

Disassembly:
push 0
push dword [esp + 0xc]
push dword [esp + 0xc]
push dword [eax]
call dword [sym.imp.ADVAPI32.dll_CryptHashData]
test eax, eax
jne 0x404e62
call fcn.00404e8e
jmp 0x404e64
xor eax, eax
ret 8