Function at 0x435fa0
Capabilities:
Resolve function by parsing pe exports

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x46fa56
mov eax, dword fs:[0]
push eax
sub esp, 0x648
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0x640], eax
push ebx
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0x658]
mov dword fs:[0], eax
lea edi, [ecx + 8]
mov dword [esp + 0x14], ecx
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x435ff2
xor eax, eax
jmp 0x435ffa
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
push eax
push 0
mov esi, edi
call fcn.004368f0
mov esi, dword [edi + 4]
add esp, 8
cmp esi, dword [edi + 8]
jbe 0x436015
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, edi
jmp 0x436020
mov eax, dword [edi + 8]
cmp dword [edi + 4], eax
mov dword [esp + 0x10], eax
jbe 0x436032
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
test ebx, ebx
je 0x43603a
cmp ebx, edi
je 0x436040
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [esp + 0x10]
je 0x4360b2
test ebx, ebx
jne 0x436050
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
cmp esi, dword [ebx + 8]
jb 0x43605b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esi]
mov eax, dword [ecx]
mov edx, dword [eax + 0x38]
mov dword [esp + 0x10], ecx
call edx
test al, al
jne 0x43609f
mov eax, dword [esp + 0x10]
push eax
call sub.MFC80U.DLL_Ordinal_764
mov eax, dword [edi + 8]
lea ecx, [esi + 4]
sub eax, ecx
sar eax, 2
add esp, 4
test eax, eax
jle 0x436099
add eax, eax
add eax, eax
push eax
push ecx
push eax
push esi
call dword [sym.imp.MSVCR80.dll_memmove_s]
add esp, 0x10
add dword [edi + 8], 0xfffffffc
jmp 0x436020
cmp esi, dword [ebx + 8]
jb 0x4360aa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esi, 4
jmp 0x436020
mov ebx, dword [esp + 0x14]
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x48]
call eax
test eax, eax
mov ecx, dword [ebx + 4]
mov edx, dword [ecx]
mov edx, dword [edx + 0x18]
je 0x436479
lea eax, [esp + 0x24]
push eax
lea eax, [esp + 0x1c]
push eax
lea eax, [esp + 0x54]
push eax
lea eax, [esp + 0x80]
push eax
call edx
mov eax, dword [esp + 0x4c]
imul eax, dword [esp + 0x18]
xor edx, edx
mov dword [esp + 0x10], eax
mov dword [esp + 0x2c], edx
mov dword [esp + 0x30], edx
mov dword [esp + 0x60], edx
mov dword [esp + 0x64], edx
mov dword [esp + 0x68], edx
mov dword [esp + 0x660], edx
xor ebx, ebx
mov ecx, dword [edi + 4]
cmp ecx, edx
mov dword [esp + 0x1c], ebx
je 0x436298
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x436298
cmp ecx, edx
je 0x436144
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp ebx, eax
jb 0x43614a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [edi + 4]
mov esi, dword [eax + ebx*4]
mov edx, dword [esi]
mov eax, dword [edx + 0x38]
mov ecx, esi
mov dword [esp + 0x20], esi
call eax
test al, al
je 0x43628e
mov edx, dword [esi]
mov eax, dword [edx + 0x28]
mov ecx, esi
call eax
mov dword [esp + 0x38], edx
mov edx, dword [esi]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x20]
mov ecx, esi
call eax
sub eax, dword [esp + 0x2c]
mov ebx, edx
sbb ebx, dword [esp + 0x30]
mov dword [esp + 0x6c], eax
xor eax, eax
cmp ebx, eax
jl 0x436271
jg 0x4361a7
mov ecx, dword [esp + 0x10]
cmp dword [esp + 0x6c], ecx
jb 0x436271
push 0x5dc
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
je 0x4361dc
xor eax, eax
push 0x5cf
push eax
lea edx, [esi + 0xc]
push edx
mov dword [esi], vtable.CPart.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x4361de
xor esi, esi
push 0x5cf
lea eax, [esp + 0x80]
push 0
push eax
mov dword [esp + 0x64], esi
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0x38]
mov eax, dword [esp + 0x78]
mov edx, dword [esp + 0x3c]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0xc
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
mov byte [esp + 0xa0], 0
mov dword [esp + 0x639], 7
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push ecx
mov ecx, esi
call edx
lea ebx, [esp + 0x58]
lea esi, [esp + 0x5c]
call fcn.0043a0a0
mov esi, dword [esp + 0x20]
mov eax, dword [esi]
mov edx, dword [eax + 0x20]
mov ecx, esi
call edx
add eax, dword [esp + 0x34]
mov ebx, dword [esp + 0x1c]
adc edx, dword [esp + 0x38]
mov dword [esp + 0x2c], eax
mov dword [esp + 0x30], edx
add ebx, 1
xor edx, edx
jmp 0x436115
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
sub eax, dword [esp + 0x2c]
sbb edx, dword [esp + 0x30]
xor ecx, ecx
mov ebx, edx
cmp ebx, ecx
mov dword [esp + 0x6c], eax
jl 0x4363d5
jg 0x4362ca
cmp eax, dword [esp + 0x10]
jb 0x4363d5
push 0x5dc
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
je 0x4362ff
xor eax, eax
push 0x5cf
push eax
lea ecx, [esi + 0xc]
push ecx
mov dword [esi], vtable.CPart.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x436301
xor esi, esi
push 0x5cf
lea edx, [esp + 0x80]
push 0
push edx
mov dword [esp + 0x2c], esi
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x38]
mov ecx, dword [esp + 0x3c]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x78]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x9c], ebx
mov byte [esp + 0xac], 0
mov dword [esp + 0x645], 7
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 8]
push 0
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x60]
test eax, eax
mov ebx, dword [esp + 0x64]
je 0x4363b0
mov edx, dword [esp + 0x68]
mov ecx, ebx
sub ecx, eax
sub edx, eax
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x4363b0
mov eax, ebx
add eax, 4
mov dword [ebx], esi
mov dword [esp + 0x64], eax
jmp 0x4363d9
cmp eax, ebx
mov esi, ebx
jbe 0x4363bc
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
lea eax, [esp + 0x60]
push eax
lea eax, [esp + 0x28]
push eax
lea ecx, [esp + 0x40]
push ecx
lea eax, [esp + 0x6c]
call fcn.0043a2c0
mov eax, dword [esp + 0x64]
xor ebx, ebx
jmp 0x4363e0
mov ecx, dword [esp + 0x60]
test ecx, ecx
je 0x436458
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x436458
mov eax, dword [edi + 4]
test eax, eax
mov esi, dword [ecx + ebx*4]
mov dword [esp + 0x20], esi
jne 0x436403
xor edx, edx
jmp 0x43640b
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x43642f
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x43642f
mov eax, dword [edi + 8]
mov dword [eax], esi
add eax, 4
mov dword [edi + 8], eax
mov eax, dword [esp + 0x64]
add ebx, 1
jmp 0x4363e0
mov esi, dword [edi + 8]
cmp eax, esi
jbe 0x43643c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push edi
lea edx, [esp + 0x28]
push edx
lea eax, [esp + 0x40]
push eax
mov eax, edi
call fcn.0043a2c0
mov eax, dword [esp + 0x64]
add ebx, 1
jmp 0x4363e0
test ecx, ecx
mov dword [esp + 0x660], 0xffffffff
je 0x436863
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
jmp 0x436863
lea eax, [esp + 0x2c]
push eax
lea eax, [esp + 0x5c]
push eax
lea eax, [esp + 0x28]
push eax
lea eax, [esp + 0x78]
push eax
call edx
mov esi, dword [esp + 0x20]
imul esi, dword [esp + 0x58]
xor eax, eax
mov dword [esp + 0x10], esi
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
xor edx, edx
mov dword [esp + 0x660], 1
mov dword [esp + 0x1c], edx
mov ecx, dword [ebx + 0xc]
cmp ecx, eax
lea edi, [ebx + 8]
je 0x436680
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp edx, eax
jae 0x436680
mov eax, ecx
test eax, eax
je 0x4364f3
mov edi, dword [edi + 8]
sub edi, eax
sar edi, 2
cmp edx, edi
jb 0x4364f9
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x14]
mov ecx, dword [esp + 0x1c]
add eax, 8
mov eax, dword [eax + 4]
mov edi, dword [eax + ecx*4]
mov edx, dword [edi]
mov eax, dword [edx + 0x38]
mov ecx, edi
call eax
test al, al
je 0x436668
mov edx, dword [edi]
mov eax, dword [edx + 0x5c]
mov ecx, edi
call eax
mov dword [esp + 0x38], edx
mov edx, dword [edi]
mov dword [esp + 0x34], eax
mov eax, dword [edx + 0x58]
mov ecx, edi
call eax
mov edx, dword [edi]
test eax, eax
mov eax, dword [edx + 0x20]
mov ecx, edi
je 0x436552
call eax
sub eax, dword [esp + 0x24]
mov ebx, edx
sbb ebx, dword [esp + 0x28]
mov dword [esp + 0x4c], eax
jmp 0x436575
call eax
mov esi, eax
sub esi, dword [esp + 0x24]
mov ebx, edx
mov edx, dword [edi]
mov eax, dword [edx + 0x64]
sbb ebx, dword [esp + 0x28]
mov ecx, edi
call eax
xor ecx, ecx
sub esi, eax
sbb ebx, ecx
mov dword [esp + 0x4c], esi
mov eax, esi
xor ecx, ecx
cmp ebx, ecx
jl 0x43664f
jg 0x43658b
cmp eax, dword [esp + 0x10]
jb 0x43664f
push 0x5dc
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
xor eax, eax
add esp, 4
cmp esi, eax
je 0x4365c0
push 0x5cf
push eax
lea edx, [esi + 0xc]
push edx
mov dword [esi], vtable.CPart.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x4365c2
xor esi, esi
push 0x5cf
lea eax, [esp + 0x80]
push 0
push eax
mov dword [esp + 0x24], esi
call sub.ntdll.dll_memset
mov ecx, dword [esp + 0x30]
mov eax, dword [esp + 0x58]
mov edx, dword [esp + 0x34]
mov dword [esp + 0x88], ecx
mov dword [esp + 0x8c], edx
add esp, 0xc
mov dword [esp + 0x84], eax
mov dword [esp + 0x88], ebx
mov dword [esp + 0x8c], eax
mov dword [esp + 0x90], ebx
mov byte [esp + 0xa0], 0
mov dword [esp + 0x639], 7
mov eax, dword [esi]
mov edx, dword [eax + 0x14]
lea ecx, [esp + 0x7c]
push ecx
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
push ecx
mov ecx, esi
call edx
lea ebx, [esp + 0x18]
lea esi, [esp + 0x3c]
call fcn.0043a0a0
mov eax, dword [edi]
mov edx, dword [eax + 0x20]
mov ecx, edi
call edx
add eax, dword [esp + 0x34]
adc edx, dword [esp + 0x38]
mov dword [esp + 0x24], eax
mov dword [esp + 0x28], edx
add dword [esp + 0x1c], 1
mov esi, dword [esp + 0x10]
mov ebx, dword [esp + 0x14]
mov edx, dword [esp + 0x1c]
xor eax, eax
jmp 0x4364c3
mov eax, dword [esp + 0x14]
mov ecx, dword [eax + 4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x1c]
call eax
sub eax, dword [esp + 0x24]
sbb edx, dword [esp + 0x28]
xor ecx, ecx
mov ebx, edx
cmp ebx, ecx
mov dword [esp + 0x4c], eax
jl 0x4367bc
jg 0x4366b0
cmp eax, esi
jb 0x4367bc
push 0x5dc
call sub.MFC80U.DLL_Ordinal_762
mov esi, eax
add esp, 4
test esi, esi
je 0x4366e5
xor eax, eax
push 0x5cf
push eax
lea ecx, [esi + 0xc]
push ecx
mov dword [esi], vtable.CPart.0
mov dword [esi + 4], eax
mov dword [esi + 8], eax
call sub.ntdll.dll_memset
add esp, 0xc
jmp 0x4366e7
xor esi, esi
push 0x5cf
lea edx, [esp + 0x80]
push 0
push edx
mov dword [esp + 0x24], esi
call sub.ntdll.dll_memset
mov eax, dword [esp + 0x30]
mov ecx, dword [esp + 0x34]
mov dword [esp + 0x88], eax
mov eax, dword [esp + 0x58]
mov dword [esp + 0x8c], ecx
mov dword [esp + 0x90], eax
mov dword [esp + 0x98], eax
mov dword [esp + 0x94], ebx
mov dword [esp + 0x9c], ebx
mov byte [esp + 0xac], 0
mov dword [esp + 0x645], 7
mov edx, dword [esi]
mov edx, dword [edx + 0x14]
add esp, 0xc
lea eax, [esp + 0x7c]
push eax
mov ecx, esi
call edx
mov ecx, dword [esp + 0x14]
mov eax, dword [esi]
mov edx, dword [eax + 0x70]
push ecx
mov ecx, esi
call edx
mov eax, dword [esp + 0x40]
test eax, eax
mov ebx, dword [esp + 0x44]
je 0x436794
mov edx, dword [esp + 0x48]
mov ecx, ebx
sub ecx, eax
sub edx, eax
sar ecx, 2
sar edx, 2
cmp ecx, edx
jae 0x436794
mov eax, ebx
add eax, 4
mov dword [ebx], esi
mov dword [esp + 0x44], eax
jmp 0x4367c0
cmp eax, ebx
mov esi, ebx
jbe 0x4367a0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
lea eax, [esp + 0x40]
push eax
lea eax, [esp + 0x20]
push eax
lea ecx, [esp + 0x80]
push ecx
lea eax, [esp + 0x4c]
call fcn.0043a2c0
mov eax, dword [esp + 0x44]
xor ebx, ebx
mov ecx, dword [esp + 0x40]
test ecx, ecx
je 0x43683d
sub eax, ecx
sar eax, 2
cmp ebx, eax
jae 0x43683d
mov eax, dword [edi + 4]
test eax, eax
mov esi, dword [ecx + ebx*4]
mov dword [esp + 0x18], esi
jne 0x4367e5
xor edx, edx
jmp 0x4367ed
mov edx, dword [edi + 8]
sub edx, eax
sar edx, 2
test eax, eax
je 0x436811
mov ecx, dword [edi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x436811
mov eax, dword [edi + 8]
mov dword [eax], esi
add eax, 4
mov dword [edi + 8], eax
mov eax, dword [esp + 0x44]
add ebx, 1
jmp 0x4367c2
mov esi, dword [edi + 8]
cmp eax, esi
jbe 0x43681e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push esi
push edi
lea edx, [esp + 0x20]
push edx
lea eax, [esp + 0x80]
push eax
mov eax, edi
call fcn.0043a2c0
mov eax, dword [esp + 0x44]
add ebx, 1
jmp 0x4367c2
test ecx, ecx
mov dword [esp + 0x660], 0xffffffff
je 0x436855
push ecx
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
mov dword [esp + 0x40], eax
mov dword [esp + 0x44], eax
mov dword [esp + 0x48], eax
mov ecx, dword [edi + 4]
test ecx, ecx
jne 0x43686e
xor eax, eax
jmp 0x436876
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
push eax
push 0
mov esi, edi
call fcn.004368f0
mov ebx, dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
add esp, 8
xor esi, esi
jmp 0x436890
mov ecx, dword [edi + 4]
test ecx, ecx
je 0x4368c8
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x4368c8
test ecx, ecx
je 0x4368b3
mov eax, dword [edi + 8]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x4368b5
call ebx
mov ecx, dword [edi + 4]
mov ecx, dword [ecx + esi*4]
mov edx, dword [ecx]
mov eax, dword [edx + 0x78]
push esi
call eax
add esi, 1
jmp 0x436890
mov ecx, dword [esp + 0x658]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebx
mov ecx, dword [esp + 0x640]
xor ecx, esp
call fcn.0046d6fd
mov esp, ebp
pop ebp
ret