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

Disassembly:
push ebp
push esi
push edi
mov esi, eax
call fcn.00467a8e
mov ebp, dword [sym.imp.MSVCR80.dll_fseek]
xor edi, edi
push edi
push edi
push ebx
call ebp
push ebx
call dword [sym.imp.MSVCR80.dll_fgetc]
add esp, 0x10
cmp eax, 0xffffffff
jne 0x467b33
push ebx
call dword [sym.imp.MSVCR80.dll_ferror]
test eax, eax
pop ecx
je 0x467b33
push 5
pop eax
mov dword [esi + 0x30], eax
mov dword [esi + 0x38], edi
mov dword [esi + 0x3c], edi
jmp 0x467b96
push 2
push edi
push ebx
call ebp
push ebx
call dword [sym.imp.MSVCR80.dll_ftell]
push 0
push 0
push ebx
mov edi, eax
call ebp
add esp, 0x1c
cmp edi, 0xffffffff
jne 0x467b61
push 5
and dword [esi + 0x38], 0
and dword [esi + 0x3c], 0
pop eax
mov dword [esi + 0x30], eax
jmp 0x467b96
test edi, edi
jne 0x467b69
push 0xf
jmp 0x467b53
lea eax, [edi + 1]
push eax
call fcn.004d64b6
push ebx
push edi
push 1
push eax
mov dword [esi + 0x40], eax
call dword [sym.imp.MSVCR80.dll_fread]
add esp, 0x14
cmp eax, edi
jne 0x467b51
mov eax, dword [esi + 0x40]
mov byte [edi + eax], 0
call fcn.00467b9a
mov eax, dword [esi + 0x30]
pop edi
pop esi
pop ebp
ret

Function at 0x4680b6
Capabilities:
Check if file exists

Disassembly:
push 8
mov eax, 0x4f5a27
call fcn.004d766c
lea esi, [ebp - 0x10]
call fcn.00468180
and dword [ebp - 4], 0
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x468127
lea esi, [ebp - 0x14]
call fcn.00468204
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 1
call fcn.00402a4c
mov byte [ebp - 4], 0
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
jne 0x468127
lea esi, [ebp - 0x14]
call fcn.00468180
mov byte [ebp - 4], 2
call fcn.00402a4c
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
push dword [ebp - 0x10]
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.GetInterface
push eax
mov dword [ebx + 0xc], eax
call esi
push str.WebUiInitialize
push dword [ebx + 0xc]
mov dword [ebx], eax
call esi
push str.WebUiUninitialize
push dword [ebx + 0xc]
mov dword [ebx + 4], eax
call esi
xor esi, esi
cmp dword [ebx], esi
mov dword [ebx + 8], eax
je 0x46816d
cmp dword [ebx + 4], esi
je 0x46816d
cmp eax, esi
je 0x46816d
inc esi
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
call fcn.004d7744
ret

Function at 0x468e80
Capabilities:
Hash data with md5

