joyce8/EMBER2024-capa huggingface dataset:
Function at 0x101e283
Capabilities:
Set file attributes

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
sub esp, 0x1c
mov eax, dword [0x102e050]
xor eax, ebp
mov dword [ebp - 4], eax
push esi
mov esi, dword [ebp + 0xc]
push edi
mov edi, dword [ebp + 8]
lea ecx, [ebp - 0xc]
call fcn.0101ce9b
push esi
lea ecx, [ebp - 0xc]
call fcn.0101d352
mov esi, eax
test esi, esi
jl 0x101e353
push edi
lea ecx, [ebp - 0xc]
call fcn.0101d26a
mov esi, eax
test esi, esi
jl 0x101e353
push 0
push 0x80
push 3
push 0
push 1
push 0xc0000000
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_CreateFileW]
mov esi, eax
cmp esi, reloc.NETAPI32.dll_NetApiBufferFree
jne 0x101e2f6
call fcn.0101ce79
test eax, eax
jl 0x101e334
lea eax, [ebp - 0x14]
push eax
push dword [ebp + 0x14]
push dword [ebp + 0x10]
call dword [sym.imp.KERNEL32.dll_DosDateTimeToFileTime]
test eax, eax
je 0x101e32d
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x14]
push eax
call dword [sym.imp.KERNEL32.dll_LocalFileTimeToFileTime]
test eax, eax
je 0x101e32d
lea eax, [ebp - 0x1c]
push eax
push 0
lea eax, [ebp - 0x14]
push eax
push esi
call dword [sym.imp.KERNEL32.dll_SetFileTime]
push esi
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, dword [ebp + 0x18]
and eax, 0x27
push eax
push dword [ebp - 8]
call dword [sym.imp.KERNEL32.dll_SetFileAttributesW]
test eax, eax
je 0x101e34c
xor esi, esi
jmp 0x101e353
call fcn.0101ce79
mov esi, eax
lea ecx, [ebp - 0xc]
call fcn.0101cff5
mov ecx, dword [ebp - 4]
pop edi
mov eax, esi
xor ecx, ebp
pop esi
call fcn.01007c80
leave
ret 0x14

Function at 0x102191e
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov ecx, dword [ebp + 8]
push esi
mov esi, dword [ebp + 0xc]
mov eax, esi
shr eax, 2
push edi
mov edi, dword [ebp + 0x10]
test eax, eax
jle 0x102195f
push ebx
movzx edx, byte [ecx]
dec eax
inc ecx
movzx ebx, byte [ecx]
shl ebx, 8
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x10
or edx, ebx
inc ecx
movzx ebx, byte [ecx]
shl ebx, 0x18
or edx, ebx
inc ecx
xor edi, edx
test eax, eax
jg 0x1021938
pop ebx
and esi, 3
xor eax, eax
dec esi
je 0x102197d
dec esi
je 0x1021974
dec esi
jne 0x1021982
movzx eax, byte [ecx]
shl eax, 0x10
inc ecx
movzx edx, byte [ecx]
shl edx, 8
or eax, edx
inc ecx
movzx ecx, byte [ecx]
or eax, ecx
xor eax, edi
pop edi
pop esi
pop ebp
ret 0xc
Function at 0x1022e5d
Capabilities:
Encode data using xor

