joyce8/EMBER2024-capa huggingface dataset:
Function at 0x537fa0
Capabilities:
Check os version

Disassembly:
sub esp, 0x120
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x11c], eax
push esi
push edi
push 0x11c
xor esi, esi
lea eax, [esp + 0xc]
push esi
push eax
call fcn.005695a0
mov edi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea ecx, [esp + 8]
push ecx
mov dword [esp + 0xc], 0x11c
call edi
test eax, eax
jne 0x537ffb
lea edx, [esp + 8]
push edx
mov dword [esp + 0xc], 0x114
call edi
test eax, eax
je 0x5380ba
mov eax, dword [esp + 0x18]
mov edx, 1
sub eax, edx
je 0x5380a5
sub eax, edx
je 0x538017
xor esi, esi
jmp 0x5380ba
mov eax, dword [esp + 0xc]
cmp eax, 6
mov ecx, dword [esp + 0x10]
jne 0x538051
cmp ecx, edx
jne 0x53803b
xor eax, eax
cmp byte [esp + 0x122], dl
setne al
add eax, 8
mov esi, eax
jmp 0x5380ba
test ecx, ecx
jne 0x538089
cmp byte [esp + 0x122], dl
setne cl
lea ecx, [ecx + ecx + 7]
mov esi, ecx
jmp 0x5380ba
cmp eax, 5
jne 0x538078
mov eax, dword [esp + 0x10]
cmp eax, 2
jne 0x538064
lea esi, [eax + 3]
jmp 0x5380ba
cmp eax, edx
jne 0x53806f
mov esi, 6
jmp 0x5380ba
test eax, eax
jne 0x5380ba
lea esi, [eax + 3]
jmp 0x5380ba
cmp eax, 4
ja 0x538084
mov esi, 4
jmp 0x5380ba
cmp eax, 6
jb 0x5380ba
cmp ecx, 2
jae 0x538093
cmp eax, 6
jbe 0x5380ba
cmp byte [esp + 0x122], dl
jne 0x5380ba
call fcn.00537e20
mov esi, eax
jmp 0x5380ba
mov edx, dword [esp + 0x14]
and edx, 0xffff0000
cmp edx, 0x45a0000
sbb esi, esi
add esi, 2
mov ecx, dword [esp + 0x124]
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00564207
add esp, 0x120
ret
Function at 0x5380e0
Capabilities:
Check os version

Disassembly:
push 0xffffffffffffffff
push 0x590116
mov eax, dword fs:[0]
push eax
sub esp, 0x140
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x13c], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x154]
mov dword fs:[0], eax
mov eax, dword [esp + 0x168]
mov ebp, dword [esp + 0x164]
push 0x11c
xor ebx, ebx
lea ecx, [esp + 0x38]
push ebx
push ecx
mov dword [esp + 0x2c], eax
call fcn.005695a0
mov esi, dword [sym.imp.KERNEL32.dll_GetVersionExW]
add esp, 0xc
lea edx, [esp + 0x34]
push edx
mov dword [esp + 0x38], 0x11c
call esi
mov edi, eax
cmp edi, ebx
jne 0x538176
lea eax, [esp + 0x34]
push eax
mov dword [esp + 0x38], 0x114
call esi
mov edi, eax
cmp edi, ebx
je 0x538291
mov eax, dword [esp + 0x38]
cmp eax, 6
mov ecx, dword [esp + 0x3c]
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov dword [edx], ecx
jb 0x53828f
cmp ecx, 2
jae 0x53819e
cmp eax, 6
jbe 0x53828f
cmp byte [esp + 0x14e], 1
jne 0x53828f
lea eax, [esp + 0x18]
push eax
lea ecx, [esp + 0x18]
push ecx
lea esi, [esp + 0x2c]
mov dword [esp + 0x1c], ebx
mov dword [esp + 0x20], ebx
mov dword [esp + 0x2c], ebx
call fcn.00537c00
add esp, 8
test eax, eax
jne 0x53827e
lea ecx, [esp + 0x28]
mov dword [esp + 0x1c], ebx
call fcn.00537d30
push eax
lea edx, [esp + 0x30]
mov dword [esp + 0x160], ebx
push edx
mov ebx, str.ntoskrnl.exe
call fcn.00478cb0
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0x28]
mov byte [esp + 0x168], 1
mov eax, dword [eax]
push edx
push eax
call fcn.00537b50
mov esi, eax
mov byte [esp + 0x170], 0
mov eax, dword [esp + 0x40]
add eax, 0xfffffff0
add esp, 0x14
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x538241
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x15c], 0xffffffff
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53826c
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x53827e
mov ecx, dword [esp + 0x1c]
mov eax, ecx
shr eax, 0x10
movzx ecx, cx
jmp 0x538286
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x20]
mov dword [ebp], eax
mov dword [edx], ecx
mov eax, edi
mov ecx, dword [esp + 0x154]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x13c]
xor ecx, esp
call fcn.00564207
add esp, 0x14c
ret
Function at 0x538fb0
Capabilities:
Check if file exists
Get common file path
Get file attributes

