joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425e80
Capabilities:
Get file version info

Disassembly:
sub esp, 0x110
mov eax, dword [0x4bc410]
xor eax, esp
mov ecx, 0x4bc618
mov dword [esp + 0x10c], eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [esp + 8]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x425ea3
push esi
push edi
lea edi, [esp + 0x10]
dec edi
mov al, byte [edi + 1]
inc edi
test al, al
jne 0x425eb4
mov eax, dword [str.KmLiveUpdate.exe]
mov ecx, dword [0x4a4aa0]
mov edx, dword [0x4a4aa4]
mov dword [edi], eax
mov eax, dword [0x4a4aa8]
mov dword [edi + 4], ecx
mov cl, byte [0x4a4aac]
mov dword [edi + 8], edx
push 0
lea edx, [esp + 0x14]
mov dword [edi + 0xc], eax
push edx
mov byte [edi + 0x10], cl
call sub.VERSION.dll_GetFileVersionInfoSizeA
mov esi, eax
test esi, esi
je 0x425f22
push esi
call sub.MFC71.DLL_operator_new
mov edi, eax
add esp, 4
test edi, edi
je 0x425f22
push edi
push esi
push 0
lea eax, [esp + 0x1c]
push eax
call sub.VERSION.dll_GetFileVersionInfoA
test eax, eax
jne 0x425f3b
push edi
call sub.MFC71.DLL_operator_delete_1
add esp, 4
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x10c]
xor ecx, esp
call fcn.00496ace
add esp, 0x110
ret
lea ecx, [esp + 0xc]
push ecx
lea edx, [esp + 0xc]
push edx
push 0x4a1f5c
push edi
call sub.VERSION.dll_VerQueryValueA
test eax, eax
je 0x425f5d
mov eax, dword [esp + 8]
mov esi, dword [eax + 0xc]
jmp 0x425f5f
xor esi, esi
push edi
call sub.MFC71.DLL_operator_delete_1
mov ecx, dword [esp + 0x118]
add esp, 4
pop edi
mov eax, esi
pop esi
xor ecx, esp
call fcn.00496ace
add esp, 0x110
ret

Function at 0x4267e0
Capabilities:
Create shortcut via ishelllink

Disassembly:
sub esp, 0x214
mov eax, dword [0x4bc410]
xor eax, esp
push esi
mov esi, dword [esp + 0x220]
push edi
mov edi, dword [esp + 0x220]
mov dword [esp + 0x218], eax
lea eax, [esp + 8]
push eax
push 0x4af424
push 1
push 0
push 0x4af434
call dword [sym.imp.ole32.dll_CoCreateInstance]
test eax, eax
jl 0x42684d
mov eax, dword [esp + 8]
mov ecx, dword [eax]
push edi
push eax
call dword [ecx + 0x50]
mov eax, dword [esp + 8]
mov edx, dword [eax]
lea ecx, [esp + 0xc]
push ecx
push 0x4af444
push eax
call dword [edx]
test eax, eax
jge 0x426866
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
pop edi
xor eax, eax
pop esi
mov ecx, dword [esp + 0x210]
xor ecx, esp
call fcn.00496ace
add esp, 0x214
ret
push 0x104
lea eax, [esp + 0x14]
push eax
push 0xffffffffffffffff
push esi
push 0
push 0
call dword [sym.imp.KERNEL32.dll_MultiByteToWideChar]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push 2
lea edx, [esp + 0x14]
push edx
push eax
call dword [ecx + 0x18]
mov eax, dword [esp + 0xc]
mov ecx, dword [eax]
push eax
call dword [ecx + 8]
mov eax, dword [esp + 8]
mov edx, dword [eax]
push eax
call dword [edx + 8]
mov ecx, dword [esp + 0x218]
pop edi
pop esi
xor ecx, esp
mov eax, 1
call fcn.00496ace
add esp, 0x214
ret
Function at 0x426980
Capabilities:
Query or enumerate registry value

Disassembly:
push esi
mov esi, dword [esp + 0xc]
push edi
mov edi, dword [esp + 0x14]
mov eax, dword [edi]
lea edx, [esp + 0x14]
push edx
mov edx, dword [esp + 0x10]
push esi
mov dword [esp + 0x1c], eax
lea eax, [esp + 0x18]
push eax
push 0
mov dword [edi], 0
mov eax, dword [ecx]
push edx
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
jne 0x4269e1
mov eax, dword [esp + 0x10]
cmp eax, 1
je 0x4269c3
cmp eax, 2
jne 0x4269d3
test esi, esi
mov eax, dword [esp + 0x14]
je 0x4269dd
mov cl, byte [eax + esi - 1]
test cl, cl
je 0x4269dd
pop edi
mov eax, 0xd
pop esi
ret 0xc
mov dword [edi], eax
xor eax, eax
pop edi
pop esi
ret 0xc
Function at 0x426e10
Capabilities:
Read .ini file