Disassembly:
mov edi, edi
push ebp
mov ebp, esp
mov eax, dword [ebp + 0x20]
mov ecx, dword [ebp + 0x10]
push ebx
mov ebx, dword [ebp + 8]
and dword [ebx + 0x28], 0
mov dword [ebx + 0x18], eax
mov eax, dword [ebp + 0x1c]
mov dword [ebx + 0x1c], eax
mov eax, dword [ebp + 0x14]
mov dword [ebx + 4], eax
xor eax, eax
cmp byte [ebp + 0x24], 0
mov word [ebx + 0xc], ax
mov eax, dword [ebp + 0x18]
mov dword [ebx + 0x10], eax
mov eax, dword [ebp + 0xc]
push esi
mov dword [ebx + 0x14], eax
mov dword [ebx + 0x24], ecx
mov esi, 0x8000
jne 0x1022ead
push esi
push eax
add eax, esi
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
xor eax, eax
and dword [ebx + 0x30], eax
mov word [ebx + 0x2c], ax
call fcn.01022894
and dword [ebx + 0x20], 0
mov eax, esi
push 2
mov word [ebx + 0x3c], ax
mov eax, dword [ebx + 0x14]
pop ecx
mov dword [ebx + 0x34], esi
add eax, esi
push edi
movzx edi, byte [eax]
mov edx, dword [ebx + 0x20]
shl edx, 5
xor edx, edi
and edx, 0x7fff
inc eax
dec ecx
mov dword [ebx + 0x20], edx
jne 0x1022ed1
cmp byte [ebp + 0x24], cl
je 0x1022ef7
mov edi, ebx
call fcn.010226d5
jmp 0x1022f09
xor eax, eax
mov ecx, esi
mov edx, dword [ebx + 0x18]
xor edi, edi
mov word [eax + edx], di
inc eax
inc eax
dec ecx
jne 0x1022efb
push 8
pop edi
push 0x43
pop edx
mov eax, ebx
call fcn.01021a95
push 0x4b
pop edx
call fcn.01021a95
call fcn.01022bda
mov ecx, dword [ebp + 0x28]
inc eax
inc eax
cmp byte [ebp + 0x24], 0
movzx eax, ax
mov dword [ecx], eax
pop edi
je 0x1022f48
mov eax, dword [ebx + 0x14]
push esi
lea ecx, reloc.NETAPI32.dll_NetApiBufferFree
push ecx
push eax
call sub.msvcrt.dll_memcpy
add esp, 0xc
mov eax, dword [ebx + 0x28]
neg eax
sbb eax, eax
pop esi
and eax, 3
pop ebx
pop ebp
ret 0x24
Function at 0x40672b
Capabilities:
Encode data using xor

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x14
pushal
call 0x40673a
pop dword [ebp - 4]
mov eax, 0x40673a
sub dword [ebp - 4], eax
mov dword [ebp - 0x14], 0xad68607e
sub dword [ebp - 0x14], 0x5f161b33
mov dword [ebp - 0x10], 0x17cacef1
add dword [ebp - 0x10], 0x1a687d54
mov dword [ebp - 0xc], 0x986f97e5
sub dword [ebp - 0xc], 0x4c2353b7
mov dword [ebp - 8], 0x58bd1c39
add dword [ebp - 8], 0xa742e3c7
lea eax, [ebp - 0x14]
push eax
mov eax, 0x6b577
sub eax, 0xffc63473
add eax, dword [ebp - 4]
call dword [eax]
mov dword [ebp - 0x14], 0x85f33ab2
sub dword [ebp - 0x14], 0x1180d15c
mov dword [ebp - 0x10], 0xbbbf2f69
sub dword [ebp - 0x10], 0x7a52cdf4
mov dword [ebp - 0xc], 0xc3d5a4be
add dword [ebp - 0xc], 0x9f99c7ae
mov dword [ebp - 8], 0x2790f181
add dword [ebp - 8], 0xd86f0e7f
lea ebx, [ebp - 0x14]
push ebx
push eax
mov eax, sym.imp.kernel32.dll_GetProcAddress
add eax, dword [ebp - 4]
call dword [eax]
push 0x40
push 0x1000
push 0x37939
push 0
call eax
mov ecx, 0x483e
xor edx, edx
add edx, eax
mov ebx, 0x46e400
add ebx, dword [ebp - 4]
mov esi, 0x1ac8558c
add esi, 0x68ac9da1
mov edi, dword [ebx]
xor edi, esi
mov dword [edx], edi
add edx, 4
add ebx, 0xd517618c
add ebx, 0x2ae89e78
loop 0x406848
add eax, 0x113cb
mov ebx, eax
add eax, 0xeee5e74e
sub eax, 0xeee5e749
mov ecx, 0xef4a3888
sub ecx, 0xef0a3888
add ecx, dword [ebp - 4]
call ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x5343700
Capabilities:
Decompress data using aplib

