joyce8/EMBER2024-capa huggingface dataset:
Function at 0x425090
Capabilities:
Set registry value

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c582
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x158
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
mov dword [ebp - 4], 1
mov dword [ebp - 0x14], 1
lea ecx, [ebp + 0xc]
call fcn.00402c80
cmp eax, 0xfe
jle 0x425101
mov dword [ebp - 0x11c], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x11c]
jmp 0x4251f4
lea ecx, [ebp + 0xc]
call fcn.0040c8c0
push eax
lea eax, [ebp - 0x118]
push eax
call sub.MSVCRT.dll_strcpy
add esp, 8
lea ecx, [ebp - 0x18]
push ecx
push 0x20006
push 0
mov ecx, dword [ebp - 0x10]
add ecx, 0xc
call fcn.0040c8c0
push eax
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 4]
push eax
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x425171
mov dword [ebp - 0x120], 0
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x120]
jmp 0x4251f4
lea ecx, [ebp - 0x118]
push ecx
call sub.MSVCRT.dll_strlen
add esp, 4
add eax, 1
push eax
lea edx, [ebp - 0x118]
push edx
push 1
push 0
lea ecx, [ebp + 8]
call fcn.0040c8c0
push eax
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegSetValueExA]
test eax, eax
je 0x4251ad
mov dword [ebp - 0x14], 0
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 8], 0
jne 0x4251c0
mov edx, dword [ebp - 0x18]
push edx
call dword [sym.imp.ADVAPI32.dll_RegFlushKey]
mov eax, dword [ebp - 0x18]
push eax
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 0x14]
mov dword [ebp - 0x124], ecx
mov byte [ebp - 4], 0
lea ecx, [ebp + 8]
call sub.MFC42.DLL_CString::CString
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp + 0xc]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x124]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8

