joyce8/EMBER2024-capa huggingface dataset:
Function at 0x44e67e
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x200
push ebp
mov ebp, dword [esp + 0x208]
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x1dc]
test eax, eax
je 0x44e710
mov ecx, dword [ebp + 0x28]
mov eax, dword [ecx - 8]
test eax, eax
jne 0x44e6a1
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44e6aa
mov eax, dword [0x4dc4b8]
test eax, eax
jne 0x44e6b6
mov dword [esi + 0x140], 1
jmp 0x44e710
mov eax, dword [esp + 0x214]
test eax, eax
je 0x44e6d9
push 1
push 0
push ebp
mov ecx, esi
call fcn.0044ea90
pop edi
pop esi
pop ebp
add esp, 0x200
ret 8
mov eax, dword [ebp + 0x2c]
test eax, eax
je 0x44e6f7
push 1
push eax
mov ecx, esi
call fcn.0044f760
neg eax
sbb eax, eax
inc eax
mov dword [esi + 0x140], eax
jmp 0x44e710
mov eax, dword [esi + 0x114]
push ecx
mov ecx, dword [eax + 0x44]
call fcn.00420f90
mov dword [esi + 0x140], 0
mov eax, dword [esi + 0x140]
test eax, eax
je 0x44e7f8
mov ecx, dword [0x4dbca8]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push ecx
lea edx, [esp + 0x110]
push 0x100
push edx
push 0x4db920
push str.BeforeLoginURL
push 0x4d68a4
call edi
mov eax, dword [0x4dbca8]
lea ecx, [esp + 0xc]
push eax
push 0x100
push ecx
push 0x4db920
push str.AfterLoginURL
push 0x4d68a4
call edi
mov eax, dword [0x4dc4b8]
lea edi, [esp + 0xc]
test eax, eax
jne 0x44e77e
lea edi, [esp + 0x10c]
mov ecx, dword [esi + 0x150]
test ecx, ecx
jne 0x44e7e2
cmp byte [edi], 0
je 0x44e7e2
test eax, eax
je 0x44e7b2
lea edx, [esp + 0xc]
lea eax, [esp + 0x10c]
push edx
push eax
call dword [sym.imp.MSVCRT.dll__stricmp]
add esp, 8
test eax, eax
jne 0x44e7b2
mov eax, 1
jmp 0x44e7b4
xor eax, eax
xor ecx, ecx
test eax, eax
sete cl
push ecx
push edi
push ebp
mov ecx, esi
call fcn.0044ea90
mov eax, 1
pop edi
mov dword [esi + 0x150], eax
mov dword [esi + 0x144], eax
pop esi
pop ebp
add esp, 0x200
ret 8
push 1
push 0
push ebp
mov ecx, esi
call fcn.0044ea90
mov dword [esi + 0x144], 0
pop edi
pop esi
pop ebp
add esp, 0x200
ret 8
Function at 0x44f760
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4b6c16
push eax
mov eax, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x10c
push ebx
xor ebx, ebx
push ebp
push esi
cmp eax, ebx
push edi
mov esi, ecx
je 0x44f8bd
lea ecx, [esp + 0x14]
mov byte [esp + 0x18], bl
call sub.MFC42.DLL_CString::CString_5
lea ecx, [esp + 0x10]
mov dword [esp + 0x124], ebx
call sub.MFC42.DLL_CString::CString_5
mov edi, dword [esp + 0x12c]
mov eax, dword [0x4dbca0]
push edi
push eax
lea ecx, [esp + 0x1c]
push str._s_advert_0d_settings.ini
push ecx
mov byte [esp + 0x134], 1
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x24]
add esp, 0x10
lea eax, [esp + 0x18]
push edx
push 0x104
push eax
push str.ad.html
push str.MainFile
push str.settings
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 0x18]
push ecx
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::operator_1
push ebx
push str.http:__
lea ecx, [esp + 0x18]
call sub.MFC42.DLL_CString::Find_1
lea edx, [esp + 0x18]
test eax, eax
push edx
jge 0x44f889
mov eax, dword [0x4dbca0]
push edi
push eax
lea ecx, [esp + 0x1c]
push str._s_advert_0d_s
push ecx
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x24]
push edx
call fcn.00455aa0
add esp, 0x18
test eax, eax
je 0x44f85e
mov ecx, dword [esi + 0x114]
push 1
lea eax, [esp + 0x1c]
push ebx
mov ecx, dword [ecx + 0x44]
push eax
push edi
call fcn.00420d30
jmp 0x44f897
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x44f917
mov eax, dword [esi + 0x114]
mov ecx, dword [eax + 0x44]
call fcn.00420f90
lea ecx, [esp + 0x10]
mov byte [esp + 0x124], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x14]
mov dword [esp + 0x124], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x44f912
mov edx, dword [esi + 0x1a0]
xor eax, eax
cmp edx, ebx
jle 0x44f912
mov edi, dword [esi + 0x19c]
mov ebp, dword [esp + 0x12c]
mov ecx, edi
cmp dword [ecx], ebp
je 0x44f8e6
inc eax
add ecx, 4
cmp eax, edx
jl 0x44f8d8
jmp 0x44f912
cmp eax, 0xffffffff
je 0x44f912
mov ecx, dword [esi + 0x188]
push ebx
mov edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x174]
push edx
mov edx, dword [ecx + eax*4]
mov ecx, dword [esi + 0x114]
mov eax, dword [edi + eax*4]
push edx
mov ecx, dword [ecx + 0x44]
push eax
call fcn.00420d30
mov eax, 1
mov ecx, dword [esp + 0x11c]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x118
ret 8
Function at 0x451260
Capabilities:
Create thread

