joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4102c450
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp qword [rcx + 0x70], 8
mov rbx, rcx
jb 0x4102c484
mov r8, qword [rcx + 0x58]
jmp 0x4102c488
lea r8, [rcx + 0x58]
lea r9, str.Config
lea rdx, [0x4129a1b0]
lea rcx, [rsp + 0x20]
call fcn.412122b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102c4b9
lea rcx, [rsp + 0x20]
call fcn.410522e0
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
mov rax, qword [str.Related.ini]
or rcx, 0xffffffffffffffff
mov qword [rdi - 2], rax
mov rax, qword [0x4129a2f8]
add rbx, 0x140
mov rdx, qword [rbx + 0x20]
mov qword [rdi + 6], rax
mov rax, qword [0x4129a300]
mov qword [rdi + 0xe], rax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
cmp rdx, 8
not rcx
lea rsi, [rcx - 1]
jb 0x4102c518
mov rax, qword [rbx + 8]
lea rdi, [rbx + 8]
jmp 0x4102c51f
lea rdi, [rbx + 8]
mov rax, rdi
lea rcx, [rsp + 0x20]
cmp rcx, rax
jb 0x4102c570
cmp rdx, 8
jb 0x4102c534
mov rcx, qword [rdi]
jmp 0x4102c537
mov rcx, rdi
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x4102c570
cmp rdx, 8
jb 0x4102c552
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
mov r9, rsi
mov rdx, rbx
sub r8, rdi
mov rcx, rbx
sar r8, 1
call fcn.41022de0
jmp 0x4102c604
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x4102c584
call fcn.4120fbc0
mov rax, qword [rbx + 0x20]
cmp rax, rsi
jae 0x4102c5b8
mov r8, qword [rbx + 0x18]
mov rdx, rsi
mov rcx, rbx
call fcn.41022ab0
test rsi, rsi
je 0x4102c604
mov rdx, qword [rbx + 0x20]
mov qword [rsp + 0x258], rbp
cmp rdx, 8
jb 0x4102c5d1
mov rcx, qword [rdi]
jmp 0x4102c5d4
test rsi, rsi
jne 0x4102c59c
cmp rax, 8
mov qword [rbx + 0x18], rsi
jb 0x4102c5ca
mov rdi, qword [rdi]
mov word [rdi], 0
jmp 0x4102c604
mov rcx, rdi
lea rbp, [rsi + rsi]
lea r8, [rsp + 0x20]
add rdx, rdx
mov r9, rbp
call fcn.412118b0
cmp qword [rbx + 0x20], 8
mov qword [rbx + 0x18], rsi
jb 0x4102c5f6
mov rdi, qword [rdi]
mov word [rdi + rbp], 0
mov rbp, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.41211b80
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x4102c970
Capabilities:
Check if file exists

Disassembly:
mov qword [rsp + 0x18], rbx
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x240
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x230], rax
cmp qword [rcx + 0x70], 8
mov rbx, rcx
jb 0x4102c9a4
mov r8, qword [rcx + 0x58]
jmp 0x4102c9a8
lea r8, [rcx + 0x58]
lea r9, str.UseData
lea rdx, [0x4129a1b0]
lea rcx, [rsp + 0x20]
call fcn.412122b0
lea rcx, [rsp + 0x20]
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102c9d9
lea rcx, [rsp + 0x20]
call fcn.410522e0
or rcx, 0xffffffffffffffff
xor eax, eax
add rbx, 0x208
mov rdx, qword [rbx + 0x20]
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
cmp rdx, 8
not rcx
lea rsi, [rcx - 1]
jb 0x4102ca09
mov rax, qword [rbx + 8]
lea rdi, [rbx + 8]
jmp 0x4102ca10
lea rdi, [rbx + 8]
mov rax, rdi
lea rcx, [rsp + 0x20]
cmp rcx, rax
jb 0x4102ca61
cmp rdx, 8
jb 0x4102ca25
mov rcx, qword [rdi]
jmp 0x4102ca28
mov rcx, rdi
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x4102ca61
cmp rdx, 8
jb 0x4102ca43
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
mov r9, rsi
mov rdx, rbx
sub r8, rdi
mov rcx, rbx
sar r8, 1
call fcn.41022de0
jmp 0x4102caf5
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x4102ca75
call fcn.4120fbc0
mov rax, qword [rbx + 0x20]
cmp rax, rsi
jae 0x4102caa9
mov r8, qword [rbx + 0x18]
mov rdx, rsi
mov rcx, rbx
call fcn.41022ab0
test rsi, rsi
je 0x4102caf5
mov rdx, qword [rbx + 0x20]
mov qword [rsp + 0x258], rbp
cmp rdx, 8
jb 0x4102cac2
mov rcx, qword [rdi]
jmp 0x4102cac5
test rsi, rsi
jne 0x4102ca8d
cmp rax, 8
mov qword [rbx + 0x18], rsi
jb 0x4102cabb
mov rdi, qword [rdi]
mov word [rdi], 0
jmp 0x4102caf5
mov rcx, rdi
lea rbp, [rsi + rsi]
lea r8, [rsp + 0x20]
add rdx, rdx
mov r9, rbp
call fcn.412118b0
cmp qword [rbx + 0x20], 8
mov qword [rbx + 0x18], rsi
jb 0x4102cae7
mov rdi, qword [rdi]
mov word [rdi + rbp], 0
mov rbp, qword [rsp + 0x258]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.41211b80
lea r11, [rsp + 0x240]
mov rbx, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x4102dd50
Capabilities:
Enumerate processes

