joyce8/EMBER2024-capa huggingface dataset:
Function at 0x3e3d50
Capabilities:
Resolve function by parsing pe exports

Disassembly:
sub esp, 0x10
push ebx
mov ebx, ecx
mov dword [esp + 4], edx
push ebp
push esi
push edi
mov eax, dword [ebx + 0x3c]
xor esi, esi
add eax, 0x78
add eax, ebx
mov dword [esp + 0x1c], eax
mov edi, dword [eax]
mov eax, dword [edi + ebx + 0x1c]
add edi, ebx
add eax, ebx
mov dword [esp + 0x18], eax
mov ebp, dword [edi + 0x20]
mov eax, dword [edi + 0x24]
add ebp, ebx
add eax, ebx
mov dword [esp + 0x14], eax
cmp dword [edi + 0x18], esi
jbe 0x3e3dac
lea esp, [esp]
mov ecx, dword [ebp + esi*4]
add ecx, ebx
call fcn.003e3af0
xor eax, 0x15977d8f
cmp eax, dword [esp + 0x10]
je 0x3e3db6
inc esi
cmp esi, dword [edi + 0x18]
jb 0x3e3d90
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
movzx eax, word [eax + esi*2]
mov ecx, dword [ecx + eax*4]
add ecx, ebx
cmp ecx, edi
jb 0x3e3de4
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 4]
add eax, edi
cmp ecx, eax
jae 0x3e3de4
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
jmp 0x3e3f80
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x10
ret
sub esp, 0x104
lea edx, [esp]
push esi
mov esi, ecx
push edi
mov al, byte [esi]
test al, al
je 0x3e3fa6
cmp al, 0x2e
je 0x3e3fa3
inc esi
mov byte [edx], al
inc edx
mov al, byte [esi]
test al, al
jne 0x3e3f93
jmp 0x3e3fa6
mov byte [edx], 0
mov eax, dword [0x3edd94]
test eax, eax
jne 0x3e3fca
mov ecx, 0x802173e5
call fcn.003e3df0
mov edx, 0xe2afc2b8
mov ecx, eax
call fcn.003e3d50
mov dword [0x3edd94], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3e4011
mov eax, dword [0x3edf8c]
test eax, eax
jne 0x3e3ffb
mov ecx, 0x802173e5
call fcn.003e3df0
mov edx, 0xcabcc663
mov ecx, eax
call fcn.003e3d50
mov dword [0x3edf8c], eax
lea ecx, [esp + 8]
push ecx
call eax
mov edi, eax
test edi, edi
jne 0x3e4011
pop edi
pop esi
add esp, 0x104
ret
lea ecx, [esi + 1]
call fcn.003e3af0
xor eax, 0x15977d8f
mov ecx, edi
mov edx, eax
call fcn.003e3d50
pop edi
pop esi
add esp, 0x104
ret
Function at 0x3e3df0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
sub esp, 0x10
mov eax, dword fs:[0x30]
push ebx
push ebp
push esi
mov ebx, dword [eax + 0xc]
add ebx, 0xc
mov dword [esp + 0x18], ecx
push edi
mov dword [esp + 0x18], ebx
mov ebp, dword [ebx]
cmp ebp, ebx
je 0x3e3f65
jmp 0x3e3e20
mov esi, dword [ebp + 0x30]
mov eax, 0xbacf914d
mov dword [esp + 0x10], 0x21c3
shl dword [esp + 0x10], 0xd
add dword [esp + 0x10], 0xffffee0d
xor dword [esp + 0x10], 0xc6d3a95b
or dword [esp + 0x10], 0xe006cb71
mov ecx, dword [esp + 0x10]
mul ecx
mov eax, 0xaaaaaaab
sub ecx, edx
shr ecx, 1
add ecx, edx
shr ecx, 5
mov dword [esp + 0x10], ecx
add dword [esp + 0x10], 0x86d
xor dword [esp + 0x10], 0x2a29b567
xor dword [esp + 0x10], 0x2c0b8419
mov dword [esp + 0x14], 0x6024
mov ecx, dword [esp + 0x14]
mul ecx
shr edx, 5
mov dword [esp + 0x14], edx
xor dword [esp + 0x14], 0x206
mov dword [esp + 0x14], 0x7624
shl dword [esp + 0x14], 5
add dword [esp + 0x14], 0xcdd4
xor dword [esp + 0x14], 0xf9244
cmp word [esi], 0
je 0x3e3f4b
mov ebx, dword [esp + 0x10]
mov eax, 0xaaaaaaab
mov dword [esp + 0x14], 0x6024
mov ecx, dword [esp + 0x14]
mul ecx
shr edx, 5
mov dword [esp + 0x14], edx
xor dword [esp + 0x14], 0x206
movzx ecx, byte [esp + 0x14]
mov edx, dword [esp + 0x10]
mov dword [esp + 0x14], 0x7624
shl dword [esp + 0x14], 5
add dword [esp + 0x14], 0xcdd4
xor dword [esp + 0x14], 0xf9244
shl edx, cl
movzx ecx, byte [esp + 0x14]
mov edi, dword [esp + 0x10]
movzx eax, word [esi]
shl edi, cl
cmp eax, 0x41
jb 0x3e3f2a
cmp eax, 0x5a
ja 0x3e3f2a
add eax, 0x20
mov dword [esp + 0x10], eax
add esi, 2
add dword [esp + 0x10], edx
add dword [esp + 0x10], edi
sub dword [esp + 0x10], ebx
cmp word [esi], 0
jne 0x3e3ec1
mov ebx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
xor eax, 0xf5f9597
cmp eax, dword [esp + 0x1c]
je 0x3e3f6f
mov ebp, dword [ebp]
cmp ebp, ebx
jne 0x3e3e20
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x10
ret
mov eax, dword [ebp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x10
ret
Function at 0x3e4240
Capabilities:
Enumerate pe sections
Parse pe header

Disassembly:
sub esp, 0x14
push ebp
mov ebp, ecx
mov dword [esp + 0x10], ebp
push edi
cmp edx, 0x40
jb 0x3e43de
mov eax, 0x5a4d
cmp word [ebp], ax
jne 0x3e43de
mov edi, dword [ebp + 0x3c]
add edi, ebp
mov dword [esp + 0x18], edi
cmp dword [edi], 0x4550
jne 0x3e43de
mov eax, 0x10b
cmp word [edi + 0x18], ax
jne 0x3e43de
mov eax, dword [0x3edda8]
test eax, eax
jne 0x3e42ab
mov ecx, 0x802173e5
call fcn.003e3df0
mov edx, 0x2c46dbc5
mov ecx, eax
call fcn.003e3d50
mov dword [0x3edda8], eax
push ebx
push 0x40
push 0x3000
push dword [edi + 0x50]
push 0
call eax
mov ebx, eax
test ebx, ebx
je 0x3e43d5
movzx ecx, word [edi + 0x14]
push esi
lea esi, [edi + 0x18]
add esi, ecx
movzx ecx, word [edi + 6]
mov dword [esp + 0x18], esi
lea ecx, [ecx + ecx*4]
lea eax, [esi + ecx*8]
mov dword [esp + 0x14], eax
mov eax, dword [edi + 0x54]
mov dword [esp + 0x10], eax
mov eax, dword [0x3ee03c]
test eax, eax
jne 0x3e430b
mov ecx, 0xdd71b583
call fcn.003e3df0
mov edx, 0x282aa2f8
mov ecx, eax
call fcn.003e3d50
mov dword [0x3ee03c], eax
push dword [esp + 0x10]
push ebp
push ebx
call eax
mov ecx, dword [esp + 0x20]
add esp, 0xc
cmp esi, ecx
jae 0x3e438e
sub ecx, dword [esp + 0x18]
mov eax, 0xcccccccd
dec ecx
add esi, 0x10
mul ecx
mov ecx, edx
shr ecx, 5
inc ecx
mov edi, ecx
mov ebp, dword [esi]
cmp dword [esi - 8], ebp
mov eax, dword [esi + 4]
cmovb ebp, dword [esi - 8]
add eax, dword [esp + 0x1c]
mov dword [esp + 0x18], eax
mov eax, dword [esi - 4]
add eax, ebx
mov dword [esp + 0x14], eax
mov eax, dword [0x3ee03c]
test eax, eax
jne 0x3e4376
mov ecx, 0xdd71b583
call fcn.003e3df0
mov edx, 0x282aa2f8
mov ecx, eax
call fcn.003e3d50
mov dword [0x3ee03c], eax
push ebp
push dword [esp + 0x1c]
push dword [esp + 0x1c]
call eax
add esp, 0xc
add esi, 0x28
dec edi
jne 0x3e4335
mov edi, dword [esp + 0x20]
mov edx, edi
mov ecx, ebx
call fcn.003e4510
mov edx, edi
mov ecx, ebx
call fcn.003e4420
pop esi
test eax, eax
jne 0x3e43d5
mov eax, dword [0x3ee024]
test eax, eax
jne 0x3e43c9
mov ecx, 0x802173e5
call fcn.003e3df0
mov edx, 0xef65a2d8
mov ecx, eax
call fcn.003e3d50
mov dword [0x3ee024], eax
push 0x8000
push 0
push ebx
call eax
xor ebx, ebx
mov eax, ebx
pop ebx
pop edi
pop ebp
add esp, 0x14
ret
pop edi
xor eax, eax
pop ebp
add esp, 0x14
ret
Function at 0x4012b0
Capabilities:
Encode data using xor

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0xe], 0
je 0x401323
movups xmm4, xmmword [0x4164e0]
mov eax, 0x70
push esi
lea ecx, [eax - 1]
movd xmm2, eax
lea esi, [eax - 3]
movd xmm0, ecx
movd xmm3, esi
lea edx, [eax - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + eax - 0x70]
punpcklbw xmm0, xmm0
movd xmm1, edx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + eax - 0x70], xmm3
add eax, 4
cmp eax, 0x7c
jb 0x4012c6
xor byte [edi + 0xc], 0x79
pop esi
mov byte [edi + 0xe], 0
pop edi
ret