Disassembly:
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov eax, dword [esi + 0x2e0]
test eax, eax
jne 0x451314
mov ebp, dword [esp + 0x14]
or ecx, 0xffffffff
mov edi, ebp
xor eax, eax
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x451314
mov edx, dword [esp + 0x1c]
or ecx, 0xffffffff
mov edi, edx
repne scasb al, byte es:[edi]
not ecx
dec ecx
test ecx, ecx
jle 0x451314
mov ebx, dword [esp + 0x20]
test ebx, ebx
je 0x451314
lea edi, [esi + 0x2e8]
push edx
mov ecx, edi
call sub.MFC42.DLL_CString::operator_1
mov eax, dword [edi]
mov ecx, dword [eax - 8]
cmp byte [ecx + eax - 1], 0x5c
jne 0x4512cb
dec ecx
push 0
push ecx
mov ecx, edi
call sub.MFC42.DLL_CString::SetAt
mov eax, dword [esp + 0x18]
mov dword [esi + 0x2dc], ebx
lea ebx, [esi + 0x298]
push eax
push ebp
mov ecx, ebx
call fcn.004501d0
mov ecx, dword [edi]
push ecx
mov ecx, ebx
call fcn.004501f0
push esi
push 0
push 0x4518c0
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
xor edx, edx
cmp edx, eax
mov dword [esi + 0x2e0], eax
pop edi
pop esi
sbb eax, eax
pop ebp
neg eax
pop ebx
ret 0x10
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
ret 0x10

Function at 0x4513d0
Capabilities:
Create thread

Disassembly:
push esi
mov esi, ecx
push esi
push 0
push 0x4519d0
call dword [sym.imp.MSVCRT.dll__beginthread]
add esp, 0xc
mov dword [esi + 0x2e4], eax
pop esi
ret
Function at 0x451406
Capabilities:
Link many functions at runtime

Disassembly:
push 0xffffffffffffffff
push 0x4b6e28
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
push edi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_5
mov eax, dword [esi + 0x2e8]
lea ecx, [esp + 8]
push eax
push str._sglacm.dll
push ecx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::Format_1
mov edx, dword [esp + 0x14]
add esp, 0xc
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [esi + 0x280], eax
jne 0x45146d
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov edi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push 1
push eax
call edi
test eax, eax
mov dword [esi + 0x28c], eax
jne 0x4514a6
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esi + 0x280]
push 2
push eax
call edi
test eax, eax
mov dword [esi + 0x290], eax
jne 0x4514df
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov ecx, dword [esi + 0x280]
push 3
push ecx
call edi
test eax, eax
mov dword [esi + 0x284], eax
jne 0x451518
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov edx, dword [esi + 0x280]
push 4
push edx
call edi
test eax, eax
mov dword [esi + 0x288], eax
jne 0x451551
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
mov eax, dword [esi + 0x280]
push 5
push eax
call edi
test eax, eax
mov dword [esi + 0x294], eax
mov dword [esp + 0x14], 0xffffffff
lea ecx, [esp + 8]
jne 0x45158a
call sub.MFC42.DLL_CString::CString
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 4]
mov dword fs:[0], ecx
add esp, 0x10
ret
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0xc]
pop edi
mov eax, 1
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x451e40
Capabilities:
Hash data with md5

