joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44d791
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x44d7dd
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x44d7c2
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x44d7d2
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x44d7ed
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x44d82c
test ebx, ebx
je 0x44d801
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x44d7f6
cmp ecx, 0xfff1
jb 0x44d80f
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x44d917
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x44d851
Function at 0x458761
Capabilities:
Check for software breakpoints

Disassembly:
js 0x45876f
invalid
jmp 0x4587e5
cmp byte [edi + 0x378777d], al
mov dl, 0xf9
test eax, 0xdcdae104
ror byte [ebp + eax*8 - 0x31], 1
cmp al, 0xcc
mov bp, 0x1083
sbb eax, 0x35af571d
sbb eax, 0x6cfd7ce6
jb 0x458877
sub dword [esi - 0x6327ec56], eax
jp 0x458811
invalid
pushfd
call 0x1cc05fdb
push eax
je 0x458883
int 0x1d
fisubr dword [eax - 0x1c]
pop edx
in al, dx
cld
push 0xfcec5ae4
push esp
adc dword [ebp - 0x4a], 0x4b
and eax, 0xc7ace093
dec esi
and eax, 0x9b2452f0
push esi
scasd eax, dword es:[edi]
and al, 0x68
ret
Function at 0x4e27d1
Capabilities:
Compute adler32 checksum

Disassembly:
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push ebx
mov ebx, dword [ebp + 0x10]
push edi
mov edi, ecx
shr edi, 0x10
and ecx, 0xffff
cmp ebx, 1
jne 0x4e281d
mov eax, dword [ebp + 0xc]
movzx edx, byte [eax]
add ecx, edx
cmp ecx, 0xfff1
jb 0x4e2802
sub ecx, 0xfff1
add edi, ecx
cmp edi, 0xfff1
jb 0x4e2812
sub edi, 0xfff1
mov eax, edi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
push esi
mov esi, dword [ebp + 0xc]
test esi, esi
jne 0x4e282d
lea eax, [esi + 1]
pop esi
pop edi
pop ebx
pop ebp
ret
cmp ebx, 0x10
jae 0x4e286c
test ebx, ebx
je 0x4e2841
movzx eax, byte [esi]
add ecx, eax
inc esi
add edi, ecx
dec ebx
jne 0x4e2836
cmp ecx, 0xfff1
jb 0x4e284f
sub ecx, 0xfff1
mov eax, 0x80078071
mul edi
shr edx, 0xf
mov eax, edx
shl eax, 4
sub eax, edx
add eax, edi
pop esi
shl eax, 0x10
pop edi
or eax, ecx
pop ebx
pop ebp
ret
cmp ebx, 0x15b0
jb 0x4e2957
mov eax, 0x5e6ea9af
mul ebx
shr edx, 0xb
mov dword [ebp + 8], edx
jmp 0x4e2891
Function at 0x5dbb11
Capabilities:
Encode data using xor