Function at 0x401e30
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x3c
mov eax, dword [0x419040]
xor eax, esp
mov dword [esp + 0x38], eax
mov eax, dword [ebp + 0xc]
push ebx
push esi
push edi
mov edi, dword [ebp + 8]
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edi
mov dword [esp + 0x10], 0
mov dword [edi], 0
mov dword [edi + 4], 0
mov dword [edi + 8], 0
mov edx, dword [eax + 0x3c]
add edx, eax
mov dword [esp + 0x1c], edx
movzx eax, word [edx + 0x14]
lea ecx, [edx + 0x18]
add ecx, eax
xor eax, eax
mov dword [esp + 0xc], ecx
cmp ax, word [edx + 6]
jae 0x401f64
push ecx
lea ecx, [esp + 0x30]
call fcn.00402010
mov ebx, dword [esp + 0x40]
lea eax, [esp + 0x2c]
mov esi, dword [esp + 0x2c]
cmp ebx, 0xf
cmova eax, esi
cmp dword [esp + 0x3c], 5
jne 0x401f14
cmp dword [eax], 0x7865742e
jne 0x401eca
movzx eax, byte [eax + 4]
cmp al, 0x74
jne 0x401eca
mov al, 1
jmp 0x401ecc
xor al, al
test al, al
je 0x401f14
mov eax, dword [esp + 0xc]
xor ecx, ecx
xor edx, edx
mov dword [esp + 0x20], eax
mov edi, dword [eax + 0xc]
add edi, dword [esp + 0x14]
mov dword [esp + 0x24], edi
cmp dword [eax + 8], ecx
jbe 0x401f03
mov ebx, eax
nop
movzx eax, byte [edi + edx]
inc edx
crc32 ecx, eax
cmp edx, dword [ebx + 8]
jb 0x401ef0
mov ebx, dword [esp + 0x40]
mov edi, dword [esp + 0x18]
movq xmm0, qword [esp + 0x20]
movq qword [edi], xmm0
mov dword [edi + 8], ecx
cmp ebx, 0xf
jbe 0x401f40
lea ecx, [ebx + 1]
mov eax, esi
cmp ecx, 0x1000
jb 0x401f36
mov esi, dword [eax - 4]
add ecx, 0x23
sub eax, esi
add eax, 0xfffffffc
cmp eax, 0x1f
ja 0x401f7a
push ecx
push esi
call fcn.00406b84
add esp, 8
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
inc edx
add ecx, 0x28
mov dword [esp + 0x10], edx
movzx eax, word [eax + 6]
mov dword [esp + 0xc], ecx
cmp edx, eax
jl 0x401e93
mov ecx, dword [esp + 0x44]
mov eax, edi
pop edi
pop esi
pop ebx
xor ecx, esp
call fcn.00406b41
mov esp, ebp
pop ebp
ret 8
call dword [sym.imp.api_ms_win_crt_runtime_l1_1_0.dll__invalid_parameter_noinfo_noreturn]
int3
Function at 0x404410
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 0xd], 0
je 0x40448a
movups xmm4, xmmword [0x4164e0]
push ebx
push esi
mov eax, 0xffffffc4
mov ebx, 3
nop dword [eax]
lea ecx, [eax - 1]
movd xmm2, eax
lea esi, [eax - 3]
movd xmm0, ecx
movd xmm3, esi
lea edx, [eax - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + eax + 0x3c]
punpcklbw xmm0, xmm0
movd xmm1, edx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + eax + 0x3c], xmm3
add eax, 4
sub ebx, 1
jne 0x404430
pop esi
pop ebx
mov byte [edi + 0xd], 0
pop edi
ret

