joyce8/EMBER2024-capa huggingface dataset:
Function at 0x41a610
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4abb23
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
push edi
mov edi, ecx
mov dword [esp + 0x10], edi
mov eax, dword [edi + 4]
lea esi, [edi + 4]
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 1
push ecx
mov ecx, esi
call dword [eax + 0x18]
mov eax, dword [eax]
push 0x52e640
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
lea ecx, [esp + 0xc]
test eax, eax
setne bl
call sub.MFC42.DLL_CString::CString
test bl, bl
je 0x41a673
mov edx, dword [esi]
mov ecx, esi
call dword [edx + 0x54]
push 0
mov ecx, edi
call sub.MFC42.DLL_CString::GetBuffer
mov eax, dword [edi]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov ecx, esi
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CFile::CFile
mov ecx, edi
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret

Function at 0x41bc20
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004611c0
mov cl, byte [0x52f7b0]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x41bc5f
mov dl, cl
mov ecx, 0x52f7ac
or dl, al
mov byte [0x52f7b0], dl
call sub.MFC42.DLL_CString::CString_3
push 0x41bcc0
call fcn.004611ac
add esp, 4
mov eax, dword [0x52f7ac]
push 0x52e640
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41bc96
lea ecx, [esp + 4]
push ecx
push 0x1000
call dword [sym.imp.KERNEL32.dll_GetTempPathA]
lea edx, [esp + 4]
mov ecx, 0x52f7ac
push edx
call fcn.004604be
push esi
mov esi, dword [esp + 0x100c]
push 0x52f7ac
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret

Function at 0x41bcd0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004611c0
mov cl, byte [0x52f7a8]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x41bd0f
mov dl, cl
mov ecx, 0x52f7a4
or dl, al
mov byte [0x52f7a8], dl
call sub.MFC42.DLL_CString::CString_3
push 0x41bda0
call fcn.004611ac
add esp, 4
mov eax, dword [0x52f7a4]
push esi
push 0x52e640
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41bd79
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetSystemDirectoryA]
mov edi, 0x523228
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x52f7a4
call fcn.004604be
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x52f7a4
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret
Function at 0x41bdb0
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004611c0
mov cl, byte [0x52f7a0]
mov al, 1
test al, cl
mov dword [esp], 0
jne 0x41bdef
mov dl, cl
mov ecx, 0x52f79c
or dl, al
mov byte [0x52f7a0], dl
call sub.MFC42.DLL_CString::CString_3
push 0x41be80
call fcn.004611ac
add esp, 4
mov eax, dword [0x52f79c]
push esi
push 0x52e640
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41be59
push ebx
push edi
lea ecx, [esp + 0x10]
push 0x1000
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov edi, 0x523228
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x52f79c
call fcn.004604be
pop edi
pop ebx
mov esi, dword [esp + 0x100c]
push 0x52f79c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
add esp, 0x1004
ret

Function at 0x41be90
Capabilities:
Get common file path

