joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4200e0
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateMutexW]
push str.Globalmfehidin
push 1
push 0
call edi
mov ebx, dword [sym.imp.KERNEL32.dll_GetLastError]
mov esi, eax
call ebx
cmp eax, 0xb7
jne 0x42012b
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
push str.Globalmfehidin
push 1
push 0
call edi
mov esi, eax
call ebx
cmp eax, 0xb7
je 0x420105
pop edi
pop esi
pop ebx
ret

Function at 0x423b83
Capabilities:
Encode data using xor

Disassembly:
mov ecx, dword [esp + 4]
push esi
mov esi, dword [esp + 0xc]
mov eax, esi
shr eax, 2
test eax, eax
push edi
mov edi, dword [esp + 0x14]
jle 0x423bbe
push ebx
movzx edx, byte [ecx]
xor ebx, ebx
inc ecx
mov bh, byte [ecx]
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
dec eax
jne 0x423b9b
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x423bda
dec esi
je 0x423bd3
dec esi
jne 0x423bdf
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
xor edx, edx
mov dh, byte [ecx]
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
ret 0xc

Function at 0x424f7f
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x18]
push ebx
mov ebx, dword [ebp + 8]
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
push esi
mov esi, dword [ebp + 0xc]
mov dword [ebx + 4], eax
xor eax, eax
cmp byte [ebp + 0x24], al
mov dword [ebx + 0x10], ecx
mov ecx, dword [ebp + 0x10]
push edi
mov word [ebx + 0xc], ax
mov dword [ebx + 0x14], esi
mov dword [ebx + 0x24], ecx
mov dword [ebx + 0x28], eax
jne 0x424fc7
mov ecx, 0x2000
lea edi, [esi + 0x8000]
rep movsd dword es:[edi], dword [esi]
mov word [ebx + 0x2c], ax
mov dword [ebx + 0x30], eax
call fcn.004249fd
mov eax, dword [ebx + 0x14]
and dword [ebx + 0x20], 0
mov ecx, 0x8000
push 2
mov word [ebx + 0x3c], cx
mov dword [ebx + 0x34], ecx
add eax, ecx
pop edx
movzx edi, byte [eax]
mov esi, dword [ebx + 0x20]
shl esi, 5
xor esi, edi
and esi, 0x7fff
inc eax
dec edx
mov dword [ebx + 0x20], esi
jne 0x424feb
cmp byte [ebp + 0x24], 0
je 0x425012
mov edi, ebx
call fcn.0042485f
jmp 0x425021
xor eax, eax
mov edx, dword [ebx + 0x18]
and word [eax + edx], 0
inc eax
inc eax
dec ecx
jne 0x425014
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.00423ce3
push 0x4b
pop edx
call fcn.00423ce3
call fcn.00424d22
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
je 0x42505b
mov edi, dword [ebx + 0x14]
mov ecx, 0x2000
lea esi, [edi + 0x8000]
rep movsd dword es:[edi], dword [esi]
mov eax, dword [ebx + 0x28]
neg eax
pop edi
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24
Function at 0x42a650
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4703d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x11c], 0
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x42a6b8
cmp dword [ebp - 0x110], 0
jne 0x42a6b8
push edi
push esi
call fcn.0042a610
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c015
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x42a6ef
lea ecx, [ebp - 0x11c]
push ecx
push 0x2021f
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
je 0x42a6ef
push eax
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
xor eax, eax
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c015
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov eax, dword [ebp - 0x11c]
pop edi
xor ecx, ebp
pop esi
call fcn.0043c015
mov esp, ebp
pop ebp
ret

Function at 0x42a740
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4703d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x42a79e
cmp dword [ebp - 0x110], 0
jne 0x42a79e
push edi
push esi
call fcn.0042a710
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c015
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x42a7d4
lea ecx, [ebp - 0x11c]
push ecx
push 0x20219
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x11c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c015
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0043c015
mov esp, ebp
pop ebp
ret