Function at 0x404490
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x24
push ebx
mov ebx, ecx
push esi
mov dword [ebp - 0x20], ebx
cmp byte [ebx + 0x2b], 0
je 0x404623
movaps xmm5, xmmword [0x4163e0]
lea ecx, [ebx + 8]
movaps xmm6, xmmword [0x4166f0]
mov edx, 0xffffffc8
movups xmm4, xmmword [0x4164e0]
mov dword [ebp - 8], ecx
sub edx, ebx
mov ecx, 0xffffffc6
mov dword [ebp - 4], 0xffffffc1
sub ecx, ebx
mov dword [ebp - 0x14], edx
push edi
mov dword [ebp - 0xc], ecx
mov edi, 0xffffffc5
sub edi, ebx
mov esi, 0xffffffc7
sub esi, ebx
mov dword [ebp - 0x10], edi
mov ecx, 0xffffffbd
mov dword [ebp - 0x18], esi
sub ecx, ebx
xor eax, eax
sub dword [ebp - 4], ebx
mov ebx, dword [ebp - 8]
mov dword [ebp - 0x1c], ecx
movd xmm0, eax
add ecx, ebx
pshufd xmm1, xmm0, 0
add edi, ebx
movd xmm0, dword [ebx - 8]
paddd xmm1, xmm6
punpcklbw xmm0, xmm0
add eax, 0x10
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm3, edi
xorps xmm1, xmm0
mov edi, dword [ebp - 0x10]
andps xmm1, xmm4
movd xmm0, ecx
mov ecx, dword [ebp - 4]
packuswb xmm1, xmm1
add ecx, ebx
packuswb xmm1, xmm1
movd dword [ebx - 8], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx - 4]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, ecx
andps xmm1, xmm4
lea ecx, [edx + ebx]
packuswb xmm1, xmm1
lea edx, [esi + ebx]
mov esi, dword [ebp - 0xc]
packuswb xmm1, xmm1
add esi, ebx
movd dword [ebx - 4], xmm1
pshufd xmm1, xmm0, 0
movd xmm0, dword [ebx]
paddd xmm1, xmm5
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
movd xmm2, ecx
xorps xmm1, xmm0
mov ecx, dword [ebp - 0x1c]
andps xmm1, xmm4
movd xmm0, edx
mov edx, dword [ebp - 0x14]
punpckldq xmm3, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebx], xmm1
movd xmm0, dword [ebx + 4]
punpcklbw xmm0, xmm0
movd xmm1, esi
mov esi, dword [ebp - 0x18]
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [ebx + 4], xmm3
add ebx, 0x10
cmp eax, 0x20
jb 0x404504
mov ebx, dword [ebp - 0x20]
pop edi
cmp eax, 0x2a
jae 0x40461f
lea edx, [ebx + eax]
lea ecx, [eax - 0x3f]
inc eax
xor byte [edx], cl
cmp eax, 0x2a
jb 0x404611
mov byte [ebx + 0x2b], 0
push ecx
mov ecx, dword [ebp + 8]
lea eax, [ebx + 0x2a]
push eax
push ebx
call fcn.00404850
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x404640
Capabilities:
Encode data using add xor sub operations
Encode data using xor

