joyce8/EMBER2024-capa huggingface dataset:
Function at 0x466c20
Capabilities:
Enumerate pe sections
Terminate process

Disassembly:
mov eax, dword [esp + 0xc]
push ebx
cdq
and edx, 0x1ff
push ebp
push esi
add eax, edx
push edi
mov edi, eax
mov eax, dword [esp + 0x24]
sar edi, 9
cmp eax, edi
jge 0x466c46
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
ret
mov eax, dword [esp + 0x18]
mov ebp, eax
cmp dword [eax], 0x3eb202fe
je 0x466c62
mov ecx, dword [ebp + 4]
add ebp, 4
cmp ecx, 0x3eb202fe
jne 0x466c54
mov esi, dword [esp + 0x20]
mov edx, dword [esp + 0x14]
xor ebx, ebx
mov bx, word [ebp + 0x16]
mov ecx, dword [esi]
add ebx, eax
xor eax, eax
mov ax, word [ebx + 0xe]
mov dword [eax + edx], ecx
mov eax, dword [esi]
mov edx, dword [esi + 4]
mov ecx, 0x20
call fcn.00526f40
mov edx, dword [esp + 0x14]
xor ecx, ecx
mov cx, word [ebx + 0x10]
add esi, 8
mov dword [ecx + edx], eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffc00
lea ecx, [edi - 2]
sar eax, 2
mov dword [esp + 0x14], eax
mov dword [ebp + 0xc], eax
mov eax, dword [esp + 0x28]
mov word [ebp + 8], cx
test eax, eax
mov word [ebp + 0xa], 2
je 0x466cca
mov word [ebp + 0x14], 1
lea eax, [edi - 3]
xor edx, edx
mov dx, word [ebx + 0xc]
push eax
push esi
xor eax, eax
mov ax, word [ebx + 0xa]
push edx
add eax, dword [esp + 0x24]
push eax
call fcn.00466df0
mov ecx, dword [esp + 0x28]
xor eax, eax
mov ax, word [ebx]
mov edx, dword [esi + edi*8 - 0x18]
add eax, ecx
lea ecx, [edi - 3]
add esp, 0x10
mov dword [eax], edx
mov ecx, dword [esi + ecx*8 + 4]
mov dword [eax + 4], ecx
mov edx, dword [esi + edi*8 - 0x10]
mov dword [eax + 8], edx
mov ecx, dword [esi + edi*8 - 0xc]
mov esi, dword [esp + 0x30]
mov dword [eax + 0xc], ecx
test esi, esi
je 0x466d62
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
mov dx, word [ebx + 4]
not ecx
cmp edx, ecx
jge 0x466d48
push str.Subdirectory_path_too_long..._aborting_install__n
push 0x7013e8
call fcn.00528fe1
add esp, 8
push 1
call fcn.00528d8c
mov eax, dword [esp + 0x18]
xor edi, edi
mov di, word [ebx + 2]
add edi, eax
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x34]
test esi, esi
je 0x466db2
mov edi, esi
or ecx, 0xffffffff
xor eax, eax
xor edx, edx
repne scasb al, byte es:[edi]
mov dx, word [ebx + 8]
not ecx
cmp edx, ecx
jge 0x466d98
push str.Subvol_name_too_long..._aborting_install__n
push 0x7013e8
call fcn.00528fe1
add esp, 8
push 1
call fcn.00528d8c
xor edi, edi
mov eax, ecx
mov di, word [ebx + 6]
mov ebx, dword [esp + 0x18]
add edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
mov esi, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
add ebp, 0x10
mov eax, 0x3eb202fe
test esi, esi
mov dword [ebp], 0
jle 0x466dd9
mov edx, esi
mov edi, dword [ecx]
add ecx, 4
sub eax, edi
dec edx
jne 0x466dcf
mov dword [ebp], eax
lea eax, [esi*4]
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x467d90
Capabilities:
Extract resource via kernel32 functions

