joyce8/EMBER2024-capa huggingface dataset:
Function at 0x401000
Capabilities:
Terminate process

Disassembly:
jmp 0x41dcf8
push 0x14
push 0x456ac8
call fcn.0041de00
push 1
call fcn.0041d8de
pop ecx
test al, al
jne 0x41dbaf
push 7
call fcn.0041e008
xor bl, bl
mov byte [ebp - 0x19], bl
and dword [ebp - 4], 0
call fcn.0041d8a9
mov byte [ebp - 0x24], al
mov eax, dword [0x45ad1c]
xor ecx, ecx
inc ecx
cmp eax, ecx
je 0x41dba8
test eax, eax
jne 0x41dc19
mov dword [0x45ad1c], ecx
push 0x44f2c8
push 0x44f2b0
call fcn.004227ac
pop ecx
pop ecx
test eax, eax
je 0x41dbfc
mov dword [ebp - 4], 0xfffffffe
mov eax, 0xff
jmp 0x41dcf2
push 0x44f2ac
push 0x44f260
call fcn.00422750
pop ecx
pop ecx
mov dword [0x45ad1c], 2
jmp 0x41dc1e
mov bl, cl
mov byte [ebp - 0x19], bl
push dword [ebp - 0x24]
call fcn.0041da38
pop ecx
call fcn.0041e2f6
mov esi, eax
xor edi, edi
cmp dword [esi], edi
je 0x41dc4e
push esi
call fcn.0041d9ae
pop ecx
test al, al
je 0x41dc4e
push edi
push 2
push edi
mov esi, dword [esi]
mov ecx, esi
call fcn.0041ddeb
call esi
call fcn.0041e2fc
mov esi, eax
cmp dword [esi], edi
je 0x41dc6c
push esi
call fcn.0041d9ae
pop ecx
test al, al
je 0x41dc6c
push dword [esi]
call fcn.00421c0f
pop ecx
call fcn.0041e123
movzx eax, ax
push eax
call fcn.004226fd
push eax
push edi
push 0x400000
call main
mov esi, eax
call fcn.0041e156
test al, al
jne 0x41dc97
push esi
call fcn.00421c47
test bl, bl
jne 0x41dca0
call fcn.00421bea
push edi
push 1
call fcn.0041da55
pop ecx
pop ecx
mov dword [ebp - 4], 0xfffffffe
mov eax, esi
jmp 0x41dcf2
call fcn.0041de46
ret
call fcn.0041e1ef
jmp 0x41db90

Function at 0x402d80
Capabilities:
Get system information on windows

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x34
lea eax, [esp + 8]
push ebx
push esi
push edi
push eax
lea eax, [esp + 0x14]
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetCurrentProcess]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcessAffinityMask]
test eax, eax
je 0x402db8
mov ecx, dword [esp + 0x10]
test ecx, ecx
je 0x402db8
call fcn.00439020
jmp 0x402dc7
lea eax, [esp + 0x1c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemInfo]
mov eax, dword [esp + 0x30]
lea ecx, [esp + 0x10]
mov dword [esi], eax
mov dword [esi + 4], eax
mov byte [esi + 8], 0
mov dword [esp + 0x10], 0x40000000
mov dword [esp + 0x14], 0
mov dword [esi + 0x20], 0x40000000
mov dword [esi + 0x24], 0
mov dword [esi + 0x10], 0x40000000
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 0x40000000
mov dword [esi + 0x1c], 0
call fcn.00438ef0
mov byte [esi + 9], al
test al, al
je 0x402e68
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], edi
test edi, edi
jne 0x402e34
cmp ebx, 0x70000000
jbe 0x402e3b
mov ebx, 0x70000000
xor edi, edi
push 0
push 0x50
push edi
push ebx
call fcn.00402d20
shrd ebx, edi, 5
mov dword [esi + 0x10], eax
shr edi, 5
mov eax, ebx
mov ecx, edi
mov dword [esi + 0x14], edx
shld ecx, eax, 4
shl eax, 4
add eax, ebx
mov dword [esi + 0x18], eax
adc ecx, edi
mov dword [esi + 0x1c], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x404a90
Capabilities:
Create thread

