joyce8/EMBER2024-capa huggingface dataset:
Function at 0x47fe20
Capabilities:
Get file size
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
cmp dword [ebp + 8], 0
jne 0x47fe33
xor al, al
jmp 0x47ff07
mov byte [ebp - 5], 0
push 0
push 0x80
push 3
push 0
push 1
push 0x80000000
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0xffffffff
je 0x47fee5
push 0
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_GetFileSize]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x47fed4
mov edx, dword [ebp + 0x10]
mov eax, dword [ebp - 0xc]
mov dword [edx], eax
push 0x5f8b8d
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call fcn.0057016b
add esp, 8
mov dword [ebp - 0x14], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0x14]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x47fed4
mov dword [ebp - 0x10], 0
push 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp + 0xc]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_ReadFile]
test eax, eax
je 0x47fed4
mov edx, dword [ebp - 0x10]
cmp edx, dword [ebp - 0xc]
jne 0x47fed4
mov byte [ebp - 5], 1
mov eax, dword [ebp - 4]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov dword [ebp - 4], 0
movzx ecx, byte [ebp - 5]
test ecx, ecx
jne 0x47ff04
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0047fd50
add esp, 0xc
mov byte [ebp - 5], al
mov al, byte [ebp - 5]
mov esp, ebp
pop ebp
ret
Function at 0x4a75c0
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov eax, dword [ebp + 0xc]
push eax
movzx ecx, word [ebp + 8]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 0xc], eax
cmp dword [ebp - 0xc], 0
je 0x4a763a
mov edx, dword [ebp - 0xc]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov dword [ebp - 8], eax
mov eax, dword [ebp - 8]
cmp eax, dword [ebp + 0x14]
jae 0x4a763a
mov ecx, dword [ebp - 0xc]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x4a763a
mov edx, dword [ebp - 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a763a
mov eax, dword [ebp - 8]
push eax
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp + 0x10]
push edx
call fcn.0056f7b0
add esp, 0xc
mov eax, 1
jmp 0x4a763c
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4a7640
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebp
mov ebp, esp
sub esp, 8
mov eax, dword [ebp + 0x14]
push eax
movzx ecx, word [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_FindResourceW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4a769e
mov eax, dword [ebp - 4]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a769e
cmp dword [ebp + 0x10], 0
je 0x4a7692
mov edx, dword [ebp - 4]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_SizeofResource]
mov ecx, dword [ebp + 0x10]
mov dword [ecx], eax
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.KERNEL32.dll_LockResource]
jmp 0x4a76a0
xor eax, eax
mov esp, ebp
pop ebp
ret