Disassembly:
push esi
xor ecx, ecx
push 0x40
lea esi, [eax + 0x58]
push ecx
push esi
mov dword [eax + 0x14], ecx
mov dword [eax + 0x10], ecx
mov dword [eax], 0x67452301
mov dword [eax + 4], 0xefcdab89
mov dword [eax + 8], 0x98badcfe
mov dword [eax + 0xc], 0x10325476
call sub.MSVCR80.dll_memset
add esp, 0xc
mov byte [esi], 0x80
pop esi
ret
Function at 0x469d00
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.winhttp.dll
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x68], eax
je 0x469e64
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.WinHttpOpen
push eax
call edi
push str.WinHttpConnect
push dword [esi + 0x68]
mov dword [esi + 4], eax
call edi
push str.WinHttpOpenRequest
push dword [esi + 0x68]
mov dword [esi + 8], eax
call edi
push str.WinHttpAddRequestHeaders
push dword [esi + 0x68]
mov dword [esi + 0xc], eax
call edi
push str.WinHttpSendRequest
push dword [esi + 0x68]
mov dword [esi + 0x10], eax
call edi
push str.WinHttpReceiveResponse
push dword [esi + 0x68]
mov dword [esi + 0x14], eax
call edi
push str.WinHttpQueryHeaders
push dword [esi + 0x68]
mov dword [esi + 0x18], eax
call edi
push str.WinHttpReadData
push dword [esi + 0x68]
mov dword [esi + 0x1c], eax
call edi
push str.WinHttpCloseHandle
push dword [esi + 0x68]
mov dword [esi + 0x20], eax
call edi
push str.WinHttpCrackUrl
push dword [esi + 0x68]
mov dword [esi + 0x24], eax
call edi
push str.WinHttpSetOption
push dword [esi + 0x68]
mov dword [esi + 0x28], eax
call edi
push str.WinHttpSetTimeouts
push dword [esi + 0x68]
mov dword [esi + 0x2c], eax
call edi
push str.WinHttpQueryOption
push dword [esi + 0x68]
mov dword [esi + 0x30], eax
call edi
cmp dword [esi + 4], ebx
mov dword [esi + 0x34], eax
je 0x469e62
cmp dword [esi + 0x10], ebx
je 0x469e62
cmp dword [esi + 0x24], ebx
je 0x469e62
cmp dword [esi + 8], ebx
je 0x469e62
cmp dword [esi + 0xc], ebx
je 0x469e62
cmp dword [esi + 0x1c], ebx
je 0x469e62
cmp dword [esi + 0x20], ebx
je 0x469e62
cmp dword [esi + 0x18], ebx
je 0x469e62
cmp dword [esi + 0x14], ebx
je 0x469e62
cmp dword [esi + 0x28], ebx
je 0x469e62
cmp dword [esi + 0x2c], ebx
je 0x469e62
cmp dword [esi + 0x30], ebx
je 0x469e62
cmp eax, ebx
je 0x469e62
inc ebx
mov dword [esi], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [esi]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d6e66
leave
ret
Function at 0x469e74
Capabilities:
Get common file path
Link many functions at runtime

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x20c
mov eax, dword [0x5550ec]
xor eax, ebp
mov dword [ebp - 4], eax
push ebx
push edi
xor ebx, ebx
push 0x206
lea eax, [ebp - 0x20a]
push ebx
push eax
mov word [ebp - 0x20c], bx
call sub.MSVCR80.dll_memset
add esp, 0xc
mov edi, 0x104
push edi
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryW]
push str.wininet.dll
lea eax, [ebp - 0x20c]
push edi
push eax
call dword [sym.imp.MSVCR80.dll_wcscat_s]
add esp, 0xc
lea eax, [ebp - 0x20c]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryW]
cmp eax, ebx
mov dword [esi + 0x6c], eax
je 0x469fb5
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.InternetOpenW
push eax
call edi
push str.InternetConnectW
push dword [esi + 0x6c]
mov dword [esi + 0x3c], eax
call edi
push str.HttpOpenRequestW
push dword [esi + 0x6c]
mov dword [esi + 0x40], eax
call edi
push str.HttpAddRequestHeadersW
push dword [esi + 0x6c]
mov dword [esi + 0x44], eax
call edi
push str.HttpSendRequestW
push dword [esi + 0x6c]
mov dword [esi + 0x48], eax
call edi
push str.HttpQueryInfoW
push dword [esi + 0x6c]
mov dword [esi + 0x4c], eax
call edi
push str.InternetReadFile
push dword [esi + 0x6c]
mov dword [esi + 0x50], eax
call edi
push str.InternetCloseHandle
push dword [esi + 0x6c]
mov dword [esi + 0x54], eax
call edi
push str.InternetCrackUrlW
push dword [esi + 0x6c]
mov dword [esi + 0x58], eax
call edi
push str.InternetSetOptionW
push dword [esi + 0x6c]
mov dword [esi + 0x5c], eax
call edi
push str.InternetQueryOptionW
push dword [esi + 0x6c]
mov dword [esi + 0x60], eax
call edi
cmp dword [esi + 0x3c], ebx
mov dword [esi + 0x64], eax
je 0x469fb2
cmp dword [esi + 0x40], ebx
je 0x469fb2
cmp dword [esi + 0x44], ebx
je 0x469fb2
cmp dword [esi + 0x48], ebx
je 0x469fb2
cmp dword [esi + 0x4c], ebx
je 0x469fb2
cmp dword [esi + 0x50], ebx
je 0x469fb2
cmp dword [esi + 0x54], ebx
je 0x469fb2
cmp dword [esi + 0x58], ebx
je 0x469fb2
cmp dword [esi + 0x5c], ebx
je 0x469fb2
cmp dword [esi + 0x60], ebx
je 0x469fb2
cmp eax, ebx
je 0x469fb2
inc ebx
mov dword [esi + 0x38], ebx
mov ecx, dword [ebp - 4]
mov eax, dword [esi + 0x38]
pop edi
xor ecx, ebp
pop ebx
call fcn.004d6e66
leave
ret
Function at 0x46e7dd
Capabilities:
Get file version info

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
xor eax, eax
push ebx
mov dword [ebp - 0x14], eax
mov dword [ebp - 8], eax
mov dword [esi], eax
mov dword [edi], eax
lea eax, [ebp - 8]
push eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoSizeW
mov ebx, eax
test ebx, ebx
je 0x46e866
push ebx
call fcn.004d64b6
pop ecx
push eax
push ebx
push dword [ebp - 8]
mov dword [ebp - 4], eax
push dword [ebp + 8]
call sub.VERSION.dll_GetFileVersionInfoW
test eax, eax
je 0x46e857
lea eax, [ebp - 0xc]
push eax
lea eax, [ebp - 0x10]
push eax
push 0x5115d4
push dword [ebp - 4]
xor ebx, ebx
mov dword [ebp - 0xc], ebx
mov dword [ebp - 0x10], ebx
call sub.VERSION.dll_VerQueryValueW
test eax, eax
je 0x46e857
cmp dword [ebp - 0xc], ebx
je 0x46e857
mov eax, dword [ebp - 0x10]
mov ecx, dword [eax + 8]
mov eax, dword [eax + 0xc]
mov dword [edi], ecx
mov dword [esi], eax
mov dword [ebp - 0x14], 1
cmp dword [ebp - 4], 0
je 0x46e866
push dword [ebp - 4]
call sub.MSVCR80.dll_void___cdecl_operator_delete___void__
pop ecx
mov eax, dword [ebp - 0x14]
pop ebx
leave
ret