Disassembly:
pushal
mov esi, dword [esp + 0x24]
mov edi, dword [esp + 0x28]
cld
mov dl, 0x80
xor ebx, ebx
movsb byte es:[edi], byte [esi]
mov bl, 2
call fcn.0534378f
jae 0x534370e
xor ecx, ecx
call fcn.0534378f
jae 0x534373d
xor eax, eax
call fcn.0534378f
jae 0x534374d
mov bl, 2
inc ecx
mov al, 0x10
call fcn.0534378f
adc al, al
jae 0x534372f
jne 0x5343779
stosb byte es:[edi], al
jmp 0x5343711
call fcn.0534379b
sub ecx, ebx
jne 0x5343756
call fcn.05343799
jmp 0x5343775
lodsb al, byte [esi]
shr eax, 1
je 0x5343783
adc ecx, ecx
jmp 0x5343772
xchg ecx, eax
dec eax
shl eax, 8
lodsb al, byte [esi]
call fcn.05343799
cmp eax, 0x7d00
jae 0x5343772
cmp ah, 5
jae 0x5343773
cmp eax, 0x7f
ja 0x5343774
inc ecx
inc ecx
xchg ebp, eax
mov eax, ebp
mov bl, 1
push esi
mov esi, edi
sub esi, eax
rep movsb byte es:[edi], byte [esi]
pop esi
jmp 0x5343711
sub edi, dword [esp + 0x28]
mov dword [esp + 0x1c], edi
popal
ret 8
Function at 0x401f83
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x407667
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x20c
movzx eax, word [ebp + 0xc]
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push eax
push str.0x_04x
lea eax, [ebp - 0x218]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp + 0xc]
push eax
call fcn.00402089
add esp, 0x14
lea eax, [ebp + 0xc]
push str.Language.ini
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call sub.MFC42.DLL_operator
push dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
mov esi, 0x40c960
push 0x104
push eax
mov ebx, str.path
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x402051
lea eax, [ebp + 0xc]
push str.Language.ini
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
push dword [eax]
lea eax, [ebp - 0x118]
push 0x104
push eax
push esi
push ebx
push str.default
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call sub.MFC42.DLL_operator
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x402715
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x40779b
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x20c
movzx eax, word [ebp + 0xc]
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push eax
push str.0x_04x
lea eax, [ebp - 0x218]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp + 0xc]
push eax
call fcn.0040281b
add esp, 0x14
lea eax, [ebp + 0xc]
push str.Language.ini
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call sub.MFC42.DLL_operator
push dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
mov esi, 0x40c960
push 0x104
push eax
mov ebx, str.path
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x4027e3
lea eax, [ebp + 0xc]
push str.Language.ini
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
push dword [eax]
lea eax, [ebp - 0x118]
push 0x104
push eax
push esi
push ebx
push str.default
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call sub.MFC42.DLL_operator
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x402e55
Capabilities:
Create directory

Disassembly:
mov eax, 0x40787b
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x20
and dword [ebp - 0x1c], 0
push ebx
lea eax, [ebp - 0x2c]
push esi
mov esi, ecx
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
lea ecx, [ebp - 0x14]
call fcn.00406b18
push 1
lea eax, [ebp - 0x18]
pop ebx
mov ecx, esi
push eax
mov dword [ebp - 4], ebx
call fcn.0040302f
push dword [eax]
lea eax, [ebp - 0x14]
mov byte [ebp - 4], 2
push str._s..data_templateMessagerHistorys_
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
push 0
push dword [ebp - 0x14]
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [ebp - 0x10]
call fcn.00406b18
lea eax, [ebp - 0x18]
mov ecx, esi
push eax
mov byte [ebp - 4], 3
call fcn.0040302f
movzx ecx, word [ebp - 0x20]
push ecx
mov byte [ebp - 4], 4
movzx ecx, word [ebp - 0x22]
push ecx
movzx ecx, word [ebp - 0x24]
push ecx
movzx ecx, word [ebp - 0x26]
push ecx
movzx ecx, word [ebp - 0x2a]
push ecx
movzx ecx, word [ebp - 0x2c]
push ecx
push dword [eax]
lea eax, [ebp - 0x10]
push str._s..data_templateMessagerHistorys_04d__02d__02d__02d__02d__02d.ini
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0x24
lea ecx, [ebp - 0x18]
mov byte [ebp - 4], 3
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp + 8]
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 0x1c], ebx
lea ecx, [ebp - 0x10]
mov byte [ebp - 4], bl
call sub.MFC42.DLL_CString::CString
and byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret 4

