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

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
mov eax, dword [0x48f85c]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
mov ebx, dword [ebp + 8]
push edi
mov edi, ecx
cmp dword [edi + 0xc], 0
je 0x44257e
cmp byte [edi + 0x60], 0
push esi
mov esi, dword [ebx + 0x10]
mov dword [ebp - 0x20], esi
je 0x442559
mov edx, dword [edi + 0x68]
mov ecx, dword [edi + 0x58]
lea eax, [edx + esi]
cmp eax, ecx
jle 0x442559
mov esi, dword [edi + 0x5c]
cmp esi, 1
jne 0x4424fd
sub ecx, edx
push ecx
mov dword [ebp - 0x24], ecx
call fcn.00442c83
push dword [ebp - 0x24]
mov esi, eax
push 0x20
push esi
call sub.VCRUNTIME140.dll_memset
push dword [edi + 0xc]
push dword [ebp - 0x24]
push 1
push esi
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push esi
call fcn.00442c8c
xor esi, esi
push esi
push esi
push dword [edi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fseek]
add esp, 0x30
mov dword [edi + 0x68], esi
jmp 0x442556
jle 0x442556
mov ecx, edi
call fcn.00441f1c
mov ecx, edi
call fcn.00442110
test al, al
je 0x442556
cmp dword [edi + 0x6c], esi
jle 0x442556
mov eax, dword [edi + 0x70]
mov esi, dword [eax]
cmp esi, eax
je 0x442556
and dword [ebp - 0xc], 0
lea eax, [esi + 0x14]
and dword [ebp - 8], 0
lea ecx, [ebp - 0x1c]
push eax
call fcn.00415e6c
push esi
lea ecx, [edi + 0x70]
call fcn.00441e06
mov eax, dword [ebp - 8]
cmp eax, 8
jb 0x442556
lea eax, [eax*2 + 2]
push eax
push dword [ebp - 0x1c]
call fcn.00401f27
pop ecx
pop ecx
mov esi, dword [ebp - 0x20]
cmp dword [ebx + 0x14], 0x10
jb 0x442561
mov ebx, dword [ebx]
push dword [edi + 0xc]
push esi
push 1
push ebx
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fwrite]
push dword [edi + 0xc]
call dword [sym.imp.api_ms_win_crt_stdio_l1_1_0.dll_fflush]
add esp, 0x14
add dword [edi + 0x68], esi
pop esi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
pop ebx
call fcn.00442ef0
leave
ret 8
Function at 0x433005
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
mov eax, section..text
nop
nop
mov ebx, 0x40de38
nop
mov ecx, 0x4b182dac
nop
nop
nop
nop
test eax, eax
nop
nop
nop
je 0x43304e
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
inc eax
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x433024
nop
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x4304d8
nop
nop
mov ecx, 0x222f0f0e
test eax, eax
nop
nop
nop
nop
nop
nop
nop
je 0x433084
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x43306c
nop
nop
popal
nop
nop
nop
jmp 0x431219
Function at 0x10004d74
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x1000d880]
jne 0x10004d7e
repz ret
jmp fcn.10009402