Disassembly:
sub esp, 0x408
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push ebp
push esi
mov esi, ecx
push edi
lea ebp, [esi + 0x104]
push str.218.108.235.19
mov ecx, ebp
mov dword [esp + 0x418], eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
push str.configServer.cfg
lea eax, [esp + 0x14]
push 0x4bc618
mov edi, 0x1643
push eax
mov word [esi + 0x10a], di
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.Port
push str.Dispatch_Server
call ebx
lea ecx, [esp + 0x10]
mov word [esi + 0x108], ax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp word [esi + 0x108], 0
je 0x426fe5
push str.configServer.cfg
lea ecx, [esp + 0x14]
push 0x4bc618
push ecx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov edi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
push eax
push 0x400
lea edx, [esp + 0x1c]
push edx
push 0x4a095c
push str.Host
push str.Dispatch_Server
call edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov edi, edi
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x426ef0
sub eax, edx
cmp eax, 1
lea ecx, [esi + 0x100]
jae 0x426f17
push 4
call dword [sym.imp.MFC71.DLL_ATL::CStringT::LoadStringA]
mov word [esi + 0x108], 0x2328
jmp 0x426f22
lea eax, [esp + 0x14]
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
push str.configServer.cfg
lea ecx, [esp + 0x14]
push 0x4bc618
push ecx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push str.Port
push str.JiaFilmApp_Server
call ebx
lea ecx, [esp + 0x10]
mov word [esi + 0x10a], ax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.configServer.cfg
lea edx, [esp + 0x14]
push 0x4bc618
push edx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x400
lea eax, [esp + 0x1c]
push eax
push 0x4a095c
push str.Host
push str.JiaFilmApp_Server
call edi
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
lea ecx, [eax + 1]
lea ecx, [ecx]
mov dl, byte [eax]
inc eax
test dl, dl
jne 0x426fb0
sub eax, ecx
cmp eax, 1
jae 0x426fd6
push str.218.108.235.19
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
mov word [esi + 0x10a], 0x1643
jmp 0x427013
lea ecx, [esp + 0x14]
push ecx
mov ecx, ebp
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
jmp 0x427013
push str.disp.pipi.cn
lea ecx, [esi + 0x100]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
push str.stat.pipi.cn
mov ecx, ebp
mov word [esi + 0x108], 0x2328
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
mov word [esi + 0x10a], di
mov ecx, dword [esp + 0x414]
pop edi
pop esi
pop ebp
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x408
ret
Function at 0x427c40
Capabilities:
Read .ini file