Disassembly:
mov qword [rsp + 0x10], rbx
mov qword [rsp + 0x18], rbp
mov qword [rsp + 0x20], rsi
push rdi
sub rsp, 0x480
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbp, rcx
lea rcx, [rsp + 0x262]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x260], 0
call fcn.412121c0
call qword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
lea rcx, [rsp + 0x24]
xor edi, edi
xor edx, edx
mov r8d, 0x234
mov ebx, eax
mov dword [rsp + 0x20], edi
call fcn.412121c0
lea ecx, [rdi + 2]
xor edx, edx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
cmp rax, 0xffffffffffffffff
mov rsi, rax
je 0x4102de5e
lea rdx, [rsp + 0x20]
mov rcx, rax
mov dword [rsp + 0x20], 0x238
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4102de26
nop
nop
cmp dword [rsp + 0x28], ebx
je 0x4102de10
lea rdx, [rsp + 0x20]
mov rcx, rsi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4102ddf0
jmp 0x4102de26
movzx eax, word [rsp + rdi + 0x4c]
add rdi, 2
test ax, ax
mov word [rsp + rdi + 0x25e], ax
jne 0x4102de10
mov rcx, rsi
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rsp + 0x260]
call fcn.412125d0
or rcx, 0xffffffffffffffff
mov rdx, rax
xor eax, eax
mov rdi, rdx
repne scasw ax, word [rdi]
not rcx
lea r8, [rcx - 1]
lea rcx, [rbp + 0x230]
call fcn.41024690
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.41211b80
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rbp, qword [r11 + 0x20]
mov rsi, qword [r11 + 0x28]
mov rsp, r11
pop rdi
ret
Function at 0x4102de90
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call fcn.412121c0
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
call fcn.4102a610
test al, al
jne 0x4102df13
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
je 0x4102e0b3
mov edx, dword [0x4129a2c0]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x260], rsi
repne scasw ax, word [rdi]
or rcx, 0xffffffffffffffff
mov dword [rdi - 2], edx
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
mov rax, qword [str.SmartCloudIME]
or rcx, 0xffffffffffffffff
mov qword [rdi - 2], rax
mov rax, qword [0x4129a3a0]
mov qword [rdi + 6], rax
mov rax, qword [0x4129a3a8]
mov qword [rdi + 0xe], rax
mov eax, dword [0x4129a3b0]
mov dword [rdi + 0x16], eax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
lea rcx, [rsp + 0x20]
mov dword [rdi - 2], edx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102df92
lea rcx, [rsp + 0x20]
call fcn.410522e0
mov rdx, qword [rbx + 0x70]
or rcx, 0xffffffffffffffff
xor eax, eax
add rbx, 0x50
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
cmp rdx, 8
not rcx
lea rsi, [rcx - 1]
jb 0x4102dfbf
mov rax, qword [rbx + 8]
lea rdi, [rbx + 8]
jmp 0x4102dfc6
lea rdi, [rbx + 8]
mov rax, rdi
lea rcx, [rsp + 0x20]
cmp rcx, rax
jb 0x4102e017
cmp rdx, 8
jb 0x4102dfdb
mov rcx, qword [rdi]
jmp 0x4102dfde
mov rcx, rdi
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x4102e017
cmp rdx, 8
jb 0x4102dff9
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
mov r9, rsi
mov rdx, rbx
sub r8, rdi
mov rcx, rbx
sar r8, 1
call fcn.41022de0
jmp 0x4102e0ab
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x4102e02b
call fcn.4120fbc0
mov rax, qword [rbx + 0x20]
cmp rax, rsi
jae 0x4102e05f
mov r8, qword [rbx + 0x18]
mov rdx, rsi
mov rcx, rbx
call fcn.41022ab0
test rsi, rsi
je 0x4102e0ab
mov rdx, qword [rbx + 0x20]
mov qword [rsp + 0x258], rbp
cmp rdx, 8
jb 0x4102e078
mov rcx, qword [rdi]
jmp 0x4102e07b
test rsi, rsi
jne 0x4102e043
cmp rax, 8
mov qword [rbx + 0x18], rsi
jb 0x4102e071
mov rdi, qword [rdi]
mov word [rdi], 0
jmp 0x4102e0ab
mov rcx, rdi
lea rbp, [rsi + rsi]
lea r8, [rsp + 0x20]
add rdx, rdx
mov r9, rbp
call fcn.412118b0
cmp qword [rbx + 0x20], 8
mov qword [rbx + 0x18], rsi
jb 0x4102e09d
mov rdi, qword [rdi]
mov word [rdi + rbp], 0
mov rbp, qword [rsp + 0x258]
mov rsi, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop rdi
ret
Function at 0x4102e0e0
Capabilities:
Check if file exists
Get common file path

