joyce8/EMBER2024-capa huggingface dataset:
Function at 0x410520
Capabilities:
Create directory
Delete file
Encode data using xor

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f6c06
push eax
mov eax, 0x27928
mov dword fs:[0], esp
call fcn.00445f30
xor eax, eax
mov cl, byte [eax + 0x508fcc]
xor cl, 0x7d
mov byte [esp + eax + 0x144], cl
inc eax
cmp eax, 0x277e3
jb 0x410541
push esi
push 0
lea edx, [esp + 0x14c]
push 0x277e4
push edx
mov byte [esp + 0x27937], 0
call fcn.0049fb30
mov esi, eax
add esp, 0xc
test esi, esi
je 0x4106a8
push ebp
push edi
push 0x59167c
lea eax, [esp + 0x10]
push 0x5da458
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_CreateDirectoryA]
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString
push 0x59167c
lea ecx, [esp + 0x10]
push 0x5da458
push ecx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov dword [esp + 0x2793c], 0
push eax
push esi
call fcn.0049fc90
add esp, 8
lea ecx, [esp + 0xc]
mov dword [esp + 0x2793c], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edx, [esp + 0x24]
mov ecx, 0x4a
xor eax, eax
lea edi, [esp + 0x28]
push edx
mov dword [esp + 0x28], 0
push 0xffffffffffffffff
push esi
rep stosd dword es:[edi], eax
call fcn.0049fb50
mov ebp, dword [esp + 0x30]
add esp, 0xc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CFile::CFile
xor edi, edi
mov dword [esp + 0x2793c], 1
test ebp, ebp
jle 0x41064f
lea eax, [esp + 0x24]
push eax
push edi
push esi
call fcn.0049fb50
lea ecx, [esp + 0x34]
push ecx
push edi
push esi
call fcn.0049fc50
add esp, 0x18
inc edi
cmp edi, ebp
jl 0x41062f
push esi
call fcn.0049fd50
add esp, 4
test al, al
pop edi
pop ebp
push esi
je 0x410666
call fcn.0049fcd0
jmp 0x41066b
call fcn.0049b220
add esp, 4
lea edx, [esp + 8]
push str._stdplugin.dat
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 0xc]
mov dword [esp + 0x27934], 0xffffffff
call fcn.00445726
mov ecx, dword [esp + 0x2792c]
pop esi
mov dword fs:[0], ecx
add esp, 0x27934
ret
Function at 0x4112c0
Capabilities:
Access peb ldr_data

Disassembly:
push 0xffffffffffffffff
push 0x4f6e77
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push esi
mov esi, ecx
mov dword [esp + 4], esi
mov dword [esi], 0x530b98
mov dword [esp + 0x10], 0xe
call fcn.00411430
lea ecx, [esi + 0xa0]
mov byte [esp + 0x10], 0xd
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x9c]
mov byte [esp + 0x10], 0xc
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x98]
mov byte [esp + 0x10], 0xb
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x94]
mov byte [esp + 0x10], 0xa
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x90]
mov byte [esp + 0x10], 9
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x80]
mov byte [esp + 0x10], 8
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x78]
mov byte [esp + 0x10], 7
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x74]
mov byte [esp + 0x10], 6
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x60]
mov byte [esp + 0x10], 5
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x3c]
mov byte [esp + 0x10], 4
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x38]
mov byte [esp + 0x10], 3
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0x30]
mov byte [esp + 0x10], 2
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 0xc]
mov byte [esp + 0x10], 1
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 8]
mov byte [esp + 0x10], 0
call sub.MFC42.DLL_CString::CString
lea ecx, [esi + 4]
mov dword [esp + 0x10], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 8]
pop esi
mov dword fs:[0], ecx
add esp, 0x10
ret
Function at 0x413790
Capabilities:
Set socket configuration

Disassembly:
push ecx
mov ecx, dword [esp + 8]
lea eax, [esp]
push 4
push eax
push 4
push 0xffff
push ecx
mov dword [esp + 0x14], 1
call dword [sym.imp.WS2_32.dll_setsockopt]
cmp eax, 0xffffffff
jne 0x4137cb
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00413780
add esp, 4
or eax, 0xffffffff
pop ecx
ret
xor eax, eax
pop ecx
ret