Function at 0x425250
Capabilities:
Check if file exists

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4252c0
Capabilities:
Copy file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
push 0
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_CopyFileA]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4252f0
Capabilities:
Delete file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x44
push ebx
push esi
push edi
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
mov dword [ebp - 4], eax
xor eax, eax
cmp dword [ebp - 4], 0
setne al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x425320
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x364
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x42535d
cmp dword [ebp - 0x108], 0x104
jb 0x425364
xor al, al
jmp 0x425451
push 0x104
lea edx, [ebp - 0x20c]
push edx
mov eax, dword [ebp + 0xc]
push eax
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 0x210], eax
call dword [sym.imp.KERNEL32.dll_GetLastError]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x210], 0
je 0x4253a1
cmp dword [ebp - 0x210], 0x104
jb 0x4253a8
xor al, al
jmp 0x425451
call fcn.00418bb0
and eax, 0xff
test eax, eax
je 0x4253da
push 5
mov ecx, dword [ebp + 0xc]
push ecx
mov edx, dword [ebp + 8]
push edx
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x218], eax
xor eax, eax
cmp dword [ebp - 0x218], 0
setne al
jmp 0x425451
push 0x104
lea eax, [ebp - 0x31c]
push eax
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x320], eax
cmp dword [ebp - 0x320], 0
je 0x42544f
cmp dword [ebp - 0x320], 0x104
jae 0x42544f
push str.WinInit.ini
lea ecx, [ebp - 0x31c]
push ecx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x42544b
lea edx, [ebp - 0x31c]
push edx
mov eax, dword [ebp + 8]
push eax
mov ecx, dword [ebp + 0xc]
push ecx
push 0x43f258
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x324], eax
xor eax, eax
cmp dword [ebp - 0x324], 0
setne al
jmp 0x425451
xor al, al
jmp 0x425451
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x425460
Capabilities:
Get common file path
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x258
push ebx
push esi
push edi
push 0x104
lea eax, [ebp - 0x104]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.KERNEL32.dll_GetShortPathNameA]
mov dword [ebp - 0x108], eax
cmp dword [ebp - 0x108], 0
je 0x42549d
cmp dword [ebp - 0x108], 0x104
jb 0x4254a4
xor al, al
jmp 0x42554d
call fcn.00418bb0
and eax, 0xff
test eax, eax
je 0x4254d6
push 5
mov edx, dword [ebp + 0xc]
push edx
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.KERNEL32.dll_MoveFileExA]
mov dword [ebp - 0x10c], eax
xor eax, eax
cmp dword [ebp - 0x10c], 0
setne al
jmp 0x42554d
push 0x104
lea ecx, [ebp - 0x210]
push ecx
call dword [sym.imp.KERNEL32.dll_GetWindowsDirectoryA]
mov dword [ebp - 0x214], eax
cmp dword [ebp - 0x214], 0
je 0x42554b
cmp dword [ebp - 0x214], 0x104
jae 0x42554b
push str.WinInit.ini
lea edx, [ebp - 0x210]
push edx
call dword [sym.imp.SHLWAPI.dll_PathAppendA]
test eax, eax
je 0x425547
lea eax, [ebp - 0x210]
push eax
mov ecx, dword [ebp + 8]
push ecx
mov edx, dword [ebp + 0xc]
push edx
push 0x43f258
call dword [sym.imp.KERNEL32.dll_WritePrivateProfileStringA]
mov dword [ebp - 0x218], eax
xor eax, eax
cmp dword [ebp - 0x218], 0
setne al
jmp 0x42554d
xor al, al
jmp 0x42554d
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x4255f0
Capabilities:
Move file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x40
push ebx
push esi
push edi
mov eax, dword [ebp + 0xc]
push eax
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.MSVCRT.dll_rename]
add esp, 8
test eax, eax
jne 0x425612
mov al, 1
jmp 0x425614
xor al, al
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4265b0
Capabilities:
Check if file exists
Delete file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x43c7c9
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x54
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x14]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004264c0
mov dword [ebp - 4], 0
lea ecx, [ebp - 0x14]
call fcn.0040c8c0
push eax
call dword [sym.imp.SHLWAPI.dll_PathFileExistsA]
test eax, eax
jne 0x42662a
mov ecx, dword [ebp - 0x14]
push ecx
push 0x43f308
mov edx, dword [ebp - 0x10]
add edx, 8
push edx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov dword [ebp - 0x18], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x18]
jmp 0x4266a1
lea ecx, [ebp - 0x14]
call fcn.0040c8c0
push eax
call dword [sym.imp.KERNEL32.dll_DeleteFileA]
test eax, eax
jne 0x426670
mov eax, dword [ebp - 0x14]
push eax
push 0x43f2f0
mov ecx, dword [ebp - 0x10]
add ecx, 8
push ecx
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov dword [ebp - 0x1c], 2
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x1c]
jmp 0x4266a1
mov edx, dword [ebp - 0x14]
push edx
push 0x43f2dc
mov eax, dword [ebp - 0x10]
add eax, 8
push eax
call sub.MFC42.DLL_CString::Format
add esp, 0xc
mov dword [ebp - 0x20], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x14]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x20]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x4278e0
Capabilities:
Query or enumerate registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20019
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.00417720
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x42791f
xor eax, eax
jmp 0x42795e
push 0
push 0
push 0
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00417720
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegQueryValueExA]
test eax, eax
je 0x42794f
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x42795e
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x427970
Capabilities:
Delete registry key
Delete registry value

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x48
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
lea eax, [ebp - 8]
push eax
push 0x20006
push 0
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.00417720
push eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0xc]
push edx
call dword [sym.imp.ADVAPI32.dll_RegOpenKeyExA]
test eax, eax
je 0x4279af
xor eax, eax
jmp 0x4279ff
mov ecx, dword [ebp - 4]
add ecx, 0x18
call fcn.00417720
push eax
mov eax, dword [ebp - 8]
push eax
call dword [sym.imp.ADVAPI32.dll_RegDeleteValueA]
test eax, eax
je 0x4279d7
mov ecx, dword [ebp - 8]
push ecx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
xor eax, eax
jmp 0x4279ff
mov edx, dword [ebp - 8]
push edx
call dword [sym.imp.ADVAPI32.dll_RegCloseKey]
mov ecx, dword [ebp - 4]
add ecx, 0x10
call fcn.00417720
push eax
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0xc]
push ecx
call dword [sym.imp.SHLWAPI.dll_SHDeleteEmptyKeyA]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x432080
Capabilities:
Extract resource via kernel32 functions

