joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4e05f0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x5bb1cb
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
mov dword [esp + 0x18], eax
mov dword [esp + 0x10], esi
test esi, esi
jne 0x4e0648
xor eax, eax
jmp 0x4e0757
lea ecx, [esp + 0x1c]
push ecx
mov dword [esi], 0
call fcn.00428c80
lea edi, [esp + 0x1c]
mov dword [esp + 0x250], 0
call fcn.004e0400
mov eax, dword [esp + 0x2c]
mov ebx, eax
sub ebx, dword [esp + 0x28]
xor edi, edi
sar ebx, 2
test ebx, ebx
jle 0x4e0720
jmp 0x4e0689
mov eax, dword [esp + 0x2c]
sub eax, dword [esp + 0x28]
sar eax, 2
cmp edi, eax
jb 0x4e0699
call fcn.00588c45
mov edx, dword [esp + 0x28]
mov esi, dword [edx + edi*4]
xor eax, eax
push 0x206
push eax
lea ecx, [esp + 0x3e]
push ecx
mov word [esp + 0x40], ax
call fcn.0058e300
add esp, 0xc
push 0x104
lea edx, [esp + 0x38]
push edx
push esi
call dword [sym.imp.USER32.dll_GetWindowTextW]
test eax, eax
jle 0x4e0709
mov eax, dword [esp + 0x18]
mov eax, dword [eax]
lea ecx, [esp + 0x34]
push ecx
push eax
call fcn.0058a10b
add esp, 8
test eax, eax
jne 0x4e0709
lea edx, [esp + 0x14]
push edx
push esi
mov dword [esp + 0x1c], eax
call dword [sym.imp.USER32.dll_GetWindowThreadProcessId]
mov eax, dword [esp + 0x14]
test eax, eax
jbe 0x4e0709
push eax
call fcn.004e0390
test eax, eax
jne 0x4e0718
inc edi
cmp edi, ebx
jl 0x4e0685
mov esi, dword [esp + 0x10]
jmp 0x4e0720
mov eax, dword [esp + 0x10]
mov dword [eax], esi
mov esi, eax
mov eax, dword [esp + 0x28]
xor ecx, ecx
cmp dword [esi], ecx
setne cl
mov esi, ecx
test eax, eax
je 0x4e073a
push eax
call fcn.005851f0
add esp, 4
mov edx, dword [esp + 0x1c]
xor eax, eax
push edx
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], eax
mov dword [esp + 0x34], eax
call fcn.005851f0
add esp, 4
mov eax, esi
mov ecx, dword [esp + 0x248]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x230]
xor ecx, esp
call fcn.005886fc
mov esp, ebp
pop ebp
ret 4

Function at 0x4e1910
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
lea eax, [esp]
push eax
push 0x20019
push 0
push str.SOFTWAREMicrosoftWindowsCurrentVersionApp_Paths360Safe.exe
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x14], 0
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExW]
test eax, eax
jne 0x4e199b
lea ecx, [esp + 4]
push ecx
push esi
lea edx, [esp + 0x10]
push edx
push eax
mov eax, dword [esp + 0x10]
push str.Path
push eax
mov dword [esp + 0x20], 1
mov dword [esp + 0x1c], 0x208
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExW]
mov ecx, dword [esp]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
lea edx, [eax + 2]
mov cx, word [eax]
add eax, 2
test cx, cx
jne 0x4e1975
sub eax, edx
sar eax, 1
je 0x4e199d
cmp word [esi + eax*2 - 2], 0x5c
je 0x4e199d
mov edx, 0x5c
mov word [esi + eax*2], dx
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret
Function at 0x4e59e0
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
mov eax, dword [esp + 0xc]
push eax
push 1
push 0x5de2e8
push str.SoftMgrLite
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e5a2b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e5d70
Capabilities:
Set registry value

Disassembly:
sub esp, 8
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
mov esi, eax
call fcn.0051693e
push 4
lea ecx, [esp + 0x14]
push ecx
push 4
mov eax, esi
neg eax
push str.StartFlag
sbb eax, eax
push str.Software360SoftMgrSML
add eax, 2
push SysReAllocStringLen
mov dword [esp + 0x28], eax
call dword [sym.imp.SHLWAPI.dll_SHSetValueW]
mov eax, 0x5cb5f8
test esi, esi
jne 0x4e5dbf
mov eax, 0x5c9c9c
mov edx, dword [esp + 0xc]
push edx
push eax
push str.StartFlag
push str.TaskBarBtn
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e5df7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
add esp, 8
ret