Disassembly:
push edi
mov edi, ecx
cmp byte [edi + 9], 0
je 0x4046ba
movups xmm4, xmmword [0x4164e0]
push ebx
push esi
mov eax, 0xffffffc4
mov ebx, 2
nop dword [eax]
lea ecx, [eax - 1]
movd xmm2, eax
lea esi, [eax - 3]
movd xmm0, ecx
movd xmm3, esi
lea edx, [eax - 2]
punpckldq xmm3, xmm0
movd xmm0, dword [edi + eax + 0x3c]
punpcklbw xmm0, xmm0
movd xmm1, edx
punpcklwd xmm0, xmm0
punpckldq xmm1, xmm2
punpckldq xmm3, xmm1
psrad xmm0, 0x18
xorps xmm3, xmm0
andps xmm3, xmm4
packuswb xmm3, xmm3
packuswb xmm3, xmm3
movd dword [edi + eax + 0x3c], xmm3
add eax, 4
sub ebx, 1
jne 0x404660
pop esi
pop ebx
mov byte [edi + 9], 0
pop edi
ret
Function at 0x405000
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x14
mov edx, dword [eax]
mov eax, dword [0x41950c]
push esi
mov esi, ecx
cmp eax, dword [edx + 4]
jle 0x405143
push 0x41950c
call fcn.00406c06
add esp, 4
cmp dword [0x41950c], 0xffffffff
jne 0x405143
movaps xmm0, xmmword [0x416520]
movups xmm2, xmmword [0x4164e0]
mov dword [ebp - 4], 0x1001012
movaps xmm1, xmmword [0x416490]
movd eax, xmm0
movups xmmword [ebp - 0x14], xmm0
movd xmm0, eax
mov eax, 0x10
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 0x10]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x14], xmm1
movaps xmm1, xmmword [0x4164a0]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 0xc]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x10], xmm1
movaps xmm1, xmmword [0x4164b0]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 8]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0xc], xmm1
movaps xmm1, xmmword [0x4164c0]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 8], xmm1
nop dword [eax]
lea ecx, [eax + 0x6d]
xor byte [ebp + eax - 0x14], cl
inc eax
cmp eax, 0x12
jb 0x405110
lea eax, [ebp - 0x14]
mov byte [ebp - 1], 0
push eax
push dword [0x4194f8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x41950c
mov dword [0x419510], eax
call fcn.00406bb5
add esp, 4
mov eax, dword [0x419510]
test eax, eax
je 0x40516c
push 4
push 0
push 2
push dword [ebp + 0x18]
push dword [ebp + 0x14]
push dword [ebp + 0x10]
push 0
push dword [ebp + 8]
push 0xffffffffffffffff
push esi
call eax
pop esi
mov esp, ebp
pop ebp
ret 0x20
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
mov eax, 0xc000007a
pop esi
mov esp, ebp
pop ebp
ret 0x20
Function at 0x405180
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
mov eax, dword fs:[0x2c]
sub esp, 0x20
push ebx
push esi
mov esi, dword [eax]
mov ebx, ecx
mov eax, dword [0x419508]
push edi
mov edi, edx
cmp eax, dword [esi + 4]
jle 0x4052cb
push 0x419508
call fcn.00406c06
add esp, 4
cmp dword [0x419508], 0xffffffff
jne 0x4052cb
movaps xmm0, xmmword [0x416570]
movups xmm2, xmmword [0x4164e0]
mov dword [ebp - 0xc], 0x70737851
movaps xmm1, xmmword [0x416410]
movd eax, xmm0
movups xmmword [ebp - 0x1c], xmm0
mov dword [ebp - 8], 0x1005852
movd xmm0, eax
mov eax, 0x10
punpcklbw xmm0, xmm0
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 0x18]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x1c], xmm1
movaps xmm1, xmmword [0x416430]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 0x14]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x18], xmm1
movaps xmm1, xmmword [0x416450]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
movd xmm0, dword [ebp - 0x10]
andps xmm1, xmm2
punpcklbw xmm0, xmm0
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x14], xmm1
movaps xmm1, xmmword [0x416470]
punpcklwd xmm0, xmm0
psrad xmm0, 0x18
xorps xmm1, xmm0
andps xmm1, xmm2
packuswb xmm1, xmm1
packuswb xmm1, xmm1
movd dword [ebp - 0x10], xmm1
lea ecx, [eax + 0xc]
xor byte [ebp + eax - 0x1c], cl
inc eax
cmp eax, 0x16
jb 0x405298
lea eax, [ebp - 0x1c]
mov byte [ebp - 5], 0
push eax
push dword [0x4194f8]
call dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 0x419508
mov dword [0x419500], eax
call fcn.00406bb5
add esp, 4
mov eax, dword [0x419500]
test eax, eax
je 0x4052ea
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push edi
push ebx
call eax
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0xc
push 0x7f
call dword [sym.imp.KERNEL32.dll_SetLastError]
pop edi
pop esi
mov eax, 0xc000007a
pop ebx
mov esp, ebp
pop ebp
ret 0xc
Function at 0x405300
Capabilities:
Parse pe header