Disassembly:
sub esp, 0x20c
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x208], eax
push esi
xor esi, esi
push 0x206
lea eax, [esp + 0xa]
push esi
push eax
mov word [esp + 0x10], si
call fcn.005695a0
add esp, 0xc
push 0x104
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.MacromedFlash
lea edx, [esp + 8]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 4]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x539050
lea eax, [esp + 4]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
cmp cx, si
jne 0x539016
sub eax, edx
sar eax, 1
push ebx
lea ecx, [esp + 8]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00480ff0
pop ebx
mov eax, 1
pop esi
mov ecx, dword [esp + 0x208]
xor ecx, esp
call fcn.00564207
add esp, 0x20c
ret
mov ecx, dword [esp + 0x20c]
mov eax, esi
pop esi
xor ecx, esp
call fcn.00564207
add esp, 0x20c
ret

Function at 0x539440
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x588158
mov eax, dword fs:[0]
push eax
push ecx
push ebx
push esi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x10]
mov dword fs:[0], eax
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0xc], eax
mov dword [esp + 0x18], 0
call fcn.00539f80
test eax, eax
je 0x539496
lea eax, [esp + 0xc]
push eax
call fcn.00539d70
jmp 0x5394a0
lea ecx, [esp + 0xc]
push ecx
call fcn.00539ce0
mov esi, dword [esp + 0xc]
mov eax, dword [esi - 0xc]
test eax, eax
jle 0x5394c5
mov edx, dword [esp + 0x24]
mov eax, dword [edx]
push eax
push 0xffffffffffffffff
push esi
push str.ulst
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, 0xffffffff
je 0x5394d3
lea eax, [esp + 0xc]
push eax
call fcn.00539d70
mov esi, dword [esp + 0xc]
test esi, esi
jne 0x5394db
xor eax, eax
jmp 0x5394ef
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x5394e0
sub eax, edx
sar eax, 1
mov ebx, eax
mov eax, dword [esp + 0x20]
push esi
call fcn.00480ff0
lea eax, [esi - 0x10]
mov dword [esp + 0x18], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53951f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x10]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x10
ret 8
Function at 0x539540
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x590076
mov eax, dword fs:[0]
push eax
sub esp, 0x224
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x220], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
xor ebx, ebx
push 0x206
lea eax, [esp + 0x32]
push ebx
push eax
mov esi, ecx
mov edi, edx
mov dword [esp + 0x28], ebx
mov word [esp + 0x38], bx
call fcn.005695a0
mov edx, dword [0x5f7780]
mov eax, dword [edx + 0xc]
add esp, 0xc
mov ecx, 0x5f7780
mov dword [esp + 0x20], vtable.KRegKey.0
call eax
add eax, 0x10
mov dword [esp + 0x28], eax
mov dword [esp + 0x24], ebx
lea eax, [esp + 0x20]
mov dword [esp + 0x240], ebx
call fcn.0053abf0
cmp eax, ebx
jne 0x5395e4
mov ecx, dword [esi]
lea edx, [esp + 0x20]
push edx
call fcn.0053ac70
test eax, eax
je 0x5395ec
mov dword [esp + 0x1c], 1
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x18], eax
lea ecx, [esp + 0x18]
mov byte [esp + 0x240], 1
call fcn.00539e00
mov ebp, eax
test ebp, ebp
je 0x53963a
mov ecx, dword [esp + 0x18]
mov eax, dword [esi]
push ecx
push 0x104
lea edx, [esp + 0x34]
push edx
push 0
push eax
push 0x5af6d8
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov ebx, eax
cmp dword [esp + 0x1c], 0
je 0x539698
test ebx, ebx
ja 0x53966d
push esi
mov ecx, edi
call fcn.00539750
mov ebp, eax
mov byte [esp + 0x240], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jmp 0x5396bf
lea eax, [esp + 0x2c]
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x539674
sub eax, edx
sar eax, 1
lea ecx, [esp + 0x2c]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00480ff0
mov ebp, 1
jmp 0x53969c
test ebx, ebx
ja 0x5396a3
push edi
push esi
call fcn.0053a0f0
mov byte [esp + 0x240], 0
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x5396cb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, dword [esp + 0x24]
test eax, eax
mov esi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x5396e2
push eax
call esi
xor eax, eax
mov dword [esp + 0x24], eax
test eax, eax
mov dword [esp + 0x240], 0xffffffff
mov dword [esp + 0x20], vtable.KRegKey.0
je 0x539704
push eax
call esi
mov dword [esp + 0x24], 0
mov eax, dword [esp + 0x28]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x539724
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, ebp
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0x220]
xor ecx, esp
call fcn.00564207
add esp, 0x230
ret
Function at 0x539ea0
Capabilities:
Get common file path