Disassembly:
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 8]
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x14]
push eax
push ecx
push edi
xor ebx, ebx
call dword [0x70325c]
mov esi, eax
test esi, esi
je 0x467dfb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov ebp, eax
test ebp, ebp
je 0x467dfb
push esi
push edi
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [esp + 0x20]
push eax
mov dword [esi], eax
call fcn.005278e2
mov ebx, eax
add esp, 4
test ebx, ebx
je 0x467dfb
mov edi, dword [esi]
push ebp
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edx, edi
mov esi, eax
mov edi, ebx
mov ecx, edx
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
pop edi
pop esi
mov eax, ebx
pop ebp
pop ebx
ret
Function at 0x46bca0
Capabilities:
Get disk information via ioctl

Disassembly:
sub esp, 0x264
push ebx
push esi
lea eax, [esp + 0x68]
push edi
push eax
push 0x102
xor esi, esi
call dword [0x703290]
mov ecx, dword [str..A:]
mov ebx, dword [esp + 0x278]
mov edx, dword [0x6d1dc4]
mov edi, eax
mov eax, dword [0x6d1dc8]
mov dword [esp + 0x30], ecx
mov cx, word [0x6d1dcc]
cmp ebx, esi
mov dword [esp + 0x24], edi
mov dword [esp + 0x34], edx
mov dword [esp + 0x38], eax
mov word [esp + 0x3c], cx
je 0x46bedf
cmp dword [ebx + 0x10], esi
je 0x46bedf
xor edx, edx
lea eax, [esp + 0x2c]
mov dword [esp + 0x40], edx
push esi
push eax
lea ecx, [esp + 0x48]
mov dword [esp + 0x4c], edx
push 0xc
push ecx
mov dword [esp + 0x58], edx
mov edx, dword [esp + 0x284]
push esi
push esi
push 0x2d1080
push edx
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x46bedf
mov eax, dword [esp + 0x44]
cmp edi, esi
mov dword [esp + 0x28], eax
jle 0x46beda
push ebp
lea ebp, [esp + 0x70]
mov dword [esp + 0x14], esi
mov dword [esp + 0x10], ebp
mov eax, dword [ebp]
mov ecx, dword [ebp + 4]
cmp ax, 0x41
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], ecx
je 0x46bebb
cmp ax, 0x42
je 0x46bebb
lea edx, [esp + 0x1c]
push edx
call dword [0x703278]
cmp eax, 2
jb 0x46bebb
cmp eax, 3
ja 0x46bebb
mov ax, word [esp + 0x1c]
push 0
push 0x80
push 3
push 0
push 3
lea ecx, [esp + 0x48]
push 0x80000000
push ecx
mov word [esp + 0x58], ax
call dword [0x703240]
mov esi, eax
cmp esi, 0xffffffff
mov dword [esp + 0x18], esi
je 0x46bebb
mov ecx, 8
xor eax, eax
lea edi, [esp + 0x50]
lea edx, [esp + 0x30]
rep stosd dword es:[edi], eax
push eax
push edx
lea eax, [esp + 0x58]
push 0x20
push eax
push 0
push 0
push 0x560000
push esi
call dword [sym.imp.KERNEL32.dll_DeviceIoControl]
test eax, eax
je 0x46bebb
mov ecx, dword [esp + 0x2c]
mov eax, dword [esp + 0x58]
cmp eax, ecx
jne 0x46beae
mov eax, dword [ebx + 0x10]
xor edi, edi
test eax, eax
mov dword [esp + 0x24], eax
jle 0x46beae
mov esi, dword [ebx + 0xa54]
mov ebx, dword [esp + 0x68]
mov ebp, dword [esp + 0x60]
add esi, 0x88
mov edx, dword [esi - 4]
mov eax, dword [esi - 8]
push 0
push 0x200
push edx
push eax
call fcn.00526dd0
cmp eax, ebp
jne 0x46be6e
cmp edx, dword [esp + 0x64]
jne 0x46be6e
mov ecx, dword [esi + 4]
mov edx, dword [esi]
push 0
push 0x200
push ecx
push edx
call fcn.00526dd0
cmp eax, ebx
jne 0x46be6e
cmp edx, dword [esp + 0x6c]
je 0x46be7f
mov eax, dword [esp + 0x24]
inc edi
add esi, 0x448
cmp edi, eax
jl 0x46be33
jmp 0x46bea3
mov eax, edi
mov dx, word [esp + 0x1c]
shl eax, 4
add eax, edi
lea ecx, [edi + eax*8]
mov eax, dword [esp + 0x27c]
mov eax, dword [eax + 0xa54]
mov word [eax + ecx*8 + 0x9c], dx
mov esi, dword [esp + 0x18]
mov ebx, dword [esp + 0x27c]
push esi
call fcn.004df7b0
mov ebp, dword [esp + 0x14]
add esp, 4
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x28]
add eax, 4
add ebp, 8
cmp eax, ecx
mov dword [esp + 0x10], ebp
mov dword [esp + 0x14], eax
jl 0x46bd57
pop ebp
mov esi, 1
mov edi, dword [esp + 0x274]
push edi
call fcn.00525be0
push edi
mov dword [ebx + 0xa44], eax
call fcn.00525b90
add esp, 8
mov dword [ebx + 0x20], eax
mov eax, esi
pop edi
pop esi
pop ebx
add esp, 0x264
ret
Function at 0x46d9a0
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [0x7f2fa8]
push esi
cmp eax, 2
push edi
jl 0x46d9f2
mov esi, dword [esp + 0x14]
mov edi, dword [esp + 0xc]
mov eax, esi
imul dword [esp + 0x1c]
push edx
push eax
push edi
call fcn.004df820
add esp, 0xc
test eax, eax
jne 0x46d9cf
pop edi
or eax, 0xffffffff
pop esi
ret
imul esi, dword [esp + 0x20]
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x1c]
push 0
push eax
push esi
push ecx
push edi
call dword [sym.imp.KERNEL32.dll_ReadFile]
neg eax
sbb eax, eax
pop edi
neg eax
dec eax
pop esi
ret
mov edx, dword [esp + 0x20]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x18]
push edx
mov edx, dword [esp + 0x14]
push eax
mov eax, dword [esp + 0x14]
push ecx
push edx
push eax
push 1
call fcn.0046d8f0
add esp, 0x18
pop edi
pop esi
ret