Function at 0x10009a1d
Capabilities:
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20
push ebx
push esi
push edi
call fcn.100025b4
xor ebx, ebx
cmp dword [0x1000e964], ebx
mov dword [ebp - 0x10], eax
mov dword [ebp - 4], ebx
mov dword [ebp - 8], ebx
mov dword [ebp - 0xc], ebx
jne 0x10009af2
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
cmp edi, ebx
jne 0x10009a5d
xor eax, eax
jmp 0x10009bb6
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
cmp eax, ebx
je 0x10009a56
push eax
call fcn.10002551
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x1000e964], eax
call esi
push eax
call fcn.10002551
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x1000e968], eax
call esi
push eax
call fcn.10002551
mov dword [0x1000e96c], eax
lea eax, [ebp - 8]
push eax
call fcn.10002312
test eax, eax
pop ecx
pop ecx
je 0x10009ac0
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000429c
add esp, 0x14
cmp dword [ebp - 8], 2
jne 0x10009af2
push str.GetUserObjectInformationA
push edi
call esi
push eax
call fcn.10002551
cmp eax, ebx
pop ecx
mov dword [0x1000e974], eax
je 0x10009af2
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.10002551
pop ecx
mov dword [0x1000e970], eax
mov eax, dword [0x1000e970]
mov esi, dword [ebp - 0x10]
cmp eax, esi
je 0x10009b6b
cmp dword [0x1000e974], esi
je 0x10009b6b
push eax
call fcn.100025bd
pop ecx
call eax
cmp eax, ebx
je 0x10009b38
lea ecx, [ebp - 0x14]
push ecx
push 0xc
lea ecx, [ebp - 0x20]
push ecx
push 1
push eax
push dword [0x1000e974]
call fcn.100025bd
pop ecx
call eax
test eax, eax
je 0x10009b38
test byte [ebp - 0x18], 1
jne 0x10009b6b
lea eax, [ebp - 0xc]
push eax
call fcn.10002349
test eax, eax
pop ecx
je 0x10009b53
push ebx
push ebx
push ebx
push ebx
push ebx
call fcn.1000429c
add esp, 0x14
cmp dword [ebp - 0xc], 4
jb 0x10009b62
or dword [ebp + 0x10], 0x200000
jmp 0x10009b9c
or dword [ebp + 0x10], 0x40000
jmp 0x10009b9c
mov eax, dword [0x1000e968]
cmp eax, esi
je 0x10009b9c
push eax
call fcn.100025bd
pop ecx
call eax
cmp eax, ebx
mov dword [ebp - 4], eax
je 0x10009b9c
mov eax, dword [0x1000e96c]
cmp eax, esi
je 0x10009b9c
push dword [ebp - 4]
push eax
call fcn.100025bd
pop ecx
call eax
mov dword [ebp - 4], eax
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
push dword [0x1000e964]
call fcn.100025bd
pop ecx
call eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x40b930
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x40bafe
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x40b95b
mov eax, 0x7000000
jmp 0x40b963
test eax, eax
je 0x40bad9
mov dword [esp + 0x14], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
mov dword [ecx + 0x94], ebx
mov ebp, edx
shl edx, 0x11
xor edx, ebp
mov ebp, ebx
xor ebx, edx
shr edx, 7
xor edx, ebx
mov ebx, ebp
shr ebp, 0x10
xor ebp, edx
mov dword [ecx + 0x98], ebp
lea ecx, [ebp + ebx]
shr ecx, 6
inc ecx
mov dword [esp], ecx
call fcn.00462e80
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr eax, 0x14
and eax, 0x7ff
mov edx, eax
add eax, 0xfffffc01
mov ebx, ecx
shr ecx, 0xf
and ecx, 0x1f
mov ebp, ecx
add ecx, 1
mov esi, 0
adc esi, 0
shl ebx, 5
mov edi, dword [esp + 0x28]
shr edi, 0x1b
or edi, ebx
lea ebx, [0x8c8780]
movsd xmm0, qword [ebx + ebp*8]
test esi, esi
jne 0x40baf1
cmp ecx, 0x21
jae 0x40bae5
movsd qword [esp + 0x18], xmm0
mov dword [esp + 0x10], edi
add edx, 0xfffffc01
mov edx, 0xffffffff
adc edx, 0
movsd xmm0, qword [ebx + ecx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], edx
mov dword [esp], eax
call fcn.0045d490
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
and eax, 0xfffff
mov dword [esp], eax
call fcn.0045d560
movsd xmm0, qword [esp + 0x30]
movsd xmm1, qword [esp + 0x18]
addsd xmm0, xmm1
movsd xmm2, qword [esp + 0x20]
subsd xmm2, xmm1
movsd xmm1, qword [esp + 8]
mulsd xmm1, xmm2
movsd xmm2, qword [0x73ce10]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x73cee0]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x40bab4
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x73cf60]
mulsd xmm1, xmm2
mulsd xmm0, xmm1
cvttsd2si eax, xmm0
inc eax
mov dword [esp + 0x40], eax
add esp, 0x38
ret
mov dword [esp + 0x40], 0
add esp, 0x38
ret
mov eax, ecx
mov ecx, 0x21
call fcn.00462f60
mov eax, ecx
mov ecx, 0x21
call fcn.00463030
nop
call fcn.00461ac0
jmp fcn.0040b930
Function at 0x4151c0
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4153d4
sub esp, 0x18
mov eax, dword [0x91e83c]
test eax, eax
jne 0x4153bd
nop
lea eax, [0x91e824]
mov dword [esp], eax
call fcn.00409780
mov eax, dword [0x91e828]
test eax, eax
je 0x415209
cmp dword [eax + 8], 0xcc
jne 0x41527f
mov edx, dword [0x91e81c]
test edx, edx
jne 0x415261
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x923250]
mov dword [esp + 8], eax
call fcn.0040bb10
mov eax, dword [esp + 0xc]
mov dword [0x91e81c], eax
mov ecx, dword [0x91e7e0]
mov dword [eax], ecx
mov eax, dword [0x91e81c]
mov dword [0x91e7e0], eax
movzx eax, byte [0x91ee40]
test al, al
jne 0x415261
xor eax, eax
jmp 0x415369
mov edx, dword [0x91e81c]
mov ebx, dword [edx + 4]
mov dword [0x91e81c], ebx
mov ebx, dword [0x91e828]
mov dword [edx + 4], ebx
mov dword [0x91e828], edx
mov edx, dword [0x91e828]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x415351
mov dword [esp + 0x14], edx
mov dword [esp + 0x10], eax
lea eax, [edx + 8]
mov dword [esp], eax
mov dword [esp + 4], 1
call fcn.004020d0
mov eax, dword [esp + 0x10]
lea eax, [eax + eax*4]
mov ecx, dword [esp + 0x14]
lea edi, [ecx + eax*4 + 0x10]
mov edx, dword [0x91eb10]
lea ebx, [ecx + eax*4 + 0x1c]
lea ebp, [ecx + eax*4 + 0x20]
lea esi, [ecx + eax*4 + 0x14]
test edx, edx
jne 0x4152dd
mov edx, dword [esp + 0x20]
mov dword [ecx + eax*4 + 0x10], edx
jmp 0x4152ea
mov edx, eax
mov eax, dword [esp + 0x20]
call fcn.00462ed0
mov eax, edx
mov edx, dword [esp + 0x24]
mov dword [ecx + eax*4 + 0x18], edx
mov edx, dword [0x91eb10]
test edx, edx
jne 0x415316
mov edx, dword [esp + 0x28]
mov dword [ecx + eax*4 + 0x1c], edx
mov edx, dword [esp + 0x2c]
mov dword [ecx + eax*4 + 0x20], edx
mov edx, dword [esp + 0x1c]
mov dword [ecx + eax*4 + 0x14], edx
jmp 0x415337
mov edi, ebx
mov eax, dword [esp + 0x28]
call fcn.00462ed0
mov edi, ebp
mov eax, dword [esp + 0x2c]
call fcn.00462ed0
mov edi, esi
mov eax, dword [esp + 0x1c]
call fcn.00462ed0
mov byte [0x91e751], 1
nop
lea eax, [0x91e824]
mov dword [esp], eax
call fcn.00409980
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.00462f60
lea esi, [0x91ee40]
xchg ebp, eax
mov byte [esi + ebx], al
xchg ebp, eax
lea eax, [ebx + 1]
cmp eax, 0x80
jge 0x415261
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
mov eax, ecx
sar ecx, 0x1f
sub edx, ecx
lea edx, [edx + edx*4]
mov ebx, eax
sub eax, edx
cmp eax, 5
jae 0x4153b3
lea edx, [0x8c18d0]
movzx ebp, byte [edx + eax]
cmp ebx, 0x80
jb 0x41535b
mov eax, ebx
mov ecx, pe_nt_image_headers32
call fcn.00462f50
mov ecx, 5
call fcn.00462f50
lea eax, [0x6d188f]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00437420
nop
call fcn.00461ac0
jmp fcn.004151c0
Function at 0x428bf0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x428d60
sub esp, 0x1c
mov eax, dword [esp + 0x20]
mov dword [esp], eax
call fcn.004269b0
mov eax, dword [esp + 4]
test eax, eax
je 0x428d49
mov dword [esp + 0xc], eax
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov edx, dword [ecx + 0x18]
nop
inc dword [edx + 0x7c]
mov ecx, dword [ecx + 0x18]
mov dword [esp + 0x14], ecx
mov dword [esp], eax
call fcn.00424930
mov eax, dword [esp + 0x20]
mov ecx, dword [esp + 0xc]
sub eax, dword [ecx + 0xc]
mov dword [esp + 0x10], eax
mov edx, dword [esp + 0x24]
movzx ebx, byte [edx + 6]
mov byte [esp + 0xb], bl
lea ebp, [ecx + 0x48]
mov dword [esp + 0x18], ebp
nop
mov dword [esp], ebp
call fcn.00409780
mov eax, dword [esp + 0xc]
lea ecx, [eax + 0x4c]
movzx edx, byte [esp + 0xb]
mov ebx, dword [esp + 0x10]
jmp 0x428c87
mov ecx, ebp
mov ebp, dword [ecx]
test ebp, ebp
je 0x428ced
movzx esi, word [ebp + 4]
cmp esi, ebx
jne 0x428c9c
cmp byte [ebp + 6], dl
je 0x428ca7
cmp esi, ebx
ja 0x428ced
jne 0x428c85
cmp byte [ebp + 6], dl
jbe 0x428c85
jmp 0x428ced
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409980
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x428ce4
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x428ce4
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 0
add esp, 0x1c
ret
mov edx, dword [esp + 0x24]
mov word [edx + 4], bx
mov ebx, dword [ecx]
mov dword [edx], ebx
mov dword [ecx], edx
mov dword [esp], eax
call fcn.00428af0
nop
nop
mov eax, dword [esp + 0x18]
mov dword [esp], eax
call fcn.00409980
nop
mov eax, dword fs:[0x14]
mov eax, dword [eax]
mov ecx, dword [esp + 0x14]
mov edx, dword [ecx + 0x7c]
lea ebx, [edx - 1]
mov dword [ecx + 0x7c], ebx
cmp edx, 1
jne 0x428d40
movzx ecx, byte [eax + 0x65]
test cl, cl
je 0x428d40
mov dword [eax + 8], 0xfffffade
mov byte [esp + 0x28], 1
add esp, 0x1c
ret
lea eax, [0x6d3ee2]
mov dword [esp], eax
mov dword [esp + 4], 0x1d
call fcn.00437420
nop
call fcn.00461ac0
jmp fcn.00428bf0
Function at 0x4291d0
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4292ec
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 1
je 0x429265
cmp cl, 2
je 0x42920d
cmp cl, 3
jne 0x4292d5
mov byte [eax + 8], 1
jmp 0x4292d1
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.0042e960
nop
lea eax, [0x902da4]
mov dword [esp], eax
call fcn.00409780
nop
mov eax, dword [0x902d70]
sub eax, dword [0x902d54]
mov dword [0x902d70], eax
mov eax, dword [0x902d60]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x902d60], ecx
nop
lea eax, [0x902da4]
mov dword [esp], eax
call fcn.00409980
jmp 0x4292d1
mov ecx, dword [eax + 8]
mov edx, dword [eax + 0xc]
mov ebx, dword [eax + 0x10]
mov ebp, dword [eax + 0x14]
mov esi, dword [esp + 0x1c]
mov dword [esp], esi
mov dword [esp + 4], ecx
mov dword [esp + 8], edx
mov dword [esp + 0xc], ebx
mov dword [esp + 0x10], ebp
call fcn.004151c0
nop
lea eax, [0x902da4]
mov dword [esp], eax
call fcn.00409780
nop
mov eax, dword [0x902d48]
sub eax, dword [0x902d2c]
mov dword [0x902d48], eax
mov eax, dword [0x902d38]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x902d38], ecx
nop
nop
lea eax, [0x902da4]
mov dword [esp], eax
call fcn.00409980
add esp, 0x14
ret
lea eax, [0x6ccbc0]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00437420
nop
call fcn.00461ac0
jmp fcn.004291d0
Function at 0x4525d0
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x452757
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x45274d
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45262c
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45262c
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov dword [esp + 0x34], 0
mov byte [esp + 0x38], 0
add esp, 0x10
ret
test ebx, 0x80
je 0x45263f
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x452722
mov eax, 1
mov ebp, ebx
and ebx, 1
neg ebx
shr ebp, 1
xor ebx, ebp
mov ebp, dword [esp + 0x24]
add dword [ebp], ebx
cmp ecx, eax
jb 0x452714
sub ecx, eax
mov ebx, dword [esp + 0x1c]
sub ebx, eax
mov ebp, ebx
neg ebx
sar ebx, 0x1f
and eax, ebx
lea ebx, [edx + eax]
test ecx, ecx
jbe 0x45270b
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x452696
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ebp
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x4526df
mov eax, 1
cmp eax, ecx
ja 0x4526cd
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and ebp, eax
add ebx, ebp
mov dword [esp + 0x2c], ebx
sub ecx, eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00462fc0
lea esi, [ecx + 7]
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
cmp eax, ecx
jae 0x452706
movzx edi, byte [eax + ebx]
lea ebp, [eax + 1]
mov eax, edi
and edi, 0x7f
mov ecx, esi
shl edi, cl
or edx, edi
test al, 0x80
jne 0x4526d2
mov ecx, dword [esp + 8]
mov eax, ebp
mov ebp, dword [esp + 0xc]
jmp 0x45269b
call fcn.00462f60
xor eax, eax
mov ecx, eax
call fcn.00462f50
call fcn.00462fc0
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
mov eax, edi
cmp ecx, eax
jbe 0x452748
movzx esi, byte [eax + edx]
lea edi, [eax + 1]
mov eax, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
or ebx, esi
test al, 0x80
jne 0x452719
mov ecx, dword [esp + 0x18]
mov eax, edi
jmp 0x452644
call fcn.00462f60
xor eax, eax
mov ecx, eax
call fcn.00462f50
nop
call fcn.00461ac0
jmp fcn.004525d0
Function at 0x45a170
Capabilities:
Access peb ldr_data
Get kernel32 base address

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45a20f
sub esp, 0x30
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
mov dword [esp + 8], ecx
mov dword [esp + 4], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00463147
lea ecx, [0x45a220]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
lea ecx, [esp + 0x34]
mov dword [esp + 0x14], ecx
mov ecx, dword [esp + 8]
mov dword [esp + 0x18], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x24], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x28], ecx
lea ecx, [esp + 4]
mov dword [esp + 0x2c], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.004619b0
mov ecx, dword [esp + 4]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00461ac0
jmp fcn.0045a170
Function at 0x462d80
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
movd xmm0, dword [esp + 8]
pinsrw xmm0, ebx, 4
pshufhw xmm0, xmm0, 0
movdqa xmm1, xmm0
pxor xmm0, xmmword [0x91ec20]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x46154b
je 0x46159e
cmp ebx, 0x20
jbe 0x4615a4
cmp ebx, 0x40
jbe 0x4615ea
jmp 0x46168b
test ebx, ebx
je 0x461594
add eax, 0x10
test ax, 0xff0
je 0x461580
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x73f660]
pxor xmm1, xmm0
aesenc xmm1, xmm1
aesenc xmm1, xmm1
aesenc xmm1, xmm1
movd dword [edx], xmm1
ret
movdqu xmm1, xmmword [eax + ebx - 0x20]
add ebx, ebx
pshufb xmm1, xmmword [ebx*8 + 0x73f860]
jmp 0x461568
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x461568
pxor xmm1, xmmword [0x91ec30]
aesenc xmm1, xmm1
movdqu xmm2, xmmword [eax]
movdqu xmm3, xmmword [eax + ebx - 0x10]
pxor xmm2, xmm0
pxor xmm3, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
aesenc xmm2, xmm2
aesenc xmm3, xmm3
pxor xmm2, xmm3
movd dword [edx], xmm2
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x91ec30]
pxor xmm2, xmmword [0x91ec40]
pxor xmm3, xmmword [0x91ec50]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax]
movdqu xmm5, xmmword [eax + 0x10]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
pxor xmm4, xmm0
pxor xmm5, xmm1
pxor xmm6, xmm2
pxor xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
movdqa xmm2, xmm1
movdqa xmm3, xmm1
pxor xmm1, xmmword [0x91ec30]
pxor xmm2, xmmword [0x91ec40]
pxor xmm3, xmmword [0x91ec50]
aesenc xmm1, xmm1
aesenc xmm2, xmm2
aesenc xmm3, xmm3
movdqu xmm4, xmmword [eax + ebx - 0x40]
movdqu xmm5, xmmword [eax + ebx - 0x30]
movdqu xmm6, xmmword [eax + ebx - 0x20]
movdqu xmm7, xmmword [eax + ebx - 0x10]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
dec ebx
shr ebx, 6
movdqu xmm0, xmmword [eax]
movdqu xmm1, xmmword [eax + 0x10]
movdqu xmm2, xmmword [eax + 0x20]
movdqu xmm3, xmmword [eax + 0x30]
aesenc xmm4, xmm0
aesenc xmm5, xmm1
aesenc xmm6, xmm2
aesenc xmm7, xmm3
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
add eax, 0x40
dec ebx
jne 0x4616ea
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
aesenc xmm4, xmm4
aesenc xmm5, xmm5
aesenc xmm6, xmm6
aesenc xmm7, xmm7
pxor xmm4, xmm6
pxor xmm5, xmm7
pxor xmm4, xmm5
movd dword [edx], xmm4
ret
cmp byte [0x91e759], 0
je 0x462d9a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x461510
jmp fcn.00408140
Function at 0x462da0
Capabilities:
Encrypt data using aes via x86 extensions

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x402b3e
sub esp, 0x10
mov eax, dword [esp + 0x14]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 4], ecx
mov dword [esp + 8], eax
call fcn.00408140
mov eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
add esp, 0x10
ret
call fcn.00461ac0
jmp 0x402b00
cmp byte [0x91e759], 0
je 0x462dbb
mov eax, dword [esp + 4]
mov ebx, dword [eax + 4]
mov eax, dword [eax]
lea edx, [esp + 0xc]
jmp 0x461510
jmp 0x402b00
Function at 0x4c6af0
Capabilities:
Hash data with md5

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
lea eax, [esp - 8]
cmp eax, dword [ecx + 8]
jbe 0x4c6be3
sub esp, 0x88
mov dword [esp + 0x98], 0
mov dword [esp + 0x9c], 0
mov dword [esp + 0xa0], 0
mov dword [esp + 0xa4], 0
lea edi, [esp + 0x2c]
xor eax, eax
call fcn.00463139
nop
mov dword [esp + 0x2c], 0x67452301
mov dword [esp + 0x30], 0xefcdab89
mov dword [esp + 0x34], 0x98badcfe
mov dword [esp + 0x38], 0x10325476
mov dword [esp + 0x7c], 0
mov dword [esp + 0x80], 0
mov dword [esp + 0x84], 0
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
mov edx, dword [esp + 0x8c]
mov dword [esp + 4], edx
mov edx, dword [esp + 0x90]
mov dword [esp + 8], edx
mov edx, dword [esp + 0x94]
mov dword [esp + 0xc], edx
call fcn.004c6600
lea ecx, [esp + 0x2c]
mov dword [esp], ecx
call fcn.004c68e0
lea edi, [esp + 0x1c]
lea esi, [esp + 4]
call fcn.00463638
lea edi, [esp + 0x98]
lea esi, [esp + 0x1c]
call fcn.00463638
add esp, 0x88
ret
call fcn.00461ac0
jmp fcn.004c6af0
Function at 0x4e7980
Capabilities:
Resolve function by parsing pe exports

