joyce8/EMBER2024-capa huggingface dataset:
Function at 0x439a27
Capabilities:
Timestomp file

Disassembly:
push 0x48
mov eax, 0x45b6e9
call fcn.00442269
mov edi, ecx
xor ebx, ebx
push ebx
push ebx
push 3
push ebx
push ebx
push 0xc0000000
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 0x10], eax
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_couldnt_open__S
mov dword [ebp - 4], ebx
call fcn.004251e2
pop ecx
pop ecx
xor ecx, ecx
mov byte [ebp - 4], 1
cmp dword [ebp - 0x10], 0xffffffff
setne cl
cmp ecx, ebx
jne 0x439a79
call fcn.004215cd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00408639
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_GetFileTime:__S
call fcn.004251e2
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x30]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x38]
push eax
mov byte [ebp - 4], 2
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_GetFileTime]
cmp eax, ebx
jne 0x439abf
mov eax, esi
call fcn.004215cd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00408639
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_DosDateTimeToFileTime:__S
call fcn.004251e2
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x20]
push eax
push edi
shr edi, 0x10
push edi
mov byte [ebp - 4], 3
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
cmp eax, ebx
jne 0x439aff
mov eax, esi
call fcn.004215cd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00408639
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_LocalFileTimeToFileTime:__S
call fcn.004251e2
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x20]
push eax
mov byte [ebp - 4], 4
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
cmp eax, ebx
jne 0x439b3e
mov eax, esi
call fcn.004215cd
push ebx
push 1
lea ecx, [ebp - 0x54]
mov byte [ebp - 4], bl
call fcn.00408639
push dword [ebp + 8]
lea esi, [ebp - 0x54]
push str.SetFileModTime_failed_SetFileTime:__S
call fcn.004251e2
pop ecx
pop ecx
mov esi, eax
lea eax, [ebp - 0x18]
push eax
lea eax, [ebp - 0x28]
push eax
lea eax, [ebp - 0x18]
push eax
mov byte [ebp - 4], 5
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_SetFileTime]
test eax, eax
jne 0x439b84
mov eax, esi
call fcn.004215cd
push ebx
push 1
lea ecx, [ebp - 0x54]
call fcn.00408639
cmp dword [ebp - 0x10], ebx
je 0x439b9d
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call fcn.00442341
ret 4

Function at 0x43a0e9
Capabilities:
Generate random numbers using the delphi lcg

Disassembly:
mov eax, dword [ecx]
mov edx, eax
xor edx, dword [esp + 4]
push esi
mov esi, 0xff
and edx, esi
mov edx, dword [edi + edx*4]
shr eax, 8
xor edx, eax
mov eax, dword [ecx + 8]
mov dword [ecx], edx
movzx edx, dl
add edx, dword [ecx + 4]
imul edx, edx, 0x8088405
inc edx
mov dword [ecx + 4], edx
shr edx, 0x18
xor edx, eax
and edx, esi
shr eax, 8
xor eax, dword [edi + edx*4]
pop esi
mov dword [ecx + 8], eax
mov eax, dword [esp + 4]
ret
Function at 0x43e40d
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x47f180]
jne 0x43e417
repz ret
jmp fcn.004451fc