Disassembly:
sub al, 0x30
push edi
xor dh, ch
movsd dword es:[edi], dword [esi]
push ebx
cmp ah, byte [ebx + 0x42]
push ecx
push 0xf0b3f2eb
pop ebx
inc edi
push es
out 0xb2, al
stosd dword es:[edi], eax
aam 0x58
out 0xbf, eax
mov edi, 0x8c029035
mov ebp, 0xb68514af
or al, 0xff
salc
or dword [ecx - 0xa], eax
mov bl, byte [0xd3135e27]
sub byte [ecx - 0x495546ae], dh
stosb byte es:[edi], al
mov dh, 7
stosb byte es:[edi], al
mov dh, 7
push ebp
sub al, 0x20
push ss
sub dword [edx + 0x6f], ecx
mov esi, fs
scasd eax, dword es:[edi]
test byte [ebx], dl
test al, 0x4c
out 0xdd, al
loope 0x5dbadd
lodsb al, byte [esi]
bound esp, qword [esi + edx*2 - 0xf0b7942]
movsb byte es:[edi], byte [esi]
jno 0x5dbb97
insb byte es:[edi], dx
ret 0xd990
loop 0x5dbbf8
mov bl, 0x26
adc al, 0x36
ljmp 0xf52b
mov dl, 0x78
xor ebp, dword [esi + 0x267439f3]
push edi
cmp dword [esi + 0x57], esi
jne 0x5dbbb8
mov bh, 0x53
cli
inc ebx
int3
pop ss
inc ebp
adc dword [ebx + eax*8 + 0x2b73736], esi
salc
xchg byte [ecx - 0x2398a270], bh
xchg esi, eax
add esp, ecx
cld
ret
xchg eax, edx
xchg esi, eax
ror byte [edi - 0x34], 1
ja 0x5dbc33
pop edx
jecxz 0x5dbc57
push es
cmp eax, 0x17832b8a
xor byte [ecx - 0x1b], dl
sub ah, byte [edx - 0x46b8acee]
inc esi
push 0xffffffffffffffc9
js 0x5dbbdc
mov ecx, 0xf3c96a46
js 0x5dbbdc
sti
sub eax, 0xab365c92
sbb byte [esi + edx], 0xf5
cmp esp, dword [edi - 0xa2d7d9c]
push edx
jno 0x5dbc05
loop 0x5dbbb3
pushal
push esp
xchg edx, eax
jmp 0x5dbbd8
push ss
sub dword [ecx + 0x56], 0x17de40c9
cmpsd dword [esi], dword es:[edi]
sub eax, 0xdd33f091
mov dl, 0xef
push esp
mov dh, 0x74
inc edi
and edi, dword [ecx + 0x11f32201]
xchg ecx, eax
invalid
mov ecx, 0x11f32201
mov dword [0x8d2b60b9], eax
movsb byte es:[edi], byte [esi]
sar bl, 1
cmp byte [esi + 0x76], al
in al, 0x15
adc eax, esi
push ss
imul esi, edx, 0xa95fe77a
jno 0x5dbbec
jbe 0x5dbc3d
adc eax, 0x6916c613
bnd jp 0x5dbc48
pop edi
test eax, 0xd83b8771
cmp ebx, eax
or al, 0xcb
push ecx
cmpsb byte [esi], byte es:[edi]
std
lcall 0xb634, 0x67c288b3
shl dword [esi + 0x389d46f9], cl
sub dh, byte [ecx - 0x59c473f9]
sub dh, byte [ecx - 0x59c473f9]
adc byte [eax], ch
inc ebx
ja 0x5dbc9d
ret 0xbab3
rol eax, 0xc4
rcl dword [esi], 7
pop es
sahf
ja 0x5dbc98
adc edi, ebx
mov ecx, 0xf34692e7
les ebx, [esi + edx*2]
push cs
int 0x83
dec ebp
jbe 0x5dbc7a
dec esp
rcr byte [eax - 0x655bb90e], cl
sal byte [ecx], 1
xchg edx, eax
invalid
Function at 0x657ced
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x1a4
mov edx, dword [ebp + 8]
xor ecx, ecx
mov eax, 0x660388
cmp edx, dword [eax]
je 0x657d0f
add eax, 8
inc ecx
cmp eax, 0x660418
jl 0x657d00
push esi
mov esi, ecx
shl esi, 3
cmp edx, dword [esi + 0x660388]
jne 0x657e3d
mov eax, dword [0xa65cf0]
cmp eax, 1
je 0x657e17
test eax, eax
jne 0x657d40
cmp dword [0x6602b4], 1
je 0x657e17
cmp edx, 0xfc
je 0x657e3d
lea eax, [ebp - 0x1a4]
push 0x104
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
jne 0x657d77
lea eax, [ebp - 0x1a4]
push str._program_name_unknown_
push eax
call fcn.006586d0
pop ecx
pop ecx
lea eax, [ebp - 0x1a4]
push edi
push eax
lea edi, [ebp - 0x1a4]
call fcn.00658b60
inc eax
pop ecx
cmp eax, 0x3c
jbe 0x657dba
lea eax, [ebp - 0x1a4]
push eax
call fcn.00658b60
mov edi, eax
lea eax, [ebp - 0x1a4]
sub eax, 0x3b
push 3
add edi, eax
push 0x65cbc4
push edi
call fcn.0065aa30
add esp, 0x10
lea eax, [ebp - 0xa0]
push str.Runtime_Error__n_nProgram:
push eax
call fcn.006586d0
lea eax, [ebp - 0xa0]
push edi
push eax
call fcn.006586e0
lea eax, [ebp - 0xa0]
push 0x65cba4
push eax
call fcn.006586e0
push dword [esi + 0x66038c]
lea eax, [ebp - 0xa0]
push eax
call fcn.006586e0
push 0x12010
lea eax, [ebp - 0xa0]
push str.Microsoft_Visual_C_Runtime_Library
push eax
call fcn.0065a9a4
add esp, 0x2c
pop edi
jmp 0x657e3d
lea eax, [ebp + 8]
lea esi, [esi + 0x66038c]
push 0
push eax
push dword [esi]
call fcn.00658b60
pop ecx
push eax
push dword [esi]
push 0xfffffffffffffff4
call dword [sym.imp.KERNEL32.dll_GetStdHandle]
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
pop esi
leave
ret
Function at 0x4017c4
Capabilities:
Terminate process

Disassembly:
cmp ecx, dword [0x404004]
jne 0x4017ce
repz ret
jmp fcn.00401b99

Function at 0x43c790
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, 0x42a015
lea edi, [esi - 0x29015]
push edi
or ebp, 0xffffffff
jmp 0x43c7b2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x43c7b9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x43c7a8
mov eax, 1
add ebx, ebx
jne 0x43c7cb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x43c7c0
jne 0x43c7dc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43c7c0
xor ecx, ecx
sub eax, 3
jb 0x43c7f0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x43c862
mov ebp, eax
add ebx, ebx
jne 0x43c7fb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x43c808
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x43c82c
inc ecx
add ebx, ebx
jne 0x43c818
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x43c80d
jne 0x43c829
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x43c80d
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x43c84c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x43c83d
jmp 0x43c7ae
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x43c84c
add edi, ecx
jmp 0x43c7ae
pop esi
mov edi, esi
mov ecx, 0xaca
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x43c86a
cmp byte [edi], 7
jne 0x43c86a
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 0x43c86f
lea edi, [esi + 0x3a000]
mov eax, dword [edi]
or eax, eax
je 0x43c8e7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x440f4]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x44194]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x43c89c
mov ecx, edi
jns 0x43c8cb
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 + 0x44198]
or eax, eax
je 0x43c8e1
mov dword [ebx], eax
add ebx, 4
jmp 0x43c8b9
call dword [esi + 0x441a8]
mov ebp, dword [esi + 0x4419c]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x19f]
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 0x43c91b
sub esp, 0xffffff80
jmp 0x412a92
Function at 0x401000
Capabilities:
Get file version info

Disassembly:
sub esp, 0x10
push ebx
push ebp
mov ebp, dword [esp + 0x1c]
lea eax, [esp + 0xc]
xor ebx, ebx
push eax
push ebp
mov byte [esp + 0x13], bl
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
mov dword [esp + 0x1c], ebx
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov dword [esp + 0xc], eax
cmp eax, ebx
jne 0x401036
pop ebp
xor al, al
pop ebx
add esp, 0x10
ret
push esi
push eax
call fcn.004cc39d
mov ecx, dword [esp + 0x14]
add esp, 4
mov esi, eax
push esi
push ecx
push ebx
push ebp
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x401094
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x18]
push eax
push 0x51f14c
push esi
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x401094
mov eax, dword [esp + 0x14]
movzx ecx, word [eax + 0xa]
movzx edx, word [eax + 8]
mov word [edi], cx
movzx ecx, word [eax + 0xe]
mov word [edi + 2], dx
movzx edx, word [eax + 0xc]
mov word [edi + 4], cx
mov word [edi + 6], dx
mov byte [esp + 0xf], 1
cmp esi, ebx
je 0x4010a1
push esi
call fcn.004cc2c0
add esp, 4
mov al, byte [esp + 0xf]
pop esi
pop ebp
pop ebx
add esp, 0x10
ret

Function at 0x4010b0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x214
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x210], eax
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x12]
push ecx
mov word [esp + 0x14], ax
call fcn.004d3360
add esp, 0xc
push 0x104
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
test eax, eax
jne 0x401109
xor al, al
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x214
ret
push edi
push 0x51f150
lea eax, [esp + 0x10]
push 0x104
push eax
call fcn.004cc943
lea ecx, [esp + 0x18]
push ecx
lea edi, [esp + 0x14]
call fcn.00401000
add esp, 0x10
pop edi
test al, al
je 0x4010f2
movzx ecx, word [esp + 4]
movzx edx, word [esp]
movzx eax, word [esp + 2]
mov dword [esi + 0xc], ecx
mov ecx, dword [esp + 0x210]
mov dword [esi + 4], edx
xor edx, edx
mov dword [esi + 8], eax
xor ecx, esp
mov dword [esi], 0x114
mov dword [esi + 0x10], 2
mov word [esi + 0x14], dx
mov al, 1
call fcn.004cc2b1
add esp, 0x214
ret

Function at 0x401890
Capabilities:
Delete file
Set file attributes

Disassembly:
cmp byte [edi + 0x112], 0
push esi
lea esi, [edi + 4]
mov eax, esi
jne 0x4018a5
mov eax, dword [esi + 0x108]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [esi + 0x10e], 0
jne 0x4018c3
mov esi, dword [esi + 0x108]
add esi, 4
push esi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x4018e5
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov eax, edi
call fcn.00401640
test al, al
sete al
pop esi
ret
mov al, 1
pop esi
ret
Function at 0x4018f0
Capabilities:
Delete file