Function at 0x42a870
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x11c
mov eax, dword [0x4703d0]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 8]
push edi
mov edi, dword [ebp + 0xc]
lea eax, [ebp - 0x118]
push eax
mov dword [ebp - 0x118], 0x114
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
cmp dword [ebp - 0x114], 5
jne 0x42a8ce
cmp dword [ebp - 0x110], 0
jne 0x42a8ce
push edi
push esi
call fcn.0042a7f0
add esp, 8
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c015
mov esp, ebp
pop ebp
ret
test esi, esi
je 0x42a90c
push 0
lea ecx, [ebp - 0x11c]
push ecx
push 0
push 0x2021f
push 0
push 0
push 0
push edi
push esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExW]
neg eax
sbb eax, eax
not eax
and eax, dword [ebp - 0x11c]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c015
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.0043c015
mov esp, ebp
pop ebp
ret
Function at 0x42a920
Capabilities:
Delete registry key

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp + 8]
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_RegDeleteKeyW]
neg eax
sbb eax, eax
add eax, 1
pop ebp
ret

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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x4703d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push ebx
push esi
push edi
mov edi, dword [ebp + 0xc]
lea ecx, [ebp - 0xc]
push ecx
push eax
xor bl, bl
call fcn.0042aed0
add esp, 8
mov esi, eax
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
mov ecx, eax
cmp ecx, 0xffffffff
jne 0x42b1a6
lea edx, [ebp - 0x24]
push edx
push 0
push 0
push 0
push 0
push 0
push esi
call fcn.0042af40
add esp, 0x1c
test al, al
je 0x42b1bf
mov ecx, dword [ebp - 0x24]
test edi, edi
mov al, 1
je 0x42b1c1
mov dword [edi], ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0043c015
mov esp, ebp
pop ebp
ret
mov al, bl
mov ecx, dword [ebp - 4]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.0043c015
mov esp, ebp
pop ebp
ret

Function at 0x42b220
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4703d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.0042aed0
add esp, 8
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0043c015
mov esp, ebp
pop ebp
ret

