joyce8/EMBER2024-capa huggingface dataset:
Function at 0x414050
Capabilities:
Log keystrokes via polling

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x6c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov dword [ebp - 8], 0
lea ecx, [ebp - 0x10]
call fcn.00417430
lea eax, [ebp - 0x10]
push eax
call dword [sym.imp.USER32.dll_GetCursorPos]
mov ecx, dword [ebp - 0xc]
push ecx
mov edx, dword [ebp - 0x10]
push edx
mov ecx, dword [ebp - 4]
call fcn.00416be0
xor ecx, ecx
cmp eax, 0x14
sete cl
mov dword [ebp - 0x14], ecx
push 1
call dword [sym.imp.USER32.dll_GetKeyState]
movsx edx, ax
xor eax, eax
test edx, edx
setl al
mov dword [ebp - 0x18], eax
mov ecx, dword [ebp - 4]
mov edx, dword [ecx + 0x144]
mov dword [ebp - 0x1c], edx
cmp dword [ebp - 0x14], 0
je 0x4140c6
cmp dword [ebp - 0x18], 0
je 0x4140c6
mov dword [ebp - 0x24], 1
jmp 0x4140cd
mov dword [ebp - 0x24], 0
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x24]
mov dword [eax + 0x144], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x148]
mov dword [ebp - 0x20], eax
cmp dword [ebp - 0x14], 0
je 0x4140fa
cmp dword [ebp - 0x18], 0
jne 0x4140fa
mov dword [ebp - 0x28], 1
jmp 0x414101
mov dword [ebp - 0x28], 0
mov ecx, dword [ebp - 4]
mov edx, dword [ebp - 0x28]
mov dword [ecx + 0x148], edx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x144]
xor ecx, dword [ebp - 0x1c]
test ecx, ecx
jne 0x414136
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0x148]
xor eax, dword [ebp - 0x20]
test eax, eax
jne 0x414136
mov dword [ebp - 0x2c], 0
jmp 0x41413d
mov dword [ebp - 0x2c], 1
mov ecx, dword [ebp - 8]
or ecx, dword [ebp - 0x2c]
mov dword [ebp - 8], ecx
cmp dword [ebp - 8], 0
je 0x41415d
push 0
push 0
push 0x85
mov ecx, dword [ebp - 4]
call fcn.0040d9f0
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x416ff0
Capabilities:
Access peb ldr_data
Check for peb beingdebugged flag

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494462
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x8c
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
lea eax, [ebp - 0x4c]
push eax
mov ecx, dword [ebp - 0x10]
call fcn.004157c0
mov ecx, dword [eax]
mov dword [ebp - 0x20], ecx
mov edx, dword [eax + 4]
mov dword [ebp - 0x1c], edx
mov ecx, dword [eax + 8]
mov dword [ebp - 0x18], ecx
mov edx, dword [eax + 0xc]
mov dword [ebp - 0x14], edx
mov eax, dword [ebp - 0x10]
cmp dword [eax], 0
je 0x417064
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d5f0
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CDC::Draw3dRect
jmp 0x417090
mov ecx, dword [ebp - 0x10]
cmp dword [ecx + 4], 0
je 0x417090
push 0x10
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
push 0x14
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
lea ecx, [ebp - 0x20]
call fcn.0040d5f0
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CDC::Draw3dRect
mov ecx, dword [ebp + 8]
call fcn.004177a0
mov dword [ebp - 0x24], eax
push 0x12
call dword [sym.imp.USER32.dll_GetSysColor]
push eax
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x38]
push 1
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CDC::SetBkMode
mov dword [ebp - 0x28], eax
lea ecx, [ebp - 0x30]
call fcn.0040d7b0
mov dword [ebp - 4], 0
push 0x58
mov ecx, dword [ebp + 8]
call fcn.00417770
mov dword [ebp - 0x34], eax
mov ecx, dword [ebp - 0x34]
push ecx
push 0x60
push 0x3c
call dword [sym.imp.KERNEL32.dll_MulDiv]
mov dword [ebp - 0x38], eax
push 0
push str.Marlett
mov edx, dword [ebp - 0x38]
push edx
lea ecx, [ebp - 0x30]
call sub.MFC42.DLL_CFont::CreatePointFont
lea eax, [ebp - 0x30]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov dword [ebp - 0x3c], eax
push 0x498f08
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString_1
mov dword [ebp - 0x54], eax
mov eax, dword [ebp - 0x54]
mov dword [ebp - 0x58], eax
mov byte [ebp - 4], 1
mov ecx, dword [ebp - 0x58]
push ecx
mov edx, dword [ebp - 0x10]
mov eax, dword [edx + 0xc]
add eax, 2
push eax
mov ecx, dword [ebp - 0x10]
mov edx, dword [ecx + 8]
add edx, 2
push edx
mov ecx, dword [ebp + 8]
call fcn.00417800
mov byte [ebp - 4], 0
lea ecx, [ebp - 0x50]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x3c]
push eax
mov ecx, dword [ebp + 8]
mov edx, dword [ecx]
mov ecx, dword [ebp + 8]
call dword [edx + 0x30]
mov eax, dword [ebp - 0x28]
push eax
mov ecx, dword [ebp + 8]
call sub.MFC42.DLL_CDC::SetBkMode
mov ecx, dword [ebp - 0x24]
push ecx
mov edx, dword [ebp + 8]
mov eax, dword [edx]
mov ecx, dword [ebp + 8]
call dword [eax + 0x38]
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x30]
call fcn.0040d880
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x418970
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x188
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov ecx, dword [eax + 0x34c]
push ecx
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipe_recipev3.ini
lea edx, [ebp - 0x104]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
mov eax, dword [ebp + 8]
push eax
push str.RecType_3.3d
lea ecx, [ebp - 0x144]
push ecx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea edx, [ebp - 0x104]
push edx
push 0
push str.MaxRec
lea eax, [ebp - 0x144]
push eax
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x148], eax
mov eax, dword [ebp - 0x148]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4194b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x168
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 0xc]
cmp dword [eax], 0
jne 0x4194d4
call sub.WINDCS32.dll_sysini_GetAreaForApplikation
movsx ecx, ax
mov edx, dword [ebp + 0xc]
mov dword [edx], ecx
mov eax, dword [ebp + 8]
and eax, 0xff
test eax, eax
je 0x419553
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipe_recipev3.ini
lea ecx, [ebp - 0x108]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp + 0xc]
mov eax, dword [edx + 4]
push eax
push str.RecType_3.3d
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], 0
jle 0x41954e
lea eax, [ebp - 0x108]
push eax
push 0xffffffffffffffff
push str.MaxRec
lea ecx, [ebp - 0x128]
push ecx
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov edx, dword [ebp + 0xc]
cmp dword [edx + 8], eax
ja 0x41954e
mov eax, 1
jmp 0x4195a6
or eax, 0xffffffff
jmp 0x4195a6
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipe_basicrec.001_basicrec.ini
lea eax, [ebp - 0x108]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], 0
jle 0x4195a3
lea edx, [ebp - 0x108]
push edx
push 0xffffffffffffffff
push str.MaxRec
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp + 0xc]
cmp dword [ecx + 4], eax
ja 0x4195a3
mov eax, 1
jmp 0x4195a6
or eax, 0xffffffff
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 8
Function at 0x41a4d0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x37c
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp + 8]
push eax
mov ecx, 0x4a9d68
call fcn.00418970
add eax, 1
push eax
mov ecx, dword [ebp + 8]
push ecx
mov ecx, dword [ebp - 4]
call fcn.00419ff0
mov edx, dword [ebp + 8]
push edx
mov ecx, 0x4a9d68
call fcn.00418970
add eax, 1
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xbda3], eax
mov edx, dword [ebp - 4]
mov dword [edx + 0xbda7], 0
mov eax, dword [ebp - 4]
mov cx, word [ebp + 8]
mov word [eax + 0x60], cx
mov edx, dword [ebp - 4]
mov eax, dword [ebp - 4]
mov cx, word [eax + 0xbda3]
mov word [edx + 0x62], cx
mov ecx, dword [ebp - 4]
call fcn.0041e900
test eax, eax
jne 0x41a553
xor eax, eax
jmp 0x41a66d
mov edx, dword [ebp - 4]
xor eax, eax
mov al, byte [edx + 0xbed3]
test eax, eax
jne 0x41a57a
push 0xffffffffffffffff
push 0
push 0x234
call sub.MFC42.DLL_AfxMessageBox_1
mov ecx, dword [ebp - 4]
mov byte [ecx + 0xbed9], 1
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipeprojectplant.ini
lea edx, [ebp - 0x33c]
push edx
call dword [sym.imp.MSVCRT.dll_sprintf]
add esp, 0xc
lea eax, [ebp - 0x33c]
push eax
push 0x32
lea ecx, [ebp - 0x238]
push ecx
push str.100.0
push str.DefaultBatchSize
push str.Mainrecipe
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringA]
lea edx, [ebp - 0x238]
push edx
call dword [sym.imp.MSVCRT.dll_atof]
add esp, 4
mov eax, dword [ebp - 4]
fstp qword [eax + 0x4f67]
push 0
push 4
push 0
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CDocument::UpdateAllViews
push 0
push 1
push 0
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CDocument::UpdateAllViews
push 0
mov ecx, dword [ebp - 4]
call fcn.0041a680
test eax, eax
jne 0x41a605
xor eax, eax
jmp 0x41a66d
push str._t_t_t
lea ecx, [ebp - 0x204]
push ecx
call sub.MSVCRT.dll_strcpy
add esp, 8
lea edx, [ebp - 0x204]
push edx
push 6
push 0
mov ecx, dword [ebp - 4]
call sub.MFC42.DLL_CDocument::UpdateAllViews
mov ecx, dword [ebp - 4]
call fcn.0041e1b0
mov eax, dword [ebp - 4]
mov dword [eax + 0xbea3], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xbeaf], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xbea7], 0
push 0
mov eax, dword [ebp - 4]
mov edx, dword [eax]
mov ecx, dword [ebp - 4]
call dword [edx + 0x64]
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x420de0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov word [ebp - 0x10], 0xffff
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x200
je 0x420e03
jmp case.0x420e68.3
push 0
push 0
push 0xb8
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je case.0x420e68.3
push 0x498130
lea edx, [ebp - 0xc]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0xa
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x4aa5d2]
mov dword [ebp - 0x18], edx
mov eax, dword [ebp - 0x18]
sub eax, 0x7fbe
mov dword [ebp - 0x18], eax
cmp dword [ebp - 0x18], 0x16
ja case.0x420e68.3
mov edx, dword [ebp - 0x18]
xor ecx, ecx
mov cl, byte [edx + 0x420fa1]
jmp dword [ecx*4 + 0x420f91]
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov word [0x4aa610], ax
movsx ecx, word [0x4aa610]
cmp ecx, 1
jl 0x420e9d
movsx edx, word [0x4aa610]
cmp edx, 0xff
jle 0x420eef
movsx eax, word [0x4aa610]
cmp eax, 1
jge 0x420eb4
mov word [0x4aa610], 1
jmp 0x420ebd
mov word [0x4aa610], 0xff
movsx ecx, word [0x4aa610]
push ecx
push 0x49857c
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x420e68.3
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov word [0x4aa612], ax
movsx ecx, word [0x4aa612]
cmp ecx, 1
jl 0x420f22
movsx edx, word [0x4aa612]
cmp edx, 0xff
jle 0x420f74
movsx eax, word [0x4aa612]
cmp eax, 1
jge 0x420f39
mov word [0x4aa612], 1
jmp 0x420f42
mov word [0x4aa612], 0xff
movsx ecx, word [0x4aa612]
push ecx
push 0x49857c
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp case.0x420e68.3
push 0x11
lea eax, [ebp - 0xc]
push eax
push 0x4aa61a
call dword [sym.imp.MSVCRT.dll_strncpy]
add esp, 0xc
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x420fc0
Capabilities:
Get graphical window text

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x58
push ebx
push esi
push edi
mov word [ebp - 0x10], 0xffff
mov eax, dword [ebp + 0x14]
mov dword [ebp - 0x14], eax
cmp dword [ebp - 0x14], 0x200
je 0x420fe3
jmp 0x42113c
push 0
push 0
push 0xb8
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SendMessageA]
test eax, eax
je 0x42113c
push 0x498130
lea edx, [ebp - 0xc]
push edx
call sub.MSVCRT.dll_strcpy
add esp, 8
push 0xa
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_GetWindowTextA]
mov edx, dword [0x4aa5d2]
mov dword [ebp - 0x18], edx
cmp dword [ebp - 0x18], 0x7fc0
je 0x421043
cmp dword [ebp - 0x18], 0x7fd4
je 0x4210c5
jmp 0x42113c
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov word [0x4aa614], ax
movsx ecx, word [0x4aa614]
cmp ecx, 1
jl 0x421071
movsx edx, word [0x4aa614]
cmp edx, 0xff
jle 0x4210c3
movsx eax, word [0x4aa614]
cmp eax, 1
jge 0x421088
mov word [0x4aa614], 1
jmp 0x421091
mov word [0x4aa614], 0xff
movsx ecx, word [0x4aa614]
push ecx
push 0x49857c
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
jmp 0x42113c
lea eax, [ebp - 0xc]
push eax
call dword [sym.imp.MSVCRT.dll_atoi]
add esp, 4
mov dword [0x4aa62c], eax
cmp dword [0x4aa62c], 1
jl 0x4210ec
cmp dword [0x4aa62c], 0xff
jle 0x42113c
cmp dword [0x4aa62c], 1
jge 0x421101
mov dword [0x4aa62c], 1
jmp 0x42110b
mov dword [0x4aa62c], 0xff
mov ecx, dword [0x4aa62c]
push ecx
push 0x49857c
lea edx, [ebp - 0xc]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0xc]
push eax
mov ecx, dword [ebp + 0x10]
push ecx
call dword [sym.imp.USER32.dll_SetWindowTextA]
mov edx, dword [ebp + 0x10]
push edx
call dword [sym.imp.USER32.dll_SetFocus]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x422470
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xd8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
mov eax, dword [ebp - 4]
mov dword [eax], 0x49ae68
cmp dword [ebp + 8], 0
jne 0x4224ab
lea ecx, [ebp - 0x90]
call dword [sym.imp.MSVCRT.dll_public:_void___thiscall_exception::constructor_void_]
push 0x4a25a8
lea ecx, [ebp - 0x90]
push ecx
call sub.MSVCRT.dll__CxxThrowException
mov edx, dword [ebp - 4]
mov eax, dword [ebp + 8]
mov dword [edx + 4], eax
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], 0
mov edx, dword [ebp - 4]
mov dword [edx + 0xc], 1
mov eax, dword [ebp - 4]
mov dword [eax + 0x10], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0xffffff9c
mov edx, dword [ebp - 4]
mov byte [edx + 0x20], 0
mov eax, dword [ebp - 4]
mov dword [eax + 0x14], 0
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], 0
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipeprojectplant.ini
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push 0
push str.Enable
push str.ReleasePlantSection
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 8], eax
lea edx, [ebp - 0x84]
push edx
push 1
push str.JumpMode
push str.Version4.60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0xc], eax
lea edx, [ebp - 0x84]
push edx
push 0
push str.EnableNonBlockingSync
push str.Version4.60
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x10], eax
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_syseditrec.ini
lea edx, [ebp - 0x84]
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea eax, [ebp - 0x84]
push eax
push 0
push str.NoWarnings
push str.Version3
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x18], eax
mov ecx, dword [ebp + 8]
call fcn.0040a630
cmp eax, 1
je 0x4225e0
mov ecx, dword [ebp + 8]
call fcn.0040a630
cmp eax, 2
je 0x4225e0
mov edx, dword [ebp - 4]
cmp dword [edx + 0x18], 1
je 0x4225e0
mov dword [ebp - 0x94], 0
jmp 0x4225ea
mov dword [ebp - 0x94], 1
mov eax, dword [ebp - 4]
mov ecx, dword [ebp - 0x94]
mov dword [eax + 0x14], ecx
mov edx, dword [ebp - 4]
mov eax, dword [edx + 0xc]
mov dword [ebp - 0x98], eax
cmp dword [ebp - 0x98], 2
je 0x422616
cmp dword [ebp - 0x98], 3
je 0x422622
jmp 0x42262e
mov ecx, dword [ebp - 4]
mov dword [ecx + 0x1c], 0xffffff38
jmp 0x422638
mov edx, dword [ebp - 4]
mov dword [edx + 0x1c], 0xfffffed4
jmp 0x422638
mov eax, dword [ebp - 4]
mov dword [eax + 0x1c], 0xffffff9c
mov eax, dword [ebp - 4]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 4
Function at 0x4262b0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x494799
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x134
push ebx
push esi
push edi
mov dword [ebp - 0x10], ecx
push 0x44
mov eax, dword [ebp - 0x10]
add eax, 0x87e
push eax
lea ecx, [ebp - 0x54]
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
call fcn.004019b0
mov ecx, eax
call fcn.00418d10
mov dword [ebp - 0x58], eax
cmp dword [ebp + 8], 0xffffffff
jne 0x426418
push 0
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipe_basicrec.001_basicrec.ini
mov edx, dword [ebp - 0x10]
add edx, 0x6bc
push edx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
mov eax, dword [ebp - 0x10]
add eax, 0x6bc
push eax
push 0xffffffffffffffff
push str.MaxRec
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
cmp eax, 0xffffffff
jne 0x426398
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString_2
mov dword [ebp - 4], 0
push 0x22a
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::LoadStringA
push 0
push 0x40
lea ecx, [ebp - 0x5c]
call fcn.00406000
push eax
call sub.MFC42.DLL_AfxMessageBox
mov dword [ebp - 0x100], 0
mov dword [ebp - 4], 0xffffffff
lea ecx, [ebp - 0x5c]
call sub.MFC42.DLL_CString::CString
mov eax, dword [ebp - 0x100]
jmp 0x426470
push 0
push 0
lea ecx, [ebp - 0x54]
push ecx
mov edx, dword [ebp - 0x58]
push edx
call fcn.004019b0
mov eax, dword [eax + 0x20]
mov ecx, dword [eax + 0x20]
push ecx
mov edx, dword [ebp - 0x10]
push edx
call fcn.0043d600
add esp, 0x18
test eax, eax
jne 0x4263c7
xor eax, eax
jmp 0x426470
mov dword [ebp - 0x2a], 0
mov dword [ebp - 0x26], 0xffffffff
push 0xa0
push 0
lea eax, [ebp - 0xfc]
push eax
call sub.MSVCRT.dll_memset
add esp, 0xc
mov cx, word [ebp - 0x52]
mov word [ebp - 0xe6], cx
push 3
call sub.RECHEAD.dll_Ordinal_60_1
push 0
lea edx, [ebp - 0xfc]
push edx
call sub.RECHEAD.dll_Ordinal_20_1
mov ax, word [ebp - 0xf9]
mov word [ebp - 0x50], ax
jmp 0x42643a
mov cx, word [ebp + 0xc]
mov word [ebp - 0x50], cx
mov dx, word [ebp + 8]
mov word [ebp - 0x52], dx
mov dword [ebp - 0x2a], 0
mov dword [ebp - 0x26], 0xffffffff
mov byte [ebp - 0x22], 0
mov byte [ebp - 0x4a], 0
lea eax, [ebp - 0x4a]
push eax
movsx ecx, word [ebp - 0x52]
push ecx
movsx edx, word [ebp - 0x50]
push edx
push 1
call sub.RECFILE.dll_recfile_LoadRezName
push 0x44
lea eax, [ebp - 0x54]
push eax
mov ecx, dword [ebp - 0x10]
add ecx, 0x87e
push ecx
call sub.MSVCRT.dll_memcpy
add esp, 0xc
mov eax, 1
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret 0x14
Function at 0x4311a0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
push edi
push 0
mov eax, dword [0x4aa764]
push eax
mov ecx, dword [ebp + 8]
push ecx
call fcn.0048e710
add esp, 0xc
movsx edx, word [0x4aa76a]
push edx
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipe_basicrec.001_basicrec.ini
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x100]
push ecx
push 1
push str.MaxRec
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x4aa768], ax
mov dx, word [0x4aa76c]
push edx
mov eax, dword [ebp + 8]
push eax
call fcn.00431430
add esp, 8
mov word [0x4aa76c], ax
mov eax, 1
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret

Function at 0x431430
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0x140
push ebx
push esi
push edi
push 0
push 0
push 0x184
push 0x3fa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
movsx ecx, word [ebp + 0xc]
cmp ecx, 0xffffffff
jne 0x4314b3
movsx edx, word [0x4aa76a]
push edx
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_recipe_basicrec.001_basicrec.ini
lea eax, [ebp - 0x100]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x100]
push ecx
push 1
push str.MaxRec
push str.Global
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov word [0x4aa768], ax
mov dx, word [0x4aa768]
mov word [ebp + 0xc], dx
push 2
call sub.WINDCS32.dll_sysini_GetSprache
push eax
movsx eax, word [0x4aa76a]
push eax
push 4
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_texte._d_basicrec.txt
lea ecx, [ebp - 0x100]
push ecx
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0x10
push 1
push 1
lea edx, [ebp - 0x100]
push edx
mov ax, word [0x4aa768]
push eax
push 1
push 0x3fa
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call fcn.0040e450
add esp, 0x18
test eax, eax
jne 0x431516
mov ax, 1
jmp 0x431569
push 0
movsx edx, word [ebp + 0xc]
sub edx, 1
push edx
push 0x186
push 0x3fa
mov eax, dword [ebp + 8]
push eax
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
cmp eax, 0xffffffff
jne 0x431565
push 0
push 0
push 0x186
push 0x3fa
mov ecx, dword [ebp + 8]
push ecx
call dword [sym.imp.USER32.dll_GetDlgItem]
push eax
call dword [sym.imp.USER32.dll_SendMessageA]
mov ax, 1
jmp 0x431569
mov ax, word [ebp + 0xc]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret
Function at 0x434e50
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
sub esp, 0xc8
push ebx
push esi
push edi
mov dword [ebp - 4], ecx
push 0
push 0xffffffffffffffff
call sub.WINDCS32.dll_Ordinal_69
push eax
push str._s_syseditrec.ini
lea eax, [ebp - 0x84]
push eax
call dword [sym.imp.USER32.dll_wsprintfA]
add esp, 0xc
lea ecx, [ebp - 0x84]
push ecx
push 0
push str.PRINTPAGE
push str.SELECT
call dword [sym.imp.KERNEL32.dll_GetPrivateProfileIntA]
mov dword [ebp - 0x88], eax
mov eax, dword [ebp - 0x88]
pop edi
pop esi
pop ebx
mov esp, ebp
pop ebp
ret