Function at 0x46f240
Capabilities:
Unmount volume via ioctl

Disassembly:
push 0xffffffffffffffff
push 0x55fca0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov eax, dword [0x700320]
push esi
mov dword [esp + 4], eax
xor esi, esi
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], esi
call fcn.004dfef0
mov edx, dword [esp + 0x2c]
lea ecx, [esp + 0xc]
push ecx
push 0xffffffffffffffff
push 0xffffffffffffffff
push edx
mov byte [esp + 0x34], 1
call fcn.0046ed90
add esp, 0x10
lea ecx, [esp + 0xc]
mov dword [esp + 0x2c], esi
call fcn.004dffe0
test eax, eax
jle 0x46f398
push ebx
push ebp
mov ebp, dword [sym.imp.KERNEL32.dll_Sleep]
push edi
mov eax, dword [esp + 0x38]
lea ecx, [esp + 0x18]
push eax
call fcn.004dffa0
mov ebx, eax
lea ecx, [esp + 0x10]
push ebx
call fcn.00544397
mov ecx, dword [esp + 0x10]
mov eax, dword [ecx - 8]
cmp eax, 1
jle 0x46f2e5
cmp word [ecx + eax*2 - 2], 0x5c
jne 0x46f2e5
dec eax
push 1
push eax
lea ecx, [esp + 0x18]
call fcn.00540bf3
xor esi, esi
mov ecx, dword [esp + 0x10]
push ecx
call fcn.004df9f0
mov edi, eax
add esp, 4
test edi, edi
jne 0x46f311
call dword [sym.imp.KERNEL32.dll_GetLastError]
push 0x3e8
call ebp
inc esi
cmp esi, 0xa
jl 0x46f2e7
test edi, edi
je 0x46f37b
cmp word [ebx + 0x10], 0
jne 0x46f372
xor esi, esi
lea edx, [esp + 0x14]
mov ebx, dword [sym.imp.KERNEL32.dll_DeviceIoControl]
push 0
push edx
push 0
push 0
push 0
push 0
push 0x90018
push edi
call ebx
test eax, eax
jne 0x46f348
push 0x3e8
call ebp
inc esi
cmp esi, 0xa
jl 0x46f31a
xor esi, esi
lea eax, [esp + 0x14]
push 0
push eax
push 0
push 0
push 0
push 0
push 0x90020
push edi
call ebx
test eax, eax
jne 0x46f372
push 0x3e8
call ebp
inc esi
cmp esi, 0xa
jl 0x46f34a
push edi
call fcn.004df7b0
add esp, 4
mov esi, dword [esp + 0x38]
lea ecx, [esp + 0x18]
inc esi
mov dword [esp + 0x38], esi
call fcn.004dffe0
cmp esi, eax
jl 0x46f2aa
pop edi
pop ebp
pop ebx
lea ecx, [esp + 0xc]
push ecx
call fcn.0046f0d0
add esp, 4
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 0
call fcn.004dff30
lea ecx, [esp + 4]
mov dword [esp + 0x24], 0xffffffff
call fcn.00544250
mov ecx, dword [esp + 0x1c]
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret
Function at 0x46f3e0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x55fcd7
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
push 0x7045ac
lea ecx, [esp + 4]
mov dword [esp + 8], 0
call fcn.005442c4
lea ecx, [esp + 8]
mov dword [esp + 0x20], 1
call fcn.004dfef0
mov ecx, dword [esp + 0x34]
mov edx, dword [esp + 0x30]
lea eax, [esp + 8]
mov byte [esp + 0x20], 2
push eax
mov eax, dword [esp + 0x30]
push ecx
push edx
push eax
call fcn.0046ed90
add esp, 0x10
lea ecx, [esp + 8]
call fcn.004dffe0
test eax, eax
jle 0x46f462
push 0
lea ecx, [esp + 0xc]
call fcn.004dffa0
push eax
lea ecx, [esp + 4]
call fcn.00544397
lea ecx, [esp + 8]
push esi
push ecx
call fcn.0046f0d0
mov esi, dword [esp + 0x30]
add esp, 4
lea edx, [esp + 4]
mov ecx, esi
push edx
call fcn.00543fbd
mov dword [esp + 8], 1
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 1
call fcn.004dff30
lea ecx, [esp + 4]
mov byte [esp + 0x24], 0
call fcn.00544250
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop esi
mov dword fs:[0], ecx
add esp, 0x24
ret