Function at 0x403805
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push dword [esp + 0x10]
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::operator
push dword [edi]
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403869
mov edi, dword [edi]
push ebx
push edi
push ebx
push ebx
mov dword [esi], ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
cmp esi, ebx
je 0x403865
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call edi
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x40386c
push 1
pop eax
pop edi
pop esi
pop ebx
ret 4
Function at 0x403806
Capabilities:
Check mutex on windows

Disassembly:
push ebx
push esi
mov esi, ecx
push edi
push dword [esp + 0x10]
lea edi, [esi + 4]
mov ecx, edi
call sub.MFC42.DLL_CString::operator
push dword [edi]
xor ebx, ebx
push ebx
push ebx
call dword [sym.imp.KERNEL32.dll_CreateMutexA]
mov dword [esi], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x403869
mov edi, dword [edi]
push ebx
push edi
push ebx
push ebx
mov dword [esi], ebx
call dword [sym.imp.USER32.dll_FindWindowExA]
mov esi, eax
cmp esi, ebx
je 0x403865
mov edi, dword [sym.imp.USER32.dll_ShowWindow]
push 5
push esi
call edi
push 9
push esi
call edi
push esi
call dword [sym.imp.USER32.dll_BringWindowToTop]
push esi
call dword [sym.imp.USER32.dll_SetForegroundWindow]
xor eax, eax
jmp 0x40386c
push 1
pop eax
pop edi
pop esi
pop ebx
ret 4

Function at 0x4049b6
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x407acb
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x20c
movzx eax, word [ebp + 0xc]
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push eax
push str.0x_04x
lea eax, [ebp - 0x218]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp + 0xc]
push eax
call fcn.00404abc
add esp, 0x14
lea eax, [ebp + 0xc]
push str.Language.ini
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call sub.MFC42.DLL_operator
push dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
mov esi, 0x40c960
push 0x104
push eax
mov ebx, str.path
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x404a84
lea eax, [ebp + 0xc]
push str.Language.ini
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
push dword [eax]
lea eax, [ebp - 0x118]
push 0x104
push eax
push esi
push ebx
push str.default
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call sub.MFC42.DLL_operator
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret

Function at 0x405c6c
Capabilities:
Initialize winsock library

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x190
push 0x190
lea eax, [ebp - 0x190]
push 0
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
lea eax, [ebp - 0x190]
push eax
push 0x202
call dword [sym.imp.WS2_32.dll_WSAStartup]
test eax, eax
je 0x405ca4
push eax
jmp 0x405cc8
cmp byte [ebp - 0x190], 2
jne 0x405cbd
xor eax, eax
mov al, byte [ebp - 0x18f]
cmp al, 2
jne 0x405cbd
xor eax, eax
leave
ret
call dword [sym.imp.WS2_32.dll_WSACleanup]
push 0x276c
call fcn.00406183
pop ecx
or eax, 0xffffffff
leave
ret
Function at 0x40652b
Capabilities:
Read .ini file