Disassembly:
push 0xffffffffffffffff
push 0x49a725
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x414
mov eax, dword [0x4bc410]
xor eax, esp
push esi
mov esi, ecx
lea ecx, [esp + 8]
mov dword [esp + 0x414], eax
call dword [0x49f754]
mov eax, dword [0x4bd2c0]
push str.PIPIWebPlayer.ocx
add eax, 0x18
push eax
lea ecx, [esp + 0x14]
push ecx
mov dword [esp + 0x42c], 0
call fcn.00401050
add esp, 0xc
lea edx, [esp + 8]
push edx
lea ecx, [esp + 8]
push ecx
lea edx, [esp + 0x18]
push edx
mov ecx, eax
mov byte [esp + 0x42c], 1
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call fcn.00425b60
lea ecx, [esp + 0xc]
mov esi, eax
mov byte [esp + 0x420], 0
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test esi, esi
je 0x427e2c
mov eax, dword [0x4bd2c0]
push str.configconfig.ini
add eax, 0x18
push eax
lea ecx, [esp + 0x14]
push ecx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push 0x4a0b50
push str.WEBPLAYER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
lea ecx, [esp + 0xc]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
cmp esi, dword [esp + 4]
jbe 0x427e2c
mov edx, dword [0x4bd2c0]
push str.configconfig.ini
add edx, 0x18
push edx
lea eax, [esp + 0xc]
push eax
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0x400
lea ecx, [esp + 0x1c]
push ecx
push 0x4a095c
push 0x4a1048
push str.WEBPLAYER
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea eax, [esp + 0x14]
lea edx, [eax + 1]
mov cl, byte [eax]
inc eax
test cl, cl
jne 0x427d80
sub eax, edx
mov dword [esp + 0x10], eax
je 0x427e2c
push 0x848
call sub.MFC71.DLL_operator_new_1
add esp, 4
mov dword [esp + 0x10], eax
test eax, eax
mov byte [esp + 0x420], 2
je 0x427dbb
mov ecx, eax
call fcn.00422ac0
mov esi, eax
jmp 0x427dbd
xor esi, esi
lea eax, [esp + 0x14]
lea edx, [esi + 0x48]
mov ecx, eax
mov byte [esp + 0x420], 0
sub edx, ecx
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x427dd0
mov edx, dword [0x4bd2c0]
push str.PIPIWebPlayer.ocx
add edx, 0x18
push edx
lea eax, [esp + 0xc]
push eax
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
lea edx, [esi + 0x448]
mov cl, byte [eax]
inc eax
mov byte [edx], cl
inc edx
test cl, cl
jne 0x427e04
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push 0
push 0
push 0
mov ecx, esi
mov dword [esi + 0x44], 1
call sub.MFC71.DLL_CWinThread::CreateThread
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov ecx, dword [esp + 0x418]
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x414]
pop esi
xor ecx, esp
call fcn.00496ace
add esp, 0x420
ret
Function at 0x428a70
Capabilities:
Read .ini file

Disassembly:
push ecx
push esi
push str.config_config.ini
lea eax, [esp + 8]
push 0x4bc618
push eax
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
mov esi, dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
push eax
push 0
push str.OPERCHAP
push 0x49fd90
call esi
mov ecx, dword [esp + 0xc]
mov dword [ecx], eax
lea ecx, [esp + 4]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
push str.config_config.ini
lea edx, [esp + 0x10]
push 0x4bc618
push edx
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 0
push str.SUBOPERCHAP
push 0x49fd90
call esi
mov ecx, dword [esp + 0x10]
mov dword [ecx], eax
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
pop esi
pop ecx
ret
Function at 0x428bd0
Capabilities:
Enumerate processes
Get common file path

Disassembly:
push 0xffffffffffffffff
push 0x49a7b8
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x93c
mov eax, dword [0x4bc410]
xor eax, esp
push ebx
push ebp
push esi
mov esi, dword [esp + 0x958]
lea ecx, [esp + 0x10]
mov dword [esp + 0x944], eax
call dword [0x49f754]
xor ebx, ebx
lea ecx, [esp + 0xc]
mov dword [esp + 0x950], ebx
call dword [0x49f754]
push ebx
push 2
mov byte [esp + 0x958], 1
mov dword [esp + 0x1c], ebx
call sub.KERNEL32.dll_CreateToolhelp32Snapshot
mov ebp, eax
cmp ebp, ebx
lea ecx, [esp + 0xc]
jne 0x428c55
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
xor eax, eax
jmp 0x428d55
push edi
push esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::operator_3]
push 0x400
lea eax, [esp + 0x14c]
push eax
mov byte [esp + 0x150], 0
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
lea ecx, [esp + 0x148]
push ecx
lea edx, [esp + 0x54c]
push str._s_system32psapi.dll
push edx
call dword [sym.imp.MSVCR71.dll_sprintf]
add esp, 0xc
lea eax, [esp + 0x20]
push eax
push ebp
mov dword [esp + 0x28], 0x128
call sub.KERNEL32.dll_Process32First
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
lea ecx, [esp + 0x10]
mov edi, eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
cmp esi, ebx
je 0x428d35
lea ecx, [esp + 0x44]
push ecx
lea edx, [esp + 0x18]
push 0x4a0ee0
push edx
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::MakeLower]
push edi
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x1c]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Right]
lea ecx, [esp + 0x10]
mov esi, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
mov ecx, esi
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Compare]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x1c]
inc bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
je 0x428d26
inc dword [esp + 0x18]
lea ecx, [esp + 0x20]
push ecx
push ebp
call sub.KERNEL32.dll_Process32Next
test eax, eax
jne 0x428cc5
push ebp
call dword [sym.imp.KERNEL32.dll_CloseHandle]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
mov eax, dword [esp + 0x18]
pop edi
mov ecx, dword [esp + 0x948]
pop esi
pop ebp
mov dword fs:[0], ecx
mov ecx, dword [esp + 0x93c]
pop ebx
xor ecx, esp
call fcn.00496ace
add esp, 0x948
ret
Function at 0x428ea0
Capabilities:
Set registry value