Disassembly:
push ecx
push esi
lea eax, [esp + 4]
mov esi, ecx
push eax
push 0
push dword [esp + 0x18]
push dword [esp + 0x18]
push 0
push 0
call fcn.00421474
add esp, 0x18
mov dword [esi], eax
pop esi
test eax, eax
je 0x404abc
xor eax, eax
pop ecx
ret 8
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
mov eax, ecx
pop ecx
ret 8

Function at 0x406a90
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c3f7
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 0x10], 0
mov dword [esi], 0x454fa4
mov dword [esi + 4], 0x454fb8
mov dword [esi + 8], 0x454fdc
mov dword [esi + 0xc], 0x454f90
mov byte [esi + 0x14], 0
mov dword [esi + 0x18], 0
mov dword [esi + 0x1c], 0
mov dword [esi + 0x20], 0
mov dword [ebp - 4], 0
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 0
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov byte [ebp - 4], 2
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
push 8
mov dword [esi + 0x44], 0
call fcn.0041d5b4
xor ecx, ecx
mov dword [esi + 0x44], eax
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 3
mov word [eax], cx
mov byte [ebp - 4], 3
push 8
mov dword [esi + 0x50], ecx
call fcn.0041d5b4
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
add esp, 8
mov dword [esi + 0x58], 3
mov word [eax], cx
lea ecx, [esi + 0x60]
mov byte [ebp - 4], 4
call fcn.00401be0
mov dword [esi + 0x98], 0
mov eax, esi
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0xffffffff
mov dword [esi + 0xa8], 0xffffffff
mov dword [esi + 0xac], 0
mov dword [esi + 0xb0], 0x54fffc
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x4071f0
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c4f8
mov eax, dword fs:[0]
push eax
push esi
mov eax, dword [0x45a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
push dword [esi + 0xcc]
call fcn.0041d479
push dword [esi + 0xc0]
call fcn.0041d479
push dword [esi + 0x9c]
call fcn.0041d479
push dword [esi + 0x90]
call fcn.0041d479
push dword [esi + 0x30]
call fcn.0041d479
push dword [esi + 0x24]
call fcn.0041d479
push dword [esi + 0x18]
call fcn.0041d479
add esp, 0x1c
mov dword [ebp - 4], 0
mov ecx, dword [esi + 0xc]
test ecx, ecx
je 0x407270
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 1
mov eax, dword [esi + 8]
test eax, eax
je 0x407284
push eax
mov eax, dword [eax]
call dword [eax + 8]
mov dword [ebp - 4], 2
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x407298
mov eax, dword [ecx]
push ecx
call dword [eax + 8]
mov dword [ebp - 4], 3
mov ecx, dword [esi]
test ecx, ecx
je 0x4072d0
mov eax, dword [ecx]
mov edx, dword [eax + 8]
cmp eax, 0x454ae4
jne 0x4072cd
add dword [ecx + 8], 0xffffffff
jne 0x4072d0
push ecx
call fcn.004032c0
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
push ecx
call edx
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x407ab0
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c659
mov eax, dword fs:[0]
push eax
sub esp, 8
push esi
push edi
mov eax, dword [0x45a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov edi, ecx
mov dword [ebp - 0x14], edi
mov dword [edi + 4], 0
mov dword [ebp - 4], 0
mov dword [edi], 0x455050
mov dword [edi + 8], 0
push 8
mov dword [edi + 0xc], 0
call fcn.0041d5b4
xor ecx, ecx
mov dword [edi + 0xc], eax
mov dword [edi + 0x10], 0
add esp, 4
mov dword [edi + 0x14], 3
mov word [eax], cx
mov dword [edi + 0x30], ecx
mov dword [edi + 0x44], ecx
lea esi, [edi + 0x48]
mov byte [ebp - 4], 2
mov ecx, esi
mov dword [ebp - 0x10], esi
call fcn.00432810
mov word [esi + 0x18], 0
mov dword [esi + 0x20], 1
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
mov dword [esi + 0x2c], 0
push 0
push 0
push 1
mov byte [ebp - 4], 3
push 0
mov dword [edi + 0x78], 0xffffffff
mov dword [edi + 0x40], 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
mov dword [edi + 0x44], eax
test eax, eax
jne 0x407ba7
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
mov ecx, 1
cmovne ecx, eax
test ecx, ecx
je 0x407ba7
push 0x457080
lea eax, [ebp - 0x10]
mov dword [ebp - 0x10], 0x145ecb
push eax
call fcn.0041feb0
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret

Function at 0x408540
Capabilities:
Access peb ldr_data

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c7dd
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x45a008]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
mov dword [ebp - 0x10], esi
mov dword [esi + 8], 0
mov dword [esi], 0x455084
mov dword [esi + 4], 0x45500c
mov dword [esi + 0xc], 0
mov dword [ebp - 4], 0
push 8
mov dword [esi + 0x10], 0
call fcn.0041d5b4
xor ecx, ecx
mov dword [esi + 0x10], eax
mov dword [esi + 0x14], 0
mov dword [esi + 0x18], 3
mov word [eax], cx
mov byte [ebp - 4], 1
push 8
mov dword [esi + 0x1c], ecx
call fcn.0041d5b4
xor ecx, ecx
mov dword [esi + 0x1c], eax
mov dword [esi + 0x20], 0
mov dword [esi + 0x24], 3
mov word [eax], cx
mov byte [ebp - 4], 2
push 8
mov dword [esi + 0x28], ecx
call fcn.0041d5b4
xor ecx, ecx
mov dword [esi + 0x28], eax
mov dword [esi + 0x2c], 0
mov dword [esi + 0x30], 3
mov word [eax], cx
mov dword [esi + 0x4c], ecx
mov byte [ebp - 4], 4
push 8
mov dword [esi + 0x50], ecx
call fcn.0041d5b4
xor ecx, ecx
mov dword [esi + 0x50], eax
mov dword [esi + 0x54], 0
add esp, 0x10
mov dword [esi + 0x58], 3
mov word [eax], cx
lea ecx, [esi + 0x68]
mov byte [ebp - 4], 5
call fcn.00407ab0
mov byte [ebp - 4], 6
push 8
mov dword [esi + 0xec], 0
call fcn.0041d5b4
add esp, 4
mov dword [esi + 0xec], eax
xor ecx, ecx
mov dword [esi + 0xf0], 0
mov dword [esi + 0xf4], 3
mov word [eax], cx
mov eax, esi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x408910
Capabilities:
Hash data using sha256

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44c866
mov eax, dword fs:[0]
push eax
sub esp, 0x60
mov eax, dword [0x45a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x50], edx
mov dword [ebp - 0x64], ecx
mov ecx, dword [ebp + 8]
mov eax, dword [ebp + 0xc]
mov dword [ebp - 0x68], eax
mov dword [ebp - 0x4c], ecx
lea esi, [ecx + 0x80]
mov dword [ebp - 0x68], 0
push esi
push 0x453f60
mov dword [ebp - 0x60], esi
call fcn.0042b570
mov edi, eax
mov dword [ebp - 0x6c], edi
test edi, edi
jne 0x408985
push 0x457080
lea eax, [ebp - 0x4c]
mov dword [ebp - 0x4c], 1
push eax
call fcn.0041feb0
mov dword [ebp - 0x68], esi
mov dword [ebp - 4], 0
lea esi, [edi + 0x80]
push dword [ebp - 0x4c]
push dword [ebp - 0x50]
push esi
call fcn.004292b0
mov dword [edi], 0x431cd0
add esp, 0xc
mov dword [edi + 8], 0
mov edx, esi
mov dword [edi + 0xc], 0
mov ecx, edi
mov dword [edi + 0x20], 0x6a09e667
push dword [ebp - 0x4c]
mov dword [edi + 0x24], 0xbb67ae85
mov dword [edi + 0x28], 0x3c6ef372
mov dword [edi + 0x2c], 0xa54ff53a
mov dword [edi + 0x30], 0x510e527f
mov dword [edi + 0x34], 0x9b05688c
mov dword [edi + 0x38], 0x1f83d9ab
mov dword [edi + 0x3c], 0x5be0cd19
call fcn.00431c30
xorps xmm0, xmm0
mov byte [ebp - 0x30], 0
lea edx, [ebp - 0x30]
movq qword [ebp - 0x1f], xmm0
mov ecx, edi
mov dword [ebp - 0x17], 0
movups xmmword [ebp - 0x2f], xmm0
mov word [ebp - 0x13], 0
mov byte [ebp - 0x11], 0
call fcn.00431b40
mov byte [ebp - 0x50], 0
lea eax, [ebp - 0x10]
push dword [ebp - 0x50]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x5c], 0
push eax
lea eax, [ebp - 0x30]
mov dword [ebp - 0x58], 0
push eax
mov dword [ebp - 0x54], 0
call fcn.0041d410
push dword [ebp - 0x60]
mov byte [ebp - 4], 1
push 0
push edi
call fcn.0041ff20
add esp, 0xc
lea edx, [ebp - 0x5c]
lea ecx, [ebp - 0x48]
call fcn.00408880
cmp dword [eax + 0x14], 0x10
jb 0x408a78
mov eax, dword [eax]
movups xmm0, xmmword [eax]
mov ecx, dword [ebp - 0x64]
movups xmmword [ecx], xmm0
movups xmm0, xmmword [eax + 0x10]
movups xmmword [ecx + 0x10], xmm0
movups xmm0, xmmword [eax + 0x20]
movups xmmword [ecx + 0x20], xmm0
movups xmm0, xmmword [eax + 0x30]
mov eax, dword [ebp - 0x34]
movups xmmword [ecx + 0x30], xmm0
cmp eax, 0x10
jb 0x408aab
inc eax
push eax
push dword [ebp - 0x48]
call fcn.0041d180
mov eax, dword [ebp - 0x5c]
lea ecx, [ebp - 0x5c]
mov dword [ebp - 0x58], eax
call fcn.0041cf50
mov dword [ebp - 4], 2
push dword [edi - 4]
call fcn.00421310
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d468
mov esp, ebp
pop ebp
ret 8
Function at 0x408af0
Capabilities:
Get file size
Read file on windows