Disassembly:
mov eax, 0x1004
call fcn.004611c0
mov al, byte [0x52f790]
push ebx
mov ebx, 1
push esi
test bl, al
mov dword [esp + 8], 0
jne 0x41bed3
mov dl, al
mov ecx, 0x52f78c
or dl, bl
mov byte [0x52f790], dl
call sub.MFC42.DLL_CString::CString_3
push 0x41bf60
call fcn.004611ac
add esp, 4
mov eax, dword [0x52f78c]
push 0x52e640
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41bf39
push edi
push ebx
lea ecx, [esp + 0x14]
push 0x1a
push ecx
push eax
call dword [sym.imp.SHELL32.dll_SHGetSpecialFolderPathA]
mov edi, 0x523228
or ecx, 0xffffffff
xor eax, eax
lea edx, [esp + 0x10]
repne scasb al, byte es:[edi]
not ecx
sub edi, ecx
mov esi, edi
mov ebx, ecx
mov edi, edx
or ecx, 0xffffffff
repne scasb al, byte es:[edi]
mov ecx, ebx
dec edi
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, ebx
lea eax, [esp + 0x10]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, 0x52f78c
call fcn.004604be
pop edi
mov esi, dword [esp + 0x1010]
push 0x52f78c
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov eax, esi
pop esi
pop ebx
add esp, 0x1004
ret
Function at 0x41d210
Capabilities:
Set current directory

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ac46b
push eax
mov eax, 0x1704
mov dword fs:[0], esp
call fcn.004611c0
push esi
mov esi, ecx
lea eax, [esp + 0x208]
lea ecx, [esp + 0x108]
push eax
lea edx, [esp + 0x30c]
push ecx
mov ecx, dword [esi + 0x90]
lea eax, [esp + 0x10]
push edx
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__splitpath]
add esp, 0x14
lea edx, [esp + 0x108]
mov ecx, 0x52f744
push edx
call fcn.004604be
lea eax, [esp + 8]
mov ecx, 0x52f748
push eax
call fcn.004604be
lea ecx, [esp + 0x308]
push ecx
mov ecx, 0x52f748
call fcn.00460830
mov edx, dword [0x52f748]
push edx
call dword [sym.imp.KERNEL32.dll_SetCurrentDirectoryA]
push 0x52f748
mov ecx, 0x52f748
call sub.MFC42.DLL_CString::operator_3
lea eax, [esp + 0x708]
push 0x1000
push eax
push 0
call dword [sym.imp.KERNEL32.dll_GetModuleFileNameA]
mov cl, byte [0x52f804]
mov al, 1
test al, cl
jne 0x41d2f6
or cl, al
mov byte [0x52f804], cl
lea ecx, [esp + 0x708]
push ecx
mov ecx, 0x52f800
call sub.MFC42.DLL_CString::CString_1
push 0x41d380
call fcn.004611ac
add esp, 4
push 0x2e
mov ecx, 0x52f800
call sub.MFC42.DLL_CString::ReverseFind
lea edx, [esp + 4]
push eax
push edx
mov ecx, 0x52f800
call sub.MFC42.DLL_CString::Left
push eax
mov ecx, 0x52f800
mov dword [esp + 0x1714], 0
call sub.MFC42.DLL_CString::operator_3
lea ecx, [esp + 4]
mov dword [esp + 0x1710], 0xffffffff
call sub.MFC42.DLL_CString::CString
push str..ini
mov ecx, 0x52f800
call fcn.00460830
mov eax, dword [0x52f800]
mov dword [esi + 0x94], eax
mov ecx, dword [0x52f800]
push ecx
mov ecx, 0x52f8dc
call fcn.004604be
mov ecx, dword [esp + 0x1708]
pop esi
mov dword fs:[0], ecx
add esp, 0x1710
ret

Function at 0x41d390
Capabilities:
Delete file
Get common file path

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ac48b
push eax
mov eax, 0x1004
mov dword fs:[0], esp
call fcn.004611c0
push ecx
mov ecx, esp
mov dword [esp + 4], esp
push str.mymacro
call sub.MFC42.DLL_CString::CString_1
call fcn.0043bad0
add esp, 4
test eax, eax
je 0x41d3da
push eax
push 0xf27b
call fcn.0046bba0
add esp, 8
lea eax, [esp + 4]
push 0x1000
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 4]
push ecx
lea ecx, [esp + 4]
call sub.MFC42.DLL_CString::CString_1
push str.QMDispatch.dll
lea ecx, [esp + 4]
mov dword [esp + 0x1010], 0
call fcn.00460830
mov edx, dword [esp]
push edx
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp]
mov dword [esp + 0x100c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x1004]
mov dword fs:[0], ecx
add esp, 0x1010
ret
Function at 0x41d450
Capabilities:
Check if file exists
Extract resource via kernel32 functions
Get file attributes
Write file on windows