Function at 0x4a76b0
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc
mov dword [ebp - 4], 0
mov eax, dword [ebp + 0x14]
push eax
lea ecx, [ebp - 4]
push ecx
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.004a7640
add esp, 0x10
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
je 0x4a772f
cmp dword [ebp - 4], 0
jbe 0x4a772f
mov dword [ebp - 0xc], 0
push 0x5ab484
mov ecx, dword [ebp + 0x10]
push ecx
lea edx, [ebp - 0xc]
push edx
call fcn.005702e1
add esp, 0xc
cmp dword [ebp - 0xc], 0
je 0x4a772f
mov eax, dword [ebp - 0xc]
push eax
push 1
mov ecx, dword [ebp - 4]
push ecx
mov edx, dword [ebp - 8]
push edx
call fcn.0056bcbd
add esp, 0x10
mov eax, dword [ebp - 0xc]
push eax
call fcn.0056c5cf
add esp, 4
mov eax, 1
jmp 0x4a7731
xor eax, eax
mov esp, ebp
pop ebp
ret
Function at 0x4a7f10
Capabilities:
Write file on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x595b6d
mov eax, dword fs:[0]
push eax
sub esp, 0x18
mov eax, dword [0x5f4964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
cmp dword [ebp + 8], 0
je 0x4a7f41
cmp dword [ebp + 0xc], 0
jne 0x4a7f48
xor al, al
jmp 0x4a812d
lea ecx, [ebp - 0x10]
call fcn.004161f0
mov dword [ebp - 4], 0
lea eax, [ebp - 0x10]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.004a7de0
add esp, 8
movzx edx, al
test edx, edx
je 0x4a7f7d
lea ecx, [ebp - 0x10]
call fcn.004a8b70
movzx eax, al
test eax, eax
je 0x4a7f98
mov byte [ebp - 0x1d], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00423040
mov al, byte [ebp - 0x1d]
jmp 0x4a812d
lea ecx, [ebp - 0x1c]
call fcn.004161f0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x1c]
push ecx
mov edx, dword [ebp + 0xc]
push edx
call fcn.00425810
add esp, 8
movzx eax, al
test eax, eax
jne 0x4a7fe2
mov byte [ebp - 0x1e], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00423040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00423040
mov al, byte [ebp - 0x1e]
jmp 0x4a812d
lea ecx, [ebp - 0x10]
call fcn.00422f30
push eax
push str.____LANG_SECTION___
lea ecx, [ebp - 0x1c]
call fcn.004a8850
test eax, eax
jne 0x4a8023
mov byte [ebp - 0x1f], 0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00423040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00423040
mov al, byte [ebp - 0x1f]
jmp 0x4a812d
push 0
push 0x80
push 5
push 0
push 1
push 0x40000000
mov ecx, dword [ebp + 0xc]
push ecx
call dword [sym.imp.KERNEL32.dll_CreateFileW]
push eax
lea ecx, [ebp - 0x14]
call fcn.00415bb0
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x14]
call fcn.004257f0
movzx edx, al
test edx, edx
jne 0x4a808e
mov byte [ebp - 0x20], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004257c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00423040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00423040
mov al, byte [ebp - 0x20]
jmp 0x4a812d
mov dword [ebp - 0x18], 0
push 0
lea eax, [ebp - 0x18]
push eax
lea ecx, [ebp - 0x1c]
call fcn.00418890
push eax
lea ecx, [ebp - 0x1c]
call fcn.0041aff0
push eax
lea ecx, [ebp - 0x14]
call fcn.00422f30
push eax
call dword [sym.imp.KERNEL32.dll_WriteFile]
test eax, eax
je 0x4a80ff
lea ecx, [ebp - 0x1c]
call fcn.00418890
xor ecx, ecx
cmp dword [ebp - 0x18], eax
sete cl
mov byte [ebp - 0x21], cl
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004257c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00423040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00423040
mov al, byte [ebp - 0x21]
jmp 0x4a812d
mov byte [ebp - 0x22], 0
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x14]
call fcn.004257c0
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x1c]
call fcn.00423040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call fcn.00423040
mov al, byte [ebp - 0x22]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x4afcc0
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x110
mov eax, dword [0x5f4964]
xor eax, ebp
mov dword [ebp - 4], eax
mov byte [ebp - 0x108], 0
push 0xff
push 0
lea eax, [ebp - 0x107]
push eax
call fcn.0056b960
add esp, 0xc
mov dword [ebp - 0x10c], 0
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_GetKeyboardState]
test eax, eax
je 0x4afd32
movzx edx, byte [ebp - 0xf6]
and edx, 0x80
jne 0x4afd32
push 0
push 1
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov dword [ebp - 0x10c], 1
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_SetForegroundWindow]
mov dword [ebp - 0x110], eax
cmp dword [ebp - 0x10c], 0
je 0x4afd59
push 0
push 3
push 0
push 0x12
call dword [sym.imp.USER32.dll_keybd_event]
mov eax, dword [ebp - 0x110]
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056ab51
mov esp, ebp
pop ebp
ret