Function at 0x4138f0
Capabilities:
Receive data
Receive data on socket

Disassembly:
sub esp, 0x10
mov edx, dword [esp + 0x1c]
xor ecx, ecx
xor eax, eax
mov dword [esp + 8], ecx
mov dword [esp + 0xc], ecx
mov ecx, dword [esp + 0x18]
mov dword [esp + 8], edx
push eax
mov dword [esp + 4], eax
mov dword [esp + 8], eax
push eax
lea edx, [esp + 0xc]
lea eax, [esp + 8]
mov dword [esp + 0x14], ecx
push edx
mov edx, dword [esp + 0x20]
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSARecv]
test eax, eax
jne 0x413941
mov eax, dword [esp]
add esp, 0x10
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
add esp, 0x10
ret

Function at 0x413ac0
Capabilities:
Send data
Send data on socket

Disassembly:
sub esp, 0xc
mov ecx, dword [esp + 0x18]
mov edx, dword [esp + 0x14]
xor eax, eax
mov dword [esp], 0
mov dword [esp + 4], eax
mov dword [esp + 4], ecx
push eax
push eax
mov dword [esp + 0x10], eax
push eax
lea eax, [esp + 0xc]
mov dword [esp + 0x14], edx
mov edx, dword [esp + 0x1c]
push eax
lea ecx, [esp + 0x14]
push 1
push ecx
push edx
call dword [sym.imp.WS2_32.dll_WSASend]
test eax, eax
jne 0x413b0b
mov eax, dword [esp]
add esp, 0xc
ret
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
neg eax
add esp, 0xc
ret
Function at 0x413cc0
Capabilities:
Connect socket

Disassembly:
sub esp, 0x30
push ebx
push ebp
push 0
push 0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateEventA]
test eax, eax
mov dword [esp + 8], eax
jne 0x413cf3
call dword [sym.imp.KERNEL32.dll_GetLastError]
push eax
call fcn.00413780
add esp, 4
or eax, 0xffffffff
pop ebp
pop ebx
add esp, 0x30
ret
mov ebx, dword [esp + 0x3c]
mov ebp, dword [sym.imp.WS2_32.dll_WSAEventSelect]
push 0x10
push eax
push ebx
call ebp
cmp eax, 0xffffffff
jne 0x413d2b
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_CloseHandle]
call dword [sym.imp.WS2_32.dll_WSAGetLastError]
push eax
call fcn.00413780
add esp, 4
or eax, 0xffffffff
pop ebp
pop ebx
add esp, 0x30
ret
mov ecx, dword [esp + 0x44]
mov edx, dword [esp + 0x40]
push esi
push edi
push 0
push 0
push 0
push 0
push ecx
push edx
push ebx
call dword [sym.imp.WS2_32.dll_WSAConnect]
mov edi, dword [sym.imp.WS2_32.dll_WSAGetLastError]
mov esi, eax
call edi
cmp esi, 0xffffffff
jne 0x413dc3
cmp eax, 0x2733
jne 0x413dc3
mov eax, dword [esp + 0x50]
push 1
push eax
lea ecx, [esp + 0x18]
push 1
push ecx
push 1
call dword [sym.imp.WS2_32.dll_WSAWaitForMultipleEvents]
test eax, eax
je 0x413d85
call edi
push eax
call fcn.00413780
add esp, 4
or esi, esi
jmp 0x413dc3
mov eax, dword [esp + 0x10]
lea edx, [esp + 0x14]
push edx
push eax
push ebx
call dword [sym.imp.WS2_32.dll_WSAEnumNetworkEvents]
cmp eax, 0xffffffff
jne 0x413dab
call edi
push eax
call fcn.00413780
add esp, 4
or esi, 0xffffffff
jmp 0x413dc3
mov eax, dword [esp + 0x28]
test eax, eax
je 0x413dc1
push eax
call fcn.00413780
add esp, 4
or esi, 0xffffffff
jmp 0x413dc3
xor esi, esi
mov ecx, dword [esp + 0x10]
push 0
push ecx
push ebx
call ebp
mov edx, dword [esp + 0x10]
push edx
call dword [sym.imp.KERNEL32.dll_CloseHandle]
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x30
ret