Function at 0x45281d
Capabilities:
Link many functions at runtime

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x14
push ebx
push esi
push edi
call fcn.00446159
and dword [ebp - 4], 0
cmp dword [0x4894d8], 0
mov ebx, eax
jne 0x4528ce
push str.USER32.DLL
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edi, eax
test edi, edi
je 0x45297f
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.MessageBoxA
push edi
call esi
test eax, eax
je 0x45297f
push eax
call fcn.004460e7
mov dword [esp], str.GetActiveWindow
push edi
mov dword [0x4894d8], eax
call esi
push eax
call fcn.004460e7
mov dword [esp], str.GetLastActivePopup
push edi
mov dword [0x4894dc], eax
call esi
push eax
call fcn.004460e7
mov dword [esp], str.GetUserObjectInformationA
push edi
mov dword [0x4894e0], eax
call esi
push eax
call fcn.004460e7
pop ecx
mov dword [0x4894e8], eax
test eax, eax
je 0x4528ce
push str.GetProcessWindowStation
push edi
call esi
push eax
call fcn.004460e7
pop ecx
mov dword [0x4894e4], eax
mov eax, dword [0x4894e4]
cmp eax, ebx
je 0x452926
cmp dword [0x4894e8], ebx
je 0x452926
push eax
call fcn.00446162
push dword [0x4894e8]
mov esi, eax
call fcn.00446162
pop ecx
pop ecx
mov edi, eax
test esi, esi
je 0x452926
test edi, edi
je 0x452926
call esi
test eax, eax
je 0x45291d
lea ecx, [ebp - 8]
push ecx
push 0xc
lea ecx, [ebp - 0x14]
push ecx
push 1
push eax
call edi
test eax, eax
je 0x45291d
test byte [ebp - 0xc], 1
jne 0x452926
or dword [ebp + 0x10], 0x200000
jmp 0x45295f
mov eax, dword [0x4894dc]
cmp eax, ebx
je 0x45295f
push eax
call fcn.00446162
pop ecx
test eax, eax
je 0x45295f
call eax
mov dword [ebp - 4], eax
test eax, eax
je 0x45295f
mov eax, dword [0x4894e0]
cmp eax, ebx
je 0x45295f
push eax
call fcn.00446162
pop ecx
test eax, eax
je 0x45295f
push dword [ebp - 4]
call eax
mov dword [ebp - 4], eax
push dword [0x4894d8]
call fcn.00446162
pop ecx
test eax, eax
je 0x45297f
push dword [ebp + 0x10]
push dword [ebp + 0xc]
push dword [ebp + 8]
push dword [ebp - 4]
call eax
jmp 0x452981
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret
Function at 0x410c00
Capabilities:
Decompress data using quicklz

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x410dcb
sub esp, 0x38
mov eax, dword [esp + 0x3c]
cmp eax, 0x7000000
jle 0x410c29
mov eax, 0x7000000
jmp 0x410c31
test eax, eax
je 0x410da6
mov dword [esp + 0x14], eax
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
mov ecx, dword [ecx + 0x18]
mov edx, dword [ecx + 0x94]
mov ebx, dword [ecx + 0x98]
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
lea edx, [ebp + ebx]
shr edx, 6
inc edx
mov dword [ecx + 0x94], ebx
mov dword [ecx + 0x98], ebp
mov dword [esp], edx
call fcn.004753f0
movsd xmm0, qword [esp + 4]
movsd qword [esp + 0x28], xmm0
mov eax, dword [esp + 0x2c]
mov ecx, eax
shr ecx, 0x14
and ecx, 0x7ff
mov edx, eax
shr edx, 0xf
and edx, 0x1f
shl eax, 5
mov ebx, dword [esp + 0x28]
shr ebx, 0x1b
or ebx, eax
lea eax, [0x1eaf7e0]
movsd xmm0, qword [eax + edx*8]
mov ebp, ecx
add ecx, 0xfffffc01
add edx, 1
mov esi, 0
adc esi, 0
test esi, esi
jne 0x410dbe
cmp edx, 0x21
jae 0x410db2
movsd qword [esp + 0x18], xmm0
add ebp, 0xfffffc01
mov ebp, 0xffffffff
adc ebp, 0
and ebx, 0xfffff
mov dword [esp + 0x10], ebx
movsd xmm0, qword [eax + edx*8]
movsd qword [esp + 0x20], xmm0
mov dword [esp + 4], ebp
mov dword [esp], ecx
call fcn.0046b5e0
movsd xmm0, qword [esp + 8]
movsd qword [esp + 0x30], xmm0
mov dword [esp + 4], 0
mov eax, dword [esp + 0x10]
mov dword [esp], eax
call fcn.0046b6b0
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 [0x19b8310]
mulsd xmm2, xmm1
addsd xmm0, xmm2
movsd xmm1, qword [0x19b8368]
subsd xmm0, xmm1
xorps xmm1, xmm1
ucomisd xmm0, xmm1
jbe 0x410d81
xorps xmm0, xmm0
mov eax, dword [esp + 0x14]
cvtsi2sd xmm1, eax
movsd xmm2, qword [0x19b83a0]
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, edx
mov ecx, 0x21
call fcn.004754d0
mov eax, edx
mov ecx, 0x21
call fcn.004755c0
nop
call fcn.00474040
jmp fcn.00410c00
Function at 0x41b800
Capabilities:
Check for software breakpoints

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x41ba0e
sub esp, 0x18
mov eax, dword [0x22676d0]
test eax, eax
jne 0x41b9f7
nop
nop
lea eax, [0x22676c0]
mov dword [esp], eax
call fcn.0040e8e0
mov eax, dword [0x22676c4]
test eax, eax
je 0x41b848
cmp dword [eax + 8], 0xcc
jne 0x41b8be
mov edx, dword [0x22676c8]
test edx, edx
jne 0x41b8a0
mov dword [esp], 0x1000
mov dword [esp + 4], 0
lea eax, [0x2271e70]
mov dword [esp + 8], eax
call fcn.00410de0
mov eax, dword [esp + 0xc]
mov dword [0x22676c8], eax
mov ecx, dword [0x22676cc]
mov dword [eax], ecx
mov eax, dword [0x22676c8]
mov dword [0x22676cc], eax
movzx eax, byte [0x22685a0]
test al, al
jne 0x41b8a0
xor eax, eax
jmp 0x41b9c8
mov edx, dword [0x22676c8]
mov ebx, dword [edx + 4]
mov dword [0x22676c8], ebx
mov ebx, dword [0x22676c4]
mov dword [edx + 4], ebx
mov dword [0x22676c4], edx
mov edx, dword [0x22676c4]
mov eax, dword [edx + 8]
cmp eax, 0xcc
jae 0x41b9a7
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.00406670
mov eax, dword [0x22680f0]
mov ecx, dword [esp + 0x10]
lea ecx, [ecx + ecx*4]
test eax, eax
jne 0x41b908
mov eax, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
jmp 0x41b91e
call fcn.00475450
mov eax, dword [esp + 0x20]
mov dword [edi], eax
mov edx, dword [esp + 0x14]
mov ebx, dword [edx + ecx*4 + 0x10]
mov dword [edi + 4], ebx
mov dword [edx + ecx*4 + 0x10], eax
mov eax, dword [esp + 0x24]
mov dword [edx + ecx*4 + 0x18], eax
mov eax, dword [0x22680f0]
test eax, eax
jne 0x41b942
mov eax, dword [esp + 0x28]
mov ebx, dword [esp + 0x2c]
mov ebp, dword [esp + 0x1c]
jmp 0x41b970
call fcn.00475490
mov eax, dword [esp + 0x28]
mov dword [edi], eax
mov ebx, dword [edx + ecx*4 + 0x1c]
mov dword [edi + 4], ebx
mov ebx, dword [esp + 0x2c]
mov dword [edi + 8], ebx
mov ebp, dword [edx + ecx*4 + 0x20]
mov dword [edi + 0xc], ebp
mov ebp, dword [esp + 0x1c]
mov dword [edi + 0x10], ebp
mov esi, dword [edx + ecx*4 + 0x14]
mov dword [edi + 0x14], esi
mov dword [edx + ecx*4 + 0x1c], eax
mov dword [edx + ecx*4 + 0x20], ebx
mov dword [edx + ecx*4 + 0x14], ebp
nop
nop
lea eax, [0x22676c0]
mov dword [esp], eax
call fcn.0040eae0
nop
lea eax, [0x22676bc]
mov dword [esp], eax
mov dword [esp + 4], 8
call fcn.004067f0
add esp, 0x18
ret
mov ecx, 0xcc
call fcn.004754d0
lea edx, [0x1ea8f80]
movzx ebx, byte [edx + eax]
lea ebp, [0x22685a0]
mov byte [ebp + ecx], bl
lea eax, [ecx + 1]
cmp eax, 0x80
jge 0x41b8a0
mov ecx, eax
mov eax, 0xcccccccd
imul ecx
add edx, ecx
sar edx, 2
lea edx, [edx + edx*4]
mov eax, ecx
sub eax, edx
cmp eax, 5
jb 0x41b9b1
mov ecx, 5
call fcn.004754c0
lea eax, [0xdf1941]
mov dword [esp], eax
mov dword [esp + 4], 0x18
call fcn.00440250
nop
call fcn.00474040
jmp fcn.0041b800
Function at 0x429740
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x429828
sub esp, 0x1c
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x429822
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00429b80
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x10], ax
mov word [esp + 0x12], cx
mov dword [esp + 0x14], edx
mov byte [esp + 0x18], bl
mov eax, dword [esp + 0x20]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x10]
mov dword [esp], edx
mov edx, dword [esp + 0x28]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00429c60
movzx eax, byte [esp + 0x18]
test al, 2
je 0x4297d6
cmp word [esp + 0x10], 0x1f0
jbe 0x4297d6
and eax, 0xfffffffd
nop
mov byte [esp + 0x18], al
mov edx, dword [esp + 0x20]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x24]
cmp eax, ecx
jae 0x42981d
mov ecx, dword [edx]
lea eax, [ecx + eax*8]
movzx ecx, word [esp + 0x10]
movzx edx, word [esp + 0x12]
mov ebx, dword [esp + 0x14]
movzx ebp, byte [esp + 0x18]
mov dword [esp], eax
mov word [esp + 4], cx
mov word [esp + 6], dx
mov dword [esp + 8], ebx
xchg ebp, eax
mov byte [esp + 0xc], al
xchg ebp, eax
call fcn.00429bf0
add esp, 0x1c
ret
call fcn.004754d0
call fcn.004754d0
nop
call fcn.00474040
jmp fcn.00429740
Function at 0x429840
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x429974
sub esp, 0x20
mov edx, dword [esp + 0x24]
mov ecx, dword [edx + 4]
mov eax, dword [esp + 0x28]
cmp eax, ecx
jae 0x42996e
mov ecx, dword [edx]
lea ecx, [ecx + eax*8]
mov dword [esp], ecx
call fcn.00429b80
movzx eax, word [esp + 4]
movzx ecx, word [esp + 6]
mov edx, dword [esp + 8]
movzx ebx, byte [esp + 0xc]
mov word [esp + 0x14], ax
mov word [esp + 0x16], cx
mov dword [esp + 0x18], edx
mov byte [esp + 0x1c], bl
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 0x2c]
lea edx, [esp + 0x14]
mov dword [esp], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 4], edx
mov dword [esp + 8], ecx
call fcn.00429d50
mov eax, dword [esp + 0x24]
mov ecx, dword [eax + 4]
mov edx, dword [esp + 0x28]
cmp edx, ecx
jae 0x429967
mov ecx, dword [eax]
lea ecx, [ecx + edx*8]
movzx ebx, word [esp + 0x14]
movzx ebp, word [esp + 0x16]
mov esi, dword [esp + 0x18]
movzx edi, byte [esp + 0x1c]
mov dword [esp], ecx
mov word [esp + 4], bx
mov word [esp + 6], bp
mov dword [esp + 8], esi
xchg edi, eax
mov byte [esp + 0xc], al
xchg edi, eax
call fcn.00429bf0
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x30]
lea eax, [ecx + eax - 1]
shl eax, 0xd
mov ecx, dword [esp + 0x28]
shl ecx, 0x16
add eax, ecx
mov dword [esp + 0x10], eax
mov ecx, dword [esp + 0x24]
cmp dword [ecx + 0x28], eax
jae 0x42992a
mov dword [ecx + 0x28], eax
lea eax, [ecx + 0x20]
mov dword [esp], eax
call fcn.004371c0
mov eax, dword [esp + 0x10]
cmp dword [esp + 4], eax
jae 0x429963
mov ecx, dword [esp + 0x24]
add ecx, 0x20
nop
mov dword [esp], ecx
xor ecx, ecx
sub ecx, eax
mov eax, 0
sbb eax, 0
mov dword [esp + 8], eax
mov dword [esp + 4], ecx
call fcn.004065b0
add esp, 0x20
ret
mov eax, edx
call fcn.004754d0
call fcn.004754d0
nop
call fcn.00474040
jmp fcn.00429840
Function at 0x42fa10
Capabilities:
Enumerate pe sections

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x42fb80
sub esp, 0x14
mov eax, dword [esp + 0x18]
movzx ecx, byte [eax + 6]
cmp cl, 2
ja 0x42fb10
cmp cl, 1
je 0x42faa2
cmp cl, 2
jne 0x42fb69
mov ecx, dword [eax + 8]
mov dword [esp], ecx
mov ecx, dword [esp + 0x20]
mov dword [esp + 4], ecx
call fcn.00435070
nop
nop
lea eax, [0x1f42060]
mov dword [esp], eax
call fcn.0040e8e0
mov eax, dword [0x1f42004]
sub eax, dword [0x1f41fe8]
nop
mov dword [0x1f42004], eax
mov eax, dword [0x1f41ff4]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1f41ff4], ecx
nop
lea eax, [0x1f42060]
mov dword [esp], eax
call fcn.0040eae0
jmp 0x42fb65
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.0041b800
nop
nop
lea eax, [0x1f42060]
mov dword [esp], eax
call fcn.0040e8e0
mov eax, dword [0x1f41fdc]
sub eax, dword [0x1f41fc0]
nop
mov dword [0x1f41fdc], eax
mov eax, dword [0x1f41fcc]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1f41fcc], ecx
nop
lea eax, [0x1f42060]
mov dword [esp], eax
call fcn.0040eae0
jmp 0x42fb65
cmp cl, 3
jne 0x42fb1b
mov byte [eax + 8], 1
jmp 0x42fb65
cmp cl, 4
jne 0x42fb69
nop
nop
lea eax, [0x1f42060]
mov dword [esp], eax
call fcn.0040e8e0
mov eax, dword [0x1f42054]
sub eax, dword [0x1f42038]
nop
mov dword [0x1f42054], eax
mov eax, dword [0x1f42044]
mov ecx, dword [esp + 0x18]
mov dword [ecx], eax
mov dword [0x1f42044], ecx
nop
nop
lea eax, [0x1f42060]
mov dword [esp], eax
call fcn.0040eae0
add esp, 0x14
ret
lea eax, [0xde279d]
mov dword [esp], eax
mov dword [esp + 4], 0x10
call fcn.00440250
nop
call fcn.00474040
jmp fcn.0042fa10
Function at 0x45e250
Capabilities:
Encrypt data using rc4 prga

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x45e3ca
sub esp, 0x10
mov ecx, dword [esp + 0x18]
test ecx, ecx
jbe 0x45e3c0
mov edx, dword [esp + 0x14]
movzx ebx, byte [edx]
test ebx, ebx
jne 0x45e2aa
movzx ebp, byte [esp + 0x28]
xchg ebp, eax
test al, al
xchg ebp, eax
jne 0x45e2aa
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 0x45e2bd
xor eax, eax
xor ebx, ebx
xor ebp, ebp
jmp 0x45e397
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 0x45e38b
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 0x45e382
movzx edx, byte [edx + eax]
test edx, 0x80
je 0x45e310
mov dword [esp + 0xc], ecx
xor eax, eax
xor edx, edx
xor esi, esi
jmp 0x45e353
mov eax, 1
cmp eax, ecx
ja 0x45e347
mov esi, dword [esp + 0x20]
add dword [esi], edx
sub ebp, eax
sub ecx, eax
mov edx, ebp
xchg ebp, ebx
neg ebx
xchg ebp, ebx
sar ebp, 0x1f
and eax, ebp
add eax, ebx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], ecx
mov dword [esp + 0x34], edx
mov byte [esp + 0x38], 1
add esp, 0x10
ret
call fcn.00475530
lea esi, [ecx + 7]
mov ecx, dword [esp + 0xc]
cmp eax, ecx
jae 0x45e37d
movzx edi, byte [eax + ebx]
xchg edi, eax
mov byte [esp + 0xb], al
xchg edi, eax
and edi, 0x7f
mov ecx, esi
shl edi, cl
inc eax
or edx, edi
movzx edi, byte [esp + 0xb]
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x45e34c
mov ecx, dword [esp + 0xc]
jmp 0x45e315
call fcn.004754d0
xor eax, eax
mov ecx, eax
call fcn.004754c0
call fcn.00475530
lea ebp, [ecx + 7]
mov ecx, dword [esp + 0x18]
cmp ecx, eax
jbe 0x45e3bb
movzx esi, byte [eax + edx]
mov edi, esi
and esi, 0x7f
mov ecx, ebp
shl esi, cl
inc eax
or ebx, esi
xchg edi, eax
test al, 0x80
xchg edi, eax
jne 0x45e390
mov ecx, dword [esp + 0x18]
jmp 0x45e2c2
call fcn.004754d0
xor eax, eax
mov ecx, eax
call fcn.004754c0
nop
call fcn.00474040
jmp fcn.0045e250

