Function at 0x43e0f0
Capabilities:
Read .ini file

Disassembly:
push ebp
mov ebp, esp
push 0xffffffffffffffff
push 0x4bac92
mov eax, dword fs:[0]
push eax
sub esp, 0x280
mov eax, dword [0x587614]
xor eax, ebp
mov dword [ebp - 0x10], eax
push ebx
push esi
push edi
push eax
lea eax, [ebp - 0xc]
mov dword fs:[0], eax
mov ebx, dword [ebp + 8]
lea ecx, [ebp - 0x234]
push 0x101
push 0
mov dword [ebp - 0x25c], ebx
mov dword [ebp - 0x248], 0
mov dword [ebp - 0x24c], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
push 0x101
push 0
lea ecx, [ebp - 0x28c]
mov dword [ebp - 4], 0
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__10]
lea ecx, [ebp - 0x274]
mov byte [ebp - 4], 1
call sub.mfc140u.dll_CStringArray::CStringArray
lea ecx, [ebp - 0x288]
mov byte [ebp - 4], 2
call sub.mfc140u.dll_CStringArray::CStringArray
mov ecx, ebx
mov byte [ebp - 4], 3
call dword [sym.imp.ScreenLib17u.dll_public:_void___thiscall_CXTPPropertyGridItemConstraints::RemoveAll_void_]
lea eax, [ebp - 0x260]
push eax
call fcn.00491720
add esp, 4
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
lea ecx, [ebp - 0x258]
call dword [sym.imp.mfc140u.dll_Ordinal_296]
mov edi, dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__18]
xor esi, esi
mov ebx, dword [sym.imp.KERNEL32.dll_GetPrivateProfileStringW]
mov byte [ebp - 4], 6
nop dword [eax + eax]
inc esi
lea eax, [ebp - 0x258]
push esi
push 0x4c07a8
push eax
call edi
add esp, 0xc
lea eax, [ebp - 0x210]
push dword [ebp - 0x260]
push 0x100
push eax
push 0x4c0400
push dword [ebp - 0x258]
push str.TCP_IP
call ebx
lea eax, [ebp - 0x214]
push eax
lea eax, [ebp - 0x218]
push eax
lea eax, [ebp - 0x21c]
push eax
lea eax, [ebp - 0x220]
push eax
lea eax, [ebp - 0x224]
push eax
lea eax, [ebp - 0x210]
push str.IP__d._d._d._d__d
push eax
call fcn.00408820
add esp, 0x1c
cmp eax, 5
jne 0x43e2a2
push dword [ebp - 0x214]
lea eax, [ebp - 0x228]
push dword [ebp - 0x218]
push dword [ebp - 0x21c]
push dword [ebp - 0x220]
push dword [ebp - 0x224]
push str._d._d._d._d__d
push eax
call edi
add esp, 0x1c
lea eax, [ebp - 0x228]
lea ecx, [ebp - 0x274]
push eax
push dword [ebp - 0x26c]
call sub.mfc140u.dll_CStringArray::SetAtGrow
lea eax, [ebp - 0x210]
push eax
push dword [ebp - 0x280]
lea ecx, [ebp - 0x288]
call sub.mfc140u.dll_CStringArray::SetAtGrow_1
cmp esi, 0x14
jl 0x43e1d0
lea eax, [ebp - 0x24c]
push eax
lea eax, [ebp - 0x248]
push eax
push 0
push 0
push 1
push 0
push 6
call sub.WINSPOOL.DRV_EnumPrintersW
mov eax, dword [ebp - 0x248]
test eax, eax
je 0x43e44b
sub eax, 0xffffff80
push eax
call sub.mfc140u.dll_operator_1
mov ecx, dword [ebp - 0x248]
add esp, 4
mov ebx, eax
sub ecx, 0xffffff80
lea eax, [ebp - 0x24c]
mov dword [ebp - 0x23c], ebx
push eax
lea eax, [ebp - 0x248]
push eax
push ecx
push ebx
push 1
push 0
push 6
call sub.WINSPOOL.DRV_EnumPrintersW
xor esi, esi
cmp dword [ebp - 0x24c], esi
jle 0x43e440
lea edi, [ebx + 8]
nop
push dword [edi]
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator]
push 0
push 0x4dd0ec
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__2]
cmp eax, 0xffffffff
jne 0x43e42a
push str.PartnerRIP_Printer_Driver_PS2
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__6]
test eax, eax
je 0x43e42a
mov eax, dword [ebp - 0x234]
lea ecx, [ebp - 0x22c]
push 0
push ecx
lea ecx, [ebp - 0x234]
mov eax, dword [eax - 0xc]
inc eax
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::GetBuffer_1]
push eax
call sub.WINSPOOL.DRV_OpenPrinterW
push 0xffffffffffffffff
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::ReleaseBuffer]
lea eax, [ebp - 0x230]
push eax
push 0
push 0
push 2
push dword [ebp - 0x22c]
call sub.WINSPOOL.DRV_GetPrinterW
mov eax, dword [ebp - 0x230]
inc eax
push eax
call sub.mfc140u.dll_operator_1
mov ecx, dword [ebp - 0x230]
add esp, 4
mov ebx, eax
inc ecx
lea eax, [ebp - 0x230]
push eax
push ecx
push ebx
push 2
push dword [ebp - 0x22c]
call sub.WINSPOOL.DRV_GetPrinterW
test eax, eax
je 0x43e410
push dword [ebx + 0xc]
lea ecx, [ebp - 0x274]
push dword [ebp - 0x26c]
call sub.mfc140u.dll_CStringArray::SetAtGrow_1
lea eax, [ebp - 0x234]
push eax
push dword [ebp - 0x280]
lea ecx, [ebp - 0x288]
call sub.mfc140u.dll_CStringArray::SetAtGrow
jmp 0x43e416
call dword [sym.imp.KERNEL32.dll_GetLastError]
push ebx
call sub.mfc140u.dll_operator
add esp, 4
push dword [ebp - 0x22c]
call sub.WINSPOOL.DRV_ClosePrinter
inc esi
add edi, 0x10
cmp esi, dword [ebp - 0x24c]
jl 0x43e320
mov ebx, dword [ebp - 0x23c]
push 1
push ebx
call fcn.004b5f37
add esp, 8
mov ecx, dword [ebp - 0x26c]
xor esi, esi
mov eax, ecx
mov dword [ebp - 0x23c], esi
mov dword [ebp - 0x250], eax
lea edx, [eax - 1]
test edx, edx
jle 0x43e5f3
mov edx, dword [ebp - 0x270]
mov dword [ebp - 0x230], edx
nop dword [eax + eax]
lea ebx, [esi + 1]
mov dword [ebp - 0x238], ebx
mov edi, ebx
cmp ebx, eax
jge 0x43e5e0
test edi, edi
js 0x43e966
cmp edi, ecx
jge 0x43e966
mov eax, dword [edx + edi*4]
lea ebx, [edx + edi*4]
test esi, esi
js 0x43e966
cmp esi, ecx
jge 0x43e966
lea ecx, [esi*4]
mov ecx, dword [ecx + edx]
mov dx, word [ecx]
cmp dx, word [eax]
jne 0x43e4e9
test dx, dx
je 0x43e4e5
mov dx, word [ecx + 2]
cmp dx, word [eax + 2]
jne 0x43e4e9
add ecx, 4
add eax, 4
test dx, dx
jne 0x43e4c3
xor eax, eax
jmp 0x43e4ee
sbb eax, eax
or eax, 1
test eax, eax
jle 0x43e5bf
lea eax, [esi*4]
add eax, dword [ebp - 0x230]
lea ecx, [ebp - 0x22c]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov ecx, dword [ebp - 0x230]
lea edx, [esi*4]
push ebx
mov byte [ebp - 4], 7
lea ecx, [edx + ecx]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea eax, [ebp - 0x22c]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x22c]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0x280]
cmp edi, ecx
jge 0x43e966
mov eax, dword [ebp - 0x284]
lea ebx, [eax + edi*4]
cmp esi, ecx
jge 0x43e966
lea esi, [esi*4]
add esi, eax
lea ecx, [ebp - 0x244]
push esi
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
push ebx
mov ecx, esi
mov byte [ebp - 4], 8
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea eax, [ebp - 0x244]
mov ecx, ebx
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x244]
mov byte [ebp - 4], 6
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov edx, dword [ebp - 0x270]
mov esi, dword [ebp - 0x23c]
mov dword [ebp - 0x230], edx
jmp 0x43e5c5
mov edx, dword [ebp - 0x230]
mov eax, dword [ebp - 0x250]
inc edi
mov ecx, dword [ebp - 0x26c]
cmp edi, eax
jl 0x43e493
mov ebx, dword [ebp - 0x238]
mov esi, ebx
mov dword [ebp - 0x23c], ebx
lea ebx, [eax - 1]
cmp esi, ebx
jl 0x43e480
mov eax, dword [0x58cfd8]
lea ecx, [ebp - 0x254]
add eax, 0x15c
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov eax, dword [0x58cfd8]
lea ecx, [ebp - 0x240]
add eax, 0x160
mov byte [ebp - 4], 9
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov eax, dword [ebp - 0x240]
mov byte [ebp - 4], 0xa
cmp dword [eax - 0xc], 0
jne 0x43e667
lea eax, [ebp - 0x238]
mov ecx, 0x58d238
push eax
call fcn.00480350
push eax
lea ecx, [ebp - 0x240]
mov byte [ebp - 4], 0xb
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
xor edi, edi
mov dword [ebp - 0x22c], 0
or ebx, 0xffffffff
cmp dword [ebp - 0x250], edi
jle 0x43e836
test edi, edi
js 0x43e966
cmp edi, dword [ebp - 0x26c]
jge 0x43e966
mov eax, dword [ebp - 0x270]
lea ecx, [ebp - 0x228]
lea eax, [eax + edi*4]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
push 3
lea eax, [ebp - 0x238]
push eax
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__12]
mov esi, eax
mov ecx, esi
mov byte [ebp - 4], 0xc
call dword [sym.imp.mfc140u.dll_Ordinal_5921]
push eax
push 0x4dd130
lea ecx, [ebp - 0x23c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__16]
push dword [ebp - 0x23c]
mov ecx, esi
mov byte [ebp - 4], 0xd
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__15]
lea ecx, [ebp - 0x23c]
mov esi, eax
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
test esi, esi
jne 0x43e720
inc dword [ebp - 0x22c]
jmp 0x43e829
cmp edi, dword [ebp - 0x26c]
jge 0x43e966
mov eax, dword [ebp - 0x270]
mov eax, dword [eax + edi*4]
mov eax, dword [eax - 0xc]
and eax, 0x80000007
jns 0x43e744
dec eax
or eax, 0xfffffff8
inc eax
cmp eax, 8
jge 0x43e766
mov esi, 8
sub esi, eax
push 0x4c1cbc
lea ecx, [ebp - 0x228]
call dword [0x4c00c0]
sub esi, 1
jne 0x43e750
push 0x4dd134
lea ecx, [ebp - 0x228]
call dword [0x4c00c0]
cmp edi, dword [ebp - 0x280]
jge 0x43e966
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x228]
lea eax, [eax + edi*4]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CSimpleStringT_wchar_t_1_::operator_1]
push 0x4dad54
lea ecx, [ebp - 0x228]
call dword [0x4c00c0]
push 0
push ecx
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov ecx, dword [ebp - 0x25c]
call dword [sym.imp.ScreenLib17u.dll_public:_class_CXTPPropertyGridItemConstraint____thiscall_CXTPPropertyGridItemConstraints::AddConstraint_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t_____unsigned_long_int_]
cmp edi, dword [ebp - 0x280]
jge 0x43e966
mov eax, dword [ebp - 0x284]
lea ecx, [ebp - 0x244]
lea eax, [eax + edi*4]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
mov eax, dword [ebp - 0x244]
mov ecx, dword [ebp - 0x240]
mov esi, dword [eax - 0xc]
cmp esi, dword [ecx - 0xc]
cmovle esi, dword [ecx - 0xc]
cmp ebx, 0xffffffff
jne 0x43e81d
push esi
push ecx
push eax
call dword [sym.imp.api_ms_win_crt_string_l1_1_0.dll_wcsncmp]
add esp, 0xc
test eax, eax
jne 0x43e81d
mov ebx, edi
sub ebx, dword [ebp - 0x22c]
lea ecx, [ebp - 0x244]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
inc edi
cmp edi, dword [ebp - 0x250]
jl 0x43e682
xor esi, esi
cmp ebx, 0xffffffff
cmovne esi, ebx
mov ebx, dword [ebp - 0x25c]
mov ecx, ebx
call dword [sym.imp.ScreenLib17u.dll_public:_int___thiscall_CXTPPropertyGridItemConstraints::GetCount_void_]
test eax, eax
jle 0x43e8e0
push esi
lea eax, [ebp - 0x238]
mov ecx, ebx
push eax
call dword [sym.imp.ScreenLib17u.dll_public:_class_ATL::CStringT_wchar_t__class_StrTraitMFC_DLL_wchar_t__class_ATL::ChTraitsCRT_wchar_t______thiscall_CXTPPropertyGridItemConstraints::GetAt_int_]
push eax
lea ecx, [ebp - 0x228]
mov byte [ebp - 4], 0xe
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
lea ecx, [ebp - 0x238]
mov byte [ebp - 4], 0xa
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea eax, [ebp - 0x240]
push eax
lea eax, [ebp - 0x254]
push eax
push ecx
lea eax, [ebp - 0x228]
mov ecx, esp
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__17]
call fcn.0043d3e0
mov ecx, dword [0x58cfd8]
lea eax, [ebp - 0x240]
add esp, 0xc
lea ecx, [ecx + 0x160]
push eax
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov ecx, dword [0x58cfd8]
lea eax, [ebp - 0x254]
push eax
lea ecx, [ecx + 0x15c]
call dword [sym.imp.mfc140u.dll_ATL::CStringT_wchar_t_StrTraitMFC_DLL_wchar_t_ATL::ChTraitsCRT_wchar_t__14]
mov dword [ebx + 0x34], esi
lea ecx, [ebp - 0x240]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x254]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x258]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x228]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x260]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x288]
call fcn.004b525c
lea ecx, [ebp - 0x274]
call fcn.004b525c
lea ecx, [ebp - 0x28c]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
lea ecx, [ebp - 0x234]
call dword [sym.imp.mfc140u.dll_Ordinal_1045]
mov ecx, dword [ebp - 0xc]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [ebp - 0x10]
xor ecx, ebp
call fcn.004b61c2
mov esp, ebp
pop ebp
ret
call sub.mfc140u.dll_AfxThrowInvalidArgException
int3