Function at 0x46f790
Capabilities:
Get number of processors

Disassembly:
push 0xffffffffffffffff
push 0x55fd20
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov eax, dword [0x700320]
push ebx
push ebp
push esi
push edi
mov dword [esp + 0x10], eax
mov dword [esp + 0x24], 0
call fcn.004dfcf0
mov edi, dword [esp + 0x34]
mov ebp, dword [esp + 0x30]
mov ebx, dword [esp + 0x2c]
add eax, 0x3a98
adc edx, 0
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], edx
push edi
push ebp
lea ecx, [esp + 0x34]
push ebx
push ecx
call fcn.0046f3e0
add esp, 0x10
push eax
lea ecx, [esp + 0x14]
mov byte [esp + 0x28], 1
call fcn.00544397
lea ecx, [esp + 0x2c]
mov byte [esp + 0x24], 0
call fcn.00544250
lea edx, [esp + 0x10]
push edx
call fcn.004e1b80
mov esi, eax
add esp, 4
test esi, esi
je 0x46f838
cmp word [esi], 0
je 0x46f838
push 0xe
push str._GLOBALROOT
push esi
call fcn.00528bed
add esp, 0xc
test eax, eax
jne 0x46f86e
push esi
call fcn.004df7a0
mov eax, dword [0x721040]
add esp, 4
test eax, eax
jne 0x46f8a0
push 0x64
call dword [sym.imp.KERNEL32.dll_Sleep]
call fcn.004dfcf0
cmp edx, dword [esp + 0x18]
ja 0x46f8a0
jb 0x46f7de
cmp eax, dword [esp + 0x14]
jae 0x46f8a0
jmp 0x46f7de
push esi
call fcn.004df7a0
add esp, 4
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00544250
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
add esp, 0x18
ret
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0xffffffff
call fcn.00544250
mov ecx, dword [esp + 0x1c]
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x46f970
Capabilities:
Write file on windows