Function at 0x42b280
Capabilities:
Set current directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov eax, dword [0x4703d0]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push eax
call fcn.0042aed0
add esp, 8
push eax
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryW]
mov ecx, dword [ebp - 4]
neg eax
sbb eax, eax
xor ecx, ebp
neg eax
call fcn.0043c015
mov esp, ebp
pop ebp
ret
Function at 0x42c770
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push esi
push edi
mov edi, dword [ebp + 8]
push edi
mov dword [ebp - 4], 1
call fcn.0042c6f0
mov esi, eax
add esp, 4
test esi, esi
jne 0x42c7db
mov eax, dword [0x46500c]
cmp eax, 0x46500c
je 0x42c7d2
test byte [eax + 0x1c], 1
je 0x42c7d2
cmp byte [eax + 0x19], 5
jb 0x42c7d2
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46500c]
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push edi
push 0x45cde4
push 0xb
push ecx
push edx
call fcn.0042c600
mov eax, dword [0x46500c]
add esp, 0x18
mov dword [ebp - 4], 0
jmp 0x42c84f
lea eax, [ebp - 8]
push eax
lea ecx, [ebp - 4]
push ecx
push 0
push 0
push str.LockDownEnabled
push esi
mov dword [ebp - 8], 4
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x42c841
mov eax, dword [0x46500c]
cmp eax, 0x46500c
je 0x42c83a
test byte [eax + 0x1c], 1
je 0x42c83a
cmp byte [eax + 0x19], 5
jb 0x42c83a
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
mov eax, dword [0x46500c]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push edi
push 0x45cde4
push 0xc
push edx
push eax
call fcn.0042c600
add esp, 0x18
mov dword [ebp - 4], 0
push esi
call fcn.0042a5f0
mov eax, dword [0x46500c]
add esp, 4
cmp eax, 0x46500c
je 0x42c87e
test byte [eax + 0x1c], 1
je 0x42c87e
cmp byte [eax + 0x19], 5
jb 0x42c87e
mov ecx, dword [ebp - 4]
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push ecx
push edi
push 0x45cde4
push 0xd
push edx
push eax
call fcn.0042c600
add esp, 0x18
xor eax, eax
cmp dword [ebp - 4], eax
pop edi
setne al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x42cb40
Capabilities:
Compare security identifiers

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
push ebx
mov ebx, dword [ebp + 8]
push esi
push edi
push ebx
mov dword [ebp - 4], 0
call fcn.00428130
add esp, 4
mov esi, eax
lea eax, [ebp + 0xc]
push eax
push 0
push 0
push 0
lea ecx, [ebp - 4]
push ecx
push 1
push 2
push esi
call dword [sym.imp.ADVAPI32.dll_GetNamedSecurityInfoW]
push esi
mov edi, eax
call fcn.004280a0
add esp, 4
test edi, edi
jne 0x42cbfb
cmp dword [ebp - 4], edi
je 0x42cbfb
lea edx, [ebp - 8]
push edx
push edi
mov dword [ebp - 8], edi
call fcn.0042c890
mov eax, dword [ebp - 8]
mov ecx, dword [ebp - 4]
add esp, 8
push eax
push ecx
call dword [sym.imp.ADVAPI32.dll_EqualSid]
mov esi, eax
mov eax, dword [ebp - 8]
test eax, eax
je 0x42cbb9
push eax
call dword [sym.imp.ADVAPI32.dll_FreeSid]
test esi, esi
jne 0x42cbed
mov eax, dword [0x46500c]
cmp eax, 0x46500c
je 0x42cbed
test byte [eax + 0x1c], 1
je 0x42cbed
cmp byte [eax + 0x19], 5
jb 0x42cbed
mov edx, dword [eax + 0x14]
mov eax, dword [eax + 0x10]
push ebx
push 0x45cde4
push 0x13
push edx
push eax
call fcn.0042c580
add esp, 0x14
xor eax, eax
pop edi
test esi, esi
pop esi
setne al
pop ebx
mov esp, ebp
pop ebp
ret
mov eax, dword [0x46500c]
cmp eax, 0x46500c
je 0x42cc2c
test byte [eax + 0x1c], 1
je 0x42cc2c
cmp byte [eax + 0x19], 2
jb 0x42cc2c
mov ecx, dword [eax + 0x14]
mov edx, dword [eax + 0x10]
push edi
push ebx
push 0x45cde4
push 0x12
push ecx
push edx
call fcn.0042c600
add esp, 0x18
pop edi
pop esi
xor al, al
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d5c0
Capabilities:
Query or enumerate registry value
Set registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_CreateFileW]
xor ebx, ebx
push ebx
push 0x40000000
push 3
push ebx
push ebx
push SysReAllocString
push str..WGUARDNT
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d615
push ebx
push 0x40000000
push 3
push ebx
push ebx
push SysReAllocString
push str..GlobalWGUARDNT
call edi
mov esi, eax
cmp esi, 0xffffffff
jne 0x42d615
xor esi, esi
jmp 0x42d633
cmp esi, ebx
je 0x42d633
cmp esi, 0xffffffff
je 0x42d633
push ebx
lea eax, [ebp - 0xc]
push eax
push ebx
push ebx
push ebx
push ebx
push 0x9edb6510
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
lea ecx, [ebp - 4]
push ecx
call fcn.0042c680
mov edi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
or eax, 3
push eax
push ebx
push str.SOFTWAREMcAfeeSystemCoreVSCORE
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
mov ebx, 4
jne 0x42d6a6
mov ecx, dword [ebp - 4]
lea edx, [ebp - 0xc]
push edx
lea eax, [ebp - 8]
push eax
push 0
push 0
push str.LockdownEnabled
push ecx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov edx, dword [ebp - 8]
cmp edx, dword [ebp + 8]
je 0x42d69c
mov ecx, dword [ebp - 4]
push ebx
lea eax, [ebp + 8]
push eax
push ebx
push 0
push str.LockdownEnabled
push ecx
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea eax, [ebp - 4]
push eax
call fcn.0042c680
or eax, 3
push eax
push 0
push str.SOFTWAREMcAfeeVSCORE
push reloc.OLEAUT32.dll_SysReAllocString
call edi
test eax, eax
jne 0x42d70d
lea ecx, [ebp - 0xc]
push ecx
lea edx, [ebp - 8]
push edx
push eax
push eax
mov eax, dword [ebp - 4]
push str.LockdownEnabled
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [ebp - 8]
cmp ecx, dword [ebp + 8]
je 0x42d703
mov eax, dword [ebp - 4]
push ebx
lea edx, [ebp + 8]
push edx
push ebx
push 0
push str.LockdownEnabled
push eax
mov dword [ebp - 0xc], ebx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
je 0x42d71d
cmp esi, 0xffffffff
je 0x42d71d
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp - 8]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x42d730
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xcc
mov eax, dword [0x4703d0]
xor eax, ebp
mov dword [ebp - 4], eax
cmp byte [0x4716c4], 0
mov eax, dword [ebp + 8]
mov ecx, dword [ebp + 0xc]
mov dword [ebp - 0xa8], eax
mov dword [ebp - 0xa4], ecx
jne 0x42d8cc
push esi
push 0x9c
lea eax, [ebp - 0xa0]
push 0
push eax
mov byte [0x4716c4], 1
call fcn.0043c140
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExA]
add esp, 0xc
lea ecx, [ebp - 0xa0]
push ecx
mov dword [ebp - 0xa0], 0x9c
call esi
test eax, eax
jne 0x42d7e4
lea edx, [ebp - 0xa0]
push edx
mov dword [ebp - 0xa0], 0x94
call esi
lea eax, [ebp - 0x8c]
lea edx, [eax + 1]
lea esp, [esp]
mov cl, byte [eax]
add eax, 1
test cl, cl
jne 0x42d7c0
sub eax, edx
je 0x42d7e4
movsx eax, byte [ebp + eax - 0x8d]
lea ecx, [eax - 0x31]
cmp ecx, 8
ja 0x42d7e4
add eax, 0xffffffd0
mov word [ebp - 0xc], ax
cmp dword [ebp - 0x90], 2
jne 0x42d804
movzx eax, byte [ebp - 6]
test eax, eax
mov dword [0x4716c0], eax
jne 0x42d804
mov dword [0x4716c0], 1
mov eax, dword [ebp - 0x9c]
lea edx, [eax + eax*4]
mov eax, dword [ebp - 0x98]
lea eax, [eax + edx*2]
movzx edx, word [ebp - 0xc]
lea ecx, [eax + eax*4]
lea eax, [edx + ecx*2]
movzx ecx, word [ebp - 0xa]
push edi
lea eax, [eax + eax*4]
lea edx, [ecx + eax*2]
push str.Kernel32.dll
mov dword [0x4716bc], edx
xor edi, edi
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x42d852
push str.GetNativeSystemInfo
push esi
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
mov edi, eax
xor eax, eax
test edi, edi
mov dword [ebp - 0xcc], eax
mov dword [ebp - 0xc8], eax
mov dword [ebp - 0xc4], eax
mov dword [ebp - 0xc0], eax
mov dword [ebp - 0xbc], eax
mov dword [ebp - 0xb8], eax
mov dword [ebp - 0xb4], eax
mov dword [ebp - 0xb0], eax
mov dword [ebp - 0xac], eax
je 0x42d899
lea eax, [ebp - 0xcc]
push eax
call edi
jmp 0x42d8a6
lea ecx, [ebp - 0xcc]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
test esi, esi
pop edi
je 0x42d8b2
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
movzx edx, word [ebp - 0xcc]
mov eax, dword [ebp - 0xa8]
mov ecx, dword [ebp - 0xa4]
mov dword [0x4716b8], edx
pop esi
test eax, eax
je 0x42d8d8
mov edx, dword [0x4716b8]
mov dword [eax], edx
test ecx, ecx
je 0x42d8e3
mov eax, dword [0x4716c0]
mov dword [ecx], eax
mov ecx, dword [ebp - 4]
mov eax, dword [0x4716bc]
xor ecx, ebp
call fcn.0043c015
mov esp, ebp
pop ebp
ret
Function at 0x42f3c0
Capabilities:
Encode data using base64