Function at 0x413e20
Capabilities:
Create thread
Resolve dns

Disassembly:
sub esp, 0x9c
push ebx
mov ebx, dword [sym.imp.WS2_32.dll_inet_addr]
push esi
push edi
mov edi, dword [esp + 0xac]
push edi
call ebx
cmp eax, 0xffffffff
mov dword [esp + 0xc], eax
jne 0x413ee4
mov eax, dword [esp + 0xb0]
test eax, eax
je 0x413ebb
lea eax, [esp + 0x14]
mov dword [esp + 0x14], 0x94
push eax
call dword [sym.imp.KERNEL32.dll_GetVersionExA]
test eax, eax
je 0x413ebb
cmp dword [esp + 0x24], 2
jne 0x413ebb
lea ecx, [esp + 0x10]
mov dword [esp + 0x10], 0
push ecx
push 0
push edi
push 0x413df0
push 0
push 0
call dword [sym.imp.KERNEL32.dll_CreateThread]
mov esi, eax
test esi, esi
je 0x413ebb
push 0xffffffffffffffff
push esi
call dword [sym.imp.KERNEL32.dll_WaitForSingleObject]
lea edx, [esp + 0xc]
push edx
push esi
call dword [sym.imp.KERNEL32.dll_GetExitCodeThread]
test eax, eax
je 0x413ebb
mov eax, dword [esp + 0xc]
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
push edi
call dword [sym.imp.WS2_32.dll_gethostbyname]
test eax, eax
jne 0x413ed3
pop edi
pop esi
or eax, 0xffffffff
pop ebx
add esp, 0x9c
ret
mov eax, dword [eax + 0xc]
mov ecx, dword [eax]
mov edx, dword [ecx]
push edx
call dword [sym.imp.WS2_32.dll_inet_ntoa]
push eax
call ebx
pop edi
pop esi
pop ebx
add esp, 0x9c
ret
Function at 0x415730
Capabilities:
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x4f7248
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
push ecx
push edi
mov edi, ecx
mov eax, dword [edi + 0x68]
test eax, eax
jne 0x4157da
push esi
lea ecx, [esp + 8]
call sub.MFC42.DLL_CString::CString_3
push 0x104
push 0x104
lea ecx, [esp + 0x10]
mov dword [esp + 0x1c], 0
call sub.MFC42.DLL_CString::GetBuffer
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
push 0xffffffffffffffff
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::ReleaseBuffer
push str.winhlp32.exe
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov eax, dword [esp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
mov esi, eax
test esi, esi
je 0x4157c1
push 0x6a
push esi
call dword [sym.imp.USER32.dll_LoadCursorA]
test eax, eax
je 0x4157c1
push eax
call dword [sym.imp.USER32.dll_CopyIcon]
mov dword [edi + 0x68], eax
push esi
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
lea ecx, [esp + 8]
mov dword [esp + 0x14], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop esi
mov ecx, dword [esp + 8]
pop edi
mov dword fs:[0], ecx
add esp, 0x10
ret

Function at 0x4157f0
Capabilities:
Query or enumerate registry value

Disassembly:
mov ecx, dword [esp + 8]
mov edx, dword [esp + 4]
sub esp, 0x10c
lea eax, [esp]
push esi
push eax
push 1
push 0
push ecx
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
mov esi, eax
test esi, esi
jne 0x415852
mov edx, dword [esp + 4]
lea eax, [esp + 8]
lea ecx, [esp + 0xc]
push eax
push ecx
push esi
push edx
mov dword [esp + 0x18], 0x104
call dword [sym.imp.ADVAPI32.dll_RegQueryValueA]
mov ecx, dword [esp + 0x11c]
lea eax, [esp + 0xc]
push eax
push ecx
call dword [sym.imp.KERNEL32.dll_lstrcpyA]
mov edx, dword [esp + 4]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, esi
pop esi
add esp, 0x10c
ret 0xc
Function at 0x415860
Capabilities:
Create process on windows

Disassembly:
sub esp, 0x208
mov eax, dword [esp + 0x20c]
push ebx
push ebp
mov ebp, dword [esp + 0x218]
push esi
push edi
push ebp
push 0
push 0
push eax
push 0x591194
mov edi, ecx
push 0
call dword [sym.imp.SHELL32.dll_ShellExecuteA]
mov esi, eax
cmp esi, 0x20
ja 0x415954
lea ecx, [esp + 0x10]
push ecx
push str..htm
push SysReAllocString
mov ecx, edi
call fcn.004157f0
test eax, eax
jne 0x415954
mov ebx, dword [sym.imp.KERNEL32.dll_lstrcatA]
lea edx, [esp + 0x10]
push str._shellopencommand
push edx
call ebx
lea eax, [esp + 0x10]
lea ecx, [esp + 0x10]
push eax
push ecx
push SysReAllocString
mov ecx, edi
call fcn.004157f0
test eax, eax
jne 0x415954
lea edx, [esp + 0x10]
push str.__1_
push edx
call dword [sym.imp.MSVCRT.dll__mbsstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x415925
lea eax, [esp + 0x10]
push 0x591918
push eax
call dword [sym.imp.MSVCRT.dll_strstr]
mov esi, eax
add esp, 8
test esi, esi
jne 0x415925
lea ecx, [esp + 0x10]
push ecx
call dword [sym.imp.KERNEL32.dll_lstrlenA]
lea esi, [esp + eax + 0xf]
jmp 0x415928
mov byte [esi], 0
push 0x591144
push esi
call ebx
mov edx, dword [esp + 0x21c]
push edx
push esi
call ebx
lea eax, [esp + 0x10]
push ebp
push eax
call dword [sym.imp.KERNEL32.dll_WinExec]
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
mov eax, esi
pop edi
pop esi
pop ebp
pop ebx
add esp, 0x208
ret 8
Function at 0x419950
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x4f7b18
push eax
mov dword fs:[0], esp
sub esp, 8
lea eax, [esp]
push ebx
push ebp
push esi
push edi
push str.qmacrone.ini
push 0x5da458
mov esi, ecx
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.SavePasswd
push str.Login
call ebx
mov ecx, dword [esi + 0xfe8]
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
push eax
push 0xf1
push ecx
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push str.qmacrone.ini
lea edx, [esp + 0x14]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push 0
push str.AutoLogin
push str.Login
call ebx
push 0
push eax
mov eax, dword [esi + 0xfa8]
push 0xf1
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
push 0x1a8
lea ebx, [esi + 0xa38]
push 0x1ab
push 0x1aa
push 0x1a9
mov ecx, ebx
call fcn.004acde0
push 0x1a8
push 0x1ab
push 0x1aa
push 0x1a9
lea ecx, [esi + 0x984]
call fcn.004acde0
mov eax, dword [esi + 0x10a8]
lea ebp, [esi + 0x10a8]
push eax
mov ecx, ebx
call sub.MFC42.DLL_CWnd::SetWindowTextA
mov ecx, dword [esi + 0xfe8]
push 0
push 0
push 0xf0
push ecx
call edi
test eax, eax
jne 0x419a76
mov edx, dword [esi + 0xfa8]
push eax
push eax
push 0xf0
push edx
call edi
test eax, eax
je 0x419abe
mov eax, dword [ebp]
push 0x5b2c3c
push eax
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
je 0x419abe
lea eax, [esp + 0x10]
push ebp
push eax
mov ecx, esi
call fcn.00419b20
push eax
lea ecx, [esi + 0x1048]
mov dword [esp + 0x24], 0
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0x10]
mov dword [esp + 0x20], 0xffffffff
call sub.MFC42.DLL_CString::CString
lea edi, [esi + 0x104c]
push 0
lea ecx, [esp + 0x18]
push edi
push ecx
call fcn.0041aba0
add esp, 0xc
lea ecx, [esp + 0x14]
call sub.MFC42.DLL_CString::CString
mov edx, dword [edi]
push 0
mov ecx, esi
mov dword [esi + 0x1050], edx
call sub.MFC42.DLL_CWnd::UpdateData
push 0x481
mov ecx, esi
call sub.MFC42.DLL_CWnd::GetDlgItem
mov ecx, eax
call sub.MFC42.DLL_CWnd::SetFocus
mov ecx, dword [esp + 0x18]
pop edi
pop esi
pop ebp
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x41a790
Capabilities:
Access peb ldr_data
Get ntdll base address

Disassembly:
push 0xffffffffffffffff
push 0x4f7cb8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push SysReAllocString
push 0
push ecx
mov ecx, esp
mov dword [esp + 0x10], esp
push 0x5b2c3c
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [esp + 0x44]
lea ecx, [esp + 0xc]
push eax
push str.SOFTWAREJDYOU_
push ecx
mov dword [esp + 0x48], 0
call sub.MFC42.DLL_operator_2
push ecx
mov byte [esp + 0x40], 1
mov edx, esp
mov dword [esp + 0x48], esp
push 0x59188c
push eax
push edx
call sub.MFC42.DLL_operator_1
lea ecx, [esp + 0x18]
mov byte [esp + 0x40], 2
call fcn.00482400
lea ecx, [esp]
mov byte [esp + 0x30], 4
call sub.MFC42.DLL_CString::CString
mov eax, dword [esp + 0x3c]
push ecx
mov ecx, esp
mov dword [esp + 0x3c], esp
push eax
call sub.MFC42.DLL_CString::CString_4
lea ecx, [esp + 0xc]
call fcn.004827b0
lea ecx, [esp + 8]
mov dword [esp + 0x30], 0xffffffff
call fcn.00482580
mov ecx, dword [esp + 0x28]
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x41aba0
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f7d27
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc
mov al, byte [0x5da4cc]
push ebx
test al, al
push esi
mov dword [esp + 0x10], 0
mov ebx, 1
jne 0x41ac74
mov eax, dword [0x5da4a8]
push str.soft1.jdyou.com
push eax
mov ecx, 0x5da4a0
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [0x5da4a8]
push str.soft2.jdyou.com
push eax
mov ecx, 0x5da4a0
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [0x5da4a8]
push str.soft3.jdyou.com
push eax
mov ecx, 0x5da4a0
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [0x5da490]
push str.220.162.238.229:8181
push eax
mov ecx, 0x5da488
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [0x5da490]
push str.220.162.238.230:8181
push eax
mov ecx, 0x5da488
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
mov eax, dword [0x5da490]
push str.58.22.105.205:8181
push eax
mov ecx, 0x5da488
call sub.MFC42.DLL_CStringArray::SetAtGrow_1
push 0x5da488
push 0x5da4a0
call fcn.0043e290
mov eax, dword [0x5da4a8]
add esp, 8
mov dword [0x5da4d0], eax
mov byte [0x5da4cc], bl
push edi
mov edi, dword [esp + 0x2c]
test edi, edi
je 0x41ac83
mov esi, dword [edi]
test esi, esi
jge 0x41acd0
push str.qmacrone.ini
lea eax, [esp + 0x30]
push 0x5da458
push eax
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push 0xffffffffffffffff
push str.LoginServer
push str.Login
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0x2c]
mov esi, eax
call sub.MFC42.DLL_CString::CString
test esi, esi
jge 0x41acca
call dword [sym.imp.MSVCRT.dll_rand]
cdq
idiv dword [0x5da4d0]
mov esi, edx
test edi, edi
je 0x41acd0
mov dword [edi], esi
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::CString_3
mov al, byte [esp + 0x30]
mov dword [esp + 0x20], ebx
test al, al
mov eax, esi
pop edi
cdq
jne 0x41acfb
idiv dword [0x5da4d0]
mov ecx, dword [0x5da4a4]
lea edx, [ecx + edx*4]
push edx
jmp 0x41ad0a
idiv dword [0x5da4d0]
mov eax, dword [0x5da48c]
lea ecx, [eax + edx*4]
push ecx
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator_1
push str.http:__SERVERNAME_
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString_1
mov eax, dword [0x5da460]
mov byte [esp + 0x1c], 2
test eax, eax
je 0x41ad3d
push str.:8181
lea ecx, [esp + 0xc]
call sub.MFC42.DLL_CString::operator
mov edx, dword [esp + 8]
lea ecx, [esp + 0xc]
push edx
push str.SERVERNAME
call sub.MFC42.DLL_CString::Replace
mov esi, dword [esp + 0x24]
lea eax, [esp + 0xc]
push eax
mov ecx, esi
call sub.MFC42.DLL_CString::CString_4
mov dword [esp + 0x10], ebx
lea ecx, [esp + 0xc]
mov byte [esp + 0x1c], bl
call sub.MFC42.DLL_CString::CString
lea ecx, [esp + 8]
mov byte [esp + 0x1c], 0
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x14]
mov eax, esi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x18
ret
Function at 0x41af40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x4f7d78
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov edi, dword [sym.imp.USER32.dll_SendMessageA]
push 0
mov eax, dword [esi + 0xfa8]
push 0
push 0xf1
push eax
call edi
mov ecx, dword [esi + 0xfe8]
push 0
push 0
push 0xf1
push ecx
call edi
lea edx, [esp + 0xc]
push 0x5da4b8
push edx
mov ecx, esi
call fcn.00419b20
lea ebx, [esi + 0x1048]
push eax
mov ecx, ebx
mov dword [esp + 0x20], 0
call sub.MFC42.DLL_CString::operator_1
lea ecx, [esp + 0xc]
mov dword [esp + 0x1c], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebx]
mov ecx, dword [eax - 8]
test ecx, ecx
je 0x41b04f
mov ecx, dword [esi + 0xfe8]
push 0
push 1
push 0xf1
push ecx
call edi
mov eax, dword [0x5da4b8]
mov ecx, dword [esi + 0x10a8]
push eax
push ecx
call dword [sym.imp.MSVCRT.dll__mbscmp]
add esp, 8
test eax, eax
jne 0x41b03d
push str.qmacrone.ini
lea edx, [esp + 0x14]
push 0x5da458
push edx
call sub.MFC42.DLL_operator_1
mov eax, dword [eax]
push eax
push 0
push str.AutoLogin
push str.Login
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push 0
push eax
mov eax, dword [esi + 0xfa8]
push 0xf1
push eax
call edi
lea ecx, [esp + 0x10]
call sub.MFC42.DLL_CString::CString
jmp 0x41b04f
mov ecx, dword [esi + 0xfa8]
push 0
push 0
push 0xf1
push ecx
call edi
push 0
mov ecx, esi
call sub.MFC42.DLL_CWnd::UpdateData
mov ecx, dword [esp + 0x14]
pop edi
pop esi
pop ebx
mov dword fs:[0], ecx
add esp, 0x14
ret
Function at 0x4209a0
Capabilities:
Suspend thread
Terminate thread

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4f8bb0
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 8
push ebx
push esi
mov esi, ecx
push edi
mov dword [ebp - 0x10], esp
mov dword [ebp - 0x14], esi
mov ecx, dword [esi + 0xdc8]
mov dword [ebp - 4], 0
test ecx, ecx
je 0x420a06
mov eax, dword [ecx]
call dword [eax + 0x18]
mov eax, dword [esi + 0xfbc]
test eax, eax
je 0x4209f0
mov ecx, dword [eax + 0x2c]
push ecx
call dword [sym.imp.KERNEL32.dll_SuspendThread]
mov ecx, dword [esi + 0xdc8]
mov edx, dword [ecx]
call dword [edx + 0x34]
jmp 0x420a06
mov eax, dword [esi + 0xee0]
mov dword [ebp - 4], 0xffffffff
test eax, eax
je 0x420a23
mov eax, dword [eax + 0x2c]
push 0
push eax
call dword [sym.imp.KERNEL32.dll_TerminateThread]
call sub.MFC42.DLL_AfxGetThread
test eax, eax
je 0x420a35
mov edx, dword [eax]
mov ecx, eax
call dword [edx + 0x7c]
jmp 0x420a37
xor eax, eax
mov eax, dword [eax + 0x20]
push 0
push esi
push 0x466
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ecx, dword [ebp - 0xc]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4241d0
Capabilities:
Delete file

Disassembly:
push 0xffffffffffffffff
push 0x4f9213
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 0x5b2c3c
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 0x424233
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 fcn.00445726
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