joyce8/EMBER2024-capa huggingface dataset:
Function at 0x4032dc
Capabilities:
Get common file path
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x314
push edi
mov dword [ebp - 0x314], ecx
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
push 0x1a
lea eax, [ebp - 0x104]
push eax
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov byte [ebp - 0x20c], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x20b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.TencentQQGamedoubleddzRpgLocalVerson.cfg
lea ecx, [ebp - 0x104]
push ecx
push 0x49d860
push 0x103
lea edx, [ebp - 0x20c]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea eax, [ebp - 0x20c]
push eax
push 0
push str.version
push str.public
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 1
jle 0x403482
mov byte [ebp - 0x310], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x30f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push str.TencentQQGamedoubleddzRpgFireworkuse.mif
lea ecx, [ebp - 0x104]
push ecx
push 0x49d8a8
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0x3f4ccccd
push 0
push 0
push 0x28
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0xa0
mov ecx, dword [ebp - 0x314]
call fcn.00403eb6
push str.TencentQQGamedoubleddzRpgFirework_reply.mif
lea ecx, [ebp - 0x104]
push ecx
push 0x49d8e0
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0x3f800000
push 0
push 0
push 0x18
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0xa1
mov ecx, dword [ebp - 0x314]
call fcn.00403eb6
push str.TencentQQGamedoubleddzRpgFireworklottery.mif
lea ecx, [ebp - 0x104]
push ecx
push 0x49d91c
push 0x103
lea edx, [ebp - 0x310]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0x3f800000
push 0
push 0
push 0x28
push 0
push 0
lea eax, [ebp - 0x310]
push eax
push 0x9f
mov ecx, dword [ebp - 0x314]
call fcn.00403eb6
jmp 0x4034ee
push 0x3f4ccccd
push 0
push 0
push 0x28
push 0
push 0
push str.data_fireworkuse.mif
push 0xa0
mov ecx, dword [ebp - 0x314]
call fcn.00403eb6
push 0x3f800000
push 0
push 0
push 0x18
push 0
push 0
push str.data_firework_reply.mif
push 0xa1
mov ecx, dword [ebp - 0x314]
call fcn.00403eb6
push 0x3f800000
push 0
push 0
push 0x28
push 0
push 0
push str.data_fireworklottery.mif
push 0x9f
mov ecx, dword [ebp - 0x314]
call fcn.00403eb6
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x448653
Capabilities:
Get common file path

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc10
push edi
mov dword [ebp - 0xc10], ecx
mov byte [ebp - 0xc0c], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0xc0b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x200], 0
mov ecx, 0x7f
xor eax, eax
lea edi, [ebp - 0x1ff]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x1ff
push 0x4a1998
lea eax, [ebp - 0xc0c]
push eax
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov byte [ebp - 0x304], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x303]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 1
push 0x1a
lea ecx, [ebp - 0x304]
push ecx
push 0
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
push 0x4a19c4
lea edx, [ebp - 0x304]
push edx
push 0x4a19f0
push 0x103
lea eax, [ebp - 0x200]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0x1ff
lea ecx, [ebp - 0xc0c]
push ecx
lea edx, [ebp - 0xa04]
push edx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
push 0x1ff
lea eax, [ebp - 0x200]
push eax
lea ecx, [ebp - 0x604]
push ecx
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
mov dword [ebp - 0xa08], 4
mov dword [ebp - 0xa0c], 0
lea edx, [ebp - 0xa0c]
push edx
push 0x708
push 0xa2
mov ecx, 0x4c8d30
call fcn.0042aa17
pop edi
mov esp, ebp
pop ebp
ret