Function at 0x4afe30
Capabilities:
Enumerate processes

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x5963c3
mov eax, dword fs:[0]
push eax
sub esp, 0x23c
mov eax, dword [0x5f4964]
xor eax, ebp
mov dword [ebp - 0x14], eax
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, dword [ebp + 8]
call fcn.00423850
push 0
push 2
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0xffffffff
je 0x4aff71
mov dword [ebp - 0x244], 0
push 0x228
push 0
lea eax, [ebp - 0x240]
push eax
call fcn.0056b960
add esp, 0xc
push 0x22c
push 0
lea ecx, [ebp - 0x244]
push ecx
call fcn.0056b960
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32FirstW
test eax, eax
je 0x4aff67
lea ecx, [ebp - 0x220]
push ecx
lea ecx, [ebp - 0x248]
call fcn.00415010
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x248]
call fcn.0041bcd0
lea ecx, [ebp - 0x248]
call fcn.00417130
lea edx, [ebp - 0x248]
push edx
lea eax, [ebp - 0x23c]
push eax
mov ecx, dword [ebp + 8]
call fcn.00423660
mov ecx, eax
call fcn.004150c0
push 0x22c
push 0
lea ecx, [ebp - 0x244]
push ecx
call fcn.0056b960
add esp, 0xc
mov dword [ebp - 0x244], 0x22c
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x248]
call fcn.00423040
lea edx, [ebp - 0x244]
push edx
mov eax, dword [ebp - 0x10]
push eax
call sub.KERNEL32.dll_Process32NextW
test eax, eax
jne 0x4afed1
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov ecx, dword [ebp - 0x14]
xor ecx, ebp
call fcn.0056ab51
mov esp, ebp
pop ebp
ret
Function at 0x4b0e30
Capabilities:
Check os version

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x120
mov eax, dword [0x5f4964]
xor eax, ebp
mov dword [ebp - 4], eax
mov dword [ebp - 0x120], 0x114
lea eax, [ebp - 0x120]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExW]
test eax, eax
je 0x4b0e8d
cmp dword [ebp - 0x11c], 6
jae 0x4b0e6d
xor eax, eax
jmp 0x4b0e8f
cmp dword [ebp - 0x11c], 6
jne 0x4b0e86
cmp dword [ebp - 0x118], 0
sbb eax, eax
add eax, 1
jmp 0x4b0e8f
mov eax, 1
jmp 0x4b0e8f
xor eax, eax
mov ecx, dword [ebp - 4]
xor ecx, ebp
call fcn.0056ab51
mov esp, ebp
pop ebp
ret

Function at 0x4b24d0
Capabilities:
Check mutex on windows

Disassembly:
push ebp
mov ebp, esp
push ecx
mov eax, dword [ebp + 8]
push eax
push 1
push 0
call dword [sym.imp.KERNEL32.dll_CreateMutexW]
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x4b2506
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x4b2506
mov ecx, dword [ebp - 4]
push ecx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
xor eax, eax
jmp 0x4b2509
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret
Function at 0x4b47e0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x596957
mov eax, dword fs:[0]
push eax
sub esp, 0x24
mov eax, dword [0x5f4964]
xor eax, ebp
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ecx, 0x5f7c68
call fcn.004b8e40
mov ecx, eax
call fcn.004b8e20
mov ecx, eax
call fcn.00422f30
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0
je 0x4b4830
mov eax, dword [ebp - 0x14]
movzx ecx, word [eax]
test ecx, ecx
jne 0x4b4837
mov dword [ebp - 0x14], str.http:__www.360totalsecurity.com_d_ts__s__s_
lea ecx, [ebp - 0x1c]
call fcn.004161f0
mov dword [ebp - 4], 0
mov dword [ebp - 0x10], 0x400
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x1c]
call fcn.00415350
mov dword [ebp - 0x18], eax
push 0x5b08e8
lea eax, [ebp - 0x2c]
push eax
call fcn.0041a080
add esp, 4
mov dword [ebp - 0x30], eax
mov ecx, dword [ebp - 0x30]
call fcn.00422f30
push eax
mov ecx, dword [ebp - 0x18]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathCombineW]
lea ecx, [ebp - 0x2c]
call fcn.00423040
push 0xffffffffffffffff
lea ecx, [ebp - 0x1c]
call fcn.00415dd0
lea ecx, [ebp - 0x24]
call fcn.004161f0
mov byte [ebp - 4], 1
mov dword [ebp - 0x10], 0x80
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x24]
call fcn.00415350
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
call fcn.00422f30
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x5b0900
push 0x5b0904
push 0x5b0918
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x24]
call fcn.00415dd0
lea ecx, [ebp - 0x20]
call fcn.004161f0
mov byte [ebp - 4], 2
mov dword [ebp - 0x10], 0x80
mov edx, dword [ebp - 0x10]
push edx
lea ecx, [ebp - 0x20]
call fcn.00415350
mov dword [ebp - 0x18], eax
lea ecx, [ebp - 0x1c]
call fcn.00422f30
push eax
mov eax, dword [ebp - 0x10]
push eax
mov ecx, dword [ebp - 0x18]
push ecx
push 0x5b0920
push 0x5b0924
push 0x5b0934
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
push 0xffffffffffffffff
lea ecx, [ebp - 0x20]
call fcn.00415dd0
lea ecx, [ebp - 0x20]
call fcn.00417130
lea ecx, [ebp - 0x24]
call fcn.004153a0
movzx edx, al
test edx, edx
jne 0x4b49ab
lea ecx, [ebp - 0x20]
call fcn.004153a0
movzx eax, al
test eax, eax
jne 0x4b49ab
lea ecx, [ebp - 0x28]
call fcn.004161f0
mov byte [ebp - 4], 3
mov ecx, dword [ebp - 0x20]
push ecx
mov edx, dword [ebp - 0x24]
push edx
mov eax, dword [ebp - 0x14]
push eax
lea ecx, [ebp - 0x28]
push ecx
call fcn.00416010
add esp, 0x10
push 5
push 0
push 0
lea ecx, [ebp - 0x28]
call fcn.00422f30
push eax
push str.Open
push 0
call dword [0x5a43dc]
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x28]
call fcn.00423040
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call fcn.00423040
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x24]
call fcn.00423040
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x1c]
call fcn.00423040
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
mov esp, ebp
pop ebp
ret
Function at 0x536120
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59bc18
mov eax, dword fs:[0]
push eax
sub esp, 0x18
push ebx
push esi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x24]
mov dword fs:[0], eax
mov esi, ecx
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x34]
push 0xffffffffffffffff
push eax
push ecx
lea ecx, [esp + 0x18]
call fcn.00539390
lea edx, [esp + 0xc]
push edx
mov ecx, esi
mov dword [esp + 0x30], 0
call fcn.00536090
lea ecx, [esp + 0xc]
mov bl, al
mov dword [esp + 0x2c], 0xffffffff
call fcn.005393d0
mov al, bl
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
add esp, 0x24
ret 8