Function at 0x46f4fe
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x4f51da
call fcn.004d766c
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
xor ebx, ebx
inc ebx
mov byte [ebp - 4], bl
mov eax, dword [0x55ad28]
test eax, eax
je 0x46f561
inc dword [0x55ad24]
mov esi, ebx
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, esi
jmp 0x46f637
lea eax, [ebp - 0x14]
push eax
call fcn.00490a3b
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402a4c
mov byte [ebp - 4], bl
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
push str.krsctrl.dll
mov eax, edi
push eax
call fcn.004029d7
push dword [ebp - 0x10]
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f546
mov esi, dword [0x55ad20]
test esi, esi
jne 0x46f5df
push 0x55a310
push 0xc
call fcn.004d70c7
pop ecx
pop ecx
mov dword [ebp - 0x1c], eax
test eax, eax
mov byte [ebp - 4], 3
je 0x46f5ce
push dword [ebp - 0x10]
mov edi, eax
call fcn.0047ba0f
jmp 0x46f5d0
xor eax, eax
test eax, eax
mov esi, eax
mov byte [ebp - 4], bl
mov dword [0x55ad20], esi
je 0x46f621
call fcn.0047bad0
test al, al
je 0x46f621
mov esi, dword [esi + 8]
mov eax, dword [esi]
push ebx
push esi
call dword [eax + 0xc]
test eax, eax
je 0x46f5fd
xor esi, esi
jmp 0x46f546
inc dword [0x55ad24]
push dword [ebp + 8]
mov dword [0x55ad28], ebx
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, ebx
jmp 0x46f637
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
call fcn.004d7744
ret 4
Function at 0x46f63f
Capabilities:
Check if file exists