Disassembly:
mov eax, 0x407d27
call sub.MSVCRT.dll__EH_prolog
sub esp, 0x20c
movzx eax, word [ebp + 0xc]
and dword [ebp - 0x14], 0
push ebx
push esi
push edi
push eax
push str.0x_04x
lea eax, [ebp - 0x218]
push 0x100
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
lea eax, [ebp + 0xc]
push eax
call fcn.00406631
add esp, 0x14
lea eax, [ebp + 0xc]
push str.Language.ini
push eax
lea eax, [ebp - 0x10]
push eax
mov dword [ebp - 4], 1
call sub.MFC42.DLL_operator
push dword [eax]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x118]
mov esi, 0x40c960
push 0x104
push eax
mov ebx, str.path
push esi
lea eax, [ebp - 0x218]
push ebx
push eax
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
push esi
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
pop ecx
test eax, eax
pop ecx
jne 0x4065f9
lea eax, [ebp + 0xc]
push str.Language.ini
push eax
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_operator
push dword [eax]
lea eax, [ebp - 0x118]
push 0x104
push eax
push esi
push ebx
push str.default
call edi
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x118]
push eax
lea eax, [ebp + 0xc]
push eax
push dword [ebp + 8]
call sub.MFC42.DLL_operator
mov dword [ebp - 0x14], 1
and byte [ebp - 4], 0
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov eax, dword [ebp + 8]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
leave
ret
Function at 0x406960
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x12c
push ebx
push esi
mov ebx, ecx
xor esi, esi
push edi
cmp dword [ebx + 0x6c], esi
je 0x406a49
lea eax, [ebp - 0x2c]
push eax
call dword [sym.imp.KERNEL32.dll_GetLocalTime]
xor eax, eax
lea edi, [ebp - 0x1a]
mov word [ebp - 0x1c], si
mov ecx, ebx
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosd dword es:[edi], eax
stosw word es:[edi], ax
lea eax, [ebp - 8]
push eax
call fcn.004067a2
push dword [eax]
lea eax, [ebp - 0x12c]
push 0x100
push eax
push 0x40c960
push str.Time
push str.TaskCtrl
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [ebp - 8]
call sub.MFC42.DLL_CString::CString
lea eax, [ebp - 0x16]
push eax
lea eax, [ebp - 0x1a]
push eax
lea eax, [ebp - 0x1c]
push eax
lea eax, [ebp - 0x12c]
push str._04d__02d__02d
push eax
call dword [sym.imp.MSVCRT.dll_sscanf]
add esp, 0x14
lea eax, [ebp - 0x1c]
lea ecx, [ebp - 0xc]
push 0xffffffffffffffff
push eax
call sub.MFC42.DLL_CTime::CTime_1
movzx eax, word [ebp - 0x26]
push 0xffffffffffffffff
push esi
push esi
push esi
push eax
lea ecx, [ebp - 4]
movzx eax, word [ebp - 0x2a]
push eax
movzx eax, word [ebp - 0x2c]
push eax
call sub.MFC42.DLL_CTime::CTime
push esi
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CTime::GetLocalTm
push esi
lea ecx, [ebp - 4]
call sub.MFC42.DLL_CTime::GetLocalTm
mov eax, dword [eax + 0x18]
inc eax
cmp eax, 2
je 0x406a32
cmp dword [ebx + 0x68], esi
jne 0x406a4e
push ecx
mov ecx, dword [ebp - 4]
mov eax, esp
mov dword [ebp - 8], esp
mov dword [eax], ecx
lea ecx, [ebp - 0xc]
call fcn.00406a55
cmp eax, esi
je 0x406a4e
push 1
pop eax
jmp 0x406a50
xor eax, eax
pop edi
pop esi
pop ebx
leave
ret

Function at 0x403d61
Capabilities:
Encode data using xor

Disassembly:
push eax
push ebx
mov eax, 0x499
mov ecx, 0x404498
mov bl, byte [ecx]
sub bl, 0xf2
rol bl, 2
sub bl, cl
ror bl, 1
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d6d
mov eax, 0x261d
mov ecx, 0x403764
mov bl, byte [ecx]
rol bl, 7
ror bl, 2
sub bl, cl
xor bl, 0x91
mov byte [ecx], bl
dec ecx
dec eax
jne 0x403d8a
pop ebx
pop eax
add ecx, 0x2c1a
jmp ecx
Function at 0x405ef7
Capabilities:
Encode data using xor
Hash data with crc32