Function at 0x4e5f10
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
mov eax, dword [esp + 0xc]
push eax
push 1
push str.BNavTipPop
push str.TaskBarBtn
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e5f5b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e5ff0
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
mov eax, dword [esp + 0xc]
push eax
push 0
push str.BNavCurSearchType
push str.TaskBarBtn
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e603b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
Function at 0x4e6140
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
mov eax, dword [esp + 0xc]
push eax
push 1
push str.BNavSkinMode
push str.TaskBarBtn
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e618b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e6470
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5b1b48
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, 0x5c9b08
lea ebx, [esp + 0x14]
call fcn.0051693e
mov dword [esp + 0x20], 0
call fcn.00516560
mov ecx, dword [esp + 0x14]
xor eax, eax
cmp dword [0x6230c0], 0x1000
push ecx
setl al
push eax
push str.MainWndOrStartMenu
push str.SoftMgrLite
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
neg esi
sbb esi, esi
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
inc esi
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e6505
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret

Function at 0x4e6520
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
mov eax, dword [esp + 0xc]
push eax
push 1
push str.NewStartMenu
push str.SoftMgrLite
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e656b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e6720
Capabilities:
Query or enumerate registry value

Disassembly:
sub esp, 0xc
call fcn.00530310
cmp eax, 0xd
jne 0x4e6773
mov eax, 4
mov dword [esp + 8], eax
mov dword [esp + 4], eax
lea eax, [esp + 4]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0x10]
push edx
push str.BypassMetroDesktop
push str.SOFTWARE360Safe_softmgr
push reloc.OLEAUT32.dll_SysReAllocString
mov dword [esp + 0x18], 0
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [esp], 1
sete al
add esp, 0xc
ret
call fcn.00530310
cmp eax, 0xe
jne 0x4e67c2
mov eax, 4
mov dword [esp + 4], eax
mov dword [esp + 8], eax
lea eax, [esp + 8]
push eax
lea ecx, [esp + 4]
push ecx
lea edx, [esp + 0xc]
push edx
push str.OpenAtLogon
push str.SoftwareMicrosoftWindowsCurrentVersionExplorerStartPage
push SysReAllocStringLen
mov dword [esp + 0x18], 1
call dword [sym.imp.SHLWAPI.dll_SHGetValueW]
xor eax, eax
cmp dword [esp], eax
sete al
add esp, 0xc
ret
xor eax, eax
add esp, 0xc
ret
Function at 0x4e67d0
Capabilities:
Check if file exists
Create process on windows