Disassembly:
push ebp
mov ebp, esp
push ecx
push esi
mov esi, edx
test ecx, ecx
je 0x4053c8
mov eax, 0x5a4d
cmp word [ecx], ax
jne 0x4053c8
mov eax, dword [ecx + 0x3c]
add eax, ecx
cmp dword [eax], 0x4550
jne 0x4053c8
mov edx, 0x10b
cmp word [eax + 0x18], dx
jne 0x4053c8
mov dword [esi], ecx
lea edx, [esi + 0x10]
add ecx, dword [ecx + 0x3c]
mov dword [esi + 4], ecx
lea eax, [ecx + 4]
mov dword [esi + 8], eax
lea eax, [ecx + 0x18]
mov dword [esi + 0xc], eax
xor ecx, ecx
mov eax, dword [esi + 4]
lea edx, [edx + 4]
add eax, 0x78
add eax, ecx
add ecx, 8
mov dword [edx - 4], eax
cmp ecx, 0x80
jl 0x405356
mov ecx, dword [esi + 4]
push ebx
push edi
xor ebx, ebx
movzx eax, word [ecx + 0x14]
lea edi, [ecx + 0x18]
add edi, eax
xor ecx, ecx
mov eax, dword [esi + 8]
cmp cx, word [eax + 2]
jae 0x4053bf
lea ecx, [esi + 0x50]
nop dword [eax]
mov eax, dword [esi + 0x54]
mov dword [ebp - 4], edi
cmp eax, dword [esi + 0x58]
je 0x4053a3
mov dword [eax], edi
add dword [esi + 0x54], 4
jmp 0x4053b0
lea edx, [ebp - 4]
push edx
push eax
call fcn.004053d0
lea ecx, [esi + 0x50]
mov eax, dword [esi + 8]
inc ebx
add edi, 0x28
movzx eax, word [eax + 2]
cmp ebx, eax
jl 0x405390
pop edi
pop ebx
mov al, 1
pop esi
mov esp, ebp
pop ebp
ret
xor al, al
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x406ebb
Capabilities:
Enumerate pe sections