Disassembly:
sub esp, 0x210
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x20c], eax
push 0x206
lea eax, [esp + 0xa]
push 0
push eax
mov dword [esp + 0xc], esi
mov word [esp + 0x10], 0
call fcn.005695a0
add esp, 0xc
test esi, esi
je 0x539f66
push 1
push 0x23
lea ecx, [esp + 0xc]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
jne 0x539f1b
push 0x104
lea edx, [esp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryW]
test eax, eax
je 0x539f66
push str.All_UsersApplication_Data
lea eax, [esp + 8]
push 0x104
push eax
call fcn.005670b1
add esp, 0xc
push str.KingsoftKIS_
lea ecx, [esp + 8]
push 0x104
push ecx
call fcn.005670b1
lea eax, [esp + 0x10]
add esp, 0xc
lea edx, [eax + 2]
lea esp, [esp]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x539f40
sub eax, edx
sar eax, 1
cmp eax, 0x104
jae 0x539f66
lea edx, [esp]
push edx
lea eax, [esp + 8]
call fcn.0048e600
add esp, 4
mov ecx, dword [esp + 0x20c]
xor ecx, esp
call fcn.00564207
add esp, 0x210
ret
Function at 0x53a0f0
Capabilities:
Set registry value

Disassembly:
push 0xffffffffffffffff
push 0x58ffe0
mov eax, dword fs:[0]
push eax
sub esp, 0xc
push ebx
push ebp
push esi
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x20]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x34]
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
mov dword [esp + 0x14], vtable.KRegKey.0
call edx
add eax, 0x10
xor ebx, ebx
mov dword [esp + 0x1c], eax
mov dword [esp + 0x18], ebx
lea eax, [esp + 0x14]
mov dword [esp + 0x28], ebx
call fcn.0053abf0
cmp eax, ebx
jne 0x53a184
mov eax, dword [esp + 0x30]
mov edx, dword [ebp]
mov esi, dword [eax]
mov eax, edx
lea edi, [eax + 2]
mov edi, edi
mov cx, word [eax]
add eax, 2
cmp cx, bx
jne 0x53a160
sub eax, edi
sar eax, 1
lea ecx, [eax + eax + 1]
push ecx
push edx
mov edx, dword [esp + 0x20]
push 1
push ebx
push esi
push edx
call dword [sym.imp.ADVAPI32.dll_RegSetValueExW]
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
add eax, 0x10
mov dword [esp + 0x34], eax
lea ecx, [esp + 0x34]
mov byte [esp + 0x28], 1
call fcn.00539e00
test eax, eax
mov esi, dword [esp + 0x34]
je 0x53a1c7
mov eax, dword [ebp]
mov ecx, dword [esp + 0x30]
mov ecx, dword [ecx]
push esi
push eax
push ecx
push 0x5af6d8
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov edi, dword [sym.imp.ADVAPI32.dll_RegCloseKey]
je 0x53a1dc
push eax
call edi
mov dword [esp + 0x18], ebx
lea eax, [esi - 0x10]
mov byte [esp + 0x28], bl
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53a1fc
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x28], 0xffffffff
mov eax, dword [esp + 0x18]
cmp eax, ebx
mov dword [esp + 0x14], vtable.KRegKey.0
je 0x53a21b
push eax
call edi
mov dword [esp + 0x18], ebx
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x53a23b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x20]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x18
ret 8
Function at 0x53a5d0
Capabilities:
Enumerate processes

