joyce8/EMBER2024-capa huggingface dataset:
Function at 0x10002df0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
push 0x1004591c
push 0x10045930
call fcn.10014390
add esp, 8
lea eax, [ebp - 8]
push eax
push 0xf003f
call dword [sym.imp.ADVAPI32.dll_RegOpenCurrentUser]
test eax, eax
je 0x10002e3b
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push 0x10045710
push 0x10045930
call fcn.10014390
add esp, 0xc
mov dword [ebp - 8], 0x80000001
mov edx, dword [ebp - 8]
push edi
lea ecx, [ebp - 4]
push ecx
push str.Softwarekuao
mov edi, 0x9a40
push edx
mov dword [ebp - 0xc], edi
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x10002e84
push eax
push 0x10045948
push 0x10045930
call fcn.10014390
mov eax, dword [ebp + 8]
push edi
push 0x107ccd98
push eax
call fcn.1002a8b0
add esp, 0x18
pop edi
mov esp, ebp
pop ebp
ret 4
mov eax, dword [ebp - 4]
push esi
mov esi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
push ecx
push esi
lea edx, [ebp - 0x10]
push edx
push 0
push str.Config
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
cmp dword [esi + 0x8348], 0xa
jg 0x10002eb5
mov dword [esi + 0x8348], 0xd
test eax, eax
jne 0x10002f85
cmp dword [ebp - 0xc], edi
jne 0x10002f85
cmp dword [ebp - 0x10], 3
jne 0x10002f85
push 0x10045988
push 0x10045930
call fcn.10014390
mov ecx, dword [ebp - 4]
add esp, 8
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
lea edi, [esi + 0x8750]
mov ecx, edi
call fcn.10002c80
test eax, eax
je 0x10002f4e
lea ecx, [esi + 0x8d54]
call fcn.10002d40
test eax, eax
je 0x10002f4e
mov ecx, edi
mov eax, 0x100459c8
mov dx, word [eax]
cmp dx, word [ecx]
jne 0x10002f39
test dx, dx
je 0x10002f35
mov dx, word [eax + 2]
cmp dx, word [ecx + 2]
jne 0x10002f39
add eax, 4
add ecx, 4
test dx, dx
jne 0x10002f13
xor eax, eax
jmp 0x10002f3e
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
jne 0x10002f6b
cmp dword [esi + 0x42dc], 0x6500
je 0x10002f6b
push 0x100459c8
push 0x100
push edi
call fcn.10026c57
add esp, 0xc
mov dword [esi + 0x42dc], 0x6500
push 0x100459cc
push 0x10045930
call fcn.10014390
add esp, 8
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
push eax
push 0x1004599c
push 0x10045930
call fcn.10014390
push edi
push 0x107ccd98
push esi
call fcn.1002a8b0
mov edx, dword [ebp - 4]
add esp, 0x18
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
pop esi
pop edi
mov esp, ebp
pop ebp
ret 4
Function at 0x10003020
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
lea ecx, [ebp - 8]
push ecx
push str.Softwarekuao
xor eax, eax
push 0x80000002
mov word [esi], ax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyW]
test eax, eax
je 0x1000305c
push eax
push 0x10045948
push str.GetInstallDir
call fcn.10014390
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 8]
lea edx, [ebp - 4]
push edx
push esi
lea eax, [ebp - 0xc]
push eax
push 0
push str.APPDir
push ecx
mov dword [ebp - 4], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
jne 0x1000309f
cmp dword [ebp - 4], eax
jbe 0x1000309f
cmp dword [ebp - 0xc], 1
jne 0x1000309f
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
mov esp, ebp
pop ebp
ret
push eax
push 0x1004599c
push str.GetInstallDir
call fcn.10014390
add esp, 0xc
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x10003170
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x674
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
lea eax, [ebp - 0x208]
push 0x100
push eax
call fcn.10026c57
add esp, 0xc
push 0x10045708
lea ecx, [ebp - 0x208]
push 0x100
push ecx
call fcn.10026be2
add esp, 0xc
lea edx, [ebp - 0x208]
push edx
push str.RunAssistTools
call fcn.10014390
add esp, 8
lea esi, [ebp - 0x618]
call fcn.10003020
test eax, eax
je 0x10003269
mov eax, esi
lea ecx, [ebp - 0x410]
test ebx, ebx
jne 0x100031fc
push edi
push eax
push 0x10045a4c
push 0x104
push ecx
call fcn.100269af
add esp, 0x14
jmp 0x10003220
mov edx, dword [0x1074bc90]
neg edx
sbb edx, edx
not edx
and edx, ebx
push edx
push edi
push eax
push str._s_s__d
push 0x104
push ecx
call fcn.100269af
add esp, 0x18
push 0x44
lea edx, [ebp - 0x670]
push 0
push edx
call fcn.1002a830
add esp, 0xc
lea eax, [ebp - 0x628]
push eax
lea ecx, [ebp - 0x670]
push ecx
push 0
push 0
push 0x4000020
push 0
push 0
push 0
lea edx, [ebp - 0x410]
push edx
push 0
mov dword [ebp - 0x670], 0x44
call dword [sym.imp.KERNEL32.dll_CreateProcessW]
mov ecx, dword [ebp - 4]
xor ecx, ebp
pop esi
call fcn.1002656f
mov esp, ebp
pop ebp
ret
Function at 0x100033b0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10c
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push 0x3932c
mov esi, ecx
push 0x10303988
push esi
call fcn.1002a8b0
add esp, 0xc
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_GetKeyboardState]
mov eax, 1
test byte [ebp - 0xf4], al
je 0x100033f9
mov dword [esi + 0x39208], eax
mov ecx, dword [0x107cb6b0]
cmp dword [ecx + 4], eax
jne 0x1000340b
mov dword [esi + 4], 2
cmp dword [ecx + 0x8340], 0
je 0x10003430
cmp dword [ecx + 0x432c], 0
je 0x10003430
mov dword [esi + 0x39210], eax
mov eax, dword [ecx + 0x5c]
test al, 0x20
je 0x10003430
xor eax, 0x20
mov dword [ecx + 0x5c], eax
or dword [ecx + 0x5c], 0x40
call fcn.10003280
call dword [sym.imp.KERNEL32.dll_GetTickCount]
mov ecx, dword [0x107cb6b0]
mov dword [esi + 0x3920c], eax
mov edx, dword [ecx + 0x28]
mov ecx, dword [ebp - 4]
mov dword [esi + 0x20], edx
xor ecx, ebp
pop esi
call fcn.1002656f
mov esp, ebp
pop ebp
ret