Disassembly:
sub esp, 8
lea edx, [esp]
xor ecx, ecx
xor eax, eax
push ebx
push ebp
push esi
mov esi, dword [esp + 0x18]
push edi
mov edi, 1
push edi
push edx
push ecx
push eax
push esi
call fcn.004dfd30
mov ebp, eax
mov eax, dword [esp + 0x40]
add esp, 0x14
test eax, eax
jne 0x46f9a3
mov dword [esp + 0x2c], edi
mov eax, dword [esp + 0x2c]
mov dword [esp + 0x1c], edi
cmp eax, edi
jb 0x46fa1f
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0x24]
cmp dword [esp + 0x1c], 1
jbe 0x46f9db
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x10]
push 0
push 0
push eax
push ecx
push esi
call fcn.004dfd30
mov ebp, eax
add esp, 0x14
test ebp, ebp
je 0x46fa1f
mov edx, dword [esp + 0x20]
push 0
push edi
push ebx
push edx
push esi
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x46f9f3
cmp ebx, dword [edi]
je 0x46fa29
test ebp, ebp
je 0x46fa1f
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
cmp eax, ecx
jae 0x46fa0e
push 0x1f40
call dword [sym.imp.KERNEL32.dll_Sleep]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x2c]
inc eax
cmp eax, ecx
mov dword [esp + 0x1c], eax
jbe 0x46f9b7
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 8
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 8
ret
Function at 0x471f00
Capabilities:
Read file on windows