Function at 0x44ca8f
Capabilities:
Log keystrokes
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
mov dword [ebp - 0x48], ecx
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CString::Empty
mov eax, dword [ebp - 0x48]
cmp dword [eax + 4], 0
jne 0x44caae
jmp 0x44cb75
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
xor eax, eax
mov al, byte [edx]
and eax, 8
test eax, eax
je 0x44cacc
push 0x4a1e00
mov ecx, dword [ebp + 8]
call fcn.00482c8a
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
xor eax, eax
mov al, byte [edx]
and eax, 4
test eax, eax
je 0x44caea
push 0x4a1e08
mov ecx, dword [ebp + 8]
call fcn.00482c8a
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
xor eax, eax
mov al, byte [edx]
and eax, 0x10
test eax, eax
je 0x44cb08
push 0x4a1e10
mov ecx, dword [ebp + 8]
call fcn.00482c8a
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
xor eax, eax
mov al, byte [edx]
and eax, 1
test eax, eax
je 0x44cb52
push 0
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
xor eax, eax
mov ax, word [edx + 2]
push eax
call dword [sym.imp.USER32.dll_MapVirtualKeyA]
shl eax, 0x10
mov dword [ebp - 4], eax
push 0x40
lea ecx, [ebp - 0x44]
push ecx
mov edx, dword [ebp - 4]
push edx
call dword [sym.imp.USER32.dll_GetKeyNameTextA]
lea eax, [ebp - 0x44]
push eax
mov ecx, dword [ebp + 8]
call fcn.00482c8a
jmp 0x44cb75
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
xor eax, eax
mov ax, word [edx + 2]
cmp eax, 0x1b
je 0x44cb75
mov ecx, dword [ebp - 0x48]
mov edx, dword [ecx + 4]
mov al, byte [edx + 2]
push eax
mov ecx, dword [ebp + 8]
call fcn.00483044
mov esp, ebp
pop ebp
ret 4
Function at 0x44f88f
Capabilities:
Create directory
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48c95a
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
add eax, 0xf8
push eax
call dword [sym.imp.MSVCRT.dll__mkdir]
add esp, 4
test eax, eax
je 0x44f906
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
push 0x4a2150
push 0x4a215c
lea ecx, [ebp - 0x14]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 0x10], 0
push 0x4a2174
mov edx, dword [ebp - 0x18]
add edx, 0x1f8
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44f97c
mov ecx, 0x4a7860
call fcn.0044fe80
push eax
push 0x4a2178
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
xor edx, edx
cmp dword [ecx + 0x2f8], 0
sete dl
push edx
push 0x4a2190
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
jmp 0x44f9e9
push 0x4a219c
mov edx, dword [ebp - 0x18]
add edx, 0x1f8
push edx
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
je 0x44f9e9
mov ecx, 0x4a7860
call fcn.0044fe80
push eax
push 0x4a21a0
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x18]
xor edx, edx
cmp dword [ecx + 0x2f8], 0
sete dl
push edx
push 0x4a21b8
mov eax, dword [ebp - 0x10]
push eax
call dword [sym.imp.MSVCRT.dll_fprintf]
add esp, 0xc
mov ecx, dword [ebp - 0x10]
push ecx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x458316
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ce50
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
push edi
mov dword [ebp - 0x1c], ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov eax, dword [ebp + 8]
push eax
push 0x4a2980
lea ecx, [ebp - 0x10]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
mov edx, dword [ebp - 0x10]
push edx
push 0x4a29a8
lea eax, [ebp - 0x14]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
cmp dword [ebp + 8], 0
jl 0x45840d
mov ecx, dword [ebp - 0x1c]
mov edx, dword [ebp + 8]
cmp edx, dword [ecx + 0x21440]
jge 0x45840d
mov eax, dword [ebp + 8]
mov dword [ebp - 0x18], eax
jmp 0x4583bb
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x21440]
sub eax, 1
cmp dword [ebp - 0x18], eax
jge 0x4583f8
mov ecx, dword [ebp - 0x18]
add ecx, 1
imul ecx, ecx, 0x214
mov edx, dword [ebp - 0x1c]
lea esi, [edx + ecx + 0x40]
mov eax, dword [ebp - 0x18]
imul eax, eax, 0x214
mov ecx, dword [ebp - 0x1c]
lea edi, [ecx + eax + 0x40]
mov ecx, 0x85
rep movsd dword es:[edi], dword [esi]
jmp 0x4583b2
mov edx, dword [ebp - 0x1c]
mov eax, dword [edx + 0x21440]
sub eax, 1
mov ecx, dword [ebp - 0x1c]
mov dword [ecx + 0x21440], eax
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
mov esp, ebp
pop ebp
ret 4
Function at 0x458716
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ce82
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x18
mov dword [ebp - 0x24], ecx
cmp dword [ebp + 8], 0
jl 0x4588b9
cmp dword [ebp + 8], 0xc
jge 0x4588b9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
cmp dword [ecx + eax*4 + 4], 0
je 0x4588b9
mov edx, dword [ebp + 8]
mov eax, dword [ebp - 0x24]
mov ecx, dword [eax + edx*4 + 4]
cmp dword [ecx], 0
je 0x4588b9
mov edx, dword [ebp - 0x24]
cmp dword [edx + 0x3c], 0
je 0x4588b9
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4 + 4]
cmp dword [edx + 4], 1
je 0x4587f1
mov eax, dword [ebp + 8]
mov ecx, dword [ebp - 0x24]
mov edx, dword [ecx + eax*4 + 4]
mov eax, dword [edx]
push eax
mov ecx, dword [ebp - 0x24]
mov ecx, dword [ecx + 0x3c]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + 0x3c]
mov edx, dword [eax]
call dword [edx + 4]
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
push 0x4a29f8
push 0x4a2a34
lea eax, [ebp - 0x10]
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x10]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
xor eax, eax
jmp 0x4588bb
mov dword [ebp - 0x14], 0
mov dword [ebp - 0x18], 0
jmp 0x45880a
mov ecx, dword [ebp - 0x18]
add ecx, 1
mov dword [ebp - 0x18], ecx
cmp dword [ebp - 0x18], 4
jge 0x458832
mov dl, byte [ebp - 0x18]
push edx
mov ecx, 0x4c8d68
call fcn.0045d86c
mov dword [ebp - 0x1c], eax
cmp dword [ebp - 0x1c], 0
je 0x458830
mov eax, dword [ebp - 0x14]
add eax, 1
mov dword [ebp - 0x14], eax
jmp 0x458801
cmp dword [ebp - 0x14], 1
jle 0x4588a0
mov ecx, dword [ebp + 8]
mov edx, dword [ebp - 0x24]
mov eax, dword [edx + ecx*4 + 4]
mov ecx, dword [eax]
push ecx
mov edx, dword [ebp - 0x24]
mov ecx, dword [edx + 0x3c]
mov eax, dword [ebp - 0x24]
mov edx, dword [eax + 0x3c]
mov eax, dword [edx]
call dword [eax + 4]
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 1
push 0x4a2a4c
push 0x4a2a84
lea ecx, [ebp - 0x20]
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x20]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
mov eax, 1
jmp 0x4588bb
push 0
push 0
push 4
push 0x4a2a9c
mov ecx, 0x4c8d68
call fcn.00462920
xor eax, eax
jmp 0x4588bb
xor eax, eax
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x458a8a
Capabilities:
Print debug messages

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48ceaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov dword [ebp - 0x18], ecx
mov eax, dword [ebp - 0x18]
mov ecx, dword [ebp + 8]
mov dword [eax + 0x90], ecx
cmp dword [ebp + 8], 0
jne 0x458acd
mov ecx, 0x4c8d68
call fcn.00404a50
mov edx, dword [ebp - 0x18]
mov dword [edx + 0x90], eax
push 0
mov eax, dword [ebp - 0x18]
mov ecx, dword [eax + 0x90]
push ecx
mov ecx, dword [ebp - 0x18]
add ecx, 4
call sub.MFC42.DLL_CToolTipCtrl::Create
mov dword [ebp - 0x10], eax
cmp dword [ebp - 0x10], 0
jne 0x458b30
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
push 0x4a2acc
push 0x4a2aec
lea edx, [ebp - 0x14]
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
lea ecx, [ebp - 0x14]
call fcn.00402e50
push eax
call dword [sym.imp.KERNEL32.dll_OutputDebugStringA]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
mov dword [eax + 0x94], 1
mov eax, dword [ebp - 0x10]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret 4
Function at 0x462c72
Capabilities:
Create process on windows

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d2a6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x3c
mov dword [ebp - 0x28], ecx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_2
mov byte [ebp - 4], 1
push str.datapet.exe
lea eax, [ebp - 0x18]
push eax
call fcn.00483c27
add esp, 4
mov dword [ebp - 0x2c], eax
mov ecx, dword [ebp - 0x2c]
mov dword [ebp - 0x30], ecx
mov byte [ebp - 4], 2
mov edx, dword [ebp - 0x30]
push edx
lea eax, [ebp - 0x1c]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
mov dword [ebp - 0x38], ecx
mov byte [ebp - 4], 3
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 2
lea ecx, [ebp - 0x1c]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x18]
call sub.MFC42.DLL_CString::CString
push str.data
lea eax, [ebp - 0x20]
push eax
call fcn.00483c27
add esp, 4
mov dword [ebp - 0x3c], eax
mov ecx, dword [ebp - 0x3c]
mov dword [ebp - 0x40], ecx
mov byte [ebp - 4], 4
mov edx, dword [ebp - 0x40]
push edx
lea eax, [ebp - 0x24]
push eax
call sub.MFC42.DLL_operator_1
mov dword [ebp - 0x44], eax
mov ecx, dword [ebp - 0x44]
mov dword [ebp - 0x48], ecx
mov byte [ebp - 4], 5
mov edx, dword [ebp - 0x48]
push edx
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::operator_1
mov byte [ebp - 4], 4
lea ecx, [ebp - 0x24]
call sub.MFC42.DLL_CString::CString
mov byte [ebp - 4], 1
lea ecx, [ebp - 0x20]
call sub.MFC42.DLL_CString::CString
push 0
lea ecx, [ebp - 0x14]
call fcn.00402e50
push eax
push 0
lea ecx, [ebp - 0x10]
call fcn.00402e50
push eax
push str.open
mov ecx, 0x4c8d68
call fcn.00404a50
mov ecx, eax
call fcn.00409c60
push eax
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x10]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
Function at 0x462ecb
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x48d2db
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x29c
push edi
mov dword [ebp - 0x2a4], ecx
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
mov byte [ebp - 0x8c], 0
mov ecx, 0x1f
xor eax, eax
lea edi, [ebp - 0x8b]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x294], 0
mov ecx, 0x3f
xor eax, eax
lea edi, [ebp - 0x293]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea eax, [ebp - 0x2a0]
push eax
call fcn.00483c27
add esp, 4
mov dword [ebp - 0x2a8], eax
mov ecx, dword [ebp - 0x2a8]
mov edx, dword [ecx]
push edx
push str._s..path.ini
push 0xff
lea eax, [ebp - 0x294]
push eax
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
lea ecx, [ebp - 0x2a0]
call sub.MFC42.DLL_CString::CString
lea ecx, [ebp - 0x294]
push ecx
push 0x80
lea edx, [ebp - 0x8c]
push edx
push str.._face_
push str.face
push str.resource
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea eax, [ebp - 0x294]
push eax
lea ecx, [ebp - 0x29c]
call sub.MFC42.DLL_CString::CString_3
mov byte [ebp - 4], 1
push 0x5c
lea ecx, [ebp - 0x29c]
call sub.MFC42.DLL_CString::ReverseFind
mov dword [ebp - 0x298], eax
mov ecx, dword [ebp - 0x298]
mov byte [ebp + ecx - 0x293], 0
mov byte [ebp - 0x194], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x193]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
lea edx, [ebp - 0x8c]
push edx
lea eax, [ebp - 0x294]
push eax
push str._s_s
push 0x103
lea ecx, [ebp - 0x194]
push ecx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
lea edx, [ebp - 0x194]
push edx
call fcn.00413943
add esp, 4
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x29c]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x90]
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x47d22b
Capabilities:
Read file on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x10
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
push 0x4a6100
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
add esp, 8
mov dword [ebp - 8], eax
cmp dword [ebp - 8], 0
jne 0x47d270
push 0
push 0
push 0x4a6104
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x47d2fd
mov ecx, dword [ebp - 8]
push ecx
push 1
push 4
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov eax, dword [ebp + 0x10]
cmp dword [eax], 0
jbe 0x47d2e2
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
call sub.MFC42.DLL_operatornew
add esp, 4
mov dword [ebp - 0xc], eax
mov eax, dword [ebp + 0xc]
mov ecx, dword [ebp - 0xc]
mov dword [eax], ecx
mov edx, dword [ebp + 0xc]
cmp dword [edx], 0
je 0x47d2d2
mov eax, dword [ebp - 8]
push eax
push 1
mov ecx, dword [ebp + 0x10]
mov edx, dword [ecx]
push edx
mov eax, dword [ebp + 0xc]
mov ecx, dword [eax]
push ecx
call dword [sym.imp.MSVCRT.dll_fread]
add esp, 0x10
mov dword [ebp - 4], 1
jmp 0x47d2e0
push 0
push 0
push 0x4a6118
call sub.MFC42.DLL_AfxMessageBox_1
jmp 0x47d2f0
push 0
push 0
push 0x4a6128
call sub.MFC42.DLL_AfxMessageBox_1
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 4
mov eax, dword [ebp - 4]
mov esp, ebp
pop ebp
ret 0xc
Function at 0x47d790
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x318
push edi
mov dword [ebp - 0x318], ecx
mov eax, dword [ebp - 0x318]
mov dword [eax], 0
mov byte [ebp - 0x104], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x103]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x104
lea ecx, [ebp - 0x104]
push ecx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
test eax, eax
je 0x47d8e9
mov byte [ebp - 0x210], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x20f]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
mov byte [ebp - 0x314], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x313]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x5c
lea edx, [ebp - 0x104]
push edx
call fcn.004031a0
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x47d83c
mov eax, dword [ebp - 0x10c]
mov byte [eax], 0
push 0x5c
lea ecx, [ebp - 0x104]
push ecx
call fcn.004031a0
add esp, 8
mov dword [ebp - 0x10c], eax
cmp dword [ebp - 0x10c], 0
je 0x47d866
mov edx, dword [ebp - 0x10c]
mov byte [edx + 1], 0
lea eax, [ebp - 0x104]
push eax
lea ecx, [ebp - 0x210]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0x4a6218
lea edx, [ebp - 0x210]
push edx
call sub.MSVCRT.dll_strcat
add esp, 8
lea eax, [ebp - 0x210]
push eax
push 0x104
lea ecx, [ebp - 0x314]
push ecx
push 0x4a6208
push 0x4a61fc
push 0x4a61f0
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x314]
push edx
lea eax, [ebp - 0x104]
push eax
call sub.MSVCRT.dll_strcat
add esp, 8
mov dword [ebp - 0x108], eax
mov ecx, dword [ebp - 0x108]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov edx, dword [ebp - 0x318]
mov dword [edx], eax
mov eax, dword [ebp - 0x318]
pop edi
mov esp, ebp
pop ebp
ret
Function at 0x481845
Capabilities:
Check os version
Create process on windows

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x2f0
push edi
mov dword [ebp - 0x2f0], ecx
mov eax, dword [ebp + 0x24]
push eax
mov ecx, dword [ebp + 0x20]
push ecx
mov edx, dword [ebp + 0x1c]
push edx
mov eax, dword [ebp + 0x18]
push eax
mov ecx, dword [ebp + 0x14]
push ecx
mov edx, dword [ebp + 0x10]
push edx
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 0x2f0]
call fcn.00481ab0
push eax
mov ecx, dword [ebp - 0x2f0]
call sub.MFC42.DLL_CWnd::CreateControl
mov dword [ebp - 4], eax
cmp dword [ebp - 4], 0
je 0x48189f
mov eax, 1
jmp 0x481a9e
mov byte [ebp - 0x1a4], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x1a3]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x103
lea edx, [ebp - 0x1a4]
push edx
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
push 0x5c
lea eax, [ebp - 0x1a4]
push eax
call fcn.004031a0
add esp, 8
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jne 0x4818f3
xor eax, eax
jmp 0x481a9e
mov ecx, dword [ebp - 0x1a8]
mov byte [ecx], 0
push 0x5c
lea edx, [ebp - 0x1a4]
push edx
call fcn.004031a0
add esp, 8
mov dword [ebp - 0x1a8], eax
cmp dword [ebp - 0x1a8], 0
jne 0x481923
xor eax, eax
jmp 0x481a9e
mov eax, dword [ebp - 0x1a8]
mov byte [eax], 0
mov byte [ebp - 0x2ac], 0
mov ecx, 0x40
xor eax, eax
lea edi, [ebp - 0x2ab]
rep stosd dword es:[edi], eax
stosw word es:[edi], ax
stosb byte es:[edi], al
push 0x4a642c
lea ecx, [ebp - 0x1a4]
push ecx
push 0x4a644c
push 0x103
lea edx, [ebp - 0x2ac]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x14
push 0
lea eax, [ebp - 0x2ac]
push eax
call dword [sym.imp.MSVCRT.dll__access]
add esp, 8
test eax, eax
je 0x481988
xor eax, eax
jmp 0x481a9e
lea ecx, [ebp - 0x2ac]
push ecx
push 0x4a6454
push 0x103
lea edx, [ebp - 0x1a4]
push edx
call dword [sym.imp.MSVCRT.dll__snprintf]
add esp, 0x10
push 0x3c
push 0
lea eax, [ebp - 0x2ec]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0x2ec], 0x3c
mov dword [ebp - 0x2e8], 0x40
mov dword [ebp - 0x2e4], 0
lea ecx, [ebp - 0x1a4]
mov dword [ebp - 0x2dc], ecx
mov dword [ebp - 0x2d8], 0x4a645c
mov dword [ebp - 0x2d4], 0x4f7614
mov dword [ebp - 0x2d0], 1
push 0x9c
push 0
lea edx, [ebp - 0xa0]
push edx
call sub.MSVCRT.dll_memset
add esp, 0xc
mov dword [ebp - 0xa0], 0x9c
lea eax, [ebp - 0xa0]
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
mov dword [ebp - 0x2b0], eax
cmp dword [ebp - 0x2b0], 0
jne 0x481a44
xor eax, eax
jmp 0x481a9e
cmp dword [ebp - 0x90], 2
jne 0x481a62
cmp dword [ebp - 0x9c], 6
jb 0x481a62
mov dword [ebp - 0x2e0], 0x4a6464
jmp 0x481a6c
mov dword [ebp - 0x2e0], 0x4a646c
lea ecx, [ebp - 0x2ec]
push ecx
call dword [sym.imp.SHELL32.dll_ShellExecuteExA]
push 0xffffffffffffffff
mov edx, dword [ebp - 0x2b4]
push edx
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
push 0
push 0x4a6474
push 0x4a647c
push 0
call dword [sym.imp.USER32.dll_MessageBoxA]
xor eax, eax
pop edi
mov esp, ebp
pop ebp
ret 0x20