Disassembly:
mov qword [rsp + 0x20], rbx
push rdi
sub rsp, 0x240
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x230], rax
mov rbx, rcx
lea rcx, [rsp + 0x22]
xor edx, edx
mov r8d, 0x206
mov word [rsp + 0x20], 0
call fcn.412121c0
lea rdx, [rsp + 0x20]
mov r8d, 0x104
mov rcx, rbx
call fcn.4102a610
test al, al
jne 0x4102e163
xor r9d, r9d
lea rdx, [rsp + 0x20]
xor ecx, ecx
lea r8d, [r9 + 0x1a]
call qword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
or rcx, 0xffffffffffffffff
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
not rcx
sub rcx, 1
test ecx, ecx
je 0x4102e310
mov edx, dword [0x4129a2c0]
xor eax, eax
or rcx, 0xffffffffffffffff
lea rdi, [rsp + 0x20]
mov qword [rsp + 0x260], rsi
repne scasw ax, word [rdi]
or rcx, 0xffffffffffffffff
mov dword [rdi - 2], edx
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
mov rax, qword [str.SmartCloudIME.users]
or rcx, 0xffffffffffffffff
mov qword [rdi - 2], rax
mov rax, qword [0x4129a3c0]
mov qword [rdi + 6], rax
mov rax, qword [0x4129a3c8]
mov qword [rdi + 0xe], rax
mov rax, qword [0x4129a3d0]
mov qword [rdi + 0x16], rax
mov rax, qword [0x4129a3d8]
mov qword [rdi + 0x1e], rax
xor eax, eax
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
lea rcx, [rsp + 0x20]
mov dword [rdi - 2], edx
call qword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x4102e1ef
lea rcx, [rsp + 0x20]
call fcn.410522e0
mov rdx, qword [rbx + 0x48]
or rcx, 0xffffffffffffffff
xor eax, eax
add rbx, 0x28
lea rdi, [rsp + 0x20]
repne scasw ax, word [rdi]
cmp rdx, 8
not rcx
lea rsi, [rcx - 1]
jb 0x4102e21c
mov rax, qword [rbx + 8]
lea rdi, [rbx + 8]
jmp 0x4102e223
lea rdi, [rbx + 8]
mov rax, rdi
lea rcx, [rsp + 0x20]
cmp rcx, rax
jb 0x4102e274
cmp rdx, 8
jb 0x4102e238
mov rcx, qword [rdi]
jmp 0x4102e23b
mov rcx, rdi
mov rax, qword [rbx + 0x18]
lea rcx, [rcx + rax*2]
lea rax, [rsp + 0x20]
cmp rcx, rax
jbe 0x4102e274
cmp rdx, 8
jb 0x4102e256
mov rdi, qword [rdi]
lea r8, [rsp + 0x20]
mov r9, rsi
mov rdx, rbx
sub r8, rdi
mov rcx, rbx
sar r8, 1
call fcn.41022de0
jmp 0x4102e308
movabs rax, 0x7ffffffffffffffe
cmp rsi, rax
jbe 0x4102e288
call fcn.4120fbc0
mov rax, qword [rbx + 0x20]
cmp rax, rsi
jae 0x4102e2bc
mov r8, qword [rbx + 0x18]
mov rdx, rsi
mov rcx, rbx
call fcn.41022ab0
test rsi, rsi
je 0x4102e308
mov rdx, qword [rbx + 0x20]
mov qword [rsp + 0x258], rbp
cmp rdx, 8
jb 0x4102e2d5
mov rcx, qword [rdi]
jmp 0x4102e2d8
test rsi, rsi
jne 0x4102e2a0
cmp rax, 8
mov qword [rbx + 0x18], rsi
jb 0x4102e2ce
mov rdi, qword [rdi]
mov word [rdi], 0
jmp 0x4102e308
mov rcx, rdi
lea rbp, [rsi + rsi]
lea r8, [rsp + 0x20]
add rdx, rdx
mov r9, rbp
call fcn.412118b0
cmp qword [rbx + 0x20], 8
mov qword [rbx + 0x18], rsi
jb 0x4102e2fa
mov rdi, qword [rdi]
mov word [rdi + rbp], 0
mov rbp, qword [rsp + 0x258]
mov rsi, qword [rsp + 0x260]
mov rcx, qword [rsp + 0x230]
xor rcx, rsp
call fcn.41211b80
mov rbx, qword [rsp + 0x268]
add rsp, 0x240
pop rdi
ret
Function at 0x41031090
Capabilities:
Terminate thread