Function at 0x538340
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x59ea11
mov eax, dword fs:[0]
push eax
sub esp, 0x24
push ebx
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x30]
mov dword fs:[0], eax
mov eax, dword [esp + 0x40]
xor ebx, ebx
push 0xffffffffffffffff
mov dword [esp + 0x10], ebx
push ebx
mov edi, ecx
mov dword [esi + 0x18], 0xf
mov dword [esi + 0x14], ebx
push eax
mov ecx, esi
mov dword [esp + 0x44], ebx
mov dword [esp + 0x1c], esi
mov byte [esi + 4], bl
call fcn.00404c50
mov dword [esp + 0x38], ebx
mov dword [esp + 0xc], 1
mov ecx, esi
cmp byte [edi + 0x28], bl
je 0x5383ce
push 1
push 0x5c08a8
call fcn.0040cab0
mov edi, dword [edi + 4]
push 0xffffffffffffffff
push ebx
push edi
mov ecx, esi
call fcn.0040c9e0
push 1
push 0x5bce34
mov ecx, esi
call fcn.0040cab0
jmp 0x5383d9
mov edi, dword [edi]
push 0xffffffffffffffff
push ebx
push edi
call fcn.0040c9e0
mov edi, dword [esp + 0x44]
cmp edi, 0xffffffff
je 0x538437
push 1
push str.___:
mov ecx, esi
call fcn.0040cab0
lea eax, [esp + 0x14]
push edi
push eax
call fcn.0053d1b0
add esp, 8
push 0xffffffffffffffff
push ebx
push eax
mov ecx, esi
mov dword [esp + 0x44], 1
call fcn.0040c9e0
cmp dword [esp + 0x2c], 0x10
mov byte [esp + 0x38], bl
jb 0x538429
mov ecx, dword [esp + 0x18]
push ecx
call fcn.0056a760
add esp, 4
push 1
push 0x5c8df4
mov ecx, esi
call fcn.0040cab0
push 1
push 0x5bcbc4
mov ecx, esi
call fcn.0040cab0
mov eax, esi
mov ecx, dword [esp + 0x30]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebx
add esp, 0x30
ret
Function at 0x53aa70
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59ac78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x60]
cmp al, 0x30
jl 0x53aaa7
cmp al, 0x39
jle 0x53ab34
cmp al, 0x61
jl 0x53aab3
cmp al, 0x66
jle 0x53ab34
mov cl, al
sub cl, 0x41
cmp cl, 5
jbe 0x53ab34
mov edx, dword [esp + 0x3c]
xor ebx, ebx
mov eax, edx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53aad8
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00404d10
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x40], ebx
call edx
cmp dword [esp + 0x28], 0x10
jb 0x53aba9
mov eax, dword [esp + 0x14]
push eax
call fcn.0056a760
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
xor ebx, ebx
lea edi, [ebx + 1]
lea esp, [esp]
cmp al, 0xa
jne 0x53ab4c
add dword [esi + 0x74], edi
mov dword [esi + 0x78], ebx
jmp 0x53ab6f
cmp al, 9
jne 0x53ab6c
mov eax, dword [esi + 0x78]
mov ecx, eax
and ecx, 0x80000007
jns 0x53ab62
dec ecx
or ecx, 0xfffffff8
inc ecx
sub eax, ecx
add eax, 8
mov dword [esi + 0x78], eax
jmp 0x53ab6f
add dword [esi + 0x78], edi
add dword [esi + 0x6c], edi
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x68]
jge 0x53ab85
mov edx, dword [esi + 0x64]
mov al, byte [eax + edx]
mov byte [esi + 0x60], al
jmp 0x53ab8c
mov ecx, esi
call fcn.0053a2e0
mov al, byte [esi + 0x60]
cmp al, 0x30
jl 0x53ab97
cmp al, 0x39
jle 0x53ab40
cmp al, 0x61
jl 0x53ab9f
cmp al, 0x66
jle 0x53ab40
mov cl, al
sub cl, 0x41
cmp cl, 5
jbe 0x53ab40
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x53acc0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x59ac78
mov eax, dword fs:[0]
push eax
sub esp, 0x1c
push ebx
push esi
push edi
mov eax, dword [0x5f4964]
xor eax, esp
push eax
lea eax, [esp + 0x2c]
mov dword fs:[0], eax
mov esi, ecx
mov al, byte [esi + 0x60]
mov cl, al
sub cl, 0x30
xor ebx, ebx
cmp cl, 9
jbe 0x53ad6c
mov edx, dword [esp + 0x3c]
mov eax, edx
mov dword [esp + 0x28], 0xf
mov dword [esp + 0x24], ebx
mov byte [esp + 0x14], bl
lea edi, [eax + 1]
mov cl, byte [eax]
inc eax
cmp cl, bl
jne 0x53ad10
sub eax, edi
push eax
push edx
lea ecx, [esp + 0x18]
call fcn.00404d10
mov ecx, dword [esi + 0x5c]
mov edx, dword [ecx]
mov edx, dword [edx + 4]
lea eax, [esp + 0x10]
push eax
mov eax, dword [esi + 0x78]
push eax
mov eax, dword [esi + 0x74]
push eax
mov dword [esp + 0x40], ebx
call edx
cmp dword [esp + 0x28], 0x10
jb 0x53adca
mov eax, dword [esp + 0x14]
push eax
call fcn.0056a760
add esp, 4
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
mov edi, 1
cmp al, 0xa
jne 0x53ad7d
add dword [esi + 0x74], edi
mov dword [esi + 0x78], ebx
jmp 0x53ada0
cmp al, 9
jne 0x53ad9d
mov eax, dword [esi + 0x78]
mov ecx, eax
and ecx, 0x80000007
jns 0x53ad93
dec ecx
or ecx, 0xfffffff8
inc ecx
sub eax, ecx
add eax, 8
mov dword [esi + 0x78], eax
jmp 0x53ada0
add dword [esi + 0x78], edi
add dword [esi + 0x6c], edi
mov eax, dword [esi + 0x6c]
cmp eax, dword [esi + 0x68]
jge 0x53adb6
mov edx, dword [esi + 0x64]
mov al, byte [eax + edx]
mov byte [esi + 0x60], al
jmp 0x53adbd
mov ecx, esi
call fcn.0053a2e0
mov al, byte [esi + 0x60]
mov cl, al
sub cl, 0x30
cmp cl, 9
jbe 0x53ad71
mov ecx, dword [esp + 0x2c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x28
ret 4
Function at 0x58a670
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0x50c
mov eax, dword [0x5f4964]
xor eax, esp
mov dword [esp + 0x508], eax
push ebp
mov ebp, dword [esp + 0x514]
test edi, edi
je 0x58a7ed
cmp ebp, 0x20
jb 0x58a7ed
push 0x400
lea eax, [esp + 0x110]
push 0
push eax
mov dword [esp + 0x14], 1
mov dword [esp + 0x10], 0x400
call fcn.0056b960
add esp, 0xc
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x110]
push edx
lea eax, [esp + 0x10]
push eax
push 0x5c83a4
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHGetValueA]
test eax, eax
jne 0x58a7ed
lea eax, [esp + 0x10c]
lea edx, [eax + 1]
lea ecx, [ecx]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x58a700
sub eax, edx
cmp eax, 0x40
jne 0x58a7ed
push ebx
lea edx, [eax + 0x40]
push esi
lea eax, [esp + 0x14]
lea esi, [esp + 0x114]
mov ecx, eax
sub esi, ecx
lea ecx, [edx - 0x60]
test ecx, ecx
je 0x58a73e
mov cl, byte [esi + eax]
test cl, cl
je 0x58a73e
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x58a726
jmp 0x58a742
test edx, edx
jne 0x58a743
dec eax
mov byte [eax], 0
lea eax, [esp + 0x94]
lea edx, [esp + 0x134]
mov ecx, eax
mov esi, 0x80
sub edx, ecx
lea ecx, [ecx]
lea ecx, [esi + 0x7fffff7e]
test ecx, ecx
je 0x58a77b
mov cl, byte [edx + eax]
test cl, cl
je 0x58a77b
mov byte [eax], cl
inc eax
sub esi, 1
jne 0x58a760
jmp 0x58a77f
test esi, esi
jne 0x58a780
dec eax
push 0x400
lea edx, [esp + 0x118]
push 0
push edx
mov byte [eax], 0
call fcn.0056b960
push 0x400
lea ebx, [esp + 0x124]
lea ecx, [esp + 0x24]
call fcn.00589870
add esp, 0x10
lea eax, [esp + 0x94]
push eax
mov ecx, ebx
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcmpiA]
pop esi
pop ebx
test eax, eax
jne 0x58a7ed
lea edx, [esp + 0xc]
push edx
push ebp
push edi
call fcn.00589710
neg eax
sbb eax, eax
inc eax
pop ebp
mov ecx, dword [esp + 0x508]
xor ecx, esp
call fcn.0056ab51
add esp, 0x50c
ret
mov ecx, dword [esp + 0x50c]
pop ebp
xor ecx, esp
xor eax, eax
call fcn.0056ab51
add esp, 0x50c
ret