Disassembly:
push ecx
mov ecx, dword [ecx]
push esi
push edi
lea eax, [esp + 0x10]
push eax
mov eax, dword [esp + 0x14]
xor esi, esi
lea edx, [esp + 0xc]
push edx
push esi
push 0x2001f
push esi
push esi
push esi
push eax
push ecx
mov dword [esp + 0x2c], esi
call dword [sym.imp.ADVAPI32.dll_RegCreateKeyExA]
test eax, eax
jne 0x428ed2
mov esi, dword [esp + 8]
test eax, eax
mov edi, eax
jne 0x428ef8
mov edi, dword [esp + 0x14]
push edi
call dword [sym.imp.KERNEL32.dll_lstrlenA]
mov ecx, dword [esp + 0x18]
inc eax
push eax
push edi
push 1
push 0
push ecx
push esi
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
mov edi, eax
test esi, esi
je 0x428f03
push esi
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, edi
pop edi
pop esi
pop ecx
ret 0xc
Function at 0x430300
Capabilities:
Access peb ldr_data
Delete file
Encode data using xor
Move file

Disassembly:
push 0xffffffffffffffff
push 0x49b179
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x28
push esi
mov esi, ecx
push edi
lea ecx, [esp + 0x1c]
call fcn.00431a30
mov eax, dword [esi]
lea ecx, [esp + 0x1c]
push ecx
mov ecx, esi
mov dword [esp + 0x3c], 0
call dword [eax + 4]
push 0x4a5c70
lea ecx, [esp + 0x20]
call fcn.0047ffc0
push eax
call dword [sym.imp.MSVCR71.dll_strstr]
add esp, 8
test eax, eax
jne 0x430360
lea ecx, [esp + 0x1c]
call fcn.0047ffc0
jmp 0x430363
add eax, 2
lea ecx, [esp + 0x1c]
mov esi, eax
xor edi, edi
call fcn.0043fcb0
test eax, eax
jle 0x43038b
cmp byte [esi], 0x3f
jne 0x43037c
mov byte [esi], 0x26
inc esi
lea ecx, [esp + 0x1c]
inc edi
call fcn.0043fcb0
cmp edi, eax
jl 0x430374
lea ecx, [esp + 0xc]
call sub.MFC71.DLL_CFile::CFile
lea ecx, [esp + 8]
call dword [0x49f754]
mov edi, dword [esp + 0x40]
push edi
lea edx, [esp + 0xc]
push str._s.sav
push edx
mov byte [esp + 0x44], 2
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0
push 0x1001
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
call sub.MFC71.DLL_CFile::Open
test eax, eax
je 0x430423
lea ecx, [esp + 0x1c]
call fcn.0047ffc0
lea ecx, [esp + 0x1c]
mov esi, eax
call fcn.0043fcb0
mov cl, byte [esp + 0x44]
test cl, cl
je 0x43040f
xor ecx, ecx
test eax, eax
jl 0x43040f
lea esp, [esp]
mov dl, byte [ecx + esi]
xor dl, al
not dl
mov byte [ecx + esi], dl
inc ecx
cmp ecx, eax
jle 0x430400
push eax
push esi
lea ecx, [esp + 0x14]
call sub.MFC71.DLL_CFile::Write
lea ecx, [esp + 0xc]
call sub.MFC71.DLL_CFile::Close
push edi
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
push edi
lea ecx, [esp + 0xc]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
mov byte [esp + 0x38], 0
call fcn.004963ae
lea ecx, [esp + 0x1c]
mov dword [esp + 0x38], 0xffffffff
call fcn.00431a50
mov ecx, dword [esp + 0x30]
pop edi
pop esi
mov dword fs:[0], ecx
add esp, 0x34
ret 8
Function at 0x430aa0
Capabilities:
Access peb ldr_data
Encode data using xor
Move file