Disassembly:
push rbx
sub rsp, 0x20
mov rbx, rcx
mov rcx, qword [rcx]
lea rdx, [rsp + 0x30]
mov dword [rsp + 0x30], 0
call qword [sym.imp.KERNEL32.dll_GetExitCodeThread]
mov edx, dword [rsp + 0x30]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_TerminateThread]
mov rcx, qword [rbx]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
lea rcx, [rbx + 0x10]
mov qword [rbx], 0
add rsp, 0x20
pop rbx
jmp 0x41042b60
lea rax, [0x4129bb68]
mov qword [rcx], rax
ret

Function at 0x410316b0
Capabilities:
Log keystrokes via polling

Disassembly:
push rdi
sub rsp, 0x30
mov qword [rsp + 0x20], 0xfffffffffffffffe
mov qword [rsp + 0x40], rbx
mov ecx, 0x10
call qword [sym.imp.USER32.dll_GetKeyState]
movzx ebx, ax
mov ecx, 0x11
call qword [sym.imp.USER32.dll_GetKeyState]
movzx edi, ax
test bx, bx
jns 0x41031723
mov rax, qword [0x4135c000]
test rax, rax
jne 0x41031716
lea ecx, [rax + 1]
call fcn.41211580
mov qword [rsp + 0x48], rax
test rax, rax
je 0x4103170d
mov rcx, rax
call fcn.4106efe0
jmp 0x4103170f
xor eax, eax
mov qword [0x4135c000], rax
mov edx, 1
mov rcx, rax
call fcn.41095e20
test di, di
jns 0x41031766
mov rax, qword [0x4135c000]
test rax, rax
jne 0x41031759
lea ecx, [rax + 1]
call fcn.41211580
mov qword [rsp + 0x48], rax
test rax, rax
je 0x41031750
mov rcx, rax
call fcn.4106efe0
jmp 0x41031752
xor eax, eax
mov qword [0x4135c000], rax
mov edx, 1
mov rcx, rax
call fcn.41095ea0
mov rax, qword [0x4135c020]
test rax, rax
jne 0x41031797
lea ecx, [rax + 0x20]
call fcn.41211580
mov qword [rsp + 0x48], rax
test rax, rax
je 0x4103178e
mov rcx, rax
call fcn.4111c370
jmp 0x41031790
xor eax, eax
mov qword [0x4135c020], rax
mov edx, 1
mov rcx, rax
call fcn.4111d920
mov rax, qword [0x4135c080]
test rax, rax
jne 0x410317d7
mov ecx, 0x1a0
call fcn.41211580
mov qword [rsp + 0x48], rax
test rax, rax
je 0x410317ce
mov rcx, rax
call fcn.4110b220
jmp 0x410317d0
xor eax, eax
mov qword [0x4135c080], rax
mov edx, 1
mov rcx, rax
call fcn.410f81d0
mov rbx, qword [rsp + 0x40]
add rsp, 0x30
pop rdi
jmp fcn.411336d0
Function at 0x41031b70
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 0x10], rbx
mov qword [rax + 0x18], rsi
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x470], rax
mov rbx, rcx
cmp dword [rcx + 0xc], 0
je 0x41031bb8
lea rcx, str.Already_Opertor
call fcn.41050860
jmp 0x41031dec
mov rax, qword [0x4135c018]
test rax, rax
jne 0x41031beb
mov ecx, 0x2d0
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41031be2
mov rcx, rax
call fcn.410228e0
jmp 0x41031be4
xor eax, eax
mov qword [0x4135c018], rax
mov rcx, rax
call fcn.4102a810
mov rdi, rax
call fcn.410375d0
mov esi, eax
mov r9, rdi
or r8d, 0xffffffff
lea rdx, str.SrfSoftOpertorDate
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
je 0x41031dec
mov word [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x32], rax
mov qword [rsp + 0x3a], rax
mov word [rsp + 0x42], ax
mov r8d, esi
lea rdx, [0x412cafe4]
lea rcx, [rsp + 0x30]
call fcn.412122b0
mov r9, rdi
lea r8, [rsp + 0x30]
lea rdx, str.SrfSoftOpertorDate
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov word [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.412121c0
mov word [rsp + 0x260], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x262]
call fcn.412121c0
mov rax, qword [0x4135c018]
test rax, rax
jne 0x41031cd3
mov ecx, 0x2d0
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41031cca
mov rcx, rax
call fcn.410228e0
jmp 0x41031ccc
xor eax, eax
mov qword [0x4135c018], rax
mov rcx, rax
call fcn.4102a750
lea rdx, [rsp + 0x260]
nop
nop
nop
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x41031cf0
lea rdi, [rsp + 0x260]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [0x4129a718]
mov qword [rdi - 2], rax
mov rax, qword [0x4129a720]
mov qword [rdi + 6], rax
mov rax, qword [0x4129a728]
mov qword [rdi + 0xe], rax
movzx eax, word [0x4129a730]
mov word [rdi + 0x16], ax
lea rdi, [rsp + 0x50]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov eax, dword [0x4129a714]
mov dword [rdi - 2], eax
lea rdi, [rsp + 0x50]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
lea r8, [rsp + 0x260]
xor edx, edx
nop
movzx eax, word [r8 + rdx]
mov word [rdi + rdx - 2], ax
add rdx, 2
test ax, ax
jne 0x41031d70
lea rdi, [rsp + 0x50]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.__SoftExtraOperate_1]
mov qword [rdi - 2], rax
mov rax, qword [0x4129a6f0]
mov qword [rdi + 6], rax
mov rax, qword [0x4129a6f8]
mov qword [rdi + 0xe], rax
mov rax, qword [0x4129a700]
mov qword [rdi + 0x16], rax
mov rax, qword [0x4129a708]
mov qword [rdi + 0x1e], rax
movzx eax, word [0x4129a710]
mov word [rdi + 0x26], ax
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x50]
call fcn.4103a4d0
mov dword [rbx + 0xc], 1
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.41211b80
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x18]
mov rsi, qword [r11 + 0x20]
mov rsp, r11
pop rdi
ret
Function at 0x41031e60
Capabilities:
Read .ini file