Disassembly:
mov ecx, dword fs:[0x14]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4e7b1e
sub esp, 0x5c
lea edi, [esp + 0x78]
xor eax, eax
call fcn.00463147
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x4e79ba
mov ecx, dword [esp + 0x64]
mov edx, dword [esp + 0x68]
mov eax, dword [esp + 0x60]
jmp 0x4e79e3
lea eax, [0x68d980]
mov dword [esp], eax
mov dword [esp + 4], 0
mov dword [esp + 8], 0x200
call fcn.0044b3e0
mov eax, dword [esp + 0xc]
xor ecx, ecx
mov edx, 0x200
mov dword [esp + 0x24], ecx
lea edi, [esp + 0x38]
mov ebx, eax
xor eax, eax
call fcn.00463147
mov dword [esp + 0x38], ebx
mov ecx, dword [esp + 0x24]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x40], edx
mov dword [esp + 0x54], ecx
movzx ecx, word [esp + 0x6c]
movzx edx, word [esp + 0x70]
shl edx, 0xb
movzx ebx, word [esp + 0x76]
or ebx, edx
movzx edx, byte [esp + 0x75]
test dl, dl
je 0x4e7a2b
or ebx, 0x80
movzx eax, byte [esp + 0x74]
test al, al
je 0x4e7a3a
or ebx, 0x100
movzx eax, byte [esp + 0x73]
test al, al
je 0x4e7a49
or ebx, 0x200
movzx eax, byte [esp + 0x72]
test al, al
je 0x4e7a58
or ebx, 0x400
movzx eax, byte [esp + 0x6e]
test al, al
je 0x4e7a67
or ebx, 0xffff8000
mov word [esp + 0x46], cx
mov word [esp + 0x48], bx
mov dword [esp + 0x28], 0
mov dword [esp + 0x2c], 0
mov dword [esp + 0x30], 0
mov eax, dword [esp + 0x3c]
lea ecx, [eax + 0xc]
mov dword [esp + 0x24], ecx
mov edx, dword [esp + 0x40]
mov ebx, dword [esp + 0x38]
cmp edx, ecx
jae 0x4e7ace
mov dword [esp + 0x20], eax
lea ebp, [0x68d980]
mov dword [esp], ebp
mov dword [esp + 4], ebx
mov dword [esp + 8], eax
mov dword [esp + 0xc], edx
mov dword [esp + 0x10], ecx
call fcn.0044b5e0
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x20]
mov dword [esp + 0x20], edx
mov dword [esp + 0x34], ebx
add eax, ebx
mov dword [esp], eax
lea eax, [esp + 0x28]
mov dword [esp + 4], eax
mov dword [esp + 8], 0xc
call fcn.00463840
mov eax, dword [esp + 0x34]
mov dword [esp + 0x38], eax
mov eax, dword [esp + 0x24]
mov dword [esp + 0x3c], eax
mov eax, dword [esp + 0x20]
mov dword [esp + 0x40], eax
mov byte [esp + 0x44], 1
lea edi, [esp + 0x78]
lea esi, [esp + 0x38]
call fcn.00463606
add esp, 0x5c
ret
call fcn.00461ac0
jmp fcn.004e7980