Disassembly:
push ebp
mov ebp, esp
push ecx
cmp dword [ebp + 0xc], 0x7fffffff
push ebx
push esi
push edi
mov dword [ebp - 4], 0
jb 0x42f3f2
mov ecx, dword [ebp + 8]
lea esi, [ecx + 2]
lea ecx, [ecx]
mov dx, word [ecx]
add ecx, 2
test dx, dx
jne 0x42f3e0
sub ecx, esi
sar ecx, 1
mov dword [ebp + 0xc], ecx
mov eax, dword [ebp + 0x18]
xor esi, esi
xor bl, bl
test eax, eax
je 0x42f407
mov esi, dword [eax]
mov bl, byte [eax]
and esi, 3
and bl, 0xfc
xor edi, edi
cmp dword [ebp + 0xc], edi
jbe 0x42f4e3
mov ecx, dword [ebp - 4]
cmp ecx, dword [ebp + 0x14]
jae 0x42f4e3
mov edx, dword [ebp + 8]
movzx ecx, word [edx + edi*2]
movzx edx, cx
cmp edx, 0x2b
je 0x42f48b
cmp edx, 0x2f
je 0x42f487
cmp edx, 0x3d
je 0x42f483
cmp cx, 0x30
jb 0x42f4d7
cmp cx, 0x39
ja 0x42f464
add cl, 4
cmp cl, 0xff
je 0x42f4d7
test esi, esi
jne 0x42f48f
add cl, cl
add cl, cl
mov bl, cl
mov esi, 1
jmp 0x42f4d7
cmp cx, 0x41
jb 0x42f4d7
cmp cx, 0x5a
ja 0x42f475
sub cl, 0x41
jmp 0x42f44a
lea edx, [ecx - 0x61]
cmp dx, 0x19
ja 0x42f4d7
sub cl, 0x47
jmp 0x42f44a
xor esi, esi
jmp 0x42f4d7
mov cl, 0x3f
jmp 0x42f453
mov cl, 0x3e
jmp 0x42f453
mov edx, esi
sub edx, 1
je 0x42f4b4
sub edx, 1
je 0x42f4a3
or cl, bl
mov dl, cl
xor esi, esi
jmp 0x42f4c5
mov dl, cl
shr dl, 2
or dl, bl
shl cl, 6
mov esi, 3
jmp 0x42f4c3
mov dl, cl
shr dl, 4
or dl, bl
shl cl, 4
mov esi, 2
mov bl, cl
mov eax, dword [ebp - 4]
mov ecx, dword [ebp + 0x10]
mov byte [eax + ecx], dl
add eax, 1
mov dword [ebp - 4], eax
mov eax, dword [ebp + 0x18]
add edi, 1
cmp edi, dword [ebp + 0xc]
jb 0x42f412
test eax, eax
je 0x42f4ee
movzx edx, bl
or edx, esi
mov dword [eax], edx
mov ecx, dword [ebp + 0x1c]
test ecx, ecx
mov eax, dword [ebp - 4]
je 0x42f4fa
mov dword [ecx], edi
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4303a0
Capabilities:
Hash data with md5

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
push 0x40
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x58], ecx
push ecx
add eax, 0x18
push eax
call fcn.0043c140
add esp, 0xc
pop ebp
ret
Function at 0x431020
Capabilities:
Hash data using sha224

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xc8], ecx
mov dword [eax + 0xc4], ecx
mov dword [eax + 0xc0], ecx
mov dword [eax], 0xcbbb9d5d
mov dword [eax + 4], 0xc1059ed8
mov dword [eax + 8], 0x629a292a
mov dword [eax + 0xc], 0x367cd507
mov dword [eax + 0x10], 0x9159015a
mov dword [eax + 0x14], 0x3070dd17
mov dword [eax + 0x18], 0x152fecd8
mov dword [eax + 0x1c], 0xf70e5939
mov dword [eax + 0x20], 0x67332667
mov dword [eax + 0x24], 0xffc00b31
mov dword [eax + 0x28], 0x8eb44a87
mov dword [eax + 0x2c], 0x68581511
mov dword [eax + 0x30], 0xdb0c2e0d
mov dword [eax + 0x34], 0x64f98fa7
mov dword [eax + 0x38], 0x47b5481d
mov dword [eax + 0x3c], 0xbefa4fa4
pop ebp
ret