Disassembly:
push 0xffffffffffffffff
push 0x5b80b0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x1c]
mov dword fs:[0], eax
mov ebp, dword [esp + 0x2c]
test ebp, ebp
je 0x4e681b
push 0
push ecx
mov eax, esp
mov dword [esp + 0x34], esp
push eax
mov ecx, str.OnHideMetroTips
call fcn.00406c20
call fcn.005682b0
add esp, 8
lea ecx, [esp + 0x18]
push ecx
mov ecx, str.AdvUtils.exe
call fcn.00406c20
lea edx, [esp + 0x18]
push edx
lea eax, [esp + 0x30]
push eax
mov dword [esp + 0x2c], 0
call fcn.0052fd70
add esp, 8
mov byte [esp + 0x24], 2
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
or ebx, 0xffffffff
lea ecx, [eax + 0xc]
mov edx, ebx
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e686b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov ecx, dword [esp + 0x2c]
mov esi, dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
push ecx
call esi
test eax, eax
je 0x4e68f2
mov eax, dword [esp + 0x2c]
mov edi, eax
test eax, eax
je 0x4e68f6
push eax
call esi
test eax, eax
je 0x4e68f2
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00515ed7
add esp, 4
test eax, eax
jne 0x4e68a9
call fcn.0044edc0
test eax, eax
je 0x4e68f2
mov eax, str._EnableBypassMetro
test ebp, ebp
jne 0x4e68b7
mov eax, str._DisableBypassMetro
mov edx, dword [esp + 0x2c]
push 5
push 0
push eax
push edx
push 0
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteW]
mov esi, eax
mov dword [esp + 0x24], ebx
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4e68ee
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, esi
jmp 0x4e6915
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
mov dword [esp + 0x24], ebx
lea ecx, [eax + 0xc]
lock xadd dword [ecx], ebx
dec ebx
test ebx, ebx
jg 0x4e6913
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
xor eax, eax
mov ecx, dword [esp + 0x1c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x14
ret 4

Function at 0x4e6ab0
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
mov eax, dword [esp + 0xc]
push eax
push 0
push str.BNavSearchModeOld
push str.NetSpeed
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e6afb
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret
Function at 0x4e6bd0
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push ebp
push esi
push edi
call fcn.004e5780
mov ebp, eax
call fcn.004e5870
mov edi, 0x5c9b08
lea ebx, [esp + 0x10]
mov esi, eax
call fcn.0051693e
mov eax, dword [esp + 0x10]
push eax
push ebp
push str.BNavSearchWidth
push str.NetSpeed
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
cmp eax, esi
jle 0x4e6c0d
mov esi, eax
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e6c2d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebp
pop ebx
pop ecx
ret

Function at 0x4e6e20
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x5b19ab
mov eax, dword fs:[0]
push eax
sub esp, 0xd8
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0xd0], eax
push ebx
push ebp
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0xec]
mov dword fs:[0], eax
mov ebp, dword [esp + 0xfc]
lea eax, [esp + 0x14]
push eax
mov esi, edx
call fcn.00406c20
mov dword [esp + 0xf4], 0
mov ecx, dword [esp + 0x14]
cmp dword [ecx - 0xc], 0
jne 0x4e6e96
push 0x5c9c9c
mov ebx, 1
lea eax, [esp + 0x18]
call fcn.00406b40
mov edi, 0x5c9b08
lea ebx, [esp + 0x18]
call fcn.0051693e
xor edx, edx
push 0xc6
push edx
lea eax, [esp + 0x26]
push eax
mov word [esp + 0x28], dx
call fcn.0058e300
mov ecx, dword [esp + 0x24]
mov eax, dword [esp + 0x20]
add esp, 0xc
push ecx
push 0x63
lea edx, [esp + 0x24]
push edx
push eax
push ebp
push esi
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea ecx, [esp + 0x1c]
push ecx
call fcn.0058a9cc
mov esi, eax
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
mov edi, edx
add esp, 4
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e6f08
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0xf4], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e6f33
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov edx, edi
mov eax, esi
mov ecx, dword [esp + 0xec]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
pop ebx
mov ecx, dword [esp + 0xd0]
xor ecx, esp
call fcn.005886fc
add esp, 0xe4
ret 4
Function at 0x4e6f70
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b2878
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x34]
mov ecx, dword [esp + 0x30]
push eax
push ecx
push str._I64d
lea edi, [esp + 0x1c]
mov dword [esp + 0x2c], 0
call fcn.00406280
add esp, 0xc
mov edi, 0x5c9b08
lea ebx, [esp + 0x14]
call fcn.0051693e
mov edx, dword [esp + 0x14]
mov esi, dword [esp + 0x10]
mov eax, dword [esp + 0x2c]
mov ecx, dword [esp + 0x28]
push edx
push esi
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea edx, [eax + 0xc]
or ecx, 0xffffffff
lock xadd dword [edx], ecx
dec ecx
test ecx, ecx
jg 0x4e7019
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
lea eax, [esi - 0x10]
mov dword [esp + 0x20], 0xffffffff
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e703d
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0x10

Function at 0x4e7120
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
mov eax, dword [esp + 0xc]
mov ecx, dword [esp + 0x1c]
mov edx, dword [esp + 0x18]
push eax
mov eax, dword [esp + 0x18]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e716e
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret 0xc
Function at 0x4e7180
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5b19f0
mov eax, dword fs:[0]
push eax
sub esp, 8
push ebx
push esi
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x18]
mov dword fs:[0], eax
mov edi, 0x5c9b08
lea ebx, [esp + 0x14]
call fcn.0051693e
xor ebx, ebx
mov dword [esp + 0x20], ebx
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
add eax, 0x10
mov dword [esp + 0x10], eax
mov eax, dword [esp + 0x30]
push eax
push 0x5cd62c
lea edi, [esp + 0x18]
mov byte [esp + 0x28], 1
call fcn.00406280
mov ecx, dword [esp + 0x1c]
mov esi, dword [esp + 0x18]
mov edx, dword [esp + 0x34]
mov eax, dword [esp + 0x30]
add esp, 8
push ecx
push esi
push edx
push eax
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringW]
mov edi, eax
lea eax, [esi - 0x10]
mov byte [esp + 0x20], bl
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e7227
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov dword [esp + 0x20], 0xffffffff
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e724f
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
mov eax, edi
mov ecx, dword [esp + 0x18]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
add esp, 0x14
ret 0xc