Disassembly:
push 0xffffffffffffffff
push 0x4ac4c0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x10
push esi
lea eax, [esp + 0x10]
push 0x523fa8
push eax
call fcn.00429630
mov esi, eax
lea ecx, [esp + 0x14]
mov dword [esp + 0x24], 0
push ecx
call fcn.0041bc20
add esp, 0xc
push esi
lea edx, [esp + 0xc]
push eax
push edx
mov byte [esp + 0x28], 1
call sub.MFC42.DLL_operator_3
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x10]
mov byte [esp + 0x1c], 3
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_GetFileAttributesA]
cmp eax, 0xffffffff
jne 0x41d588
push ebp
push edi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
push 0x95
lea ecx, [esp + 0x10]
push 0x523fa4
push ecx
mov byte [esp + 0x30], 5
call sub.MFC42.DLL_CString::Format_1
add esp, 0xc
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov edx, dword [esp + 0xc]
push str.EXTERNAL
push edx
mov eax, dword [eax + 0x6c]
push eax
call dword [sym.imp.KERNEL32.dll_FindResourceA]
mov esi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push esi
mov ecx, dword [eax + 0x6c]
push ecx
call dword [sym.imp.KERNEL32.dll_LoadResource]
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
mov edi, eax
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
push esi
mov edx, dword [eax + 0x6c]
push edx
call dword [sym.imp.KERNEL32.dll_SizeofResource]
test edi, edi
mov ebp, eax
je 0x41d578
mov eax, dword [esp + 0x10]
push 0x523afc
push eax
call dword [sym.imp.MSVCRT.dll_fopen]
mov esi, eax
add esp, 8
test esi, esi
je 0x41d578
push esi
push 1
push ebp
push edi
call dword [sym.imp.MSVCRT.dll_fwrite]
push esi
call dword [sym.imp.MSVCRT.dll_fclose]
add esp, 0x14
lea ecx, [esp + 0xc]
mov byte [esp + 0x24], 3
call sub.MFC42.DLL_CString::CString
pop edi
pop ebp
lea ecx, [esp + 8]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
pop esi
mov dword fs:[0], ecx
add esp, 0x1c
ret
Function at 0x41d5b0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4ac526
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x1c
push esi
push edi
push ecx
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x524004
call sub.MFC42.DLL_CString::CString_1
push ecx
xor edi, edi
mov ecx, esp
mov dword [esp + 0x20], esp
push str.bro.mymacro
mov dword [esp + 0x38], edi
call sub.MFC42.DLL_CString::CString_1
lea eax, [esp + 0x18]
push 0x523fa8
push eax
mov byte [esp + 0x3c], 1
call fcn.00429630
mov esi, eax
lea ecx, [esp + 0x1c]
mov byte [esp + 0x3c], 2
push ecx
call fcn.0041bc20
add esp, 8
mov byte [esp + 0x38], 3
mov edx, esp
mov dword [esp + 0x28], esp
push esi
push eax
push edx
call sub.MFC42.DLL_operator_3
push ecx
mov byte [esp + 0x3c], 4
mov ecx, esp
mov dword [esp + 0x30], esp
push str.http:__ad.vrbrothers.com_qmacro_v9_ad_mymacro.xml
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x3c], 7
call fcn.004018b0
mov ecx, eax
call fcn.00401a70
lea ecx, [esp + 0xc]
mov byte [esp + 0x2c], 6
call sub.MFC42.DLL_CString::CString
or esi, 0xffffffff
lea ecx, [esp + 0x10]
mov dword [esp + 0x2c], esi
call sub.MFC42.DLL_CString::CString
mov al, byte [0x52f7fc]
test al, 1
jne 0x41d717
mov dl, al
mov al, byte [esp + 0xb]
or dl, 1
mov byte [0x52f7d0], al
mov byte [0x52f7fc], dl
mov dword [0x52f7d4], edi
mov dword [0x52f7d8], edi
mov dword [0x52f7dc], edi
mov dword [0x52f7c8], 0x4babd0
mov ecx, 0x52f7e0
mov dword [esp + 0x2c], 8
mov dword [esp + 0x20], ecx
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x52f7e4
mov byte [esp + 0x2c], 9
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x52f7f0
mov byte [esp + 0x2c], 0xa
call sub.MFC42.DLL_CString::CString_3
mov ecx, 0x52f7f4
mov byte [esp + 0x2c], 0xb
call sub.MFC42.DLL_CString::CString_3
push 0x41d780
mov dword [0x52f7c8], 0x4babcc
mov dword [0x52f7cc], 4
mov dword [esp + 0x30], esi
call fcn.004611ac
add esp, 4
push 0x52f7c8
call fcn.004018b0
mov ecx, eax
call fcn.00401d90
push 0x3e8
mov ecx, 0x52f7c8
call fcn.00403290
mov ecx, dword [esp + 0x24]
pop edi
mov dword fs:[0], ecx
pop esi
add esp, 0x28
ret
Function at 0x41d820
Capabilities:
Check mutex on windows
Read file via mapping

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4ac570
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
mov eax, dword [0x52f768]
push edi
test eax, eax
mov edi, ecx
je 0x41d8b1
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString_3
push 0xf27d
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0
call sub.MFC42.DLL_CString::LoadStringA
mov eax, dword [ebp - 0x14]
push eax
push 0
push 0x1f0001
call dword [sym.imp.KERNEL32.dll_OpenMutexA]
test eax, eax
jne 0x41d8a2
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
lea ecx, [ebp - 0x14]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
jmp 0x41d8c3
lea ecx, [ebp - 0x10]
push ecx
call fcn.0041d9a0
add esp, 4
mov edx, dword [ebp - 0x10]
push edx
push 0x400
push 0
push 4
push 0
push 0xffffffffffffffff
call dword [sym.imp.KERNEL32.dll_CreateFileMappingA]
mov dword [edi + 0xcc], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
cmp eax, 0xb7
jne 0x41d965
mov eax, dword [edi + 0xcc]
push esi
push 4
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
mov esi, eax
test esi, esi
je 0x41d934
mov ecx, dword [esi]
push 0x201
push 0
push 0x464
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
push esi
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
mov edx, dword [edi + 0xcc]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov eax, 1
pop edi
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret
jmp 0x41d975
lea ecx, [ebp - 0x10]
mov dword [ebp - 4], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [ebp - 0xc]
xor eax, eax
pop edi
mov dword fs:[0], ecx
mov esp, ebp
pop ebp
ret