Disassembly:
sub esp, 0x24c
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x248], eax
mov eax, dword [esp + 0x250]
push ebp
push esi
push edi
xor ebp, ebp
push 0x228
lea ecx, [esp + 0x30]
push ebp
push ecx
mov dword [esp + 0x2c], eax
xor esi, esi
mov dword [esp + 0x18], ebp
mov dword [esp + 0x20], ebp
mov dword [esp + 0x34], ebp
call fcn.005695a0
add esp, 0xc
push ebp
push 2
mov dword [esp + 0x20], ebp
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov edi, eax
cmp edi, 0xffffffff
mov dword [esp + 0x10], edi
jne 0x53a646
pop edi
pop esi
xor eax, eax
pop ebp
mov ecx, dword [esp + 0x248]
xor ecx, esp
call fcn.00564207
add esp, 0x24c
ret
lea edx, [esp + 0x28]
push edx
push edi
mov dword [esp + 0x30], 0x22c
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x53a762
push ebx
cmp esi, ebp
je 0x53a66f
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor esi, esi
mov eax, dword [esp + 0x10]
cmp eax, ebp
je 0x53a682
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0x10], ebp
lea eax, [esp + 0x50]
push str.explorer.exe
push eax
call fcn.005645c3
add esp, 8
test eax, eax
jne 0x53a723
mov edx, dword [esp + 0x34]
lea ecx, [esp + 0x1c]
push ecx
push edx
call dword [sym.imp.KERNEL32.dll_ProcessIdToSessionId]
test eax, eax
je 0x53a723
mov eax, dword [esp + 0x264]
cmp dword [esp + 0x1c], eax
jne 0x53a723
mov ecx, dword [esp + 0x34]
push ecx
push ebp
push 0x400
call dword [sym.imp.KERNEL32.dll_OpenProcess]
mov esi, eax
cmp esi, ebp
je 0x53a723
lea edx, [esp + 0x10]
push edx
push 0xf01ff
push esi
call dword [sym.imp.ADVAPI32.dll_OpenProcessToken]
test eax, eax
je 0x53a723
mov ecx, dword [esp + 0x10]
lea eax, [esp + 0x28]
push eax
push ecx
lea ebx, [esp + 0x28]
mov dword [esp + 0x28], ebp
call fcn.0053a450
add esp, 8
test eax, eax
je 0x53a723
mov edi, dword [esp + 0x20]
mov eax, dword [edi]
call fcn.0053a320
test eax, eax
push edi
je 0x53a738
call fcn.00566eaf
mov edi, dword [esp + 0x18]
add esp, 4
lea edx, [esp + 0x2c]
push edx
push edi
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x53a662
jmp 0x53a756
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x28]
mov dword [ecx], eax
mov dword [esp + 0x1c], 1
call fcn.00566eaf
mov edi, dword [esp + 0x18]
add esp, 4
cmp esi, ebp
pop ebx
je 0x53a762
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [esp + 0xc]
cmp eax, ebp
je 0x53a775
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [esp + 0xc], ebp
push edi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [esp + 0x254]
mov eax, dword [esp + 0x14]
pop edi
pop esi
pop ebp
xor ecx, esp
call fcn.00564207
add esp, 0x24c
ret
Function at 0x53a7a0
Capabilities:
Check if file exists
Get common file path
Get file attributes
Get program files directory

Disassembly:
sub esp, 0x218
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x210], eax
push edi
xor edi, edi
push 0x206
lea eax, [esp + 0xe]
push edi
push eax
mov word [esp + 0x14], di
call fcn.005695a0
add esp, 0xc
push edi
push 0x26
lea ecx, [esp + 0x10]
push ecx
push edi
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathW]
test eax, eax
je 0x53a826
push str.Internet_Exploreriexplore.exe
lea edx, [esp + 0xc]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendW]
lea eax, [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesW]
cmp eax, 0xffffffff
je 0x53a826
mov edx, esi
lea ecx, [esp + 8]
call fcn.0048f180
lea eax, [edi + 1]
pop edi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00564207
add esp, 0x218
ret
mov ecx, dword [esp + 0x214]
mov eax, edi
pop edi
xor ecx, esp
call fcn.00564207
add esp, 0x218
ret
Function at 0x53ac70
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x214
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x210], eax
mov eax, dword [esp + 0x218]
mov eax, dword [eax + 4]
push esi
lea edx, [esp + 4]
push edx
lea edx, [esp + 0x10]
push edx
lea edx, [esp + 0x10]
push edx
push 0
push ecx
push eax
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov esi, eax
test esi, esi
jne 0x53ace1
lea eax, [esp + 0xc]
lea edx, [eax + 2]
lea ecx, [ecx]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x53acc0
sub eax, edx
sar eax, 1
push ebx
lea ecx, [esp + 0x10]
mov ebx, eax
push ecx
mov eax, edi
call fcn.00480ff0
mov eax, esi
pop ebx
mov ecx, dword [esp + 0x214]
pop esi
xor ecx, esp
call fcn.00564207
add esp, 0x214
ret 4