Function at 0x1000a620
Capabilities:
Check if file exists
Delete directory
Delete file
Enumerate files on windows
Enumerate files recursively
Get file attributes

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x670
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 8], eax
push ebx
push esi
mov esi, dword [ebp + 8]
push edi
push esi
lea eax, [ebp - 0x41c]
push 0x104
push eax
call fcn.10026c57
add esp, 0xc
push esi
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x1000a764
push 0x10045d18
lea ecx, [ebp - 0x41c]
push 0x104
push ecx
call fcn.10026be2
add esp, 0xc
lea edx, [ebp - 0x66c]
push edx
lea eax, [ebp - 0x41c]
push eax
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
mov edi, eax
test edi, edi
je 0x1000a764
mov ebx, dword [sym.imp.KERNEL32.dll_FindNextFileW]
jmp 0x1000a6a0
lea ecx, [ebp - 0x640]
push 0x10045d20
push ecx
call fcn.10026b57
add esp, 8
test eax, eax
je 0x1000a744
lea edx, [ebp - 0x640]
push 0x10045d24
push edx
call fcn.10026b57
add esp, 8
test eax, eax
je 0x1000a744
push esi
lea eax, [ebp - 0x214]
push 0x104
push eax
call fcn.10026c57
add esp, 0xc
lea ecx, [ebp - 0x640]
push ecx
lea edx, [ebp - 0x214]
push 0x104
push edx
call fcn.10026be2
add esp, 0xc
test byte [ebp - 0x66c], 0x10
jne 0x1000a71c
lea eax, [ebp - 0x214]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileW]
jmp 0x1000a744
push 0x10045c7c
lea ecx, [ebp - 0x214]
push 0x104
push ecx
call fcn.10026be2
lea edx, [ebp - 0x214]
add esp, 0xc
push edx
call fcn.1000a620
add esp, 4
lea eax, [ebp - 0x66c]
push eax
push edi
call ebx
test eax, eax
jne 0x1000a6a0
push edi
call dword [sym.imp.KERNEL32.dll_FindClose]
push esi
call dword [sym.imp.KERNEL32.dll_RemoveDirectoryW]
mov ecx, dword [ebp - 8]
pop edi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002656f
mov esp, ebp
pop ebp
ret
Function at 0x1000abd0
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
mov eax, 0x3308
call fcn.10039000
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
mov eax, dword [ebp + 8]
push edi
lea ecx, [ebp - 0x20c]
push ecx
push 0
push 0
push 0x1a
push 0
mov dword [ebp - 0x3308], eax
or edi, 0xffffffff
call dword [sym.imp.SHELL32.dll_SHGetFolderPathW]
test eax, eax
je 0x1000ac2f
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
push str.SHGetFolderPath
push str.GetAllUserAppDirectory
call fcn.10014390
add esp, 0xc
xor edx, edx
mov word [ebp - 0x20c], dx
lea eax, [ebp - 0x414]
mov ecx, 0x10044c28
lea edx, [ebp - 0x20c]
call fcn.10015110
push 0x10045d04
push eax
lea ecx, [ebp - 0x32fc]
push ecx
call fcn.10027398
add esp, 0xc
test eax, eax
je 0x1000ac6f
xor eax, eax
pop edi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002656f
mov esp, ebp
pop ebp
ret
push ebx
push esi
lea esi, [ebp - 0x32f4]
sub esi, 0x78
lea ebx, [ebx]
mov ebx, dword [ebp - 0x32fc]
add esi, 0x78
mov eax, 0x3c
mov ecx, esi
inc edi
call fcn.10015250
test eax, eax
jne 0x1000ac80
mov edx, dword [ebp - 0x32fc]
push edx
call fcn.100277b9
add esp, 4
dec edi
pop esi
mov dword [ebp - 0x32f8], edi
pop ebx
js 0x1000ac5e
push 0
call fcn.10027bf2
push eax
call fcn.10027bbf
call fcn.10027bd1
mov dword [ebp - 0x3300], eax
fild dword [ebp - 0x3300]
test eax, eax
jns 0x1000acdc
fadd qword [0x10049858]
fmul qword [0x10049850]
fimul dword [ebp - 0x32f8]
fnstcw word [ebp - 0x32f6]
movzx eax, word [ebp - 0x32f6]
or eax, 0xc00
mov dword [ebp - 0x3300], eax
fldcw word [ebp - 0x3300]
fistp qword [ebp - 0x3304]
mov eax, dword [ebp - 0x3304]
mov ecx, eax
shl ecx, 4
fldcw word [ebp - 0x32f6]
sub ecx, eax
mov eax, dword [ebp - 0x3308]
lea edx, [ebp + ecx*8 - 0x32f4]
push edx
push 0x3c
push eax
call fcn.10026c57
mov ecx, dword [ebp - 4]
add esp, 0x14
xor ecx, ebp
mov eax, 1
pop edi
call fcn.1002656f
mov esp, ebp
pop ebp
ret
Function at 0x1000dfb0
Capabilities:
Create directory
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
lea eax, [ebp - 0x418]
push eax
push 0x1a
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderLocation]
test eax, eax
jne 0x1000e0f0
mov edx, dword [ebp - 0x418]
lea ecx, [ebp - 0x414]
push ecx
push edx
call dword [sym.imp.SHELL32.dll_SHGetPathFromIDListW]
test eax, eax
je 0x1000e0f0
xor eax, eax
lea ebx, [ebx]
movzx ecx, word [ebp + eax - 0x414]
mov word [ebp + eax - 0x20c], cx
add eax, 2
test cx, cx
jne 0x1000e000
lea eax, [ebp - 0x20c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e021
sub eax, edx
sar eax, 1
cmp word [ebp + eax*2 - 0x20e], 0x5c
je 0x1000e059
push edi
lea edi, [ebp - 0x20c]
add edi, 0xfffffffe
mov ax, word [edi + 2]
add edi, 2
test ax, ax
jne 0x1000e045
mov eax, dword [0x10045c7c]
mov dword [edi], eax
pop edi
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x1000e062
mov ecx, dword [str.Kuao_]
mov edx, dword [0x10045f1c]
push esi
mov esi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
mov dword [eax], ecx
mov ecx, dword [0x10045f20]
mov dword [eax + 4], edx
push 0
lea edx, [ebp - 0x20c]
push edx
mov dword [eax + 8], ecx
call esi
lea eax, [ebp - 0x20c]
add eax, 0xfffffffe
mov cx, word [eax + 2]
add eax, 2
test cx, cx
jne 0x1000e0a3
mov ecx, dword [str.Data_]
mov edx, dword [0x10045f28]
mov dword [eax], ecx
mov ecx, dword [0x10045f2c]
mov dword [eax + 4], edx
push 0
lea edx, [ebp - 0x20c]
push edx
mov dword [eax + 8], ecx
call esi
lea eax, [ebp - 0x20c]
mov edx, ebx
mov ecx, eax
sub edx, ecx
pop esi
movzx ecx, word [eax]
mov word [edx + eax], cx
add eax, 2
test cx, cx
jne 0x1000e0e1
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002656f
mov esp, ebp
pop ebp
ret
Function at 0x1000e100
Capabilities:
Create directory

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x418
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20a]
push ecx
xor esi, esi
mov word [ebp - 0x20c], ax
call fcn.1002a830
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x412]
push eax
mov word [ebp - 0x414], dx
call fcn.1002a830
add esp, 0x18
lea ebx, [ebp - 0x20c]
call fcn.1000dfb0
mov eax, ebx
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x1000e161
mov edi, dword [sym.imp.KERNEL32.dll_CreateDirectoryW]
sub eax, edx
sar eax, 1
je 0x1000e1fe
xor eax, eax
mov edi, edi
movzx ecx, word [ebp + eax - 0x20c]
mov word [eax + 0x1074bd50], cx
add eax, 2
test cx, cx
jne 0x1000e180
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push str._sDownLoad_
push edx
call fcn.10026910
add esp, 0xc
push 0
lea eax, [ebp - 0x414]
push eax
call edi
xor eax, eax
nop
movzx ecx, word [ebp + eax - 0x414]
mov word [eax + 0x1074bf58], cx
add eax, 2
test cx, cx
jne 0x1000e1c0
lea ecx, [ebp - 0x20c]
push ecx
push str._sTuiJian_
push 0x1074c980
call fcn.10026910
add esp, 0xc
push 0
push 0x1074c980
call edi
mov esi, 1
xor edx, edx
cmp dx, word [0x1074c570]
jne 0x1000e262
xor eax, eax
jmp 0x1000e210
movzx ecx, word [eax + str.http:__update.yuyu.com_jiekou]
mov word [eax + 0x1074c160], cx
add eax, 2
test cx, cx
jne 0x1000e210
xor eax, eax
jmp 0x1000e230
movzx ecx, word [eax + 0x10045f9c]
mov word [eax + 0x1074c368], cx
add eax, 2
test cx, cx
jne 0x1000e230
push 0x1074c368
push 0x1074c160
push str._s__s
push 0x1074c570
call fcn.10026910
add esp, 0x10
push 0x1074c570
push str._s_2.ini
push 0x1074c778
call fcn.10026910
add esp, 0xc
push 0
push 0x1074c980
call edi
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
pop esi
xor ecx, ebp
pop ebx
call fcn.1002656f
mov esp, ebp
pop ebp
ret
Function at 0x1000e5a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xa78
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push 0x24c
lea eax, [ebp - 0xa74]
push 0
push eax
mov dword [ebp - 0xa78], 0
call fcn.1002a830
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x61e]
push edx
mov word [ebp - 0x620], cx
call fcn.1002a830
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x20e]
push ecx
mov word [ebp - 0x210], ax
call fcn.1002a830
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x416]
push eax
mov word [ebp - 0x418], dx
call fcn.1002a830
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x826]
push edx
mov word [ebp - 0x828], cx
call fcn.1002a830
add esp, 0x3c
test esi, esi
je 0x1000e751
xor eax, eax
cmp ax, word [esi]
je 0x1000e751
test ebx, ebx
je 0x1000e751
xor ecx, ecx
cmp cx, word [ebx]
je 0x1000e751
test edi, edi
je 0x1000e751
xor edx, edx
cmp dx, word [edi]
je 0x1000e751
push 0x1074bd50
lea eax, [ebp - 0x620]
push str._s2.ini
push eax
call fcn.10026910
add esp, 0xc
lea ecx, [ebp - 0x620]
push ecx
push 0x104
lea edx, [ebp - 0x210]
push edx
push 0x10045a28
push esi
push str.File
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
xor eax, eax
cmp ax, word [ebp - 0x210]
je 0x1000e751
lea ecx, [ebp - 0x210]
push edi
push ecx
call fcn.10026b57
add esp, 8
test eax, eax
jne 0x1000e751
push edi
push 0x1074bd50
lea edx, [ebp - 0x418]
push str._s_s
push edx
call fcn.10026910
add esp, 0x10
lea eax, [ebp - 0xa78]
push eax
lea ecx, [ebp - 0x418]
push ecx
call dword [sym.imp.KERNEL32.dll_FindFirstFileW]
cmp eax, 0xffffffff
je 0x1000e751
push eax
call dword [sym.imp.KERNEL32.dll_FindClose]
lea edx, [ebp - 0x828]
push edx
lea ecx, [ebp - 0x418]
call fcn.1000e770
xor eax, eax
add esp, 4
cmp ax, word [ebx]
je 0x1000e751
lea ecx, [ebp - 0x828]
push ecx
push ebx
call fcn.10026b57
add esp, 8
neg eax
sbb eax, eax
inc eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002656f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
xor ecx, ebp
xor eax, eax
call fcn.1002656f
mov esp, ebp
pop ebp
ret
Function at 0x1000e770
Capabilities:
Get file size