Disassembly:
sub esp, 0x214
mov eax, dword [0x45a008]
xor eax, esp
mov dword [esp + 0x210], eax
push ebp
push esi
push edi
push 0x208
lea eax, [esp + 0x18]
mov esi, edx
push 0
push eax
mov ebp, ecx
call fcn.0041ff20
add esp, 0xc
lea eax, [esp + 0x14]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameW]
push 0
push 0x80
push 3
push 0
push 1
push SysReAllocStringLen
lea eax, [esp + 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov edi, eax
cmp edi, 0xffffffff
je 0x408bb9
push ebx
lea eax, [esp + 0x10]
mov dword [esp + 0x10], 0
push eax
push edi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov ebx, eax
cmp ebx, 0xffffffff
jne 0x408b7b
call dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x408b8b
mov eax, dword [esp + 0x10]
xor ecx, ecx
add ecx, ebx
mov dword [esi], ecx
adc eax, 0
mov dword [esi + 4], eax
push dword [esi]
mov dword [esp + 0x18], 0
call fcn.0041d5b4
add esp, 4
mov dword [ebp], eax
lea ecx, [esp + 0x14]
push 0
push ecx
push dword [esi]
push eax
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop ebx
mov ecx, dword [esp + 0x21c]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.0041d468
add esp, 0x214
ret
Function at 0x42b160
Capabilities:
Encode data using xor
Encrypt data using aes
Reference aes constants

Disassembly:
push ebx
push esi
mov esi, dword [esp + 0xc]
push edi
push esi
mov edi, ecx
call fcn.0042b1f0
lea ebx, [esi + 0x14]
xor esi, esi
test ebx, ebx
je 0x42b1dd
nop dword [eax + eax]
mov edx, dword [edi + esi*4 + 0x20]
mov eax, edx
shr eax, 0x10
movzx eax, al
movzx ecx, byte [eax + str.cw]
mov eax, edx
shr eax, 8
movzx eax, al
mov ecx, dword [ecx*4 + 0x45ce70]
movzx eax, byte [eax + str.cw]
xor ecx, dword [eax*4 + 0x45ca70]
mov eax, edx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
xor ecx, dword [eax*4 + 0x45d270]
movzx eax, dl
movzx eax, byte [eax + str.cw]
xor ecx, dword [eax*4 + 0x45c670]
mov dword [edi + esi*4 + 0x20], ecx
inc esi
cmp esi, ebx
jb 0x42b180
pop edi
pop esi
pop ebx
ret 4

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

Disassembly:
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
mov esi, edx
shr edi, 2
xor edx, edx
mov eax, edi
mov ebp, 1
shr eax, 1
add eax, 3
mov dword [ecx], eax
add ecx, 0x10
test edi, edi
je 0x42b221
mov eax, dword [esi]
lea esi, [esi + 4]
mov dword [ecx + edx*4], eax
inc edx
cmp edx, edi
jb 0x42b214
mov ebx, dword [ecx + edi*4 - 4]
lea eax, [edi + 0xe]
lea eax, [edi + eax*2]
lea esi, [ecx + eax*4]
mov dword [esp + 0x14], esi
xor esi, esi
mov eax, dword [esp + 0x14]
test esi, esi
jne 0x42b293
movzx eax, bl
mov esi, edi
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
mov eax, ebx
shr eax, 0x10
movzx eax, al
shr ebx, 8
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx ebx, byte [eax + str.cw]
mov eax, 0x1b
xor ebx, ebp
add ebp, ebp
or ebx, edx
test ebp, 0x100
cmovne ebp, eax
jmp 0x42b2e0
cmp esi, 4
jne 0x42b2e4
cmp edi, 6
jbe 0x42b2e4
mov eax, ebx
shr eax, 0x10
movzx eax, al
movzx edx, byte [eax + str.cw]
mov eax, ebx
shr eax, 0x18
movzx eax, byte [eax + str.cw]
shl eax, 8
or edx, eax
mov eax, ebx
shr eax, 8
movzx eax, al
shl edx, 8
movzx eax, byte [eax + str.cw]
or edx, eax
movzx eax, bl
shl edx, 8
movzx ebx, byte [eax + str.cw]
or ebx, edx
mov eax, dword [esp + 0x14]
xor ebx, dword [ecx]
dec esi
mov dword [ecx + edi*4], ebx
add ecx, 4
cmp ecx, eax
jne 0x42b238
pop edi
pop esi
pop ebp
pop ebx
ret 4
Function at 0x42c420
Capabilities:
Check os version
Get common file path

Disassembly:
sub esp, 0x2d4
mov eax, dword [0x45a008]
xor eax, esp
mov dword [esp + 0x2d0], eax
call dword [sym.imp.KERNEL32.dll_GetVersion]
cmp ax, 6
je 0x42c46a
push str.SetDefaultDllDirectories
push str.kernel32.dll
call dword [sym.imp.KERNEL32.dll_GetModuleHandleA]
push eax
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
test eax, eax
je 0x42c46a
push 0xc00
call eax
test eax, eax
jne 0x42c4f6
push 0x106
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
je 0x42c4f6
cmp eax, 0x104
ja 0x42c4f6
cmp word [esp + eax*2 - 2], 0x5c
je 0x42c497
mov ecx, 0x5c
mov word [esp + eax*2], cx
inc eax
cmp byte [str.userenv], 0
push esi
mov esi, str.userenv
je 0x42c4f5
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_LoadLibraryExW]
push ebp
push edi
lea edi, [esp + 0x10]
lea edi, [edi + eax*2]
mov al, byte [esi]
mov ecx, edi
inc esi
test al, al
je 0x42c4d0
nop
movzx eax, al
mov word [ecx], ax
add ecx, 2
mov al, byte [esi]
inc esi
test al, al
jne 0x42c4c0
xor eax, eax
mov dword [ecx], 0x64002e
push 8
push eax
mov word [ecx + 8], ax
lea eax, [esp + 0x18]
push eax
mov dword [ecx + 4], 0x6c006c
call ebx
cmp byte [esi], 0
jne 0x42c4b6
pop edi
pop ebp
pop ebx
pop esi
mov ecx, dword [esp + 0x2d0]
xor ecx, esp
call fcn.0041d468
add esp, 0x2d4
ret
Function at 0x431810
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ecx, 0x20
push edi
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esi + 0x78], 0
cmova eax, ecx
mov dword [esi + 0x7c], 0
mov dword [esi + 0x54], eax
mov eax, dword [esi]
mov dword [esi + 0x30], 1
mov dword [esi + 0x34], 0
mov dword [esi + 0x38], 0
mov dword [esi + 0x3c], 0
mov dword [esi + 0x40], 0
mov dword [esi + 0x44], 1
mov dword [esi + 0x70], 0
mov dword [esi + 0x88], 0
mov dword [esi + 0x90], 0xffffffff
mov dword [esi + 0x94], 0xffffffff
mov dword [esi + 0x68], 0
mov dword [esi + 0x6c], 0
mov dword [esi + 0x48], 0
mov dword [esi + 0x4c], 0
mov dword [esi + 0x50], 0
mov dword [esi + 0x60], 0
mov dword [esi + 0x64], 0
mov dword [esi + 0x80], 0
mov dword [esi + 0x84], 0
mov dword [esi + 0x58], 0
cmp eax, dword [esi + 0x20]
je 0x431926
lea ebx, [esi + 0xd0]
mov ebp, ecx
nop
mov ecx, dword [ebx]
test ecx, ecx
je 0x431905
mov dword [ebx], 0
nop dword [eax]
mov eax, dword [ebx - 8]
mov edi, dword [ecx]
push ecx
mov eax, dword [eax + 0x14]
push eax
mov eax, dword [eax + 4]
call eax
mov ecx, edi
test edi, edi
jne 0x4318f0
add ebx, 0x28
sub ebp, 1
jne 0x4318e0
mov ecx, dword [esi + 0x5c]
test ecx, ecx
je 0x431921
mov eax, dword [esi + 0x14]
push ecx
push eax
mov eax, dword [eax + 4]
call eax
mov dword [esi + 0x5c], ebp
mov eax, dword [esi]
mov dword [esi + 0x20], eax
mov eax, dword [esi + 0x10]
mov dword [esi + 0x98], eax
mov dword [esi + 0x9c], 0
mov dword [esi + 0xa0], 0
mov dword [esi + 0xa4], 0
mov dword [esi + 0xa8], 0
mov dword [esi + 0xac], 0
mov ecx, dword [esi + 0x58]
mov dword [esi + 0x24], 0
mov dword [esi + 0x28], 0
lea eax, [ecx + 5]
lea eax, [eax + eax*4]
lea ebx, [esi + eax*8]
lea eax, [ecx + 1]
mov ecx, ebx
mov dword [esi + 0x58], eax
call fcn.00431560
mov edi, eax
test edi, edi
jne 0x4319ee
push dword [ebx + 0x20]
mov ebp, dword [sym.imp.KERNEL32.dll_SetEvent]
call ebp
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
test eax, eax
jne 0x4319b9
call edi
test eax, eax
mov edi, 1
cmovne edi, eax
test edi, edi
jne 0x4319ee
mov edi, dword [sym.imp.KERNEL32.dll_GetLastError]
push dword [ebx + 0x1c]
call ebp
test eax, eax
jne 0x4319d2
call edi
test eax, eax
mov edi, 1
cmovne edi, eax
test edi, edi
jne 0x4319ee
push ebx
call fcn.00430490
mov edi, eax
test edi, edi
je 0x431a00
mov ecx, esi
mov dword [esi + 0x44], 0
call fcn.004313a0
test edi, edi
jle 0x4319f9
movzx edi, di
or edi, 0x80070000
test edi, edi
je 0x431a00
mov dword [esi + 0x40], edi
cmp dword [esi + 0x38], 0
jne 0x431a19
cmp dword [esi + 0x40], 0
jne 0x431a19
cmp dword [esi + 0x3c], 0
jne 0x431a19
mov dword [esi + 0x44], 0
xor eax, eax
cmp dword [esi + 0x44], eax
cmovne edi, eax
mov eax, edi
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x431b40
Capabilities:
Hash data using sha256

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
mov ebx, edx
push edi
mov edx, dword [esi + 8]
and edx, 0x3f
mov byte [edx + esi + 0x40], 0x80
inc edx
cmp edx, 0x38
jbe 0x431b88
cmp edx, 0x40
je 0x431b7a
mov ecx, 0x40
lea edi, [esi + 0x40]
sub ecx, edx
add edi, edx
mov edx, ecx
xor eax, eax
shr ecx, 2
rep stosd dword es:[edi], eax
mov ecx, edx
and ecx, 3
rep stosb byte es:[edi], al
mov eax, dword [esi]
lea edx, [esi + 0x40]
push 1
lea ecx, [esi + 0x20]
call eax
xor edx, edx
mov eax, 0x38
sub eax, edx
push eax
lea eax, [esi + 0x40]
add eax, edx
push 0
push eax
call fcn.0041ff20
mov ecx, dword [esi + 8]
lea edx, [esi + 0x40]
mov eax, dword [esi + 0xc]
add esp, 0xc
shld eax, ecx, 3
shl ecx, 3
bswap eax
bswap ecx
mov dword [esi + 0x78], eax
mov eax, dword [esi]
mov dword [esi + 0x7c], ecx
lea ecx, [esi + 0x20]
push 1
call eax
lea edx, [esi + 0x20]
mov edi, 4
nop dword [eax + eax]
mov ecx, dword [edx + 4]
lea ebx, [ebx + 8]
mov eax, dword [edx]
lea edx, [edx + 8]
bswap eax
mov dword [ebx - 8], eax
bswap ecx
mov dword [ebx - 4], ecx
sub edi, 1
jne 0x431bd0
mov dword [esi + 8], edi
mov dword [esi + 0xc], edi
pop edi
mov dword [esi + 0x20], 0x6a09e667
mov dword [esi + 0x24], 0xbb67ae85
mov dword [esi + 0x28], 0x3c6ef372
mov dword [esi + 0x2c], 0xa54ff53a
mov dword [esi + 0x30], 0x510e527f
mov dword [esi + 0x34], 0x9b05688c
mov dword [esi + 0x38], 0x1f83d9ab
mov dword [esi + 0x3c], 0x5be0cd19
pop esi
pop ebp
pop ebx
ret