Disassembly:
push ebx
mov ebx, dword [esp + 0xc]
push esi
push edi
test ebx, ebx
mov edi, ecx
jne 0x4320af
mov eax, dword [esp + 0x10]
push eax
push 2
push eax
call sub.MFC42.DLL_AfxFindResourceHandle
push eax
call dword [sym.imp.USER32.dll_LoadBitmapA]
push eax
mov ecx, edi
call sub.MFC42.DLL_CGdiObject::Attach
pop edi
pop esi
pop ebx
ret 8
call sub.MFC42.DLL_AfxGetModuleState
mov esi, dword [eax + 0xc]
mov eax, dword [esp + 0x10]
push 2
push eax
push esi
call dword [sym.imp.KERNEL32.dll_FindResourceA]
test eax, eax
jne 0x4320cf
pop edi
pop esi
pop ebx
ret 8
push eax
push esi
call dword [sym.imp.KERNEL32.dll_LoadResource]
push ebx
push eax
call dword [sym.imp.KERNEL32.dll_LockResource]
push eax
mov ecx, edi
call fcn.00431fb0
pop edi
pop esi
pop ebx
ret 8
Function at 0x435360
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x44bd60]
sub esp, 0x104
test eax, eax
jne 0x435541
mov eax, dword [0x44bd64]
test eax, eax
jne 0x435578
mov eax, dword [0x4491bc]
test eax, eax
je 0x43539e
push 0x44bd48
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4491bc], 0
push 0x44bd48
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x44bd60]
test eax, eax
jne 0x435536
mov al, byte [0x44c834]
test al, al
je 0x4353d9
push 0x44c834
lea eax, [esp + 4]
push str._sGLJPG.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x4353ec
lea ecx, [esp]
push str.GLJPG.dll
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x44bd60], eax
jne 0x43541e
push 0x44bd48
mov dword [0x44bd64], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LoadJpgFileImageData
push eax
call esi
mov dword [0x44bd68], eax
mov eax, dword [0x44bd60]
push str.LoadJpgImageDataFromMem
push eax
call esi
mov ecx, dword [0x44bd60]
push str.LoadJpgFile
push ecx
mov dword [0x44bd6c], eax
call esi
mov edx, dword [0x44bd60]
push str.LoadJpgFromMem
push edx
mov dword [0x44bd70], eax
call esi
mov dword [0x44bd74], eax
mov eax, dword [0x44bd60]
push str.WriteBitmapToJpeg
push eax
call esi
mov ecx, dword [0x44bd60]
push str.WriteDibToJpeg
push ecx
mov dword [0x44bd78], eax
call esi
mov edx, dword [0x44bd60]
push str.WriteDibToJpegMEM
push edx
mov dword [0x44bd7c], eax
call esi
mov dword [0x44bd80], eax
mov eax, dword [0x44bd60]
push str.GetPointerFromHandleLock
push eax
call esi
mov ecx, dword [0x44bd60]
push str.UnLockDataHandle
push ecx
mov dword [0x44bd84], eax
call esi
mov edx, dword [0x44bd60]
push str.FreeDataHandle
push edx
mov dword [0x44bd88], eax
call esi
mov ecx, dword [0x44bd68]
mov dword [0x44bd8c], eax
test ecx, ecx
pop esi
je 0x43554d
mov ecx, dword [0x44bd6c]
test ecx, ecx
je 0x43554d
mov ecx, dword [0x44bd70]
test ecx, ecx
je 0x43554d
mov ecx, dword [0x44bd74]
test ecx, ecx
je 0x43554d
mov ecx, dword [0x44bd78]
test ecx, ecx
je 0x43554d
mov ecx, dword [0x44bd7c]
test ecx, ecx
je 0x43554d
test eax, eax
je 0x43554d
mov eax, dword [0x44bd80]
test eax, eax
je 0x43554d
mov eax, dword [0x44bd84]
test eax, eax
je 0x43554d
mov eax, dword [0x44bd88]
test eax, eax
je 0x43554d
push 0x44bd48
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add esp, 0x104
ret
mov eax, dword [0x44bd60]
mov dword [0x44bd64], 1
push eax
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44bd48
mov dword [0x44bd60], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret
Function at 0x4355d0
Capabilities:
Link many functions at runtime