Function at 0x41dae0
Capabilities:
Read file via mapping

Disassembly:
mov eax, dword [ecx + 0xcc]
push 4
push 0
push 0
push 0xf001f
push eax
call dword [sym.imp.KERNEL32.dll_MapViewOfFile]
test eax, eax
je 0x41db09
mov ecx, dword [esp + 4]
push eax
mov dword [eax], ecx
call dword [sym.imp.KERNEL32.dll_UnmapViewOfFile]
ret 4
Function at 0x41ec20
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4ac857
push eax
mov dword fs:[0], esp
sub esp, 0xec
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov eax, dword [esi + 0x121c]
push eax
push 0xffffffffffffffff
push str.AutoRunTime
push 0x524070
call edi
mov ebx, eax
test ebx, ebx
jl 0x41ed9f
mov eax, dword [esi + 0x121c]
push eax
push 0
push str.PrimaryMacro
push 0x524070
call edi
cmp eax, dword [esi + 0x11f0]
jge 0x41ec95
test eax, eax
jl 0x41ec95
mov ecx, dword [esi + 0x11e8]
je 0x41ec97
mov ecx, dword [ecx]
dec eax
jne 0x41ec8e
jmp 0x41ec97
xor ecx, ecx
mov ecx, dword [ecx + 8]
mov eax, dword [ecx]
call dword [eax + 4]
mov edx, dword [eax]
push 1
mov ecx, eax
call dword [edx + 0x20]
test ebx, ebx
mov edi, eax
jle 0x41ed89
push 0
push ecx
lea eax, [edi + 0xc]
mov ecx, esp
mov dword [esp + 0x14], esp
push eax
call sub.MFC42.DLL_CString::CString_4
push ebx
lea ecx, [esp + 0x1c]
call fcn.00404aa0
lea ecx, [esp + 0x10]
mov dword [esp + 0x100], 0
call sub.MFC42.DLL_CDialog::DoModal
cmp eax, 2
jne 0x41ed39
lea ecx, [esp + 0xf4]
mov dword [esp + 0x100], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 2
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x70]
mov byte [esp + 0x100], 1
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x10]
mov dword [esp + 0x100], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
jmp 0x41ed9f
lea ecx, [esp + 0xf4]
mov dword [esp + 0x100], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xb0]
mov byte [esp + 0x100], 5
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x70]
mov byte [esp + 0x100], 4
call sub.MFC42.DLL_CStatic::CStatic
lea ecx, [esp + 0x10]
mov dword [esp + 0x100], 0xffffffff
call sub.MFC42.DLL_CDialog::CDialog
push 6
mov ecx, esi
call sub.MFC42.DLL_CWnd::ShowWindow
push 0
push 0
push edi
call fcn.004347e0
add esp, 0xc
mov ecx, dword [esp + 0xf8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
add esp, 0xf8
ret
Function at 0x421420
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ace00
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebx
push ebp
push esi
push edi
lea ecx, [esp + 0x20]
mov dword [esp + 0x3c], 0
call sub.MFC42.DLL_CStringArray::CStringArray
push 0xffffffffffffffff
push 0xa
lea ecx, [esp + 0x28]
mov byte [esp + 0x44], 1
call sub.MFC42.DLL_CStringArray::SetSize
lea eax, [esp + 0x20]
lea edx, [esp + 0x48]
push eax
push 0x7c
push ecx
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_4
call fcn.0041b760
mov eax, dword [esp + 0x30]
add esp, 8
mov ecx, esp
mov dword [esp + 0x18], esp
push 0x52e640
mov esi, eax
lea edi, [eax + 4]
lea ebp, [eax + 8]
lea ebx, [eax + 0xc]
call sub.MFC42.DLL_CString::CString_1
push ecx
mov byte [esp + 0x44], 2
mov ecx, esp
mov dword [esp + 0x20], esp
push esi
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x48], 3
mov eax, esp
mov dword [esp + 0x28], esp
push 0x524460
push eax
call fcn.00429630
add esp, 8
mov byte [esp + 0x48], 1
call fcn.0041f4a0
mov ecx, eax
call fcn.00441040
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_3
push 0x523698
lea ecx, [esp + 0x14]
push str.http:__hi.vrbrothers.com_xjl_download.aspx_SDModID_s
push ecx
mov byte [esp + 0x48], 5
call sub.MFC42.DLL_CString::Format_1
add esp, 8
lea edx, [esp + 0x14]
mov ecx, esp
mov dword [esp + 0x20], esp
push edx
call sub.MFC42.DLL_CString::CString_4
push ecx
mov byte [esp + 0x44], 6
mov ecx, esp
mov dword [esp + 0x20], esp
push 0x523698
call sub.MFC42.DLL_CString::CString_1
mov byte [esp + 0x44], 5
call fcn.00462c60
mov ecx, eax
call fcn.00462f80
mov edi, dword [edi]
push edi
call dword [sym.imp.MSVCRT.dll_atoi]
push eax
call fcn.00420f70
add esp, 4
mov ecx, esp
mov dword [esp + 0x20], esp
push ebp
call sub.MFC42.DLL_CString::CString_4
mov eax, dword [esp + 0x48]
push eax
call fcn.00421240
mov eax, dword [0x52f768]
add esp, 8
test eax, eax
jne 0x421583
mov ebx, dword [ebx]
push 6
push 0x40
push 0xf284
push ebx
call fcn.00411380
mov ecx, eax
call fcn.00411610
lea ecx, [esp + 0x10]
mov byte [esp + 0x3c], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0x20]
mov byte [esp + 0x3c], 0
call fcn.0046099e
lea ecx, [esp + 0x48]
mov dword [esp + 0x3c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x34]
pop edi
pop esi
pop ebp
mov dword fs:[0], ecx
pop ebx
add esp, 0x30
ret
Function at 0x422060
Capabilities:
Allocate or change rwx memory