Function at 0x4310c0
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax + 0xd0], ecx
mov dword [eax + 0xcc], ecx
mov dword [eax + 0xc8], ecx
mov dword [eax + 0xc4], ecx
mov dword [eax + 0xc0], ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xf3bcc908
mov dword [eax + 8], 0xbb67ae85
mov dword [eax + 0xc], 0x84caa73b
mov dword [eax + 0x10], 0x3c6ef372
mov dword [eax + 0x14], 0xfe94f82b
mov dword [eax + 0x18], 0xa54ff53a
mov dword [eax + 0x1c], 0x5f1d36f1
mov dword [eax + 0x20], 0x510e527f
mov dword [eax + 0x24], 0xade682d1
mov dword [eax + 0x28], 0x9b05688c
mov dword [eax + 0x2c], 0x2b3e6c1f
mov dword [eax + 0x30], 0x1f83d9ab
mov dword [eax + 0x34], 0xfb41bd6b
mov dword [eax + 0x38], 0x5be0cd19
mov dword [eax + 0x3c], 0x137e2179
pop ebp
ret
Function at 0x432b10
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x6a09e667
mov dword [eax + 4], 0xbb67ae85
mov dword [eax + 8], 0x3c6ef372
mov dword [eax + 0xc], 0xa54ff53a
mov dword [eax + 0x10], 0x510e527f
mov dword [eax + 0x14], 0x9b05688c
mov dword [eax + 0x18], 0x1f83d9ab
mov dword [eax + 0x1c], 0x5be0cd19
mov dword [eax + 0x20], ecx
mov dword [eax + 0x24], ecx
mov dword [eax + 0x68], ecx
mov dword [eax + 0x6c], fcn.00432210
pop ebp
ret