Disassembly:
mov eax, dword [0x44bdbc]
sub esp, 0x104
test eax, eax
jne 0x435724
mov eax, dword [0x44bdc0]
test eax, eax
jne 0x43575c
mov eax, dword [0x4492a0]
test eax, eax
je 0x43560e
push 0x44bd90
call dword [sym.imp.KERNEL32.dll_InitializeCriticalSection]
mov dword [0x4492a0], 0
push 0x44bd90
call dword [sym.imp.KERNEL32.dll_EnterCriticalSection]
mov eax, dword [0x44bdbc]
test eax, eax
jne 0x435719
mov al, byte [0x44c834]
test al, al
je 0x435649
push 0x44c834
lea eax, [esp + 4]
push str._sGLPNG.dll
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
jmp 0x43565c
lea ecx, [esp]
push str.GLPNG.dll
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 8
lea edx, [esp]
push edx
call dword [sym.imp.KERNEL32.dll_LoadLibraryA]
test eax, eax
mov dword [0x44bdbc], eax
jne 0x43568e
push 0x44bd90
mov dword [0x44bdc0], 1
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret
push esi
mov esi, dword [sym.imp.KERNEL32.dll_GetProcAddress]
push str.LoadPNGFile
push eax
call esi
mov dword [0x44bda8], eax
mov eax, dword [0x44bdbc]
push str.LoadPNGFromMem
push eax
call esi
mov ecx, dword [0x44bdbc]
push str.WriteBmpToPNGMem
push ecx
mov dword [0x44bdac], eax
call esi
mov edx, dword [0x44bdbc]
push str.WriteBmpToPNGFile
push edx
mov dword [0x44bdb0], eax
call esi
mov dword [0x44bdb4], eax
mov eax, dword [0x44bdbc]
push str.WriteImageDataToPNGMem
push eax
call esi
mov ecx, dword [0x44bda8]
mov dword [0x44bdb8], eax
test ecx, ecx
pop esi
je 0x435730
mov ecx, dword [0x44bdac]
test ecx, ecx
je 0x435730
mov ecx, dword [0x44bdb0]
test ecx, ecx
je 0x435730
mov ecx, dword [0x44bdb4]
test ecx, ecx
je 0x435730
test eax, eax
je 0x435730
push 0x44bd90
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
mov eax, 1
add esp, 0x104
ret
mov ecx, dword [0x44bdbc]
mov dword [0x44bdc0], 1
push ecx
call dword [sym.imp.KERNEL32.dll_FreeLibrary]
push 0x44bd90
mov dword [0x44bdbc], 0
call dword [sym.imp.KERNEL32.dll_LeaveCriticalSection]
xor eax, eax
add esp, 0x104
ret
Function at 0x4357d0
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43cb48
push eax
mov eax, dword [esp + 0x1c]
mov dword fs:[0], esp
mov edx, dword [esp + 0x14]
sub esp, 0x40
lea ecx, [esp]
push ebp
push esi
push eax
mov eax, dword [esp + 0x5c]
push 0x40
push ecx
push 0x43e538
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp + 8]
test al, al
jne 0x435828
mov eax, dword [esp + 0x60]
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
lea ecx, [esp + 0x64]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 8]
xor ebp, ebp
push ecx
lea ecx, [esp + 0x68]
mov dword [esp + 0x54], ebp
call fcn.00430af8
mov eax, dword [esp + 0x64]
cmp dword [eax - 8], 2
jge 0x43587f
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
lea ecx, [esp + 0x64]
mov esi, eax
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
push 0x2c
push eax
call dword [sym.imp.MSVCRT.dll_strchr]
add esp, 8
test eax, eax
jne 0x4358d9
mov edx, dword [esp + 0x64]
push edx
call fcn.00434f00
mov esi, eax
mov ecx, eax
and esi, 0xff
and eax, 0xff00
shl esi, 0x10
sar ecx, 0x10
add esi, ecx
add esp, 4
lea ecx, [esp + 0x64]
add esi, eax
mov dword [esp + 0x50], 0xffffffff
call sub.MFC42.DLL_CString::CString
mov eax, esi
pop esi
pop ebp
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
mov esi, dword [esp + 0x64]
push ebx
mov ebx, dword [sym.imp.MSVCRT.dll_atoi]
push edi
push esi
call ebx
mov dword [esp + 0x68], eax
mov al, byte [esi]
add esp, 4
xor edi, edi
test al, al
je 0x435903
cmp al, 0x2c
je 0x435903
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4358f7
cmp byte [esi], 0x2c
jne 0x435931
inc esi
push esi
call ebx
mov ebp, eax
mov al, byte [esi]
add esp, 4
test al, al
je 0x435923
cmp al, 0x2c
je 0x435923
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x435917
cmp byte [esi], 0x2c
jne 0x435931
inc esi
push esi
call ebx
add esp, 4
mov edi, eax
mov eax, dword [esp + 0x64]
lea ecx, [esp + 0x6c]
shl edi, 8
add edi, ebp
mov dword [esp + 0x58], 0xffffffff
shl edi, 8
add edi, eax
call sub.MFC42.DLL_CString::CString
mov ecx, dword [esp + 0x50]
mov eax, edi
pop edi
pop ebx
pop esi
pop ebp
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x435970
Capabilities:
Read .ini file