Disassembly:
push ebx
mov ebx, dword [esp + 0x18]
push ebp
mov ebp, dword [esp + 0x14]
push esi
push edi
mov edi, dword [esp + 0x20]
mov eax, dword [esp + 0x14]
mov esi, ebx
shl esi, 0xb
test eax, eax
mov dword [esp + 0x24], 0
je 0x471f63
mov ecx, dword [eax + 0x3d458]
test ecx, ecx
je 0x471f63
push 0
push 0x800
push 0
push edi
call fcn.00526dd0
push edx
push eax
mov eax, dword [esp + 0x20]
push eax
call fcn.004df820
mov edx, dword [esp + 0x24]
add esp, 0xc
lea ecx, [esp + 0x24]
push 0
push ecx
push esi
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_ReadFile]
jmp 0x471f79
mov ecx, dword [esp + 0x18]
lea eax, [esp + 0x24]
push eax
push esi
push ebp
push ebx
push edi
push ecx
call fcn.004f5e60
add esp, 0x18
test eax, eax
je 0x471fad
mov edx, dword [esp + 0x24]
cmp edx, esi
jae 0x471fad
mov ecx, edx
shr ecx, 0xb
add edi, ecx
sub ebx, ecx
shl ecx, 0xb
add ebp, ecx
test ebx, ebx
jbe 0x471fad
cmp edx, 0x800
jae 0x471f10
push 0x1e
call dword [sym.imp.KERNEL32.dll_SetLastError]
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
ret
Function at 0x472800
Capabilities:
Terminate process

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x55ff5c
push eax
mov eax, 0x22a8
mov dword fs:[0], esp
call fcn.00526b50
push esi
push edi
mov edi, ecx
push 0
lea ecx, [esp + 0x14]
call fcn.004cf330
push 0x7045ac
lea ecx, [esp + 0x10]
mov dword [esp + 0x22bc], 0
call fcn.005442c4
mov esi, dword [0x70480c]
mov byte [esp + 0x22b8], 1
call fcn.004ce440
cmp dword [0x6ffe80], 5
jne 0x472897
push str.Ripping...
push 0x1400
call fcn.00506990
push eax
lea eax, [esp + 0x120c]
push eax
call fcn.00526ae2
push str.Rip_to:
push 0x13f6
call fcn.00506990
add esp, 0x18
jmp 0x47298f
test esi, esi
je 0x472955
mov eax, dword [esi + 4]
test eax, eax
je 0x4728e6
cmp word [eax], 0
je 0x4728e6
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.005442c4
lea ecx, [esp + 0xc]
push ecx
call fcn.004e1840
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x22bc], 2
call fcn.00544397
mov byte [esp + 0x22b8], 1
lea ecx, [esp + 8]
jmp 0x472924
mov eax, dword [esi]
test eax, eax
je 0x472929
push ecx
mov ecx, esp
mov dword [esp + 0xc], esp
push eax
call fcn.005442c4
lea edx, [esp + 0xc]
push edx
call fcn.004e1840
add esp, 8
push eax
lea ecx, [esp + 0x10]
mov byte [esp + 0x22bc], 3
call fcn.00544397
mov byte [esp + 0x22b8], 1
lea ecx, [esp + 8]
call fcn.00544250
mov eax, dword [esi + 0x3b34]
test eax, eax
je 0x472955
mov eax, dword [esp + 0xc]
push eax
push str.Testing__s...
push 0x2736
call fcn.00506990
add esp, 8
lea ecx, [esp + 0x1204]
push eax
push ecx
jmp 0x472975
mov edx, dword [esp + 0xc]
push edx
push str.Extracting__s...
push 0x2735
call fcn.00506990
add esp, 8
push eax
lea eax, [esp + 0x1208]
push eax
call fcn.00526ec2
add esp, 0xc
push str.Extract_to:
push 0x146e
call fcn.00506990
add esp, 8
push eax
lea ecx, [esp + 0x2204]
call fcn.005443e7
add edi, 0x10
lea ecx, [esp + 0x2200]
push edi
call fcn.0054467d
test esi, esi
mov dword [esp + 0x11f8], 0
mov dword [esp + 0x22a8], 0x472aa0
mov dword [esp + 0x2298], esi
je 0x4729e4
mov eax, dword [esi + 0x3b34]
test eax, eax
je 0x4729e4
mov dword [esp + 0x227c], 1
jmp 0x4729ef
mov dword [esp + 0x2278], 1
test esi, esi
je 0x472a08
mov eax, dword [0x75a74c]
test eax, eax
je 0x472a08
mov ecx, dword [esi + 0x1428]
mov dword [0x75c760], ecx
lea ecx, [esp + 0x10]
call fcn.00544d44
test esi, esi
je 0x472a60
mov eax, dword [esi + 0x3b34]
test eax, eax
je 0x472a5b
mov eax, dword [0x7f2fa4]
test eax, eax
jne 0x472a5b
push 0x40
push str.No_errors_found_during_test.
push 0x2733
call fcn.00506990
add esp, 8
push eax
call fcn.004dd630
add esp, 8
mov ecx, 0x7aefe8
call fcn.004dffe0
test eax, eax
je 0x472a60
push 0
call dword [sym.imp.KERNEL32.dll_ExitProcess]
call fcn.004ce4a0
lea ecx, [esp + 0xc]
mov byte [esp + 0x22b8], 0
call fcn.00544250
lea ecx, [esp + 0x10]
mov dword [esp + 0x22b8], 0xffffffff
call fcn.004cf4c0
mov ecx, dword [esp + 0x22b0]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x22b4
ret
Function at 0x474610
Capabilities:
Timestomp file