Function at 0x53ad00
Capabilities:
Hash data with md5

Disassembly:
sub esp, 0x60
mov eax, dword [0x5eb3c0]
xor eax, esp
mov dword [esp + 0x5c], eax
push 0x58
lea eax, [esp + 4]
push 0
push eax
call fcn.005695a0
mov eax, dword [esp + 0x70]
push edi
lea ecx, [esp + 0x10]
mov dword [esp + 0x24], 0
mov dword [esp + 0x20], 0
mov dword [esp + 0x10], 0x67452301
mov dword [esp + 0x14], 0xefcdab89
mov dword [esp + 0x18], 0x98badcfe
mov dword [esp + 0x1c], 0x10325476
call fcn.0053ad80
add esp, 0x10
mov edx, esi
lea ecx, [esp]
call fcn.0053ae20
mov ecx, dword [esp + 0x5c]
xor ecx, esp
call fcn.00564207
add esp, 0x60
ret

Function at 0x53b940
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
push esi
mov esi, dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
push edi
lea eax, [esp + 8]
push eax
push 1
xor edi, edi
push edi
push str.SOFTWAREKingsoftKISCommonKXEngine
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x1c], edi
mov dword [esp + 0x24], 3
mov dword [esp + 0x20], edi
call esi
test eax, eax
je 0x53b991
lea ecx, [esp + 8]
push ecx
push 1
push edi
push str.SOFTWAREKingsoftKISCommonKXEngine
push SysReAllocStringLen
call esi
test eax, eax
jne 0x53ba16
mov eax, dword [esp + 8]
test eax, eax
je 0x53ba25
push ebx
mov ebx, dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
lea edx, [esp + 0x10]
push edx
push 0
lea ecx, [esp + 0x1c]
push ecx
push 0
push 0x5a9778
push eax
call ebx
test eax, eax
jne 0x53ba15
mov eax, dword [esp + 0x10]
cmp eax, 4
ja 0x53b9cc
mov eax, 4
push eax
call fcn.00548a37
mov ecx, dword [esp + 0x10]
add esp, 4
lea edx, [esp + 0x10]
push edx
mov esi, eax
push esi
lea eax, [esp + 0x1c]
push eax
push 0
push 0x5a9778
push ecx
call ebx
mov edx, dword [esp + 0x1c]
push esi
push 0x104
push edx
call fcn.0056362b
add esp, 0xc
test esi, esi
mov edi, 1
je 0x53ba15
push esi
call fcn.005649af
add esp, 4
pop ebx
mov eax, dword [esp + 8]
test eax, eax
je 0x53ba25
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
add esp, 0xc
ret
Function at 0x53ba30
Capabilities:
Hide graphical window