Function at 0x431fd0
Capabilities:
Hash data using sha256

Disassembly:
mov dword [ecx], 0x431cd0
mov dword [ecx + 8], 0
mov dword [ecx + 0xc], 0
mov dword [ecx + 0x20], 0x6a09e667
mov dword [ecx + 0x24], 0xbb67ae85
mov dword [ecx + 0x28], 0x3c6ef372
mov dword [ecx + 0x2c], 0xa54ff53a
mov dword [ecx + 0x30], 0x510e527f
mov dword [ecx + 0x34], 0x9b05688c
mov dword [ecx + 0x38], 0x1f83d9ab
mov dword [ecx + 0x3c], 0x5be0cd19
ret
Function at 0x435bb0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x44ccce
mov eax, dword fs:[0]
push eax
sub esp, 0x354
mov eax, dword [0x45a008]
xor eax, ebp
mov dword [ebp - 0x10], eax
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [0x45b411], 0
jne 0x435c3a
lea eax, [ebp - 0x128]
mov byte [ebp - 0x128], 0
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [ebp - 0x128]
mov edi, eax
lea ecx, [ebp - 0x360]
call fcn.00432bf0
push eax
mov ecx, esi
mov dword [ebp - 4], 0
call fcn.00433c50
mov dword [ebp - 4], 0xffffffff
push dword [ebp - 0x360]
call fcn.0041d479
add esp, 4
jmp 0x435c65
xor eax, eax
mov word [ebp - 0x354], ax
lea eax, [ebp - 0x354]
push eax
push 0x114
call dword [sym.imp.KERNEL32.dll_GetTempPathW]
mov edi, eax
mov ecx, esi
lea eax, [ebp - 0x354]
push eax
call fcn.00433be0
mov ecx, dword [esi + 4]
test ecx, ecx
je 0x435ca1
mov eax, dword [esi]
movzx eax, word [eax + ecx*2 - 2]
cmp eax, 0x5c
je 0x435ca1
cmp eax, 0x2f
je 0x435ca1
cmp dword [esi + 8], ecx
jne 0x435c89
mov ecx, esi
call fcn.00433db0
mov ecx, dword [esi + 4]
mov edx, 0x5c
mov eax, dword [esi]
mov word [eax + ecx*2], dx
inc ecx
xor edx, edx
mov word [eax + ecx*2], dx
mov dword [esi + 4], ecx
test edi, edi
je 0x435cb1
cmp edi, 0x114
jae 0x435cb1
mov al, 1
jmp 0x435cb3
xor al, al
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.0041d468
mov esp, ebp
pop ebp
ret