Function at 0x468310
Capabilities:
Access peb ldr_data

Disassembly:
mov ecx, dword [0x2267828]
mov ecx, dword fs:[ecx]
mov ecx, dword [ecx]
cmp esp, dword [ecx + 8]
jbe 0x4683ab
sub esp, 0x30
lea ecx, [esp + 0x34]
mov dword [esp + 4], ecx
mov edx, dword [0x2267828]
mov edx, dword fs:[edx]
mov edx, dword [edx]
mov dword [esp + 8], 0
lea edi, [esp + 0xc]
xor eax, eax
call fcn.00475717
lea ecx, [0x4683c0]
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x30]
mov dword [esp + 0x10], ecx
mov ecx, dword [esp + 4]
mov dword [esp + 0x14], ecx
mov dword [esp + 0x18], edx
lea ecx, [esp + 8]
mov dword [esp + 0x1c], ecx
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x28], ecx
mov ecx, dword [esp + 0x40]
mov dword [esp + 0x2c], ecx
mov ecx, dword [esp + 0x38]
mov dword [esp + 0x24], ecx
lea ecx, [esp + 0xc]
mov dword [esp], ecx
call fcn.00473f50
mov ecx, dword [esp + 8]
mov dword [esp + 0x44], ecx
add esp, 0x30
ret
call fcn.00474040
jmp fcn.00468310
Function at 0x4752f0
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 [0x22683e0]
aesenc xmm0, xmm0
cmp ebx, 0x10
jb 0x473a7b
je 0x473ace
cmp ebx, 0x20
jbe 0x473ad4
cmp ebx, 0x40
jbe 0x473b1a
jmp 0x473bbb
test ebx, ebx
je 0x473ac4
add eax, 0x10
test ax, 0xff0
je 0x473ab0
movdqu xmm1, xmmword [eax - 0x10]
add ebx, ebx
pand xmm1, xmmword [ebx*8 + 0x19c41a0]
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 + 0x19c42a0]
jmp 0x473a98
aesenc xmm0, xmm0
movd dword [edx], xmm0
ret
movdqu xmm1, xmmword [eax]
jmp 0x473a98
pxor xmm1, xmmword [0x22683f0]
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 [0x22683f0]
pxor xmm2, xmmword [0x2268400]
pxor xmm3, xmmword [0x2268410]
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 [0x22683f0]
pxor xmm2, xmmword [0x2268400]
pxor xmm3, xmmword [0x2268410]
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 0x473c1a
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 [0x2267670], 0
je 0x47530a
mov eax, dword [esp + 4]
mov ebx, dword [esp + 0xc]
lea edx, [esp + 0x10]
jmp 0x473a40
jmp fcn.0040d090
Function at 0x401000
Capabilities:
Check if file exists
Get file attributes