Function at 0x435580
Capabilities:
Hash data using sha1

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
xor ecx, ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
mov dword [eax + 0x10], 0xc3d2e1f0
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x5c], ecx
mov dword [eax + 0x60], 0x433160
pop ebp
ret
Function at 0x438f10
Capabilities:
Query environment variable

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
push ebx
push esi
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetEnvironmentVariableW]
push 1
lea eax, [ebp - 8]
push eax
push str.PATH
mov dword [ebp - 0xc], ecx
mov byte [ebp - 1], 0
call edi
mov esi, eax
lea ecx, [esi + esi]
push ecx
call fcn.0043c073
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x438fac
push esi
push ebx
push str.PATH
call edi
mov eax, ebx
mov esi, ebx
cmp word [esi], 0
je 0x438f6f
lea ebx, [ebx]
cmp word [esi], 0x3b
je 0x438f75
add esi, 2
cmp word [esi], 0
jne 0x438f60
cmp word [esi], 0x3b
jne 0x438f7c
mov word [esi], 0
jmp 0x438f80
mov byte [ebp - 1], 1
mov edi, dword [ebp - 0xc]
push eax
mov ecx, edi
call fcn.00438ca0
mov ecx, edi
call fcn.00438ee0
test al, al
je 0x438fa3
cmp byte [ebp - 1], 0
jne 0x438fa3
lea eax, [esi + 2]
mov esi, eax
jmp 0x438f54
push ebx
call fcn.0043c1ba
add esp, 4
pop edi
pop esi
mov al, 1
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x43af60
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, dword [sym.imp.KERNEL32.dll_IsBadReadPtr]
push 0x40
push ebx
call edi
test eax, eax
je 0x43af7f
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
cmp word [ebx], 0x5a4d
jne 0x43af77
push esi
mov esi, dword [ebx + 0x3c]
push pe_nt_image_headers32
add esi, ebx
push esi
call edi
test eax, eax
jne 0x43afd5
cmp dword [esi], 0x4550
jne 0x43afd5
mov eax, dword [esi + 0x80]
add eax, ebx
cmp eax, esi
je 0x43afd5
add eax, 0xc
cmp dword [eax], 0
je 0x43afd5
mov ecx, dword [ebp + 0xc]
mov esi, dword [eax + 4]
add esi, ebx
cmp dword [esi], 0
je 0x43afcd
cmp dword [esi], ecx
je 0x43afde
add esi, 4
cmp dword [esi], 0
jne 0x43afc1
add eax, 0x14
cmp dword [eax], 0
jne 0x43afb7
pop esi
pop edi
xor eax, eax
pop ebx
pop ebp
ret 0xc
mov dword [ebp + 8], 0x80
mov eax, dword [0x46500c]
cmp eax, 0x46500c
je 0x43b011
test byte [eax + 0x3c], 1
je 0x43b011
cmp byte [eax + 0x39], 5
jb 0x43b011
mov ecx, dword [eax + 0x34]
mov edx, dword [eax + 0x30]
push 0x45fd94
push 0x39
push ecx
push edx
call fcn.0041b140
mov edi, dword [sym.imp.KERNEL32.dll_VirtualProtect]
lea eax, [ebp + 8]
push eax
push 0x80
push 4
push esi
call edi
mov eax, dword [ebp + 8]
cmp eax, 0x80
mov ecx, dword [ebp + 0x10]
mov ebx, dword [esi]
mov dword [esi], ecx
je 0x43b040
lea edx, [ebp + 8]
push edx
push eax
push 4
push esi
call edi
mov eax, dword [0x46500c]
cmp eax, 0x46500c
je 0x43b070
test byte [eax + 0x3c], 1
je 0x43b070
cmp byte [eax + 0x39], 5
jb 0x43b070
mov ecx, dword [esi]
mov edx, dword [eax + 0x34]
mov eax, dword [eax + 0x30]
push ecx
push ebx
push 0x45fd94
push 0x3a
push edx
push eax
call fcn.0043a1b0
pop esi
pop edi
mov eax, ebx
pop ebx
pop ebp
ret 0xc