Disassembly:
push 0x10
mov eax, 0x4f5197
call fcn.004d766c
mov eax, dword [0x55a320]
mov ecx, 0x55a320
call dword [eax + 0xc]
add eax, 0x10
mov dword [ebp - 0x10], eax
mov eax, dword [ebp + 8]
xor esi, esi
mov dword [ebp - 4], esi
push eax
mov dword [ebp - 0x18], eax
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov byte [ebp - 4], 1
mov eax, dword [0x55ad28]
test eax, eax
je 0x46f69f
inc dword [0x55ad24]
mov ebx, dword [ebp - 0x10]
inc esi
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx - 0x10]
call fcn.004012f9
mov eax, esi
jmp 0x46f77a
lea eax, [ebp - 0x14]
push eax
call fcn.00490db7
pop ecx
lea edi, [ebp - 0x10]
mov byte [ebp - 4], 2
call fcn.00402a4c
mov byte [ebp - 4], 1
mov eax, dword [ebp - 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, edi
push eax
call fcn.0049085e
mov eax, edi
mov dword [esp], str.dgrsctrl.dll
push eax
call fcn.004029d7
mov ebx, dword [ebp - 0x10]
push ebx
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x46f687
mov esi, dword [0x55ad20]
test esi, esi
jne 0x46f728
push 0x55a310
push 0xc
call fcn.004d70c7
pop ecx
mov edi, eax
pop ecx
mov dword [ebp - 0x1c], edi
test edi, edi
mov byte [ebp - 4], 3
je 0x46f716
push ebx
call fcn.0047ba0f
jmp 0x46f718
xor eax, eax
test eax, eax
mov esi, eax
mov byte [ebp - 4], 1
mov dword [0x55ad20], esi
je 0x46f767
call fcn.0047bad0
test al, al
je 0x46f767
mov esi, dword [esi + 8]
mov eax, dword [esi]
push 2
push esi
call dword [eax + 0xc]
xor esi, esi
test eax, eax
jne 0x46f687
inc dword [0x55ad24]
push dword [ebp + 8]
inc esi
mov dword [0x55ad28], esi
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
jmp 0x46f693
push dword [ebp + 8]
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea eax, [ebx - 0x10]
call fcn.004012f9
xor eax, eax
call fcn.004d7744
ret 4
Function at 0x47403a
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4f4b8a
mov eax, dword fs:[0]
push eax
sub esp, 0xa0
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp + 0x98], eax
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0xb0]
mov dword fs:[0], eax
mov esi, ecx
mov dword [esp + 0x28], esi
xor ebx, ebx
add esi, 0x20
mov eax, esi
mov dword [esp + 0x14], ebx
mov dword [esp + 0x18], ebx
call fcn.00495dde
test eax, eax
mov edi, dword [sym.imp.MSVCR80.dll__wtoi64]
jle 0x474112
and word [esp + 0x34], 0
push 0x6e
lea eax, [esp + 0x3a]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
call fcn.0047a859
mov eax, dword [eax]
push ebx
mov dword [esp + 0x24], eax
call fcn.0047a859
add eax, 8
mov eax, dword [eax]
push ebx
mov dword [esp + 0x28], eax
call fcn.0047a859
push dword [esp + 0x20]
lea ecx, [esp + 0x38]
push 0x38
push ecx
push 0x50b288
push dword [esp + 0x34]
add eax, 4
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
lea eax, [esp + 0x34]
push eax
call edi
add dword [esp + 0x18], eax
pop ecx
mov eax, esi
adc dword [esp + 0x18], edx
inc ebx
call fcn.00495dde
cmp ebx, eax
jl 0x47409e
mov esi, dword [esp + 0x28]
push dword [esi + 0x1c]
call edi
mov edi, dword [esp + 0x1c]
mov dword [esp + 0x2c], eax
cdq
cmp edi, edx
pop ecx
jl 0x474139
jg 0x474131
cmp dword [esp + 0x14], eax
jb 0x474139
xor eax, eax
inc eax
jmp 0x47422b
lea eax, [esi + 0xc]
push 0x51c6b8
push eax
call fcn.00402d02
xor ebx, ebx
cmp dword [0x55ac14], ebx
je 0x474229
mov eax, dword [esp + 0x14]
mov dword [esp + 0x2c], eax
push str.IniSumCondition::IsRecommanded
lea eax, [esp + 0x24]
push eax
mov dword [esp + 0x38], edi
call fcn.00402cc5
mov dword [esp + 0xb8], ebx
cmp dword [esi + 8], ebx
jne 0x474183
or dword [esp + 0x24], 0xffffffff
jmp 0x47418e
mov ecx, dword [esi + 8]
mov eax, dword [ecx]
call dword [eax]
mov dword [esp + 0x24], eax
lea eax, [esp + 0x20]
lea edi, [esp + 0x14]
call fcn.004c8150
mov byte [esp + 0xb8], 1
mov ecx, dword [eax]
lea eax, [esp + 0x28]
push eax
push str._min
push str.sum_is_less_than_min_value__sum
mov eax, 0x511610
push eax
push ecx
push 0x5115d8
push eax
lea eax, [esp + 0x40]
push eax
push str._pushtype
push ecx
call fcn.004022da
add esp, 4
call fcn.00402322
call fcn.00423ea4
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
call fcn.00402322
lea edi, [esp + 0x34]
call fcn.0047bb18
call fcn.00402322
call fcn.00423ea4
mov esi, eax
call fcn.0040234b
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
mov ecx, dword [esp + 0xb0]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x98]
xor ecx, esp
call fcn.004d6e66
mov esp, ebp
pop ebp
ret
Function at 0x478fb5
Capabilities:
Query service status

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x30
push ebx
mov ebx, ecx
mov eax, dword [ebx + 0x1c]
push edi
xor edi, edi
cmp dword [eax - 0xc], edi
jne 0x478fd0
xor eax, eax
jmp 0x479079
push esi
mov esi, SysReAllocStringLen
push esi
push str.ServicesActive
push edi
mov dword [ebp - 8], edi
call dword [sym.imp.ADVAPI32.dll_OpenSCManagerW]
cmp eax, edi
mov dword [ebp - 4], eax
jne 0x478ffd
push str.open_scmgr_failure
add ebx, 0xc
push ebx
call fcn.00402d02
jmp 0x479075
mov eax, dword [ebx + 0x1c]
push esi
push eax
push dword [ebp - 4]
call dword [sym.imp.ADVAPI32.dll_OpenServiceW]
mov esi, eax
cmp esi, edi
jne 0x479018
push str.open_service_failure
jmp 0x47905a
push 8
pop ecx
xor eax, eax
and dword [ebp - 0xc], eax
mov dword [ebp - 0x30], edi
lea edi, [ebp - 0x2c]
rep stosd dword es:[edi], eax
lea eax, [ebp - 0xc]
push eax
push 0x24
lea eax, [ebp - 0x30]
push eax
push 0
push esi
call dword [sym.imp.ADVAPI32.dll_QueryServiceStatusEx]
test eax, eax
jne 0x479046
push str.query_service_status_failure
jmp 0x47905a
cmp dword [ebp - 0x2c], 4
jne 0x479055
mov dword [ebp - 8], 1
jmp 0x479063
push str.service_not_runing
add ebx, 0xc
push ebx
call fcn.00402d02
test esi, esi
mov edi, dword [sym.imp.ADVAPI32.dll_CloseServiceHandle]
je 0x479070
push esi
call edi
push dword [ebp - 4]
call edi
mov eax, dword [ebp - 8]
pop esi
pop edi
pop ebx
leave
ret
Function at 0x47d64e
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fd275
mov eax, dword fs:[0]
push eax
sub esp, 0x238
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp + 0x230], eax
push ebx
push esi
push edi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x248]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
mov edi, ecx
xor esi, esi
cmp dword [edi + 0xc], esi
je 0x47d703
mov eax, dword [edi + 8]
cmp eax, esi
je 0x47d703
push eax
lea eax, [edi + 0x14]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004c7c7c
add esp, 0xc
push 0x1fe
lea eax, [esp + 0x42]
push esi
mov dword [esp + 0x258], esi
push eax
mov word [esp + 0x48], si
call sub.MSVCR80.dll_memset
mov eax, dword [edi + 0x1c]
mov ecx, dword [edi + 0x18]
add esp, 0xc
push dword [esp + 0x10]
lea edx, [esp + 0x40]
push 0x100
push edx
push 0x50b288
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
cmp eax, esi
jne 0x47d72b
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
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.004d6e66
mov esp, ebp
pop ebp
ret 4
lea eax, [esp + 0x3c]
push eax
lea eax, [esp + 0x1c]
push eax
call fcn.00402cc5
push 0x5c
lea esi, [esp + 0x14]
mov byte [esp + 0x254], 1
call fcn.00407742
lea ecx, [eax + 1]
lea edx, [esp + 0x24]
mov eax, esi
call fcn.004067fb
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x18]
push ecx
mov ecx, eax
mov byte [esp + 0x258], 2
call fcn.0040646d
pop ecx
pop ecx
mov byte [esp + 0x250], 4
mov eax, dword [esp + 0x24]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x14]
push ecx
add eax, 0xfffffff0
mov dword [esp + 0x20], esp
mov esi, esp
call fcn.00401311
add eax, 0x10
mov dword [esi], eax
push dword [edi + 0x10]
lea esi, [esp + 0x30]
call fcn.0047ff45
pop ecx
pop ecx
lea ecx, [esp + 0x1c]
push ecx
mov esi, eax
mov byte [esp + 0x254], 5
call fcn.0047ff80
lea eax, [esp + 0x1c]
push eax
push ebx
lea ebx, [esp + 0x38]
mov byte [esp + 0x258], 6
call fcn.0047f896
mov eax, dword [esp + 0x20]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x1c]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x2c]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
inc eax
jmp 0x47d705
Function at 0x47deae
Capabilities:
Check if file exists