Disassembly:
push ebx
mov ecx, dword [esp + 8]
push ebp
mov ebp, dword [esp + 0x10]
push esi
mov esi, dword [esp + 0x1c]
lea eax, [esp + 0x1c]
lea ebx, [esi + 0xa]
push eax
push 0x40
push ebx
push ebp
push ecx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
test eax, eax
je 0x4220b5
mov ecx, esi
mov esi, dword [esp + 0x18]
mov edx, ecx
push edi
mov edi, ebp
lea eax, [esp + 0x20]
shr ecx, 2
rep movsd dword es:[edi], dword [esi]
mov ecx, edx
mov edx, dword [esp + 0x14]
and ecx, 3
push eax
rep movsb byte es:[edi], byte [esi]
mov ecx, dword [esp + 0x24]
push ecx
push ebx
push ebp
push edx
call dword [sym.imp.KERNEL32.dll_VirtualProtectEx]
pop edi
pop esi
pop ebp
pop ebx
ret

Function at 0x4220c0
Capabilities:
Enumerate process modules

Disassembly:
sub esp, 0x7d4
push esi
mov esi, ecx
push edi
xor edx, edx
mov ecx, 0x1f3
xor eax, eax
lea edi, [esp + 0x10]
mov dword [esp + 0xc], edx
rep stosd dword es:[edi], eax
mov eax, dword [esp + 0x7e0]
mov dword [esp + 8], edx
push eax
push edx
push 0x1f0fff
call dword [sym.imp.KERNEL32.dll_OpenProcess]
lea ecx, [esp + 8]
lea edx, [esp + 0xc]
push ecx
push 0x7d0
push edx
push eax
call sub.PSAPI.DLL_EnumProcessModules
mov eax, dword [esp + 0xc]
mov ecx, esi
push eax
call fcn.00421de0
pop edi
pop esi
add esp, 0x7d4
ret 4
Function at 0x422920
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4ad197
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
mov eax, dword [esp + 0x14]
push esi
push edi
mov esi, ecx
push eax
push 0x9e
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CDialog::CDialog_1
lea edi, [esi + 0x60]
mov dword [esp + 0x14], 0
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b8a90
lea edi, [esi + 0xa0]
mov byte [esp + 0x14], 1
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b96cc
lea edi, [esi + 0xe0]
mov byte [esp + 0x14], 2
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b96cc
lea edi, [esi + 0x120]
mov byte [esp + 0x14], 3
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b8a90
lea edi, [esi + 0x160]
mov byte [esp + 0x14], 4
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b96cc
lea edi, [esi + 0x1a0]
mov byte [esp + 0x14], 5
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b96cc
lea edi, [esi + 0x1e0]
mov byte [esp + 0x14], 6
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b96cc
lea edi, [esi + 0x220]
mov byte [esp + 0x14], 7
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b96cc
lea edi, [esi + 0x260]
mov byte [esp + 0x14], 8
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b9c58
lea ecx, [esi + 0x2a0]
mov byte [esp + 0x14], 9
call fcn.00401000
lea edi, [esi + 0x2e0]
mov byte [esp + 0x14], 0xa
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b96cc
lea edi, [esi + 0x320]
mov byte [esp + 0x14], 0xb
mov ecx, edi
call sub.MFC42.DLL_CWnd::CWnd
mov dword [edi], 0x4b96cc
mov byte [esp + 0x14], 0xc
push 0
lea ecx, [esi + 0x364]
call fcn.00416d00
lea ecx, [esi + 0x608]
mov byte [esp + 0x14], 0xd
call sub.MFC42.DLL_CString::CString_3
lea ecx, [esi + 0x60c]
mov byte [esp + 0x14], 0xe
call sub.MFC42.DLL_CString::CString_3
mov byte [esp + 0x14], 0xf
mov dword [esi], 0x4bb4b8
call sub.MFC42.DLL_AfxGetModuleState
mov eax, dword [eax + 4]
mov ecx, dword [eax + 0x94]
push ecx
push 0
push str.LastLoginServer
push str.General
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [esp + 0xc]
mov dword [esi + 0x360], eax
mov eax, esi
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret 4
Function at 0x424ac0
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4ad593
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
push ebx
push ebp
push esi
mov esi, ecx
push edi
mov dword [esp + 0x10], esi
call sub.MFC42.DLL_CDC::CDC
lea ebp, [esi + 0x10]
xor ecx, ecx
mov dword [esp + 0x24], ecx
mov dword [ebp + 4], ecx
mov dword [ebp], 0x4b8be8
mov ebx, dword [esp + 0x2c]
mov dword [esi], 0x4bb8c0
mov dword [esi + 0x1c], ebx
mov dword [esi + 0x18], ecx
mov edi, dword [ebx + 0xc]
xor eax, eax
cmp edi, ecx
mov byte [esp + 0x24], 1
sete al
cmp eax, ecx
mov dword [esi + 0x30], eax
je 0x424b91
mov eax, dword [ebx]
lea edi, [esi + 0x20]
push edi
mov ecx, ebx
call dword [eax + 0x58]
test ebx, ebx
jne 0x424b33
xor eax, eax
jmp 0x424b36
mov eax, dword [ebx + 4]
push eax
call dword [sym.imp.GDI32.dll_CreateCompatibleDC]
push eax
mov ecx, esi
call sub.MFC42.DLL_CDC::Attach
mov eax, dword [edi + 0xc]
mov ecx, dword [edi + 4]
mov edx, dword [edi]
sub eax, ecx
mov ecx, dword [edi + 8]
push eax
sub ecx, edx
push ecx
mov ecx, dword [ebx + 4]
push ecx
call dword [sym.imp.GDI32.dll_CreateCompatibleBitmap]
push eax
mov ecx, ebp
call sub.MFC42.DLL_CGdiObject::Attach
test ebp, ebp
je 0x424b6f
mov ebp, dword [ebp + 4]
mov edx, dword [esi + 4]
push ebp
push edx
call sub.MFC42.DLL_CDC::SelectGdiObject
mov ecx, dword [edi]
mov dword [esi + 0x18], eax
mov eax, dword [esi + 0x24]
lea edx, [esp + 0x14]
push eax
push ecx
push edx
mov ecx, esi
call sub.MFC42.DLL_CDC::SetWindowOrg
jmp 0x424ba3
mov eax, dword [ebx + 0xc]
mov dword [esi + 0xc], eax
mov ecx, dword [ebx + 4]
mov dword [esi + 4], ecx
mov edx, dword [ebx + 8]
mov dword [esi + 8], edx
mov ecx, dword [esp + 0x1c]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret 4