Disassembly:
mov rax, rsp
push rdi
sub rsp, 0x480
mov qword [rsp + 0x28], 0xfffffffffffffffe
mov qword [rax + 8], rbx
mov qword [rax + 0x10], rsi
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x470], rax
xor ebx, ebx
mov rax, qword [0x4135c018]
test rax, rax
jne 0x41031ec4
mov ecx, 0x2d0
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41031eba
mov rcx, rax
call fcn.410228e0
jmp 0x41031ebd
mov rax, rbx
mov qword [0x4135c018], rax
mov rcx, rax
call fcn.4102a810
mov rdi, rax
call fcn.410375d0
mov esi, eax
mov r9, rdi
or r8d, 0xffffffff
lea rdx, str.SrfUpOnlineData
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
je 0x410320d9
mov word [rsp + 0x30], 0
xor eax, eax
mov qword [rsp + 0x32], rax
mov qword [rsp + 0x3a], rax
mov word [rsp + 0x42], ax
mov r8d, esi
lea rdx, [0x412cafe4]
lea rcx, [rsp + 0x30]
call fcn.412122b0
mov r9, rdi
lea r8, [rsp + 0x30]
lea rdx, str.SrfUpOnlineData
lea rcx, str.Setting
call qword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov word [rsp + 0x260], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x262]
call fcn.412121c0
mov word [rsp + 0x50], 0
xor edx, edx
mov r8d, 0x206
lea rcx, [rsp + 0x52]
call fcn.412121c0
mov rax, qword [0x4135c018]
test rax, rax
jne 0x41031fad
mov ecx, 0x2d0
call fcn.41211580
mov qword [rsp + 0x20], rax
test rax, rax
je 0x41031fa3
mov rcx, rax
call fcn.410228e0
jmp 0x41031fa6
mov rax, rbx
mov qword [0x4135c018], rax
mov rcx, rax
call fcn.4102a750
lea rdx, [rsp + 0x50]
nop
nop
movzx ecx, word [rax]
mov word [rdx], cx
add rax, 2
add rdx, 2
test cx, cx
jne 0x41031fc0
lea rdi, [rsp + 0x50]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [0x4129a718]
mov qword [rdi - 2], rax
mov rax, qword [0x4129a720]
mov qword [rdi + 6], rax
mov rax, qword [0x4129a728]
mov qword [rdi + 0xe], rax
movzx eax, word [0x4129a730]
mov word [rdi + 0x16], ax
lea rcx, [0x4129a714]
nop
nop
nop
movzx eax, word [rbx + rcx]
mov word [rsp + rbx + 0x260], ax
add rbx, 2
test ax, ax
jne 0x41032020
lea rdi, [rsp + 0x260]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
lea r8, [rsp + 0x50]
xor edx, edx
nop
movzx eax, word [r8 + rdx]
mov word [rdi + rdx - 2], ax
add rdx, 2
test ax, ax
jne 0x41032050
lea rdi, [rsp + 0x260]
xor eax, eax
or rcx, 0xffffffffffffffff
repne scasw ax, word [rdi]
mov rax, qword [str.__UpOnlineData_1]
mov qword [rdi - 2], rax
mov rax, qword [0x4129a7c0]
mov qword [rdi + 6], rax
mov rax, qword [0x4129a7c8]
mov qword [rdi + 0xe], rax
mov rax, qword [0x4129a7d0]
mov qword [rdi + 0x16], rax
movzx eax, word [0x4129a7d8]
mov word [rdi + 0x1e], ax
mov ecx, 0x7d0
call qword [sym.imp.KERNEL32.dll_Sleep]
lea rcx, [rsp + 0x50]
call fcn.41036010
test eax, eax
je 0x410320d9
xor r9d, r9d
xor r8d, r8d
xor edx, edx
lea rcx, [rsp + 0x260]
call fcn.4103a4d0
mov rcx, qword [rsp + 0x470]
xor rcx, rsp
call fcn.41211b80
lea r11, [rsp + 0x480]
mov rbx, qword [r11 + 0x10]
mov rsi, qword [r11 + 0x18]
mov rsp, r11
pop rdi
ret
Function at 0x410330b0
Capabilities:
Create thread