Disassembly:
mov eax, dword [esp + 4]
xor ecx, ecx
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
ret
Function at 0x452a20
Capabilities:
Read file on windows

Disassembly:
mov eax, dword [esp + 4]
sub esp, 0x468
push ebx
push ebp
push esi
push edi
mov edi, dword [esp + 0x480]
push 0x4d74b4
push eax
mov byte [edi], 0
call dword [sym.imp.MSVCRT.dll_fopen]
mov ebp, eax
add esp, 8
test ebp, ebp
jne 0x452a5d
pop edi
pop esi
pop ebp
or eax, 0xffffffff
pop ebx
add esp, 0x468
ret 8
lea ecx, [esp + 0x20]
push ecx
call fcn.00451e40
mov esi, dword [sym.imp.MSVCRT.dll_fread]
add esp, 4
mov bl, 0x20
push ebp
push 0x400
lea edx, [esp + 0x80]
push 1
push edx
call esi
mov cl, byte [ebp + 0xc]
add esp, 0x10
test bl, cl
jne 0x452aa7
test eax, eax
je 0x452ab9
push eax
lea eax, [esp + 0x7c]
lea ecx, [esp + 0x24]
push eax
push ecx
call fcn.00451e70
add esp, 0xc
jmp 0x452a72
pop edi
pop esi
pop ebp
mov eax, 0xfffffffe
pop ebx
add esp, 0x468
ret 8
lea edx, [esp + 0x20]
lea eax, [esp + 0x10]
push edx
push eax
call fcn.00451f20
mov ebx, dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 8
xor esi, esi
xor ecx, ecx
mov cl, byte [esp + esi + 0x10]
push ecx
push str._02X
push edi
call ebx
add esp, 0xc
add edi, 2
inc esi
cmp esi, 0x10
jl 0x452ad3
mov edx, dword [esp + 0x480]
push ebp
mov byte [edx + 0x20], 0
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
xor eax, eax
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x468
ret 8