Disassembly:
push 0xffffffffffffffff
push 0x49b241
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x14
push ebp
push edi
push 0x4bcff8
mov ebp, ecx
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
lea ecx, [esp + 0xc]
call sub.MFC71.DLL_CFile::CFile
lea ecx, [esp + 8]
mov dword [esp + 0x24], 0
call dword [0x49f754]
mov edi, dword [esp + 0x2c]
push 0
push 0
push edi
lea ecx, [esp + 0x18]
mov byte [esp + 0x30], 1
call sub.MFC71.DLL_CFile::Open
test eax, eax
jne 0x430b68
push edi
lea eax, [esp + 0xc]
push str._s.sav
push eax
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
push 0
push 0
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
lea ecx, [esp + 0x18]
call sub.MFC71.DLL_CFile::Open
test eax, eax
jne 0x430b68
push 0x4bcff8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 8]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0xc]
mov dword [esp + 0x24], 0xffffffff
call fcn.004963ae
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
push ebx
push esi
lea ecx, [esp + 0x14]
call sub.MFC71.DLL_CFile::GetLength
mov ebx, eax
lea ecx, [ebx + 1]
push ecx
call sub.MFC71.DLL_operator_new
add esp, 4
mov esi, eax
push ebx
push esi
lea ecx, [esp + 0x1c]
call sub.MFC71.DLL_CFile::Read
lea ecx, [esp + 0x14]
call sub.MFC71.DLL_CFile::Close
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::GetLength]
test eax, eax
jle 0x430bb7
push edi
lea ecx, [esp + 0x14]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileA]
mov al, byte [esp + 0x38]
test al, al
je 0x430bd4
xor eax, eax
test ebx, ebx
jl 0x430bd4
mov dl, byte [eax + esi]
xor dl, bl
not dl
mov byte [eax + esi], dl
inc eax
cmp eax, ebx
jle 0x430bc5
push esi
mov ecx, ebp
mov byte [esi + ebx], 0
call fcn.00430970
test al, al
push esi
jne 0x430c2a
call sub.MFC71.DLL_operator_delete
add esp, 4
push 0x4bcff8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004963ae
pop esi
pop ebx
pop edi
xor al, al
pop ebp
mov ecx, dword [esp + 0x14]
mov dword fs:[0], ecx
add esp, 0x20
ret 8
call sub.MFC71.DLL_operator_delete
add esp, 4
push 0x4bcff8
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
lea ecx, [esp + 0x14]
mov dword [esp + 0x2c], 0xffffffff
call fcn.004963ae
mov ecx, dword [esp + 0x24]
pop esi
pop ebx
pop edi
mov al, 1
pop ebp
mov dword fs:[0], ecx
add esp, 0x20
ret 8
Function at 0x432b70
Capabilities:
Read .ini file

Disassembly:
push ebx
push ebp
mov ebp, dword [esp + 0xc]
push esi
mov esi, dword [str.00000000000000000000000000000000]
mov eax, ebp
nop
mov dl, byte [eax]
mov bl, byte [esi]
mov cl, dl
cmp dl, bl
jne 0x432ba8
test cl, cl
je 0x432ba4
mov dl, byte [eax + 1]
mov bl, byte [esi + 1]
mov cl, dl
cmp dl, bl
jne 0x432ba8
add eax, 2
add esi, 2
test cl, cl
jne 0x432b80
xor eax, eax
jmp 0x432bad
sbb eax, eax
sbb eax, 0xffffffff
test eax, eax
je 0x432bc4
push ebp
mov ecx, 0x4bd2a0
call fcn.0043f340
test eax, eax
je 0x432cfd
mov al, byte [0x4bd14c]
test al, al
je 0x432c19
push str.config_partner.ini
lea eax, [esp + 0x14]
push 0x4bc618
push eax
call fcn.00401050
add esp, 0xc
mov ecx, eax
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
push 1
push str.readwebclick
push str.partner
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ebx, eax
neg ebx
sbb bl, bl
lea ecx, [esp + 0x10]
inc bl
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
test bl, bl
jne 0x432cfd
push edi
push 0x360
call sub.MFC71.DLL_operator_new_1
mov esi, eax
add esp, 4
test esi, esi
je 0x432c3a
mov ecx, 0xd8
xor eax, eax
mov edi, esi
rep stosd dword es:[edi], eax
jmp 0x432c3c
xor esi, esi
test ebp, ebp
je 0x432c50
mov edx, esi
mov eax, ebp
sub edx, ebp
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x432c46
movzx ecx, byte [esp + 0x38]
mov eax, dword [esp + 0x24]
test eax, eax
mov edx, dword [esp + 0x2c]
mov dword [esi + 0x35c], ecx
mov dword [esi + 0x50], edx
jne 0x432c73
mov dword [esi + 0x44], 0xffffff
jmp 0x432c76
mov dword [esi + 0x44], eax
mov eax, dword [esp + 0x28]
mov cx, word [esp + 0x34]
mov dx, word [esp + 0x30]
mov dword [esi + 0x48], eax
mov eax, dword [esp + 0x20]
test eax, eax
mov word [esi + 0x4e], cx
mov word [esi + 0x4c], dx
je 0x432cbd
mov ecx, eax
lea edi, [ecx + 1]
lea esp, [esp]
mov dl, byte [ecx]
inc ecx
test dl, dl
jne 0x432ca0
sub ecx, edi
cmp ecx, 0x20
jae 0x432cbd
lea edx, [esi + 0x24]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x432cb3
mov eax, dword [esp + 0x18]
test eax, eax
pop edi
je 0x432cda
lea edx, [esi + 0x158]
sub edx, eax
mov edi, edi
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x432cd0
mov eax, dword [esp + 0x18]
test eax, eax
je 0x432cf1
lea edx, [esi + 0x54]
sub edx, eax
mov cl, byte [eax]
mov byte [edx + eax], cl
inc eax
test cl, cl
jne 0x432ce7
mov ecx, dword [0x4bd2c0]
push esi
call fcn.0041d030
pop esi
pop ebp
pop ebx
ret 0x28
Function at 0x4338e0
Capabilities:
Get disk information