Disassembly:
push rbx
sub rsp, 0x30
cmp qword [rcx], 0
mov rbx, rcx
jne 0x410330e7
lea rax, [rcx + 8]
mov r9, rcx
lea r8, [0x41033070]
mov qword [rsp + 0x28], rax
xor edx, edx
xor ecx, ecx
mov dword [rsp + 0x20], 0
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
add rsp, 0x30
pop rbx
ret

Function at 0x410330f0
Capabilities:
Create thread

Disassembly:
push rdi
sub rsp, 0x40
mov qword [rsp + 0x30], 0xfffffffffffffffe
mov qword [rsp + 0x58], rbx
mov rdi, rdx
mov rbx, rcx
mov rax, qword [0x4135c040]
test rax, rax
jne 0x4103313b
lea ecx, [rax + 8]
call fcn.41211580
mov qword [rsp + 0x50], rax
test rax, rax
je 0x41033132
mov rcx, rax
call fcn.4115bb10
jmp 0x41033134
xor eax, eax
mov qword [0x4135c040], rax
lea rdx, [rbx + 0x10]
mov rcx, rax
call fcn.41139c90
mov qword [rbx + 0x18], rdi
cmp dword [0x4135fa80], 0
jne 0x41033190
cmp qword [rbx], 0
jne 0x41033189
lea rax, [rbx + 8]
mov qword [rsp + 0x28], rax
mov dword [rsp + 0x20], 0
mov r9, rbx
lea r8, [0x41033070]
xor edx, edx
xor ecx, ecx
call qword [sym.imp.KERNEL32.dll_CreateThread]
mov qword [rbx], rax
mov eax, 1
jmp 0x41033195
mov eax, 1
jmp 0x41033195
mov eax, 1
mov rbx, qword [rsp + 0x58]
add rsp, 0x40
pop rdi
ret