Disassembly:
mov eax, dword [0x7f2fa8]
sub esp, 0x28
cmp eax, 3
jl 0x4746d2
push esi
mov esi, dword [esp + 0x34]
xor eax, eax
movsx cx, byte [esi]
movsx dx, byte [esi + 1]
mov dword [esp + 0xc], eax
add ecx, 0x76c
mov dword [esp + 0x10], eax
mov word [esp + 0xc], cx
movsx cx, byte [esi + 3]
mov dword [esp + 0x14], eax
mov word [esp + 0xe], dx
movsx dx, byte [esi + 4]
mov dword [esp + 0x18], eax
mov word [esp + 0x14], cx
movsx ax, byte [esi + 2]
mov word [esp + 0x12], ax
mov word [esp + 0x16], dx
movsx ax, byte [esi + 5]
lea ecx, [esp + 4]
lea edx, [esp + 0xc]
push ecx
push edx
mov word [esp + 0x20], ax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp + 4]
push eax
call fcn.00424ca0
lea ecx, [esp + 8]
push ecx
movsx ecx, byte [esi + 6]
lea ecx, [ecx + ecx*4]
lea ecx, [ecx + ecx*4]
lea edx, [ecx + ecx*8]
shl edx, 2
sub eax, edx
push eax
call fcn.00424c70
add esp, 0xc
lea eax, [esp + 4]
lea ecx, [esp + 4]
lea edx, [esp + 4]
push eax
mov eax, dword [esp + 0x34]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_SetFileTime]
pop esi
add esp, 0x28
ret
mov eax, dword [esp + 0x30]
xor ecx, ecx
mov dword [esp + 0x18], ecx
movsx dx, byte [eax]
mov dword [esp + 0x1c], ecx
add edx, 0x76c
mov dword [esp + 0x20], ecx
mov word [esp + 0x18], dx
movsx dx, byte [eax + 2]
mov dword [esp + 0x24], ecx
mov word [esp + 0x1e], dx
movsx cx, byte [eax + 1]
movsx dx, byte [eax + 4]
mov word [esp + 0x1a], cx
mov word [esp + 0x22], dx
movsx cx, byte [eax + 3]
movsx ax, byte [eax + 5]
mov word [esp + 0x20], cx
lea ecx, [esp + 8]
lea edx, [esp + 0x18]
push ecx
push edx
mov word [esp + 0x2c], ax
call dword [sym.imp.KERNEL32.dll_SystemTimeToFileTime]
lea eax, [esp]
lea ecx, [esp + 8]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
lea edx, [esp]
lea eax, [esp]
push edx
mov edx, dword [esp + 0x30]
lea ecx, [esp + 4]
push eax
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_SetFileTime]
add esp, 0x28
ret
Function at 0x479c60
Capabilities:
Persist via run registry key