Disassembly:
push 4
mov eax, 0x4fed1a
call fcn.004d766c
mov esi, ecx
xor ebx, ebx
cmp dword [esi + 0x1c], ebx
jne 0x47dfdd
mov eax, dword [esi + 8]
mov dword [esi + 0x1c], 1
cmp dword [eax - 0xc], ebx
je 0x47dfdd
mov eax, dword [esi + 4]
cmp dword [eax - 0xc], ebx
je 0x47dfdd
lea edi, [esi + 0x20]
mov eax, edi
call fcn.0047fa84
test eax, eax
je 0x47dfdd
mov eax, dword [esi]
cmp dword [eax - 0xc], ebx
je 0x47dfdd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47dfdd
mov eax, edi
call fcn.0047fa84
test eax, eax
jle 0x47df68
mov eax, edi
call fcn.0047fa84
cmp ebx, eax
jb 0x47df2e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
lea eax, [eax + ebx*8]
mov ecx, dword [eax + 4]
cmp dword [ecx - 0xc], 0
je 0x47dfdd
mov eax, dword [eax]
cmp dword [eax - 0xc], 0
je 0x47dfdd
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsW]
test eax, eax
je 0x47dfdd
mov eax, edi
inc ebx
call fcn.0047fa84
cmp ebx, eax
jl 0x47df1d
push dword [esi + 0x18]
lea eax, [ebp - 0x10]
push eax
mov dword [esi + 0x1c], 2
call fcn.0047dfe5
xor esi, esi
mov dword [ebp - 4], esi
mov ebx, dword [eax]
call fcn.004c71f6
cmp ebx, esi
jne 0x47df8f
xor edi, edi
jmp 0x47df9f
mov esi, str.lastshowtime
mov edx, eax
call fcn.00498802
mov edi, eax
mov esi, edx
mov eax, dword [ebp - 0x10]
add eax, 0xfffffff0
call fcn.004012f9
test esi, esi
jl 0x47dfd8
jg 0x47dfb4
test edi, edi
jbe 0x47dfd8
push 0
call dword [sym.imp.MSVCR80.dll__time64]
cmp edx, esi
pop ecx
jl 0x47dfd8
jg 0x47dfc7
cmp eax, edi
jbe 0x47dfd8
sub eax, edi
sbb edx, esi
test edx, edx
jg 0x47dfd8
jl 0x47dfdd
cmp eax, 0x2a30
jb 0x47dfdd
xor eax, eax
inc eax
jmp 0x47dfdf
xor eax, eax
call fcn.004d7744
ret
Function at 0x47e351
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4fd205
mov eax, dword fs:[0]
push eax
sub esp, 0x22c
mov eax, dword [0x5550ec]
xor eax, esp
mov dword [esp + 0x224], eax
push ebx
push esi
mov eax, dword [0x5550ec]
xor eax, esp
push eax
lea eax, [esp + 0x238]
mov dword fs:[0], eax
mov eax, dword [ebp + 8]
mov esi, ecx
cmp dword [esi + 0xc], 0
mov dword [esp + 0x1c], eax
je 0x47e47f
mov ebx, dword [esi + 8]
test ebx, ebx
je 0x47e47f
and word [esp + 0x2c], 0
push 0x1fe
lea eax, [esp + 0x32]
push 0
push eax
call sub.MSVCR80.dll_memset
add esp, 0xc
push ebx
lea eax, [esi + 0x14]
push eax
lea eax, [esp + 0x18]
push eax
call fcn.004c7c7c
add esp, 0xc
and dword [esp + 0x240], 0
push dword [esp + 0x10]
mov eax, dword [esi + 0x1c]
mov ecx, dword [esi + 0x18]
push 0x200
lea edx, [esp + 0x34]
push edx
push 0x50b288
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
test eax, eax
je 0x47e473
mov esi, dword [esi + 0x10]
test esi, esi
je 0x47e473
push esi
lea eax, [esp + 0x18]
push eax
call fcn.0047d527
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x1c]
push eax
mov byte [esp + 0x248], 1
call fcn.00402cc5
lea eax, [esp + 0x14]
push eax
push dword [esp + 0x20]
lea ebx, [esp + 0x28]
mov byte [esp + 0x248], 2
call fcn.0047f896
mov eax, dword [esp + 0x18]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x14]
add eax, 0xfffffff0
call fcn.004012f9
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
inc eax
jmp 0x47e481
mov eax, dword [esp + 0x10]
add eax, 0xfffffff0
call fcn.004012f9
xor eax, eax
mov ecx, dword [esp + 0x238]
mov dword fs:[0], ecx
pop ecx
pop esi
pop ebx
mov ecx, dword [esp + 0x224]
xor ecx, esp
call fcn.004d6e66
mov esp, ebp
pop ebp
ret 4