Function at 0x41035b70
Capabilities:
Create process on windows

Disassembly:
push rbx
sub rsp, 0x8c0
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
xor edx, edx
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.412121c0
xor eax, eax
lea rdx, [0x4129b194]
lea rcx, [rsp + 0xe0]
mov r8, rbx
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.410035d0
lea r11, [rsp + 0x50]
lea rax, [rsp + 0x70]
mov qword [rsp + 0x48], r11
mov qword [rsp + 0x40], rax
xor eax, eax
mov qword [rsp + 0x38], rax
mov qword [rsp + 0x30], rax
mov dword [rsp + 0x28], eax
lea rdx, [rsp + 0xe0]
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41035c48
mov rcx, qword [rsp + 0x50]
or edx, 0xffffffff
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
lea rdx, [rsp + 0x68]
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x8c0
pop rbx
ret
Function at 0x41035c70
Capabilities:
Create process on windows

Disassembly:
push rbx
push rsi
push rdi
sub rsp, 0x8c0
mov rax, qword [0x41359af8]
xor rax, rsp
mov qword [rsp + 0x8b0], rax
mov rdi, rdx
xor edx, edx
mov esi, r8d
mov rbx, rcx
lea rcx, [rsp + 0x70]
lea r8d, [rdx + 0x68]
call fcn.412121c0
xor eax, eax
lea rdx, [0x4129b194]
lea rcx, [rsp + 0xe0]
mov r8, rbx
mov dword [rsp + 0x70], 0x68
mov qword [rsp + 0x50], rax
mov qword [rsp + 0x58], rax
mov qword [rsp + 0x60], rax
call fcn.410035d0
xor r11d, r11d
lea rax, [rsp + 0x50]
mov qword [rsp + 0x48], rax
lea rax, [rsp + 0x70]
lea rdx, [rsp + 0xe0]
mov qword [rsp + 0x40], rax
mov qword [rsp + 0x38], r11
mov qword [rsp + 0x30], r11
mov dword [rsp + 0x28], r11d
xor r9d, r9d
xor r8d, r8d
xor ecx, ecx
mov dword [rdi], r11d
mov dword [rsp + 0x20], 1
call qword [sym.imp.KERNEL32.dll_CreateProcessW]
test eax, eax
je 0x41035d57
mov rcx, qword [rsp + 0x50]
mov edx, esi
call qword [sym.imp.KERNEL32.dll_WaitForSingleObject]
mov rcx, qword [rsp + 0x50]
mov rdx, rdi
call qword [sym.imp.KERNEL32.dll_GetExitCodeProcess]
mov rcx, qword [rsp + 0x50]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov rcx, qword [rsp + 0x58]
call qword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, 1
mov rcx, qword [rsp + 0x8b0]
xor rcx, rsp
call fcn.41211b80
add rsp, 0x8c0
pop rdi
pop rsi
pop rbx
ret