Disassembly:
push dword [eax]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret

Function at 0x4048ac
Capabilities:
Check for time delay via gettickcount

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x463d8c
mov eax, dword fs:[0]
push eax
sub esp, 0x10
push ebx
push esi
push edi
mov eax, dword [0x4a1d50]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebx, ecx
push str.DownloadFiles...
lea ecx, [esp + 0x1c]
call fcn.0040130b
xor esi, esi
push esi
lea eax, [esp + 0x1c]
push eax
push 2
mov dword [esp + 0x34], esi
call fcn.0040fcf3
or dword [esp + 0x34], 0xffffffff
mov ecx, dword [esp + 0x24]
add esp, 0xc
add ecx, 0xfffffff0
call fcn.004017c4
cmp dword [ebx + 0xc0], esi
je 0x40491b
xor eax, eax
jmp 0x40495c
mov esi, dword [sym.imp.KERNEL32.dll_GetTickCount]
call esi
mov dword [esp + 0x18], eax
lea eax, [ebx + 0x22c]
push eax
call fcn.0041634f
mov edi, eax
call esi
sub eax, dword [esp + 0x18]
lea ecx, [esp + 0x17]
dec eax
push ecx
push eax
mov eax, str.Download_Update_Time
mov byte [esp + 0x1f], 0
call fcn.0040646b
test edi, edi
je 0x40495a
call fcn.00418910
mov eax, edi
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret