joyce8/EMBER2024-capa huggingface dataset:
Function at 0x100615f1
Capabilities:
Create directory
Get file attributes

Disassembly:
push 0x14
mov eax, 0x100b4c3d
call fcn.10075f38
mov edi, ecx
and dword [ebp - 0x18], 0
lea esi, [ebp - 0x10]
call fcn.100610f4
and dword [ebp - 4], 0
mov eax, dword [0x100f82c0]
mov dword [ebp - 0x14], eax
mov byte [ebp - 4], 1
push dword [edi]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0x10
je 0x10061733
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 8]
movzx eax, word [edi + eax*2 - 2]
cmp ax, 0x5c
mov esi, 0x100c9b9c
je 0x10061655
push esi
push esi
call dword [sym.imp.KERNEL32.dll_lstrlenW]
lea ecx, [ebp - 0x10]
call fcn.10061445
mov edi, dword [ebp - 0x10]
mov eax, dword [edi - 8]
test eax, eax
jl 0x10061669
push esi
push edi
call fcn.1006e7d0
test eax, eax
pop ecx
pop ecx
jne 0x1006166e
or eax, 0xffffffff
jmp 0x10061672
sub eax, edi
sar eax, 1
cmp eax, 0xffffffff
je 0x10061733
lea ecx, [eax + 1]
lea eax, [ebp - 0x1c]
push eax
lea ebx, [ebp - 0x10]
mov dword [ebp - 0x20], ecx
call fcn.10061180
mov byte [ebp - 4], 2
mov eax, dword [eax]
push eax
mov eax, dword [eax - 8]
lea ecx, [ebp - 0x14]
call fcn.10061445
lea esi, [ebp - 0x1c]
mov byte [ebp - 4], 1
call fcn.1006134a
mov ebx, dword [ebp - 0x20]
test ebx, ebx
mov esi, dword [edi - 8]
jle 0x100616ed
test esi, esi
jle 0x100616ed
cmp ebx, esi
jle 0x100616bf
mov ebx, esi
lea eax, [ebp - 0x10]
call fcn.100614cc
mov edi, dword [ebp - 0x10]
mov eax, esi
sub eax, ebx
lea eax, [eax + eax + 2]
push eax
lea eax, [edi + ebx*2]
push eax
mov eax, dword [edi - 4]
lea eax, [eax + eax + 2]
push eax
push edi
call fcn.10024826
add esp, 0x10
sub esi, ebx
mov dword [edi - 8], esi
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
or esi, 0xffffffff
cmp eax, esi
jne 0x1006170c
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
je 0x1006173a
cmp dword [edi - 8], 0
jl 0x10061723
push 0x100c9b9c
push edi
call fcn.1006e7d0
test eax, eax
pop ecx
pop ecx
jne 0x10061727
mov eax, esi
jmp 0x1006172b
sub eax, edi
sar eax, 1
cmp eax, esi
jne 0x1006167b
mov dword [ebp - 0x18], 1
lea esi, [ebp - 0x14]
call fcn.1006134a
lea esi, [ebp - 0x10]
call fcn.1006134a
mov eax, dword [ebp - 0x18]
call fcn.10075fd7
ret
Function at 0x10061b69
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes

Disassembly:
push 0x60
mov eax, 0x100b60a9
call fcn.10075fa1
mov esi, ecx
lea ebx, [ebp - 0x48]
mov dword [ebp - 0x50], esi
mov byte [ebp - 0x49], 0
call fcn.10068cef
and dword [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.100016d0
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10004adf
test al, al
je 0x10061bc7
mov eax, ebx
push eax
lea ecx, [ebp - 0x6c]
call fcn.10068a35
push eax
lea ecx, [ebp - 0x2c]
mov byte [ebp - 4], 2
call fcn.1000177c
lea ecx, [ebp - 0x6c]
mov byte [ebp - 4], 1
call fcn.10001767
jmp 0x10061bd0
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000177c
lea esi, [ebp - 0x2c]
call fcn.10068ae8
push 0x100cc2cc
lea ecx, [ebp - 0x6c]
call fcn.100016f9
lea ebx, [ebp - 0x6c]
mov edi, esi
mov byte [ebp - 4], 3
call fcn.10068bfb
mov ecx, ebx
mov byte [ebp - 4], 1
call fcn.10001767
mov ecx, esi
call fcn.10004d1a
mov ebx, dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
push eax
call ebx
cmp eax, 0xffffffff
mov eax, dword [ebp - 0x50]
je 0x10061c1f
and dword [eax + 0x1c], 0
jmp 0x10061ce0
lea esi, [ebp - 0x48]
mov dword [eax + 0x1c], 1
call fcn.1006894b
push 0x100cc2e4
lea ecx, [ebp - 0x6c]
call fcn.100016f9
lea esi, [ebp - 0x6c]
lea edi, [ebp - 0x48]
mov byte [ebp - 4], 4
call fcn.10068b87
mov ecx, esi
mov byte [ebp - 4], 1
call fcn.10001767
mov ecx, edi
call fcn.10004d1a
push eax
call ebx
cmp eax, 0xffffffff
je 0x10061c77
mov ecx, dword [ebp - 0x50]
mov eax, edi
push eax
add ecx, 0x80
call fcn.1000177c
jmp 0x10061cdc
push str.SKIN
push str.QMUIRES.dat
push dword [0x100f9018]
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov esi, eax
test esi, esi
je 0x10061ce0
push esi
push dword [0x100f9018]
call dword [sym.imp.KERNEL32.dll_LoadResource]
test eax, eax
je 0x10061ce0
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov ebx, eax
test ebx, ebx
je 0x10061ce0
push esi
push dword [0x100f9018]
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov esi, dword [ebp - 0x50]
mov edi, eax
add esi, 0xb0
mov eax, esi
call fcn.100657d8
push edi
push ebx
push dword [esi]
call fcn.10070d30
add esp, 0xc
mov byte [ebp - 0x49], 1
lea ecx, [ebp - 0x2c]
call fcn.10001767
lea ecx, [ebp - 0x48]
call fcn.10001767
mov al, byte [ebp - 0x49]
call fcn.10075feb
ret
Function at 0x1006211b
Capabilities:
Get file size
Read file on windows

Disassembly:
push 0x50
mov eax, 0x100b605c
call fcn.10075fa1
mov eax, dword [ebp + 8]
mov dword [ebp - 0x3c], eax
mov eax, dword [ebp + 0xc]
mov esi, ecx
mov edi, edx
mov dword [ebp - 0x40], eax
mov byte [ebp - 0x2d], 0
call fcn.10004adf
test al, al
jne 0x1006223d
push esi
lea ecx, [ebp - 0x2c]
call fcn.1000172f
and dword [ebp - 4], 0
lea esi, [ebp - 0x2c]
call fcn.10068ae8
call fcn.100208fe
mov ecx, edi
mov ebx, eax
call fcn.100014c6
mov edi, eax
test edi, edi
je 0x10062183
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov esi, eax
inc esi
cmp esi, 0x3fffffff
jle 0x10062187
xor eax, eax
jmp 0x1006219a
lea eax, [esi + esi]
call fcn.1007ffe0
mov eax, esp
push ebx
push esi
push edi
push eax
call fcn.100345fd
push eax
lea ecx, [ebp - 0x5c]
call fcn.100016f9
lea ebx, [ebp - 0x5c]
lea edi, [ebp - 0x2c]
mov byte [ebp - 4], 1
call fcn.10068bfb
xor ebx, ebx
lea ecx, [ebp - 0x5c]
mov byte [ebp - 4], bl
call fcn.10001767
mov ecx, edi
call fcn.10004d1a
push ebx
push 0x80
push 3
push ebx
push 1
push SysReAllocString
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
cmp eax, 0xffffffff
mov dword [ebp - 0x38], eax
je 0x10062235
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov esi, eax
cmp esi, ebx
je 0x1006222c
lea eax, [esi + 1]
push eax
mov dword [ebp - 0x34], ebx
call fcn.1006d3be
mov edi, dword [ebp - 0x3c]
pop ecx
push ebx
lea ecx, [ebp - 0x34]
push ecx
push esi
push eax
push dword [ebp - 0x38]
mov dword [edi], eax
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x1006222c
cmp dword [ebp - 0x34], esi
jne 0x1006222c
mov eax, dword [ebp - 0x40]
mov dword [eax], esi
mov eax, dword [edi]
mov byte [esi + eax], bl
mov byte [ebp - 0x2d], 1
push dword [ebp - 0x38]
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x2c]
call fcn.10001767
mov al, byte [ebp - 0x2d]
lea esp, [ebp - 0x6c]
call fcn.10075feb
ret 8
Function at 0x10063146
Capabilities:
Delete file
Get common file path
Write file on windows

Disassembly:
push ebp
sub esp, 0x410
lea ebp, [esp - 4]
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp + 0x410], eax
push 8
mov eax, 0x100b5751
call fcn.10075f38
mov eax, dword [ebp + 0x41c]
mov esi, 0x206
xor edi, edi
push esi
mov dword [ebp - 0x14], eax
lea eax, [ebp + 0x20a]
push edi
push eax
mov word [ebp + 0x208], di
call fcn.10070cb0
push esi
lea eax, [ebp + 2]
push edi
push eax
mov word [ebp], di
call fcn.10070cb0
add esp, 0x18
push edi
push 0x1a
lea eax, [ebp + 0x208]
push eax
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
push str.kingsoftkclear_temp
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
mov eax, dword [0x100f82c0]
mov dword [ebp - 0x10], eax
lea eax, [ebp + 0x208]
shr eax, 0x10
test ax, ax
lea eax, [ebp + 0x208]
jne 0x100631ee
movzx eax, ax
push eax
lea ecx, [ebp - 0x10]
call fcn.100611f2
jmp 0x10063223
push eax
call dword [sym.imp.KERNEL32.dll_lstrlenW]
mov esi, eax
cmp esi, edi
je 0x10063223
push esi
lea eax, [ebp - 0x10]
push eax
call fcn.10061372
test eax, eax
je 0x10063223
lea eax, [esi + esi]
push eax
lea ecx, [ebp + 0x208]
push ecx
add eax, 2
push eax
push dword [ebp - 0x10]
call fcn.10020b1c
add esp, 0x10
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], edi
call fcn.100615f1
lea esi, [ebp - 0x10]
mov ebx, eax
call fcn.1006134a
cmp ebx, edi
je 0x10063298
lea eax, [ebp]
push eax
push edi
push 0x100cc3ec
lea eax, [ebp + 0x208]
push eax
call dword [sym.imp.KERNEL32.dll_GetTempFileNameW]
lea eax, [ebp]
push 0x100cc3f4
push eax
call fcn.10073a14
mov esi, eax
cmp esi, edi
pop ecx
pop ecx
je 0x10063298
push esi
push dword [ebp + 0x420]
push 1
push dword [ebp - 0x14]
call fcn.10073bd6
push esi
call fcn.10073cca
add esp, 0x14
push 0x10
push 0x20
push 0x20
push 1
lea eax, [ebp]
push eax
push edi
call dword [sym.imp.USER32.dll_LoadImageW]
mov edi, eax
lea eax, [ebp]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov eax, edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp + 0x410]
xor ecx, ebp
call fcn.1006e011
add ebp, 0x414
leave
ret

Function at 0x10067853
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 0x1008f040
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x128
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x128], 0
push 0x118
push 0
lea eax, [ebp - 0x124]
push eax
call fcn.10070cb0
add esp, 0xc
mov dword [ebp - 0x128], 0x11c
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
jne 0x1008f095
mov eax, 1
jmp 0x1008f0e0
cmp dword [ebp - 0x124], 5
jne 0x1008f0ce
cmp dword [ebp - 0x120], 1
jne 0x1008f0b6
movzx edx, word [ebp - 0x14]
cmp edx, 1
jge 0x1008f0b6
xor eax, eax
jmp 0x1008f0e0
cmp dword [ebp - 0x120], 0
jne 0x1008f0cc
movzx eax, word [ebp - 0x14]
cmp eax, 3
jge 0x1008f0cc
xor eax, eax
jmp 0x1008f0e0
jmp 0x1008f0db
cmp dword [ebp - 0x124], 5
jae 0x1008f0db
xor eax, eax
jmp 0x1008f0e0
mov eax, 1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1006e011
mov esp, ebp
pop ebp
ret

Function at 0x1008f5c0
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b11a7
mov eax, dword fs:[0]
push eax
sub esp, 0x58
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x10], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 4], 0
lea eax, [ebp + 8]
push eax
lea ecx, [ebp - 0x2c]
call fcn.1000172f
mov byte [ebp - 4], 1
mov ecx, dword [0x100c8090]
mov dword [ebp - 0x30], ecx
mov edx, dword [0x100c8090]
push edx
push 0x5c
lea ecx, [ebp - 0x2c]
call fcn.100371b3
mov dword [ebp - 0x30], eax
mov eax, dword [ebp - 0x30]
cmp eax, dword [0x100c8090]
je 0x1008f67a
mov ecx, dword [ebp - 0x30]
push ecx
push 0
lea edx, [ebp - 0x4c]
push edx
lea ecx, [ebp - 0x2c]
call fcn.100018fb
mov dword [ebp - 0x5c], eax
mov eax, dword [ebp - 0x5c]
mov dword [ebp - 0x60], eax
mov byte [ebp - 4], 2
mov ecx, dword [ebp - 0x60]
push ecx
lea ecx, [ebp - 0x2c]
call fcn.1000177c
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x4c]
call fcn.10001767
sub esp, 0x1c
mov ecx, esp
mov dword [ebp - 0x50], esp
lea edx, [ebp - 0x2c]
push edx
call fcn.1000172f
mov dword [ebp - 0x64], eax
call fcn.1008f5c0
add esp, 0x1c
push 0
lea ecx, [ebp + 8]
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
test eax, eax
jne 0x1008f69c
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x1008f6c5
mov dword [ebp - 0x54], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001767
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001767
mov eax, dword [ebp - 0x54]
jmp 0x1008f707
mov dword [ebp - 0x58], 0xffffffff
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x2c]
call fcn.10001767
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 8]
call fcn.10001767
mov eax, dword [ebp - 0x58]
jmp 0x1008f707
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.1006e011
mov esp, ebp
pop ebp
ret
Function at 0x10092a49
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b0d95
mov eax, dword fs:[0]
push eax
sub esp, 0xc
mov eax, dword [0x100dd3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x18], ecx
and dword [ebp - 0x14], 0
push dword [ebp + 0xc]
lea ecx, [ebp - 0x10]
call fcn.10003b21
and dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
call fcn.10092871
pop ecx
push str.Simple_
lea ecx, [ebp - 0x10]
call fcn.10009ef1
push 0
lea ecx, [ebp - 0x10]
call fcn.1003338d
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push str.ConfigFile
lea ecx, [ebp - 0x10]
call fcn.10009ef1
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
add ecx, 0x50
call fcn.10003ba5
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
call fcn.10003b21
mov eax, dword [ebp - 0x14]
or eax, 1
mov dword [ebp - 0x14], eax
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.100104e6
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret 8

Function at 0x10092d76
Capabilities:
Check if file exists
Delete directory
Delete file
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x38
mov dword [ebp - 0x38], ecx
lea eax, [ebp - 8]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003da81
jmp 0x10092da1
push 0
lea eax, [ebp - 0x1c]
push eax
lea ecx, [ebp - 8]
call fcn.1003dc9f
lea eax, [ebp - 0x24]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003daa0
push eax
lea ecx, [ebp - 8]
call fcn.10011c2a
movzx eax, al
test eax, eax
je 0x10092e09
lea ecx, [ebp - 8]
call fcn.1003dc11
mov dword [ebp - 0xc], eax
mov ecx, dword [ebp - 0xc]
call fcn.10004d1a
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x10092e07
mov ecx, dword [ebp - 0xc]
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
test eax, eax
jne 0x10092e07
push 4
push 0
mov ecx, dword [ebp - 0xc]
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExW]
jmp 0x10092d93
mov ecx, dword [ebp - 0x38]
add ecx, 0xe0
call fcn.1003db90
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003da81
jmp 0x10092e39
push 0
lea eax, [ebp - 0x2c]
push eax
lea ecx, [ebp - 0x14]
call fcn.1003dc9f
lea eax, [ebp - 0x34]
push eax
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003daa0
push eax
lea ecx, [ebp - 0x14]
call fcn.10011c2a
movzx eax, al
test eax, eax
je 0x10092e73
lea ecx, [ebp - 0x14]
call fcn.1003dc11
mov ecx, eax
call fcn.10004d1a
push eax
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
jmp 0x10092e2b
mov ecx, dword [ebp - 0x38]
add ecx, 0xf0
call fcn.1003db90
leave
ret
Function at 0x10093277
Capabilities:
Check if file exists
Create directory

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b191d
mov eax, dword fs:[0]
push eax
sub esp, 0x88
mov eax, dword [0x100dd3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov dword [ebp - 0x7c], ecx
push dword [0x100f9204]
lea eax, [ebp - 0x1c]
push eax
call fcn.10092afd
pop ecx
pop ecx
mov dword [ebp - 0x80], eax
mov eax, dword [ebp - 0x80]
mov dword [ebp - 0x84], eax
and dword [ebp - 4], 0
push 0x100c11bc
push dword [ebp - 0x84]
lea eax, [ebp - 0x14]
push eax
call fcn.10010702
add esp, 0xc
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call fcn.100104e6
push 0
lea ecx, [ebp - 0x14]
call fcn.1003338d
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHCreateDirectoryExW]
push 0x100c11c8
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x10]
push eax
call fcn.10010702
add esp, 0xc
mov byte [ebp - 4], 3
push 0x100c11d8
lea ecx, [ebp - 0x10]
call fcn.1003338d
push eax
push 0x69
push dword [0x100f9204]
call fcn.10091aed
add esp, 0x10
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0
jne 0x10093370
lea ecx, [ebp - 0x10]
call fcn.1003338d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x10093370
and dword [ebp - 0x20], 0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100104e6
mov eax, dword [ebp - 0x20]
jmp 0x1009345a
lea ecx, [ebp - 0x10]
call fcn.1003338d
push eax
lea ecx, [ebp - 0x3c]
call fcn.100016f9
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
mov dword [ebp - 0x8c], eax
mov byte [ebp - 4], 4
push dword [ebp - 0x8c]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xe0
call fcn.1003db30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x3c]
call fcn.10001767
lea ecx, [ebp - 0x14]
call fcn.1003338d
push eax
lea ecx, [ebp - 0x58]
call fcn.100016f9
mov dword [ebp - 0x90], eax
mov eax, dword [ebp - 0x90]
mov dword [ebp - 0x94], eax
mov byte [ebp - 4], 5
push dword [ebp - 0x94]
mov ecx, dword [ebp - 0x7c]
add ecx, 0xf0
call fcn.1003db30
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x58]
call fcn.10001767
lea ecx, [ebp - 0x10]
call fcn.1003338d
push eax
lea ecx, [ebp - 0x74]
call fcn.100016f9
mov byte [ebp - 4], 6
push dword [0x100f9184]
push 1
call fcn.1004578c
lea edx, [ebp - 0x74]
mov ecx, eax
call fcn.10045895
mov dword [ebp - 0x18], eax
mov byte [ebp - 4], 3
lea ecx, [ebp - 0x74]
call fcn.10001767
mov eax, dword [ebp - 0x18]
mov dword [ebp - 0x78], eax
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x10]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call fcn.100104e6
mov eax, dword [ebp - 0x78]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
leave
ret
Function at 0x100936ca
Capabilities:
Check if file exists
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b2052
mov eax, dword fs:[0]
push eax
sub esp, 0x230
mov eax, dword [0x100dd3e0]
xor eax, ebp
mov dword [ebp - 0x20], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
and dword [ebp - 0x18], 0
and word [ebp - 0x234], 0
push 0x208
push 0
lea eax, [ebp - 0x232]
push eax
call fcn.10070cb0
add esp, 0xc
lea ecx, [ebp - 0x1c]
call fcn.10003b07
and dword [ebp - 4], 0
mov dword [ebp - 0x14], 0x20a
lea eax, [ebp - 0x18]
push eax
push 0x20019
push 0
push str.SoftwareTencentQQPCMgr
push reloc.OLEAUT32.dll_SysReAllocString
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x100937f5
lea eax, [ebp - 0x14]
push eax
lea eax, [ebp - 0x234]
push eax
lea eax, [ebp - 0x10]
push eax
push 0
push 0x100c12d4
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x100937ec
lea eax, [ebp - 0x234]
push eax
call dword [sym.imp.SHLWAPI.dll_PathAddBackslashW]
lea eax, [ebp - 0x234]
push eax
lea ecx, [ebp - 0x1c]
call fcn.10003bbe
push str.QQRepair.exe
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x238]
push eax
call fcn.10010702
add esp, 0xc
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x238]
call fcn.1003338d
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x100937dd
push 0
push 0
push 0
push str._ext1
lea ecx, [ebp - 0x238]
call fcn.1003338d
push eax
call fcn.100a65eb
add esp, 0x14
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x238]
call fcn.100104e6
push dword [ebp - 0x18]
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
and dword [ebp - 0x23c], 0
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.100104e6
mov eax, dword [ebp - 0x23c]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x20]
xor ecx, ebp
call fcn.1006e011
leave
ret 4
Function at 0x10093827
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x100b208a
mov eax, dword fs:[0]
push eax
sub esp, 0x34
push esi
mov eax, dword [0x100dd3e0]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
cmp dword [eax + 0x30], 0
jne 0x1009385e
xor eax, eax
inc eax
jmp 0x100939f5
mov eax, dword [ebp + 8]
and dword [eax + 0x30], 0
mov ecx, dword [ebp + 8]
add ecx, 0x80
call fcn.10034d09
mov eax, dword [ebp + 8]
cmp dword [eax + 0x54], 0
je 0x1009388f
mov eax, dword [ebp + 8]
push dword [eax + 0x54]
call fcn.10090240
pop ecx
mov eax, dword [ebp + 8]
and dword [eax + 0x54], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x58], 0
je 0x100938aa
mov eax, dword [ebp + 8]
mov esi, dword [eax + 0x58]
call fcn.1004e680
mov eax, dword [ebp + 8]
and dword [eax + 0x58], 0
mov eax, dword [ebp + 8]
cmp dword [eax + 0x5c], 0
je 0x100938e4
mov eax, dword [ebp + 8]
mov eax, dword [eax + 0x5c]
mov dword [ebp - 0x14], eax
mov eax, dword [ebp - 0x14]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x100938d9
push 1
mov eax, dword [ebp - 0x10]
mov eax, dword [eax]
mov ecx, dword [ebp - 0x10]
call dword [eax]
mov dword [ebp - 0x28], eax
jmp 0x100938dd
and dword [ebp - 0x28], 0
mov eax, dword [ebp + 8]
and dword [eax + 0x5c], 0
mov ecx, dword [ebp + 8]
add ecx, 0x60
call fcn.1003dabf
mov ecx, dword [ebp + 8]
add ecx, 0x70
call fcn.1003dabf
mov ecx, dword [ebp + 8]
add ecx, 0x98
call fcn.1003c993
mov ecx, dword [ebp + 8]
add ecx, 0x18
call fcn.100a1833
mov ecx, dword [ebp + 8]
call fcn.100929a6
call fcn.10011868
mov ecx, eax
call fcn.1009c3e9
call fcn.10056160
lea eax, [ebp - 0x18]
push eax
call fcn.10092c3a
pop ecx
mov dword [ebp - 0x2c], eax
mov eax, dword [ebp - 0x2c]
mov dword [ebp - 0x30], eax
and dword [ebp - 4], 0
push 0x100c0524
push dword [ebp - 0x30]
lea eax, [ebp - 0x1c]
push eax
call fcn.10010702
add esp, 0xc
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
call fcn.1003338d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x1c]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x18]
call fcn.100104e6
lea eax, [ebp - 0x20]
push eax
call fcn.100a9c65
pop ecx
mov dword [ebp - 0x38], eax
mov eax, dword [ebp - 0x38]
mov dword [ebp - 0x3c], eax
mov dword [ebp - 4], 1
push 0x100c053c
push dword [ebp - 0x3c]
lea eax, [ebp - 0x24]
push eax
call fcn.10010702
add esp, 0xc
mov dword [ebp - 0x40], eax
mov ecx, dword [ebp - 0x40]
call fcn.1003338d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
lea ecx, [ebp - 0x24]
call fcn.100104e6
or dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call fcn.100104e6
mov ecx, dword [ebp + 8]
add ecx, 0x50
call fcn.1003338d
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
mov ecx, dword [ebp + 8]
call fcn.10092ee3
mov ecx, dword [ebp + 8]
call fcn.10092d76
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
leave
ret 4