Disassembly:
push ebp
mov ebp, esp
mov eax, dword [ebp + 8]
push esi
mov ecx, dword [eax + 0x3c]
add ecx, eax
movzx eax, word [ecx + 0x14]
lea edx, [ecx + 0x18]
add edx, eax
movzx eax, word [ecx + 6]
imul esi, eax, 0x28
add esi, edx
jmp 0x406ef0
mov ecx, dword [edx + 0xc]
cmp dword [ebp + 0xc], ecx
jb 0x406eed
mov eax, dword [edx + 8]
add eax, ecx
cmp dword [ebp + 0xc], eax
jb 0x406ef9
add edx, 0x28
cmp edx, esi
jne 0x406edb
xor eax, eax
pop esi
pop ebp
ret
mov eax, edx
jmp 0x406ef6

Function at 0x407493
Capabilities:
Parse pe header

Disassembly:
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleHandleW]
test eax, eax
je 0x4074d2
mov ecx, 0x5a4d
cmp word [eax], cx
jne 0x4074d2
mov ecx, dword [eax + 0x3c]
add ecx, eax
cmp dword [ecx], 0x4550
jne 0x4074d2
mov eax, 0x10b
cmp word [ecx + 0x18], ax
jne 0x4074d2
cmp dword [ecx + 0x74], 0xe
jbe 0x4074d2
cmp dword [ecx + 0xe8], 0
setne al
ret
xor al, al
ret
Function at 0x82fca0
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x2fd000]
push edi
jmp 0x82fcba
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x82fcc1
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82fcb0
mov eax, 1
add ebx, ebx
jne 0x82fcd3
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x82fce4
jne 0x82fd03
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82fd03
dec eax
add ebx, ebx
jne 0x82fcf0
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
jmp 0x82fcc8
add ebx, ebx
jne 0x82fcff
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jmp 0x82fd55
xor ecx, ecx
sub eax, 3
jb 0x82fd1b
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x82fd8a
sar eax, 1
mov ebp, eax
jmp 0x82fd26
add ebx, ebx
jne 0x82fd26
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82fcf4
inc ecx
add ebx, ebx
jne 0x82fd34
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x82fcf4
add ebx, ebx
jne 0x82fd41
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x82fd36
jne 0x82fd52
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x82fd36
add ecx, 2
cmp ebp, 0xfffffb00
adc ecx, 2
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x82fd74
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x82fd66
jmp 0x82fcb6
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x82fd74
add edi, ecx
jmp 0x82fcb6
pop esi
mov edi, esi
mov ecx, 0x8b6a
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x82fd92
cmp byte [edi], 0x1a
jne 0x82fd92
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x82fd97
lea edi, [esi + 0x42b000]
mov eax, dword [edi]
or eax, eax
je 0x82fe0f
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x4410dc]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x441208]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x82fdc4
mov ecx, edi
jns 0x82fdf3
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x44120c]
or eax, eax
je 0x82fe09
mov dword [ebx], eax
add ebx, 4
jmp 0x82fde1
call dword [esi + 0x44121c]
mov ebp, dword [esi + 0x441210]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x31f]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x82fe43
sub esp, 0xffffff80
jmp section.UPX0
Function at 0x99677c
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
push esi
xor esi, esi
cmp dword [ebp + 8], esi
jne 0x9967a3
call fcn.00938d18
mov dword [eax], esi
call fcn.00938d05
push 0x16
pop esi
mov dword [eax], esi
call fcn.0093995a
mov eax, esi
jmp 0x9967f8
test dword [ebp + 0xc], 0xfffffff9
jne 0x996789
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
jne 0x9967d0
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00938d2b
pop ecx
call fcn.00938d05
mov eax, dword [eax]
jmp 0x9967f8
test al, 0x10
jne 0x9967f6
test al, 1
je 0x9967f6
test byte [ebp + 0xc], 2
je 0x9967f6
call fcn.00938d18
mov dword [eax], 5
call fcn.00938d05
mov dword [eax], 0xd
jmp 0x9967c7
xor eax, eax
pop esi
pop ebp
ret

Function at 0x431000
Capabilities:
Encode data using xor
Packed with generic packer

Disassembly:
pushal
nop
nop
nop
nop
nop
mov eax, section..text
nop
nop
mov ebx, 0x40915c
mov ecx, 0x31de7f55
nop
nop
nop
test eax, eax
nop
nop
nop
nop
je 0x43104e
nop
nop
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
nop
nop
inc eax
nop
inc eax
nop
nop
nop
nop
nop
nop
nop
nop
nop
inc eax
nop
nop
inc eax
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
nop
jne 0x431024
nop
nop
nop
mov eax, section..data
nop
mov ebx, 0x42f3f8
nop
mov ecx, 0x74e42ac9
nop
nop
nop
nop
nop
test eax, eax
nop
nop
je 0x431084
nop
nop
nop
xor dword [eax], ecx
nop
nop
nop
nop
add eax, 4
nop
nop
nop
nop
nop
cmp eax, ebx
nop
nop
nop
jne 0x43106c
nop
nop
nop
nop
nop
nop
popal
nop
jmp 0x401219