Disassembly:
mov eax, dword [ecx + 8]
cmp eax, 1
jne 0x53bad1
mov eax, dword [ecx + 0xc]
cmp eax, 0x3e7
jne 0x53ba6e
mov eax, dword [esi + 4]
push 0x64
push eax
mov dword [esi + 0x388], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
cmp eax, 0x7db
jne 0x53baa2
mov edx, dword [esi + 0x390]
mov eax, dword [esi + 0x38c]
push 0
push edx
push 0x424
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push 0
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
cmp eax, 0x7e5
jne 0x53bad1
mov edx, dword [esi + 4]
push 0x64
push edx
mov dword [esi + 0x388], 0
call dword [sym.imp.USER32.dll_KillTimer]
mov eax, dword [esi + 4]
push 0
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov eax, 1
ret
mov dword [esi + 0x380], 0
xor eax, eax
ret
Function at 0x53be10
Capabilities:
Hide graphical window

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x599d03
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push edi
mov eax, dword [0x5eb3c0]
xor eax, esp
push eax
lea eax, [esp + 0x98]
mov dword fs:[0], eax
xor ebx, ebx
cmp dword [ebp + 8], 0x64
mov dword [esp + 0x10], ebx
jne 0x53bfd9
mov eax, dword [0x5f7780]
mov edx, dword [eax + 0xc]
mov ecx, 0x5f7780
call edx
lea edi, [eax + 0x10]
mov dword [esp + 0xc], edi
mov dword [esp + 0xa0], ebx
mov eax, dword [esi + 0x384]
cmp eax, ebx
lea ecx, [eax - 1]
mov dword [esi + 0x384], ecx
jle 0x53bf81
cmp ecx, 0x13
mov edi, dword [sym.imp.USER32.dll_SetWindowPos]
jne 0x53bf31
push esi
call fcn.0053bff0
mov eax, dword [esi + 4]
mov ebx, 1
push ebx
push eax
call dword [sym.imp.USER32.dll_ShowWindow]
mov ecx, dword [esi + 4]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push ecx
call edi
call fcn.0047f920
test eax, eax
mov byte [esp + 0xa0], bl
je 0x53bf02
cmp dword [eax + 0x24], ebx
jg 0x53bf02
push ebx
push str.KAntiOffLineNoticeDlg::OnTimer
push 0x48
push str..gamepageuikantiofflinenoticedlg.cpp
lea edx, [esp + 0x24]
push edx
call fcn.0047f220
push str._f:y2
mov byte [esp + 0xa4], 2
push eax
mov dword [esp + 0x18], ebx
call fcn.0047f6e0
add esp, 8
mov dword [esp + 0xa0], ebx
test byte [esp + 0x10], bl
je 0x53bf19
lea eax, [esp + 0x14]
push eax
call fcn.0047eb40
mov byte [esp + 0xa0], 0
mov eax, dword [0x5f9180]
test eax, eax
je 0x53bf31
push eax
call dword [sym.imp.KERNEL32.dll_ReleaseMutex]
mov ecx, dword [esi + 4]
push 3
push 0
push 0
push 0
push 0
push 0
push ecx
call edi
mov edx, dword [esi + 4]
push 3
push 0
push 0
push 0
push 0
push 0xffffffffffffffff
push edx
call edi
mov eax, dword [esi + 0x384]
push eax
push 0x5ae648
lea edi, [esp + 0x14]
call fcn.00481690
mov edi, dword [esp + 0x14]
add esp, 8
push edi
lea eax, [esi + 0x50]
mov ecx, 0x12d
call fcn.004b7e90
jmp 0x53bfb2
mov ecx, dword [esi + 4]
push 0x64
push ecx
call dword [sym.imp.USER32.dll_KillTimer]
mov edx, dword [esi + 0x390]
mov eax, dword [esi + 0x38c]
push ebx
push edx
push 0x424
push eax
call dword [sym.imp.USER32.dll_PostMessageW]
mov ecx, dword [esi + 4]
push ebx
push ecx
call dword [sym.imp.USER32.dll_ShowWindow]
lea eax, [edi - 0x10]
mov dword [esp + 0xa0], 0xffffffff
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x53bfd9
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x98]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x53c070
Capabilities:
Find taskbar

Disassembly:
sub esp, 0x14
push ebp
mov ebp, dword [esp + 0x1c]
xor eax, eax
push esi
push edi
mov edi, dword [sym.imp.USER32.dll_GetSystemMetrics]
push eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x18], eax
mov dword [esp + 0x1c], eax
mov dword [esp + 0x20], eax
call edi
push 1
mov esi, eax
call edi
push 0
push 0x5bc344
mov edi, eax
call dword [sym.imp.USER32.dll_FindWindowW]
test eax, eax
je 0x53c0fe
lea ecx, [esp + 0x10]
push ecx
push eax
call dword [sym.imp.USER32.dll_GetWindowRect]
mov edx, dword [esp + 0x18]
mov eax, dword [esp + 0x10]
sub edx, eax
cmp edx, esi
jl 0x53c0e6
sub esi, dword [ebp]
cmp dword [esp + 0x1c], edi
mov dword [ebx], esi
jl 0x53c103
mov eax, dword [esp + 0x14]
sub eax, dword [ebp + 4]
mov dword [ebx + 4], eax
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
test eax, eax
jle 0x53c0fe
sub eax, dword [ebp]
mov dword [ebx], eax
sub edi, dword [ebp + 4]
mov dword [ebx + 4], edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4
sub esi, dword [ebp]
mov dword [ebx], esi
sub edi, dword [ebp + 4]
mov dword [ebx + 4], edi
pop edi
pop esi
pop ebp
add esp, 0x14
ret 4