Function at 0x58a810
Capabilities:
Set registry value

Disassembly:
sub esp, 0x188
mov eax, dword [0x5f4964]
xor eax, esp
mov dword [esp + 0x184], eax
push ebx
push esi
push 0x80
lea eax, [esp + 0xc]
push 0
push eax
mov esi, ecx
call fcn.0056b960
push 0x80
lea ebx, [esp + 0x18]
mov ecx, esi
call fcn.00589870
lea eax, [esp + 0x98]
mov ecx, eax
add esp, 0x10
mov edx, 0x104
sub esi, ecx
lea esp, [esp]
lea ecx, [edx + 0x7ffffefa]
test ecx, ecx
je 0x58a87b
mov cl, byte [esi + eax]
test cl, cl
je 0x58a87b
mov byte [eax], cl
inc eax
sub edx, 1
jne 0x58a860
jmp 0x58a87f
test edx, edx
jne 0x58a880
dec eax
lea edx, [esp + 8]
push edx
mov byte [eax], 0
push 0x104
lea eax, [esp + 0x90]
push eax
call fcn.00589780
lea eax, [esp + 0x88]
pop esi
lea edx, [eax + 1]
pop ebx
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x58a8a6
sub eax, edx
push eax
lea ecx, [esp + 0x84]
push ecx
push 1
push 0x5c83a4
push str.Software360SafeLiveup
push 0x80000002
call dword [sym.imp.SHLWAPI.dll_SHSetValueA]
mov ecx, dword [esp + 0x184]
xor ecx, esp
call fcn.0056ab51
add esp, 0x188
ret