Function at 0x452c10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x400
push ebx
push esi
push edi
mov esi, ecx
call fcn.00452bb0
mov edi, dword [esp + 0x410]
mov ecx, esi
push edi
call sub.MFC42.DLL_CString::operator_1
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push edi
push 1
push 0x4d8e48
push 0x4c1864
call ebx
push edi
push 0x6d
push 0x4d8e44
push 0x4c1864
mov dword [esi + 4], eax
call ebx
push edi
push 0x6d
push 0x4d8e40
push 0x4c1864
mov dword [esi + 8], eax
call ebx
push edi
push 1
push 0x4d8e3c
push 0x4c1864
mov dword [esi + 0xc], eax
call ebx
mov dword [esi + 0x10], eax
push edi
lea eax, [esp + 0x10]
push 0x400
push eax
push 0x4db920
push str.Addr
push 0x4c1864
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esi + 0x14]
lea edx, [esp + 0xc]
push ecx
push edx
call fcn.00452d10
add esp, 8
push edi
push 3
push 0x4d8e30
push 0x4c1864
call ebx
mov dword [esi + 0x24], eax
pop edi
pop esi
mov eax, 1
pop ebx
add esp, 0x400
ret 4
Function at 0x4530ab
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4b6f0b
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x108
push esi
mov esi, ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_5
lea eax, [esp + 8]
push 0x104
push eax
push 0
mov dword [esp + 0x120], 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
lea ecx, [esp + 8]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathRemoveFileSpecA]
lea edx, [esp + 8]
push str.LangRsc.ini
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
lea eax, [esp + 8]
lea ecx, [esp + 4]
push eax
call sub.MFC42.DLL_CString::operator_1
mov ecx, dword [esp + 4]
push ecx
push 0
push 0x4d8e64
push str.UASI
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 4]
mov dword [esi], eax
mov dword [esp + 0x114], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x10c]
pop esi
mov dword fs:[0], ecx
add esp, 0x114
ret
Function at 0x4538d0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push 0xffffffffffffffff
push 0x4b6f88
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x44
push ebx
mov ebx, ecx
push ebp
push esi
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFile::CFile
mov eax, dword [esp + 0x60]
push 0
push 0
push eax
lea ecx, [esp + 0x4c]
mov dword [esp + 0x64], 0
call sub.MFC42.DLL_CFile::Open
test eax, eax
je 0x45395b
lea ecx, [esp + 0x40]
call sub.MFC42.DLL_CFile::GetLength
mov ebp, eax
test ebp, ebp
je 0x45395b
push ebp
call sub.MFC42.DLL_operatornew
mov esi, eax
add esp, 4
test esi, esi
mov dword [esp + 0x1c], esi
je 0x45395b
push ebp
push esi
lea ecx, [esp + 0x48]
call sub.MFC42.DLL_CFile::Read
test eax, eax
je 0x453952
push ebp
push esi
mov ecx, ebx
call fcn.00453af0
test al, al
jne 0x453982
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x40]
mov dword [esp + 0x58], 0xffffffff
call fcn.004551bc
pop esi
pop ebp
xor al, al
pop ebx
mov ecx, dword [esp + 0x44]
mov dword fs:[0], ecx
add esp, 0x50
ret 4
push edi
mov ecx, ebx
call fcn.004536b0
lea edi, [esi + 4]
lea eax, [esi + ebp - 4]
cmp edi, eax
mov dword [esp + 0x1c], eax
jae 0x453abd
mov ecx, dword [edi]
mov edx, dword [edi + 4]
mov eax, dword [ebx + 4]
add edi, 4
mov dword [esp + 0x18], edx
mov edx, dword [0x4dc784]
mov dword [esp + 0x34], ecx
mov dword [esp + 0x38], 0
mov esi, dword [eax + 4]
mov ebp, eax
cmp esi, edx
mov al, 1
je 0x4539e2
mov eax, dword [esi + 0xc]
mov ebp, esi
cmp ecx, eax
setb al
test al, al
je 0x4539db
mov esi, dword [esi]
jmp 0x4539de
mov esi, dword [esi + 8]
cmp esi, edx
jne 0x4539c9
mov cl, byte [ebx + 8]
test cl, cl
je 0x453a0c
lea eax, [esp + 0x64]
lea ecx, [esp + 0x34]
push eax
push ecx
push ebp
lea edx, [esp + 0x30]
push esi
push edx
mov ecx, ebx
mov byte [esp + 0x78], 1
call fcn.00454010
push eax
jmp 0x453a96
test al, al
mov dword [esp + 0x14], ebp
je 0x453a58
lea eax, [esp + 0x28]
mov ecx, ebx
push eax
call fcn.0041a7e0
mov ecx, dword [esp + 0x14]
mov edx, dword [eax]
cmp ecx, edx
sete al
test al, al
je 0x453a4f
lea edx, [esp + 0x11]
lea eax, [esp + 0x34]
push edx
push eax
push ebp
lea ecx, [esp + 0x38]
push esi
push ecx
mov ecx, ebx
mov byte [esp + 0x25], 1
call fcn.00454010
push eax
jmp 0x453a96
lea ecx, [esp + 0x14]
call fcn.00454280
mov edx, dword [esp + 0x14]
mov ecx, dword [esp + 0x34]
mov eax, dword [edx + 0xc]
cmp eax, ecx
jae 0x453a87
lea ecx, [esp + 0x12]
lea edx, [esp + 0x34]
push ecx
push edx
push ebp
lea eax, [esp + 0x3c]
push esi
push eax
mov ecx, ebx
mov byte [esp + 0x26], 1
call fcn.00454010
push eax
jmp 0x453a96
lea ecx, [esp + 0x13]
lea edx, [esp + 0x14]
push ecx
mov byte [esp + 0x17], 0
push edx
lea ecx, [esp + 0x44]
call fcn.00453ff0
mov eax, dword [esp + 0x3c]
mov ecx, dword [esp + 0x18]
add edi, 4
mov dword [eax + 0x10], ecx
mov eax, dword [esp + 0x1c]
cmp edi, eax
jb 0x45399d
mov esi, dword [esp + 0x20]
push esi
call sub.MFC42.DLL_operatordelete
add esp, 4
lea ecx, [esp + 0x44]
mov dword [esp + 0x5c], 0xffffffff
call fcn.004551bc
mov ecx, dword [esp + 0x54]
pop edi
pop esi
pop ebp
mov al, 1
pop ebx
mov dword fs:[0], ecx
add esp, 0x50
ret 4
Function at 0x455aa0
Capabilities:
Check if file exists
Get file attributes