Disassembly:
push 0xffffffffffffffff
push 0x49b491
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x24
push ebp
mov ebp, dword [sym.imp.MSVCR71.dll_malloc]
push esi
push 0x400
mov dword [esp + 0x14], ecx
call ebp
mov esi, eax
add esp, 4
test esi, esi
jne 0x43392a
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push ebx
mov ebx, dword [sym.imp.KERNEL32.dll_GetLogicalDriveStringsA]
push edi
push esi
xor eax, eax
mov ecx, 0x100
mov edi, esi
push 0x400
rep stosd dword es:[edi], eax
call ebx
cmp eax, 0x400
jle 0x43397e
push esi
lea edi, [eax + 1]
call dword [sym.imp.MSVCR71.dll_free]
push edi
call ebp
mov esi, eax
add esp, 8
test esi, esi
jne 0x43397a
pop edi
pop ebx
pop esi
mov eax, 1
pop ebp
mov ecx, dword [esp + 0x24]
mov dword fs:[0], ecx
add esp, 0x30
ret
push esi
push edi
call ebx
cdq
and edx, 3
add eax, edx
mov ebp, eax
lea ecx, [esp + 0x1c]
sar ebp, 2
call sub.MFC71.DLL_CFileFind::CFileFind
test ebp, ebp
mov dword [esp + 0x3c], 0
jle 0x433a2e
lea edi, [esp + 0x14]
mov ebx, esi
sub edi, esi
lea ebx, [ebx]
mov dword [esp + 0x14], 0
mov eax, ebx
lea ebx, [ebx]
mov cl, byte [eax]
mov byte [edi + eax], cl
inc eax
test cl, cl
jne 0x4339c0
lea ecx, [esp + 0x10]
call dword [0x49f754]
lea eax, [esp + 0x14]
push eax
lea ecx, [esp + 0x14]
push str._spipi_reserved_cache
push ecx
mov byte [esp + 0x48], 1
call dword [sym.imp.MFC71.DLL_ATL::CStringT::Format]
add esp, 0xc
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CSimpleStringT::operator_char_const_]
push eax
call dword [sym.imp.SHLWAPI.dll_PathIsDirectoryA]
test eax, eax
je 0x433a1b
mov ecx, dword [esp + 0x18]
mov eax, dword [ecx + 0x2c]
add ecx, 0x24
lea edx, [esp + 0x10]
push edx
push eax
call sub.MFC71.DLL_CStringArray::SetAtGrow_1
lea ecx, [esp + 0x10]
call dword [sym.imp.MFC71.DLL_ATL::CStringT::CStringT]
sub edi, 4
add ebx, 4
dec ebp
jne 0x4339b0
push esi
call dword [sym.imp.MSVCR71.dll_free]
add esp, 4
lea ecx, [esp + 0x1c]
mov dword [esp + 0x3c], 0xffffffff
call fcn.00496456
mov ecx, dword [esp + 0x34]
pop edi
pop ebx
pop esi
xor eax, eax
pop ebp
mov dword fs:[0], ecx
add esp, 0x30
ret