Disassembly:
sub esp, 0x804
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x800], eax
push edi
mov edi, dword [esp + 0x80c]
push 0x549d50
push edi
call fcn.004cc568
add esp, 8
test eax, eax
jne 0x401a59
mov eax, 0x4000
test word [0x549d56], ax
je 0x401a52
push esi
push edi
push str._s.
lea edx, [esp + 0x10]
call fcn.004023b0
add esp, 8
push 0x549b00
lea ecx, [esp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x401a2a
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
lea esp, [esp]
mov ecx, 0x51f1cc
mov eax, 0x549b2c
lea ebx, [ebx]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4019a6
test dx, dx
je 0x4019a2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4019a6
add eax, 4
add ecx, 4
test dx, dx
jne 0x401980
xor eax, eax
jmp 0x4019ab
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401a12
mov ecx, 0x51f1d0
mov eax, 0x549b2c
lea esp, [esp]
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x4019e6
test dx, dx
je 0x4019e2
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x4019e6
add eax, 4
add ecx, 4
test dx, dx
jne 0x4019c0
xor eax, eax
jmp 0x4019eb
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x401a12
push 0x549b2c
push edi
push str._s_s
lea edx, [esp + 0x18]
call fcn.004023b0
lea edx, [esp + 0x18]
push 1
push edx
call fcn.004018f0
add esp, 0x14
push 0x549b00
push esi
call ebx
test eax, eax
jne 0x401970
push esi
call dword [sym.imp.KERNEL32.dll_FindClose]
pop ebx
cmp byte [esp + 0x814], 0
pop esi
je 0x401a59
push edi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
pop edi
mov ecx, dword [esp + 0x800]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x804
ret
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [esp + 0x804]
pop edi
xor ecx, esp
call fcn.004cc2b1
add esp, 0x804
ret
Function at 0x401aa0
Capabilities:
Create directory

Disassembly:
push 0xffffffffffffffff
push 0x50b55b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov esi, ecx
cmp byte [esi + 0x112], 0
lea ebp, [esi + 4]
mov eax, ebp
jne 0x401af1
mov eax, dword [ebp + 0x108]
push 2
add eax, 4
push 0x51f21c
push eax
call fcn.004cd1c2
add esp, 0xc
test eax, eax
je 0x401bf2
mov ecx, esi
call fcn.00401680
test al, al
je 0x401b27
cmp byte [esp + 0x144], 0
sete al
jmp 0x401bf4
lea edi, [esp + 0x14]
call fcn.004023d0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fa0
test al, al
je 0x401b6e
mov eax, edi
call fcn.004014a0
test al, al
jne 0x401b6e
push 0
mov ecx, edi
call fcn.00401aa0
test al, al
jne 0x401b6e
mov eax, edi
call fcn.00402520
xor al, al
jmp 0x401bf4
cmp byte [ebp + 0x10e], 0
mov eax, ebp
jne 0x401b7f
mov eax, dword [ebp + 0x108]
push 0
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x401bb4
cmp byte [esp + 0x126], al
jne 0x401bb0
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401bb0
push eax
call fcn.004cc2c0
add esp, 4
xor al, al
jmp 0x401bf4
cmp byte [ebp + 0x10e], 0
jne 0x401bc3
mov ebp, dword [ebp + 0x108]
lea ecx, [ebp + 4]
call fcn.00401380
call fcn.00402040
cmp byte [esp + 0x126], 0
jne 0x401bf2
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
je 0x401bf2
push eax
call fcn.004cc2c0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x12c
ret 4
Function at 0x401c20
Capabilities:
Copy file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50b55b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x144]
lea edi, [esp + 0x14]
mov esi, ecx
call fcn.004023d0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fa0
test al, al
je 0x401cba
push 0
mov ecx, edi
call fcn.00401aa0
test al, al
jne 0x401cba
cmp byte [esp + 0x126], al
jne 0x401cb3
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401cb3
push eax
call fcn.004cc2c0
add esp, 4
xor al, al
jmp 0x401d8d
cmp byte [esi + 0x112], 0
lea edi, [esi + 4]
mov eax, edi
jne 0x401cce
mov eax, dword [edi + 0x108]
mov ebx, dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [edi + 0x10e], 0
mov ecx, edi
jne 0x401cf0
mov ecx, dword [edi + 0x108]
cmp byte [ebp + 0x112], 0
lea eax, [ebp + 4]
jne 0x401d02
mov eax, dword [eax + 0x108]
push 0
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_CopyFileW]
test eax, eax
jne 0x401d31
cmp byte [esp + 0x126], al
jne 0x401cb3
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
jmp 0x401ca8
cmp byte [edi + 0x10e], 0
mov eax, edi
jne 0x401d42
mov eax, dword [edi + 0x108]
push 0x80
add eax, 4
push eax
call ebx
cmp byte [edi + 0x10e], 0
jne 0x401d5c
mov edi, dword [edi + 0x108]
lea ecx, [edi + 4]
call fcn.00401380
call fcn.00402040
cmp byte [esp + 0x126], 0
jne 0x401d8b
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401d8b
push eax
call fcn.004cc2c0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x12c
ret 4
Function at 0x401dc0
Capabilities:
Move file
Set file attributes

Disassembly:
push 0xffffffffffffffff
push 0x50b55b
mov eax, dword fs:[0]
push eax
sub esp, 0x120
mov eax, dword [0x53f5a0]
xor eax, esp
mov dword [esp + 0x118], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x134]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x144]
lea edi, [esp + 0x14]
mov esi, ecx
call fcn.004023d0
mov ebx, edi
mov eax, esi
mov dword [esp + 0x13c], 0
call fcn.00401fa0
test al, al
je 0x401e5a
push 0
mov ecx, edi
call fcn.00401aa0
test al, al
jne 0x401e5a
cmp byte [esp + 0x126], al
jne 0x401e53
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401e53
push eax
call fcn.004cc2c0
add esp, 4
xor al, al
jmp 0x401f0c
cmp byte [esi + 0x112], 0
lea edi, [esi + 4]
mov ecx, edi
jne 0x401e6e
mov ecx, dword [edi + 0x108]
cmp byte [ebp + 0x112], 0
lea eax, [ebp + 4]
jne 0x401e80
mov eax, dword [eax + 0x108]
push 0xb
add ecx, 4
push ecx
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
test eax, eax
jne 0x401eac
cmp byte [esp + 0x126], al
jne 0x401e53
mov eax, dword [esp + 0x120]
lea edx, [esp + 0x18]
cmp eax, edx
jmp 0x401e48
cmp byte [edi + 0x10e], 0
mov eax, edi
jne 0x401ebd
mov eax, dword [edi + 0x108]
push 0x80
add eax, 4
push eax
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
cmp byte [edi + 0x10e], 0
jne 0x401edb
mov edi, dword [edi + 0x108]
lea ecx, [edi + 4]
call fcn.00401380
call fcn.00402040
cmp byte [esp + 0x126], 0
jne 0x401f0a
mov eax, dword [esp + 0x120]
lea ecx, [esp + 0x18]
cmp eax, ecx
je 0x401f0a
push eax
call fcn.004cc2c0
add esp, 4
mov al, 1
mov ecx, dword [esp + 0x134]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x118]
xor ecx, esp
call fcn.004cc2b1
add esp, 0x12c
ret 4
Function at 0x405d60
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x508658
mov eax, dword fs:[0]
push eax
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.Cell
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004cc39d
mov dword [eax + 0x24], fcn.004ce4c2
mov dword [eax + 0x28], fcn.004cc2c0
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configSystemUpdateListFile::t_recommend_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8