Disassembly:
mov eax, dword [esp + 4]
test eax, eax
jne 0x455aa9
ret
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
xor ecx, ecx
cmp eax, 0xffffffff
setne cl
mov eax, ecx
ret
Function at 0x455d60
Capabilities:
Create directory

Disassembly:
sub esp, 0x104
push ebx
push ebp
mov ebp, dword [esp + 0x110]
push esi
test ebp, ebp
push edi
jne 0x455d82
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
push 0x5c
push ebp
call dword [sym.imp.MSVCRT.dll__mbschr]
mov ebx, eax
add esp, 8
test ebx, ebx
je 0x455ded
mov ecx, 0x41
xor eax, eax
lea edi, [esp + 0x10]
mov esi, ebp
rep stosd dword es:[edi], eax
mov ecx, ebx
lea edi, [esp + 0x10]
sub ecx, ebp
mov eax, ecx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call fcn.00455aa0
add esp, 4
test eax, eax
jne 0x455dda
lea edx, [esp + 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
je 0x455e31
inc ebx
push 0x5c
push ebx
call dword [sym.imp.MSVCRT.dll__mbschr]
mov ebx, eax
add esp, 8
test ebx, ebx
jne 0x455d94
mov edi, ebp
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov eax, ecx
mov esi, edi
mov edi, edx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x10]
push ecx
call fcn.00455aa0
add esp, 4
test eax, eax
jne 0x455e3e
lea edx, [esp + 0x10]
push eax
push edx
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
test eax, eax
jne 0x455e3e
pop edi
pop esi
pop ebp
xor eax, eax
pop ebx
add esp, 0x104
ret
pop edi
pop esi
pop ebp
mov eax, 1
pop ebx
add esp, 0x104
ret
Function at 0x456240
Capabilities:
Encode data using xor

Disassembly:
mov eax, dword [esp + 8]
push esi
mov esi, dword [esp + 8]
test eax, eax
mov al, byte [esi]
je 0x4562a2
mov cl, byte [esi + 4]
mov dl, byte [esi + 2]
mov byte [esi], cl
mov cl, byte [esi + 5]
mov byte [esi + 4], dl
mov dl, byte [esi + 9]
mov byte [esi + 2], cl
mov cl, byte [esi]
mov byte [esi + 5], dl
mov dl, byte [esi + 0xd]
mov byte [esi + 9], cl
mov cl, byte [esi + 0xb]
mov byte [esi + 0xb], al
mov byte [esi], dl
mov byte [esi + 0xd], cl
xor eax, eax
mov dl, byte [eax + esi + 1]
mov cl, byte [eax + esi]
xor cl, dl
mov byte [eax + esi], cl
inc eax
cmp eax, 0xe
jl 0x45627b
push 0xf
lea eax, [esi + 1]
push esi
push eax
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov byte [esi], 0x20
pop esi
ret
cmp al, 0x20
jne 0x4562f7
push edi
lea edi, [esi + 1]
push 0xf
push edi
push esi
call dword [sym.imp.MSVCRT.dll_memmove]
add esp, 0xc
mov eax, 0xd
mov cl, byte [edi + eax]
mov dl, byte [eax + esi]
xor dl, cl
mov byte [eax + esi], dl
dec eax
jns 0x4562bc
mov dl, byte [esi + 0xd]
mov al, byte [esi + 0xb]
mov cl, byte [esi]
mov byte [esi + 0xb], dl
mov dl, byte [esi + 9]
mov byte [esi + 0xd], cl
mov cl, byte [esi + 5]
mov byte [esi], dl
mov dl, byte [esi + 2]
mov byte [esi + 9], cl
mov cl, byte [esi + 4]
mov byte [esi + 5], dl
mov dl, byte [esi]
mov byte [esi + 2], cl
mov byte [esi + 4], dl
mov byte [esi], al
pop edi
pop esi
ret

Function at 0x456300
Capabilities:
Read .ini file

Disassembly:
mov eax, dword [esp + 0x10]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 8]
push eax
mov eax, dword [esp + 8]
push ecx
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
ret

Function at 0x456d30
Capabilities:
Encrypt data using rc6