Disassembly:
mov eax, 0x100c
call fcn.00526b50
mov ecx, dword [0x762558]
lea eax, [esp]
or ecx, 0x20019
push eax
push ecx
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
push 0x80000001
call dword [0x7031d4]
test eax, eax
jne 0x479ce3
lea edx, [esp + 4]
push esi
lea eax, [esp + 0x10]
push edx
mov edx, dword [esp + 8]
lea ecx, [esp + 0x10]
push eax
push ecx
push 0
push str.GCDTRAY.EXE
push edx
mov dword [esp + 0x20], 0x1000
call dword [0x7031dc]
mov esi, eax
mov eax, dword [esp + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
test esi, esi
pop esi
jne 0x479ce3
mov ecx, dword [esp + 8]
mov eax, 1
cmp ecx, eax
jne 0x479ce3
cmp word [esp + 0xc], 0
jne 0x479ce5
xor eax, eax
add esp, 0x100c
ret

Function at 0x479cf0
Capabilities:
Persist via run registry key

Disassembly:
sub esp, 0x40
push esi
push edi
xor esi, esi
call fcn.00479e40
mov edi, eax
cmp word [edi], si
je 0x479d60
push edi
call fcn.00526b30
push str.GCDTRAY.EXE
mov esi, eax
call fcn.00526b30
add esi, eax
lea eax, [esi + esi + 0x40]
push eax
call fcn.005278e2
mov esi, eax
add esp, 0xc
test esi, esi
je 0x479d60
push 0x691b00
push esi
call fcn.00526ae2
push edi
push esi
call fcn.00526ab8
push 0x686cb0
push esi
call fcn.00526ab8
push str.GCDTRAY.EXE
push esi
call fcn.00526ab8
push 0x691b00
push esi
call fcn.00526ab8
add esp, 0x28
mov edx, dword [0x762558]
lea ecx, [esp + 8]
or edx, 0x20006
push ecx
push edx
push 0
push str.SoftwareMicrosoftWindowsCurrentVersionRun_
push 0x80000001
call dword [0x7031d4]
mov edi, dword [esp + 0x4c]
test eax, eax
jne 0x479dd0
test edi, edi
je 0x479db5
push esi
call fcn.00526b30
mov ecx, dword [esp + 0xc]
add esp, 4
lea eax, [eax + eax + 2]
push eax
push esi
push 1
push 0
push str.GCDTRAY.EXE
push ecx
call dword [0x7031e4]
jmp 0x479dc5
mov edx, dword [esp + 8]
push str.GCDTRAY.EXE
push edx
call dword [0x7031cc]
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
push 0
push str.GCDTRAY_C2C80BFA_WNDCLASS
call dword [0x703384]
test edi, edi
je 0x479e23
test eax, eax
jne 0x479e23
mov ecx, 0xf
lea edi, [esp + 0xc]
rep stosd dword es:[edi], eax
lea ecx, [esp + 0xc]
mov dword [esp + 0xc], 0x3c
push ecx
mov dword [esp + 0x14], 0x40
mov dword [esp + 0x1c], str.open
mov dword [esp + 0x18], eax
mov dword [esp + 0x2c], 1
mov dword [esp + 0x20], esi
call dword [0x703350]
push esi
call fcn.004df7a0
add esp, 4
pop edi
pop esi
add esp, 0x40
ret
Function at 0x47a1d0
Capabilities:
Check for peb ntglobalflag flag

Disassembly:
push 0xffffffffffffffff
push 0x5606e2
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push ebx
push ebp
push esi
push edi
mov esi, ecx
push eax
push 0xf6
mov dword [esp + 0x18], esi
call fcn.004ceef0
mov ecx, dword [0x700320]
lea edi, [esi + 0x68]
mov dword [esp + 0x1c], 0
mov dword [edi], ecx
mov edx, dword [0x700320]
lea ebx, [esi + 0x6c]
mov dword [ebx], edx
mov eax, dword [0x700320]
lea ebp, [esi + 0x70]
mov dword [ebp], eax
mov ecx, dword [0x700320]
mov dword [esi + 0x74], ecx
mov edx, dword [0x700320]
mov dword [esi + 0x78], edx
mov eax, dword [0x700320]
mov dword [esi + 0x7c], eax
push fcn.0047adc0
push 0x47ad80
push 5
lea ecx, [esi + 0x80]
push 0x3c
push ecx
mov byte [esp + 0x30], 6
call fcn.00529aca
push 0x7045ac
mov ecx, edi
mov byte [esp + 0x20], 7
mov dword [esi], method.CDialog.virtual_0
call fcn.005443e7
push 0x7045ac
mov ecx, ebx
call fcn.005443e7
push 0x7045ac
mov ecx, ebp
call fcn.005443e7
push 0x7045ac
lea ecx, [esi + 0x74]
call fcn.005443e7
push 0x7045ac
lea ecx, [esi + 0x78]
call fcn.005443e7
push 0x7045ac
lea ecx, [esi + 0x7c]
call fcn.005443e7
mov ecx, dword [esp + 0x14]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x10
ret 4