Function at 0x406170
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x508658
mov eax, dword fs:[0]
push eax
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 4]
mov dword fs:[0], eax
mov eax, dword [esp + 0x14]
xor ecx, ecx
mov byte [eax + 4], cl
mov dword [eax + 8], str.Cell
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov dword [eax + 0x18], ecx
mov dword [eax + 0x1c], ecx
mov dword [eax + 0x20], fcn.004cc39d
mov dword [eax + 0x24], fcn.004ce4c2
mov dword [eax + 0x28], fcn.004cc2c0
mov dword [eax + 0x2c], ecx
mov ecx, dword [esp + 0x18]
mov dword [eax], vtable.n_config::t_arraySection_class_t_configSystemCloudPicListFile::t_recommend_.0
mov dword [eax + 0x30], ecx
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
pop ecx
add esp, 0xc
ret 8
Function at 0x40a450
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x508c53
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push esi
push edi
mov eax, dword [0x53f5a0]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov esi, dword [esp + 0x2c]
xor ebx, ebx
lea edi, [esi + 0x34]
mov dword [esi], ebx
mov dword [esi + 4], ebx
mov dword [esi + 0xc], ebx
mov dword [esi + 0x10], ebx
mov dword [esi + 0x14], ebx
mov dword [esi + 0x18], ebx
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x20], ebx
mov dword [esi + 0x24], ebx
mov dword [esi + 0x28], ebx
mov dword [esi + 0x2c], ebx
mov dword [esi + 0x30], ebx
call fcn.004023d0
lea edi, [esi + 0x14c]
mov dword [esp + 0x24], ebx
call fcn.004023d0
lea edi, [esi + 0x264]
call fcn.004023d0
lea edi, [esi + 0x37c]
call fcn.004023d0
lea edi, [esi + 0x494]
call fcn.004023d0
lea ecx, [esi + 0x5b0]
xor eax, eax
mov dword [ecx], vtable.t_mutex.0
mov dword [ecx + 4], ebx
mov dword [ecx + 0x210], 1
mov word [ecx + 8], ax
lea edi, [esi + 0x7c4]
mov dword [edi], ebx
mov dword [edi + 4], ebx
mov dword [edi + 8], ebx
mov dword [edi + 0xc], ebx
mov dword [edi + 0x10], fcn.004cc39d
mov dword [edi + 0x14], fcn.004ce4c2
mov dword [edi + 0x18], fcn.004cc2c0
mov byte [esp + 0x14], bl
mov dword [esp + 0x10], ebx
mov byte [esp + 0x24], 7
mov edx, dword [ecx]
mov edx, dword [edx + 4]
push str.LocalInstall_PicFace_Proc_Mutex
lea eax, [esp + 0x14]
push eax
call edx
test al, al
jne 0x40a547
lea ecx, [esp + 0x10]
call fcn.00438350
mov dword [esi + 0x5ac], ebx
call fcn.004135f0
lea ecx, [esp + 0x10]
call fcn.004382a0
mov eax, esi
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x18
ret 4