Disassembly:
sub esp, 0x20
push ebx
mov ebx, ecx
push ebp
push esi
lea eax, [ebx + 4]
push edi
mov dword [ebx + 0xb4], 1
mov ecx, 0x2b
mov dword [eax], 0xb7e15163
mov edx, dword [eax]
add eax, 4
sub edx, 0x61c88647
dec ecx
mov dword [eax], edx
jne 0x456d51
mov eax, dword [esp + 0x38]
shr eax, 5
je 0x456d76
mov esi, dword [esp + 0x34]
mov ecx, eax
lea edi, [esp + 0x10]
rep movsd dword es:[edi], dword [esi]
dec eax
xor edi, edi
mov dword [esp + 0x34], eax
xor esi, esi
xor ecx, ecx
xor eax, eax
mov dword [esp + 0x38], 0x84
mov ebp, dword [ebx + esi*4 + 4]
lea edx, [esi + 1]
add ebp, ecx
sub esi, 0x2b
add ebp, eax
rol ebp, 3
mov eax, ebp
mov ebp, dword [esp + edi*4 + 0x10]
add ecx, eax
mov dword [ebx + edx*4], eax
add ebp, ecx
rol ebp, cl
neg esi
sbb esi, esi
and esi, edx
mov edx, dword [esp + 0x34]
mov ecx, ebp
cmp edi, edx
mov dword [esp + edi*4 + 0x10], ecx
jne 0x456dc3
xor edi, edi
jmp 0x456dc4
inc edi
mov edx, dword [esp + 0x38]
dec edx
mov dword [esp + 0x38], edx
jne 0x456d8b
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x20
ret 8
Function at 0x456de0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov edx, ecx
push ebx
push ebp
push esi
mov eax, dword [edx + 0xb4]
push edi
test eax, eax
mov dword [esp + 0x10], edx
jne 0x456e2e
mov edi, 0x4d9510
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa0
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edx
call fcn.00456d30
mov ecx, dword [esp + 0x58]
xor ebp, ebp
cmp ecx, 0x10
mov ebx, ecx
jl 0x456e83
mov edi, dword [esp + 0x54]
mov esi, ecx
shr esi, 4
mov edx, esi
mov ebp, esi
shl edx, 4
sub ebx, edx
mov eax, edi
push edi
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x28], edx
call fcn.00456470
add edi, 0x10
dec esi
jne 0x456e4d
mov ecx, dword [esp + 0x58]
shl ebp, 4
test ebx, ebx
jle 0x456e9c
mov edx, dword [esp + 0x54]
lea eax, [edx + ebp]
mov dl, byte [eax]
xor dl, 0xeb
mov byte [eax], dl
inc eax
dec ebx
jne 0x456e91
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x40
ret 8

Function at 0x456eb0
Capabilities:
Encode data using xor

Disassembly:
sub esp, 0x40
mov edx, ecx
push ebx
push ebp
push esi
mov eax, dword [edx + 0xb4]
push edi
test eax, eax
mov dword [esp + 0x10], edx
jne 0x456efe
mov edi, 0x4d9510
or ecx, 0xffffffff
xor eax, eax
lea ebx, [esp + 0x24]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
push 0xa0
mov eax, ecx
mov esi, edi
mov edi, ebx
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, eax
and ecx, 3
rep movsb byte es:[edi], byte [esi]
lea ecx, [esp + 0x28]
push ecx
mov ecx, edx
call fcn.00456d30
mov ecx, dword [esp + 0x58]
xor ebp, ebp
cmp ecx, 0x10
mov ebx, ecx
jl 0x456f53
mov edi, dword [esp + 0x54]
mov esi, ecx
shr esi, 4
mov edx, esi
mov ebp, esi
shl edx, 4
sub ebx, edx
mov eax, edi
push edi
mov ecx, dword [eax]
mov dword [esp + 0x18], ecx
mov edx, dword [eax + 4]
mov dword [esp + 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [esp + 0x20], ecx
mov ecx, dword [esp + 0x14]
mov edx, dword [eax + 0xc]
lea eax, [esp + 0x18]
push eax
mov dword [esp + 0x28], edx
call fcn.00456920
add edi, 0x10
dec esi
jne 0x456f1d
mov ecx, dword [esp + 0x58]
shl ebp, 4
test ebx, ebx
jle 0x456f6c
mov edx, dword [esp + 0x54]
lea eax, [edx + ebp]
mov dl, byte [eax]
xor dl, 0xeb
mov byte [eax], dl
inc eax
dec ebx
jne 0x456f61
pop edi
pop esi
pop ebp
mov eax, ecx
pop ebx
add esp, 0x40
ret 8