Disassembly:
mov eax, dword fs:[0]
push 0xffffffffffffffff
push 0x43cb68
push eax
mov eax, dword [esp + 0x1c]
mov edx, dword [esp + 0x14]
mov dword fs:[0], esp
sub esp, 0x40
lea ecx, [esp]
push eax
mov eax, dword [esp + 0x54]
push 0x40
push ecx
push 0x43e538
push edx
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
mov al, byte [esp]
test al, al
je 0x435a1e
push ebx
push esi
push edi
lea ecx, [esp + 0x68]
call sub.MFC42.DLL_CString::CString_2
lea ecx, [esp + 0xc]
mov dword [esp + 0x54], 0
push ecx
lea ecx, [esp + 0x6c]
call fcn.00430af8
mov esi, dword [esp + 0x68]
mov edi, dword [sym.imp.MSVCRT.dll_atoi]
push esi
call edi
mov ebx, dword [esp + 0x68]
add esp, 4
mov dword [ebx], eax
mov al, byte [esi]
test al, al
je 0x4359fb
cmp al, 0x2c
je 0x4359fb
mov al, byte [esi + 1]
inc esi
test al, al
jne 0x4359ef
cmp byte [esi], 0x2c
jne 0x435a0a
inc esi
push esi
call edi
add esp, 4
mov dword [ebx + 4], eax
lea ecx, [esp + 0x68]
mov dword [esp + 0x54], 0xffffffff
call sub.MFC42.DLL_CString::CString
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x40]
mov dword fs:[0], ecx
add esp, 0x4c
ret
Function at 0x42e748
Capabilities:
Acquire debug privileges

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x28
mov dword [ebp - 4], 0
mov dword [ebp - 8], 0
mov dword [ebp - 0xc], 0
push 8
call fcn.004b5191
add esp, 4
mov dword [ebp - 0x10], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
push 0x10
call fcn.004b5191
add esp, 4
mov dword [ebp - 0x14], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x18], 0
push 0x10
call fcn.004b5191
add esp, 4
mov dword [ebp - 0x1c], eax
mov ebx, eax
mov dword [ebx], 0
mov dword [ebx + 4], 0
mov dword [ebx + 8], 0
mov dword [ebx + 0xc], 0
mov dword [ebp - 0x20], esp
mov eax, 0x1d
call fcn.004b51a3
cmp dword [ebp - 0x20], esp
je 0x42e805
push 6
call fcn.004b5197
add esp, 4
mov dword [ebp - 4], eax
mov eax, 0x591876
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42e81e
push ebx
call fcn.004b5185
add esp, 4
pop eax
mov dword [ebp - 8], eax
mov dword [ebp - 0x20], esp
lea eax, [ebp - 0xc]
push eax
push 0x28
push dword [ebp - 4]
mov eax, 0x1e
call fcn.004b51a3
cmp dword [ebp - 0x20], esp
je 0x42e84d
push 6
call fcn.004b5197
add esp, 4
mov dword [ebp - 0x20], esp
push dword [ebp - 0x10]
push dword [ebp - 8]
push 0x58f508
mov eax, 0x1f
call fcn.004b51a3
cmp dword [ebp - 0x20], esp
je 0x42e877
push 6
call fcn.004b5197
add esp, 4
mov ebx, dword [ebp - 0x14]
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 1
mov ebx, dword [ebp - 0x14]
add ebx, 8
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
add ebx, 4
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 4
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x10]
mov dword [ebp - 0x24], ebx
mov ebx, dword [ebp - 0x24]
mov eax, dword [ebx]
mov ebx, dword [ebp - 0x20]
mov dword [ebx], eax
mov ebx, dword [ebp - 0x14]
add ebx, 0xc
mov dword [ebp - 0x20], ebx
mov ebx, dword [ebp - 0x20]
mov dword [ebx], 2
mov dword [ebp - 0x20], esp
mov eax, 0
mov dword [ebp - 0x24], eax
lea eax, [ebp - 0x24]
push eax
push dword [ebp - 0x1c]
push 0x1c
push dword [ebp - 0x14]
push 0
push dword [ebp - 0xc]
mov eax, 0x20
call fcn.004b51a3
cmp dword [ebp - 0x20], esp
je 0x42e90b
push 6
call fcn.004b5197
add esp, 4
mov dword [ebp - 0x18], eax
mov dword [ebp - 0x20], esp
push dword [ebp - 0xc]
mov eax, 0x21
call fcn.004b51a3
cmp dword [ebp - 0x20], esp
je 0x42e930
push 6
call fcn.004b5197
add esp, 4
mov eax, dword [ebp - 0x18]
jmp 0x42e938
push eax
mov ebx, dword [ebp - 8]
test ebx, ebx
je 0x42e949
push ebx
call fcn.004b5185
add esp, 4
mov ebx, dword [ebp - 0x10]
push ebx
call fcn.004b5185
add esp, 4
mov ebx, dword [ebp - 0x14]
push ebx
call fcn.004b5185
add esp, 4
mov ebx, dword [ebp - 0x1c]
push ebx
call fcn.004b5185
add esp, 4
pop eax
mov esp, ebp
pop ebp
ret