Disassembly:
cmp dword [0x7a1274], 0
push esi
jne 0x405f2e
xor ecx, ecx
push 8
mov eax, ecx
pop esi
mov edx, eax
and dl, 1
neg dl
sbb edx, edx
and edx, 0xedb88320
shr eax, 1
xor eax, edx
dec esi
jne 0x405f08
mov dword [ecx*4 + 0x7a1270], eax
inc ecx
cmp ecx, 0x100
jl 0x405f03
mov edx, dword [esp + 0x10]
mov eax, dword [esp + 8]
test edx, edx
not eax
jbe 0x405f5f
mov ecx, dword [esp + 0xc]
push edi
movzx edi, byte [ecx]
mov esi, eax
and esi, 0xff
xor esi, edi
shr eax, 8
mov esi, dword [esi*4 + 0x7a1270]
xor eax, esi
inc ecx
dec edx
jne 0x405f41
pop edi
not eax
pop esi
ret 0xc

Function at 0x407f80
Capabilities:
Packed with generic packer

Disassembly:
pushal
mov esi, section.UPX1
lea edi, [esi - 0x6000]
push edi
or ebp, 0xffffffff
jmp 0x407fa2
mov al, byte [esi]
inc esi
mov byte [edi], al
inc edi
add ebx, ebx
jne 0x407fa9
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jb 0x407f98
mov eax, 1
add ebx, ebx
jne 0x407fbb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc eax, eax
add ebx, ebx
jae 0x407fb0
jne 0x407fcc
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407fb0
xor ecx, ecx
sub eax, 3
jb 0x407fe0
shl eax, 8
mov al, byte [esi]
inc esi
xor eax, 0xffffffff
je 0x408052
mov ebp, eax
add ebx, ebx
jne 0x407feb
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jne 0x407ff8
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
jne 0x40801c
inc ecx
add ebx, ebx
jne 0x408008
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
adc ecx, ecx
add ebx, ebx
jae 0x407ffd
jne 0x408019
mov ebx, dword [esi]
sub esi, 0xfffffffc
adc ebx, ebx
jae 0x407ffd
add ecx, 2
cmp ebp, 0xfffff300
adc ecx, 1
lea edx, [edi + ebp]
cmp ebp, 0xfffffffc
jbe 0x40803c
mov al, byte [edx]
inc edx
mov byte [edi], al
inc edi
dec ecx
jne 0x40802d
jmp 0x407f9e
mov eax, dword [edx]
add edx, 4
mov dword [edi], eax
add edi, 4
sub ecx, 4
ja 0x40803c
add edi, ecx
jmp 0x407f9e
pop esi
mov edi, esi
mov ecx, 0x8f
mov al, byte [edi]
inc edi
sub al, 0xe8
cmp al, 1
ja 0x40805a
cmp byte [edi], 0
jne 0x40805a
mov eax, dword [edi]
mov bl, byte [edi + 4]
shr ax, 8
rol eax, 0x10
xchg ah, al
sub eax, edi
sub bl, 0xe8
add eax, esi
mov dword [edi], eax
add edi, 5
mov al, bl
loop 0x40805f
lea edi, [esi + 0x5000]
mov eax, dword [edi]
or eax, eax
je 0x4080d7
mov ebx, dword [edi + 4]
lea eax, [eax + esi + 0x8d64]
add ebx, esi
push eax
add edi, 8
call dword [esi + 0x8ddc]
xchg ebp, eax
mov al, byte [edi]
inc edi
or al, al
je 0x40808c
mov ecx, edi
jns 0x4080bb
movzx eax, word [edi]
inc edi
push eax
inc edi
mov ecx, 0xaef24857
push edi
dec eax
repne scasb al, byte es:[edi]
push ebp
call dword [esi + 0x8de4]
or eax, eax
je 0x4080d1
mov dword [ebx], eax
add ebx, 4
jmp 0x4080a9
call dword [esi + 0x8de0]
mov ebp, dword [esi + 0x8de8]
lea edi, [esi - 0x1000]
mov ebx, 0x1000
push eax
push esp
push 4
push ebx
push edi
call ebp
lea eax, [edi + 0x217]
and byte [eax], 0x7f
and byte [eax + 0x28], 0x7f
pop eax
push eax
push esp
push eax
push ebx
push edi
call ebp
pop eax
popal
lea eax, [esp - 0x80]
push 0
cmp esp, eax
jne 0x40810b
sub esp, 0xffffff80
jmp 0x402130