Disassembly:
push ebp
mov ebp, esp
push ecx
test ecx, ecx
je 0x1000e872
mov eax, dword [ebp + 8]
test eax, eax
je 0x1000e872
push esi
xor edx, edx
push edx
push 0x80
push 3
push edx
push 1
push 0xc0000000
push ecx
mov word [eax], dx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, 0xffffffff
je 0x1000e871
push 0
push esi
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 4], eax
cmp eax, 1
jb 0x1000e871
push edi
push 0
push 0
push 0
push 4
push 0
push esi
call dword [sym.imp.KERNEL32.dll_CreateFileMappingW]
mov edi, eax
test edi, edi
jne 0x1000e7e9
test esi, esi
je 0x1000e7e9
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
push ebx
push 0
push 0
push 0
push 0xf001f
push edi
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov ebx, eax
test ebx, ebx
jne 0x1000e81c
test edi, edi
je 0x1000e80f
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor edi, edi
test esi, esi
je 0x1000e81c
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
call fcn.1000ad50
mov eax, dword [ebp - 4]
push ebx
call fcn.1000ad90
add esp, 4
cmp dword [0x1033f8c8], 0
jne 0x1000e845
mov dword [0x1033f8c8], 1
call fcn.1000ae40
mov ecx, dword [ebp + 8]
mov eax, 0x1033f910
call fcn.1000b660
push ebx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
pop ebx
test edi, edi
je 0x1000e865
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop edi
test esi, esi
je 0x1000e871
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
pop esi
mov esp, ebp
pop ebp
ret
Function at 0x1000eb50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x824
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x822]
push ecx
mov word [ebp - 0x824], ax
call fcn.1002a830
xor edx, edx
push 0x206
push edx
lea eax, [ebp - 0x61a]
push eax
mov word [ebp - 0x61c], dx
call fcn.1002a830
xor ecx, ecx
push 0x206
push ecx
lea edx, [ebp - 0x20a]
push edx
mov word [ebp - 0x20c], cx
call fcn.1002a830
xor eax, eax
push 0x206
push eax
lea ecx, [ebp - 0x412]
push ecx
mov word [ebp - 0x414], ax
call fcn.1002a830
push 0x1074bd50
lea edx, [ebp - 0x824]
push str._s2.ini
push edx
call fcn.10026910
push 0x1074bf58
lea eax, [ebp - 0x61c]
push str._s2.ini
push eax
call fcn.10026910
mov ecx, dword [ebp + 8]
add esp, 0x48
push ecx
lea edx, [ebp - 0x414]
push 0x10045fe4
push edx
call fcn.10026910
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
add esp, 0xc
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x10045a28
lea edx, [ebp - 0x414]
push edx
push str.File
call esi
cmp word [ebp - 0x20c], 0
mov edi, dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
je 0x1000ec70
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
push str.File
call edi
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x10045a28
lea edx, [ebp - 0x414]
push edx
push 0x10046010
call esi
cmp word [ebp - 0x20c], 0
je 0x1000ecbc
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
push 0x10046010
call edi
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x10045a28
lea edx, [ebp - 0x414]
push edx
push str.Check
call esi
cmp word [ebp - 0x20c], 0
je 0x1000ed08
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
push str.Check
call edi
lea eax, [ebp - 0x61c]
push eax
push 0x104
lea ecx, [ebp - 0x20c]
push ecx
push 0x10045a28
lea edx, [ebp - 0x414]
push edx
push str.Flag
call esi
cmp word [ebp - 0x20c], 0
je 0x1000ed54
lea eax, [ebp - 0x824]
push eax
lea ecx, [ebp - 0x20c]
push ecx
lea edx, [ebp - 0x414]
push edx
push str.Flag
call edi
mov ecx, dword [ebp - 4]
pop edi
xor ecx, ebp
xor eax, eax
pop esi
call fcn.1002656f
mov esp, ebp
pop ebp
ret
Function at 0x1000f290
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
sub esp, 0x840
mov eax, dword [0x10050050]
xor eax, esp
mov dword [esp + 0x83c], eax
push esi
push edi
xor eax, eax
xor ecx, ecx
push 0x206
push ecx
lea edx, [esp + 0x2a]
push edx
xor edi, edi
mov word [esp + 0x1c], ax
mov dword [esp + 0x1e], eax
mov dword [esp + 0x22], eax
mov dword [esp + 0x26], eax
mov word [esp + 0x2a], ax
mov word [esp + 0x2c], cx
call fcn.1002a830
add esp, 0xc
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x43a]
push ecx
mov word [esp + 0x43c], ax
call fcn.1002a830
add esp, 0xc
xor edx, edx
push 0x206
push edx
lea eax, [esp + 0x232]
push eax
mov word [esp + 0x234], dx
call fcn.1002a830
add esp, 0xc
lea esi, [esp + 0x638]
mov dword [esp + 0xc], 0xffffffff
call fcn.100150d0
test eax, eax
je 0x1000f348
lea eax, [esp + 0x20]
mov ecx, str.kuaodata_settingTJ.ini
mov edx, esi
call fcn.10015110
lea ecx, [esp + 0x20]
push ecx
push 0x104
lea edx, [esp + 0x438]
push edx
push 0x10045a28
push 0x100460c4
push str.SBA2
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0xc]
push eax
lea ecx, [esp + 0x434]
push 0x10045fe4
push ecx
call fcn.10027ffc
add esp, 0xc
lea edx, [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
movzx eax, word [esp + 0x16]
cmp dword [esp + 0xc], eax
je 0x1000f3e0
push eax
lea eax, [esp + 0x22c]
push 0x10045fe4
push eax
call fcn.10026910
add esp, 0xc
lea ecx, [esp + 0x20]
push ecx
lea edx, [esp + 0x22c]
push edx
push 0x100460c4
push str.SBA2
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
call fcn.1000f030
test eax, eax
mov eax, 1
jne 0x1000f3e2
mov eax, edi
mov ecx, dword [esp + 0x844]
pop edi
pop esi
xor ecx, esp
call fcn.1002656f
mov esp, ebp
pop ebp
ret

Function at 0x1000f5c0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1e4
lea eax, [ebp - 0x1e8]
push 0
mov ecx, 9
mov esi, str.Softwarekuaosrf_
lea edi, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], 0
rep movsd dword es:[edi], dword [esi]
call fcn.1002a830
add esp, 0xc
mov esi, 0x104
mov dword [ebp - 0x214], esi
test ebx, ebx
jne 0x1000f629
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002656f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x218]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x20c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f6a2
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push eax
push ebx
push 0
push 0
push str.time
push ecx
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000f67f
mov dword [ebp - 0x210], 0xfffffffd
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002656f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x210], 0xfffffffe
mov eax, dword [ebp - 0x210]
pop edi
xor ecx, ebp
pop esi
call fcn.1002656f
mov esp, ebp
pop ebp
ret
Function at 0x1000f6d0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x218
mov eax, dword [0x10050050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
push edi
push 0x1e4
lea eax, [ebp - 0x1e8]
push 0
mov ecx, 9
mov esi, str.Softwarekuaosrf_
lea edi, [ebp - 0x20c]
push eax
mov dword [ebp - 0x210], 0
rep movsd dword es:[edi], dword [esi]
call fcn.1002a830
add esp, 0xc
mov esi, 0x104
mov dword [ebp - 0x214], esi
test ebx, ebx
jne 0x1000f739
pop edi
or eax, 0xffffffff
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002656f
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x218]
push ecx
push 0x20019
push 0
lea edx, [ebp - 0x20c]
push edx
push 0x80000002
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x1000f7b2
mov ecx, dword [ebp - 0x218]
lea eax, [ebp - 0x214]
push eax
push ebx
push 0
push 0
push str.name
push ecx
mov dword [ebp - 0x214], esi
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
test eax, eax
je 0x1000f78f
mov dword [ebp - 0x210], 0xfffffffd
mov edx, dword [ebp - 0x218]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, dword [ebp - 0x210]
pop edi
pop esi
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.1002656f
mov esp, ebp
pop ebp
ret
mov ecx, dword [ebp - 4]
mov dword [ebp - 0x210], 0xfffffffe
mov eax, dword [ebp - 0x210]
pop edi
xor ecx, ebp
pop esi
call fcn.1002656f
mov esp, ebp
pop ebp
ret