Function at 0x4e72f0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x5acecf
mov eax, dword fs:[0]
push eax
sub esp, 0x8c
push ebx
push ebp
push edi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0x9c]
mov dword fs:[0], eax
mov edi, dword [esp + 0xac]
mov dword [esp + 0xa4], 0
mov dword [esp + 0x10], 0
mov eax, dword [0x621148]
mov edx, dword [eax + 0xc]
mov ecx, 0x621148
call edx
add eax, 0x10
mov dword [edi], eax
mov dword [esp + 0xa4], 0
push 0
mov dword [esp + 0x14], 1
call fcn.0058a429
mov dword [esp + 0x28], eax
add esp, 4
lea eax, [esp + 0x24]
push eax
lea ecx, [esp + 0x30]
push ecx
mov dword [esp + 0x30], edx
call fcn.0058b6ce
neg eax
sbb eax, eax
not eax
and eax, dword [esp + 0x40]
push 0
mov ebp, eax
call fcn.0058a429
mov dword [esp + 0x2c], edx
add esp, 0xc
lea edx, [esp + 0x1c]
mov dword [esp + 0x1c], eax
push edx
lea eax, [esp + 0x54]
push eax
call fcn.0058b6ce
add esp, 8
test eax, eax
jne 0x4e73b9
mov ebx, dword [esp + 0x60]
inc ebx
jmp 0x4e73bb
xor ebx, ebx
push 0
call fcn.0058a429
add esp, 4
lea ecx, [esp + 0x14]
mov dword [esp + 0x18], edx
push ecx
lea edx, [esp + 0x78]
push edx
mov dword [esp + 0x1c], eax
call fcn.0058b6ce
add esp, 8
test eax, eax
jne 0x4e73f1
mov eax, dword [esp + 0x88]
add eax, 0x76c
jmp 0x4e73f3
xor eax, eax
push ebp
push ebx
push eax
push str._d__d__d
call fcn.00406280
add esp, 0x10
mov eax, edi
mov ecx, dword [esp + 0x9c]
mov dword fs:[0], ecx
pop ecx
pop edi
pop ebp
pop ebx
add esp, 0x98
ret 4
Function at 0x4e7440
Capabilities:
Read .ini file

Disassembly:
sub esp, 0xd0
mov eax, dword [0x615370]
xor eax, esp
mov dword [esp + 0xcc], eax
push ebx
push edi
xor eax, eax
push 0xc6
push eax
lea ecx, [esp + 0x16]
mov dword [esp + 0x10], 0
push ecx
mov word [esp + 0x18], ax
call fcn.0058e300
add esp, 0xc
mov edi, 0x5c9b08
lea ebx, [esp + 8]
call fcn.0051693e
mov edx, dword [eax]
push edx
push 0x63
lea eax, [esp + 0x14]
push eax
push 0x5c9c9c
push str.CloudNewsDate
push str.CloudNews
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
pop edi
pop ebx
test edx, edx
jg 0x4e74c7
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
push esi
lea ecx, [esp + 8]
call fcn.00406c20
mov ecx, dword [esp + 0xcc]
xor ecx, esp
mov eax, esi
call fcn.005886fc
add esp, 0xd0
ret

Function at 0x4e7550
Capabilities:
Read .ini file

Disassembly:
push ecx
push ebx
push esi
push edi
mov edi, 0x5c9b08
lea ebx, [esp + 0xc]
call fcn.0051693e
mov eax, dword [esp + 0xc]
push eax
push 0
push str.I18nPromoType
push str.I18N
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntW]
mov esi, eax
mov eax, dword [esp + 0xc]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e759b
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
pop edi
mov eax, esi
pop esi
pop ebx
pop ecx
ret

Function at 0x4e8f20
Capabilities:
Check if file exists

Disassembly:
push 0xffffffffffffffff
push 0x5b4648
mov eax, dword fs:[0]
push eax
push ecx
push esi
mov eax, dword [0x615370]
xor eax, esp
push eax
lea eax, [esp + 0xc]
mov dword fs:[0], eax
test edi, edi
jne 0x4e8f59
xor eax, eax
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e8f46
lea eax, [esp + 8]
push 0x5caac4
push eax
call fcn.00516143
add esp, 8
mov dword [esp + 0x14], 0
mov eax, dword [eax]
push eax
mov esi, 0x618268
call fcn.00406690
mov esi, eax
mov dword [esp + 0x14], 0xffffffff
mov eax, dword [esp + 8]
add eax, 0xfffffff0
lea ecx, [eax + 0xc]
or edx, 0xffffffff
lock xadd dword [ecx], edx
dec edx
test edx, edx
jg 0x4e8fb5
mov ecx, dword [eax]
mov edx, dword [ecx]
push eax
mov eax, dword [edx + 4]
call eax
test esi, esi
je 0x4e8fd7
push edi
push 0x618268
xor esi, esi
call fcn.00515fcf
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret
mov eax, edi
call fcn.00580770
mov ecx, dword [esp + 0xc]
mov dword fs:[0], ecx
pop ecx
pop esi
add esp, 0x10
ret

Function at 0x4e9000
Capabilities:
Check if file exists

Disassembly:
push edi
mov edi, eax
test edi, edi
jne 0x4e900b
xor eax, eax
pop edi
ret
push edi
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x4e9007
call dword [sym.imp.KERNEL32.dll_GetCurrentProcessId]
push eax
call fcn.00515ed7
add esp, 4
test eax, eax
je 0x4e9030
mov eax, 1
pop edi
ret
call fcn.004e8f20
pop edi
ret