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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4eeeaf
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0x120
mov eax, dword [ebp + 8]
push ebx
push esi
xor ebx, ebx
push edi
mov edi, ecx
mov ecx, 1
add dword [edi + 0x14], ecx
cmp dword [edi + 0x120], ecx
mov dword [esp + 0x4c], edi
mov dword [eax], ebx
mov dword [eax + 4], ebx
mov dword [esp + 0x3c], ebx
mov dword [esp + 0x40], ebx
mov dword [esp + 0x44], ebx
mov dword [esp + 0x48], ebx
jne 0x45c0d1
mov ecx, dword [ebp + 0xc]
lea eax, [esp + 0x20]
push eax
push edi
call fcn.00458fd0
mov ecx, dword [eax + 4]
mov esi, dword [eax]
lea edx, [esp + 0xc8]
push edx
mov dword [esp + 0x28], ecx
call fcn.00415b40
mov dword [esp + 0x134], ebx
mov dword [esp + 0x110], ebx
mov dword [esp + 0x10c], ebx
mov dword [esp + 0x120], ebx
mov dword [esp + 0x11c], ebx
mov dword [esp + 0x118], ebx
mov dword [esp + 0x114], ebx
mov dword [esp + 0x124], ebx
mov dword [esp + 0xa0], ebx
mov dword [esp + 0xa4], ebx
mov dword [esp + 0xa8], ebx
cmp esi, ebx
mov byte [esp + 0x134], 1
jle 0x45bfe6
mov dword [esp + 0x38], ebx
mov dword [esp + 0x2c], ebx
mov dword [esp + 0x18], esi
jmp 0x45bef0
lea eax, [esp + 0x10c]
lea esi, [esp + 0x9c]
call fcn.004167a0
mov esi, dword [esp + 0xdc]
cmp esi, ebx
mov edx, dword [esp + 0xe0]
je 0x45bf3a
mov ecx, dword [esp + 0xe4]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x45bf3a
mov dword [edx], ebx
add edx, 4
mov dword [esp + 0xe0], edx
jmp 0x45bf6e
cmp esi, edx
mov dword [esp + 0x30], edx
jbe 0x45bf48
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0xdc]
push eax
lea edx, [esp + 0x40]
push edx
lea eax, [esp + 0xc0]
push eax
lea eax, [esp + 0xe8]
call fcn.00405d20
mov esi, dword [esp + 0xfc]
cmp esi, ebx
mov edx, dword [esp + 0x100]
je 0x45bfa7
mov ecx, dword [esp + 0x104]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x45bfa7
mov eax, edx
add eax, 4
mov dword [edx], ebx
mov dword [esp + 0x100], eax
jmp 0x45bfdb
cmp esi, edx
mov dword [esp + 0x30], edx
jbe 0x45bfb5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x30]
push ecx
lea eax, [esp + 0xfc]
push eax
lea edx, [esp + 0x34]
push edx
lea eax, [esp + 0xcc]
push eax
lea eax, [esp + 0x108]
call fcn.00405d20
sub dword [esp + 0x18], 1
jne 0x45bef0
mov eax, dword [esp + 0x24]
cmp eax, ebx
jle 0x45c07e
mov dword [esp + 0x30], ebx
mov dword [esp + 0x18], eax
lea ebx, [ebx]
lea ebx, [esp + 0x9c]
lea esi, [esp + 0xc8]
call fcn.004160f0
mov esi, dword [esp + 0xec]
test esi, esi
mov edx, dword [esp + 0xf0]
je 0x45c050
mov ecx, dword [esp + 0xf4]
mov eax, edx
sub eax, esi
sub ecx, esi
sar eax, 2
sar ecx, 2
cmp eax, ecx
jae 0x45c050
mov eax, edx
add eax, 4
mov dword [edx], 0
mov dword [esp + 0xf0], eax
jmp 0x45c077
cmp esi, edx
mov ebx, edx
jbe 0x45c05c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push ebx
lea eax, [esp + 0xec]
push eax
lea ecx, [esp + 0x38]
push ecx
lea edx, [esp + 0xc0]
push edx
call fcn.00405d20
sub dword [esp + 0x18], 1
jne 0x45c000
lea esi, [edi + 4]
lea ebx, [esp + 0xc8]
call fcn.00416220
mov eax, dword [esp + 0xa0]
test eax, eax
je 0x45c0a1
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
xor eax, eax
lea esi, [esp + 0xc8]
mov dword [esp + 0xa0], eax
mov dword [esp + 0xa4], eax
mov dword [esp + 0xa8], eax
mov dword [esp + 0x134], 0xffffffff
call fcn.00415ba0
xor ebx, ebx
mov ecx, dword [edi + 8]
cmp ecx, ebx
mov esi, dword [edi + 0x14]
mov dword [esp + 0xbc], esi
je 0x45c0ee
mov eax, dword [edi + 0xc]
sub eax, ecx
sar eax, 6
cmp esi, eax
jb 0x45c0f4
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [edi + 8]
mov eax, esi
shl eax, 6
add ecx, eax
mov dword [esp + 0xc0], eax
push ecx
lea eax, [esp + 0x5c]
push eax
call fcn.00415c20
mov dword [esp + 0x134], 2
mov ecx, dword [esp + 0x6c]
cmp ecx, ebx
jne 0x45c129
mov dword [esp + 0x20], ebx
jmp 0x45c136
mov eax, dword [esp + 0x70]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x20], eax
mov ecx, dword [esp + 0x7c]
cmp ecx, ebx
jne 0x45c144
mov dword [esp + 0x24], ebx
jmp 0x45c154
mov eax, dword [esp + 0x80]
sub eax, ecx
sar eax, 2
mov dword [esp + 0x24], eax
lea ebx, [edi + 0x3c]
push str.table
mov ecx, ebx
mov dword [esp + 0xb8], ebx
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
push ebx
lea esi, [edi + 0x21c]
call fcn.004163a0
mov eax, dword [ebx]
push ebx
push eax
push edi
call fcn.00457c20
push ecx
mov ecx, esp
mov dword [esp + 0x38], esp
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
push edi
call fcn.004575f0
lea ecx, [esp + 0xac]
mov dword [esp + 0x30], 0
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov edx, dword [ebp + 0xc]
lea ecx, [esp + 0xac]
push ecx
push edx
lea eax, [esp + 0x40]
push eax
lea ecx, [esp + 0x3c]
mov byte [esp + 0x140], 4
call fcn.00453c90
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0xb0]
push ecx
lea ecx, [esp + 0xb0]
call fcn.00453af0
push 1
push ebx
lea edx, [esp + 0xb8]
push edx
lea eax, [esp + 0x3c]
push eax
mov ebx, edi
mov byte [esp + 0x144], 5
call fcn.00458ad0
mov esi, edi
call fcn.004542b0
cmp dword [edi + 0x120], 1
mov esi, dword [esp + 0x6c]
je 0x45c4b6
test esi, esi
mov eax, dword [ebp + 0x10]
mov ecx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], ecx
mov dword [esp + 0x48], eax
mov dword [esp + 0x40], eax
jne 0x45c23d
xor eax, eax
jmp 0x45c246
mov eax, dword [esp + 0x70]
sub eax, esi
sar eax, 2
mov edx, dword [edi + 0xa8]
lea eax, [edx + eax - 1]
mov dword [esp + 0xc], eax
lea eax, [esp + 0x68]
xor ebx, ebx
call fcn.00405d00
test eax, eax
jbe 0x45c29b
test esi, esi
je 0x45c274
mov eax, dword [esp + 0x70]
sub eax, esi
sar eax, 2
cmp ebx, eax
jb 0x45c27e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esi + ebx*4]
add ecx, dword [edi + 0xa8]
lea eax, [esp + 0x68]
add dword [esp + 0xc], ecx
add ebx, 1
call fcn.00405d00
cmp ebx, eax
jb 0x45c263
mov ebx, dword [esp + 0x7c]
test ebx, ebx
jne 0x45c2a7
xor eax, eax
jmp 0x45c2b3
mov eax, dword [esp + 0x80]
sub eax, ebx
sar eax, 2
mov edx, dword [edi + 0xa8]
add edx, eax
mov eax, dword [esp + 0x48]
lea ecx, [eax + edx - 1]
lea eax, [esp + 0x78]
mov dword [esp + 0x48], ecx
mov dword [esp + 0x10], 0
call fcn.00405d00
test eax, eax
jbe 0x45c31f
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x45c2f4
mov eax, dword [esp + 0x80]
sub eax, ebx
sar eax, 2
cmp esi, eax
jb 0x45c2fe
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x7c]
mov edx, dword [ebx + esi*4]
add edx, dword [edi + 0xa8]
lea eax, [esp + 0x78]
add dword [esp + 0x48], edx
add esi, 1
call fcn.00405d00
cmp esi, eax
jb 0x45c2e0
mov esi, dword [esp + 0x6c]
mov eax, 6
cmp dword [edi + 0x88], eax
je 0x45c334
mov eax, dword [edi + 0x8c]
add eax, eax
add dword [esp + 0xc], eax
add dword [esp + 0x48], eax
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
sub eax, dword [ecx]
cmp dword [esp + 0xc], eax
mov dword [esp + 0x28], eax
jge 0x45c4a6
sub eax, dword [esp + 0xc]
mov dword [esp + 0x1c], eax
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x10], eax
lea eax, [esp + 0x88]
call fcn.00405d00
test eax, eax
mov ebx, dword [esp + 0x8c]
jbe 0x45c3c2
mov esi, dword [esp + 0x10]
test ebx, ebx
je 0x45c393
mov eax, dword [esp + 0x90]
sub eax, ebx
sar eax, 2
cmp esi, eax
jb 0x45c3a0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x8c]
cmp dword [ebx + esi*4], 0
jne 0x45c3ab
add dword [esp + 0x14], 1
lea eax, [esp + 0x88]
add esi, 1
call fcn.00405d00
cmp esi, eax
jb 0x45c37f
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x70]
xor edx, edx
test ebx, ebx
mov dword [esp + 0x10], edx
je 0x45c467
mov eax, dword [esp + 0x90]
sub eax, ebx
sar eax, 2
cmp edx, eax
jae 0x45c467
cmp dword [esp + 0x14], 0
jle 0x45c467
cmp edx, eax
jb 0x45c40c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
cmp dword [ebx + edx*4], 0
jne 0x45c45f
mov eax, dword [esp + 0x1c]
cdq
idiv dword [esp + 0x14]
test esi, esi
mov ebx, eax
je 0x45c42e
mov eax, dword [esp + 0x10]
sub ecx, esi
sar ecx, 2
cmp eax, ecx
jb 0x45c43c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
add dword [esi + eax*4], ebx
sub dword [esp + 0x1c], ebx
sub dword [esp + 0x14], 1
add dword [esp + 0xc], ebx
mov ebx, dword [esp + 0x8c]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x10]
add edx, 1
jmp 0x45c3c8
mov eax, dword [esp + 0x28]
cmp dword [esp + 0xc], eax
jge 0x45c4a2
mov eax, dword [edi + 0x80]
sub eax, 1
je 0x45c491
sub eax, 1
jne 0x45c4a2
mov ecx, dword [ebp + 0x10]
mov eax, dword [ecx + 8]
sub eax, dword [esp + 0xc]
mov dword [esp + 0x3c], eax
jmp 0x45c4a2
mov eax, dword [esp + 0x28]
sub eax, dword [esp + 0xc]
cdq
sub eax, edx
sar eax, 1
add dword [esp + 0x3c], eax
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x3c]
mov eax, dword [esp + 0xc]
add eax, edx
mov dword [esp + 0x44], eax
jmp 0x45c4ba
mov ebx, dword [esp + 0x7c]
cmp dword [edi + 0x120], 0
jne 0x45c5a3
mov eax, dword [edi + 0x78]
test eax, eax
jl 0x45c4ec
mov ecx, dword [edi + 0x70]
mov edx, dword [edi + 0x6c]
mov ebx, dword [edi + 0x118]
push ecx
mov ecx, dword [edi + 0x60]
push edx
push ecx
push eax
lea esi, [esp + 0x4c]
call fcn.0045f3a0
jmp 0x45c52b
mov edx, dword [edi + 0x7c]
cmp dword [edx - 0xc], 0
lea eax, [edi + 0x7c]
je 0x45c533
push ecx
mov ecx, esp
mov dword [esp + 0x34], esp
push eax
call dword [sym.imp.MFC80U.DLL_Ordinal_280]
mov eax, dword [esp + 0x44]
mov ecx, dword [esp + 0x4c]
mov edx, dword [esp + 0x48]
sub ecx, eax
push ecx
mov ecx, dword [esp + 0x44]
sub edx, ecx
push edx
push eax
mov eax, dword [edi + 0x118]
push ecx
push eax
push edi
call fcn.00455810
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [edi + 0x8c]
test ecx, ecx
jle 0x45c5a3
cmp dword [edi + 0x100], 0
je 0x45c569
mov eax, dword [edi + 0x88]
test eax, eax
mov edx, dword [edi + 0x118]
je 0x45c5a3
push ecx
mov ecx, dword [esp + 0x4c]
push eax
mov eax, dword [edi + 0x68]
push eax
mov eax, dword [edi + 0x64]
push eax
push ecx
mov esi, edx
jmp 0x45c588
mov edx, dword [edi + 0x88]
test edx, edx
mov eax, dword [edi + 0x104]
je 0x45c5a3
mov esi, dword [edi + 0x118]
push ecx
push edx
mov edx, dword [esp + 0x50]
push eax
push eax
push edx
mov eax, dword [esp + 0x58]
mov ecx, dword [esp + 0x54]
push eax
mov eax, dword [esp + 0x54]
push ecx
call fcn.0045d5b0
mov esi, dword [esp + 0x6c]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x40]
mov ecx, dword [esp + 0x3c]
mov eax, dword [esp + 0x44]
mov dword [esp + 0xa0], edx
mov edx, dword [esp + 0x48]
mov dword [esp + 0xa8], edx
mov edx, 1
cmp dword [edi + 0x120], edx
mov dword [esp + 0x9c], ecx
mov dword [esp + 0xa4], eax
je 0x45c611
cmp dword [edi + 0x88], 6
jne 0x45c5ed
add ecx, 3
lea eax, [edx + 2]
jmp 0x45c5f5
mov eax, dword [edi + 0x8c]
add ecx, eax
add dword [esp + 0xa0], eax
sub dword [esp + 0xa4], eax
sub dword [esp + 0xa8], eax
mov dword [esp + 0x9c], ecx
cmp dword [esp + 0x20], 0
je 0x45c74a
cmp dword [esp + 0x24], 0
je 0x45c74a
xor esi, esi
lea ecx, [esp + 0x2c]
mov dword [esp + 0x1c], esi
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_293]
mov byte [esp + 0x134], 8
cmp dword [esp + 0x24], esi
mov dword [esp + 0xc], esi
jle 0x45c713
push ecx
mov ecx, esp
mov dword [esp + 0x1c], esp
push 0x5ed844
call dword [sym.imp.MFC80U.DLL_Ordinal_283]
mov edi, dword [ebp + 0xc]
lea esi, [esp + 0x20]
call fcn.00454a40
test eax, eax
je 0x45c6fe
mov esi, dword [esp + 0x1c]
lea ebx, [esp + 0x18]
mov eax, edi
mov dword [esp + 0x18], esi
call fcn.00457390
mov ebx, dword [esp + 0x18]
mov edx, ebx
sub edx, esi
push edx
push esi
lea eax, [esp + 0x38]
push eax
mov ecx, edi
call dword [sym.imp.MFC80U.DLL_Ordinal_4101]
push eax
lea ecx, [esp + 0x2c]
mov byte [esp + 0x138], 9
call dword [sym.imp.MFC80U.DLL_Ordinal_774]
lea ecx, [esp + 0x30]
mov byte [esp + 0x134], 8
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ecx, dword [esp + 0xc]
push ecx
lea edx, [esp + 0x5c]
push edx
mov edx, dword [esp + 0x54]
lea eax, [esp + 0xa4]
push eax
lea ecx, [esp + 0x34]
push ecx
push edx
call fcn.0045b850
add ebx, 5
mov dword [esp + 0x1c], ebx
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
jl 0x45c661
lea ecx, [esp + 0x28]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x38]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0x2c]
mov byte [esp + 0x134], 5
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x4c]
mov edx, 1
cmp dword [edi + 0x120], 0
je 0x45cdf7
cmp dword [esp + 0x20], edx
mov ecx, dword [esp + 0x5c]
mov dword [esp + 0xc], edx
jl 0x45caa5
lea esp, [esp]
cmp dword [esp + 0x24], 0
mov dword [esp + 0x2c], 0
jle 0x45ca87
mov dword [esp + 0x18], 0
jmp 0x45c790
test ecx, ecx
je 0x45c7a3
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x2c], eax
jb 0x45c7b1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x6c]
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x18]
xor edi, edi
cmp dword [esp + 0x20], edi
lea edx, [ecx + eax]
mov dword [esp + 0x38], edx
mov dword [esp + 0x14], edi
jle 0x45ca6d
xor eax, eax
mov dword [esp + 0x10], eax
mov dword [esp + 0x54], eax
mov eax, dword [esp + 0xc]
lea ecx, [eax*4 - 4]
mov dword [esp + 0x50], ecx
mov ecx, dword [esp + 0x38]
mov eax, dword [ecx + 4]
test eax, eax
je 0x45c80c
mov ecx, dword [ecx + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp edi, eax
jb 0x45c816
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x38]
mov ebx, dword [eax + 4]
add ebx, dword [esp + 0x54]
mov eax, dword [esp + 0xc]
cmp dword [ebx], eax
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x90]
mov dword [esp + 0x1c], ebx
jne 0x45ca46
cmp eax, 1
jne 0x45c904
test esi, esi
je 0x45c854
mov eax, ecx
sub eax, esi
sar eax, 2
cmp edi, eax
jb 0x45c862
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov eax, dword [ebx + 0x10]
mov edx, dword [esp + 0x10]
cmp dword [edx + esi], eax
jle 0x45c898
test esi, esi
je 0x45c87d
mov eax, ecx
sub eax, esi
sar eax, 2
cmp edi, eax
jb 0x45c88b
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x10]
mov edx, dword [eax + esi]
mov dword [esp + 0x1c], edx
jmp 0x45c89c
mov dword [esp + 0x1c], eax
test esi, esi
je 0x45c8a9
sub ecx, esi
sar ecx, 2
cmp edi, ecx
jb 0x45c8b3
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
mov ecx, dword [esp + 0x10]
mov dword [ecx + esi], eax
cmp dword [ebx + 0x18], 0
je 0x45ca3e
mov ecx, dword [esp + 0x8c]
test ecx, ecx
je 0x45c8e3
mov eax, dword [esp + 0x90]
sub eax, ecx
sar eax, 2
cmp edi, eax
jb 0x45c8f0
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x8c]
mov edx, dword [esp + 0x10]
mov dword [edx + ecx], 1
mov esi, dword [esp + 0x6c]
jmp 0x45ca46
test eax, eax
mov dword [esp + 0x28], 0
jle 0x45c9a3
mov eax, dword [esp + 0xc]
mov edi, dword [esp + 0x14]
mov ebx, dword [esp + 0x10]
mov dword [esp + 0x30], eax
test esi, esi
je 0x45c933
mov eax, ecx
sub eax, esi
sar eax, 2
cmp edi, eax
jb 0x45c948
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
mov eax, dword [ebx + esi]
add dword [esp + 0x28], eax
mov eax, dword [esp + 0x1c]
cmp dword [eax + 0x18], 0
je 0x45c996
cmp dword [esp + 0x8c], 0
je 0x45c973
sub edx, dword [esp + 0x8c]
sar edx, 2
mov eax, edx
cmp edi, eax
jb 0x45c979
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x8c]
mov dword [ebx + ecx], 1
mov edx, dword [esp + 0x90]
mov ecx, dword [esp + 0x70]
mov esi, dword [esp + 0x6c]
add ebx, 4
add edi, 1
sub dword [esp + 0x30], 1
jne 0x45c924
mov edx, dword [esp + 0x1c]
mov eax, dword [esp + 0x28]
cmp eax, dword [edx + 8]
jge 0x45ca42
mov eax, dword [edx + 0x10]
mov edi, dword [esp + 0x28]
mov ebx, dword [esp + 0xc]
sub eax, edi
cdq
idiv ebx
test esi, esi
mov dword [esp + 0x30], eax
je 0x45c9dd
mov eax, dword [esp + 0x14]
sub ecx, esi
sar ecx, 2
lea edx, [eax + ebx - 1]
cmp edx, ecx
jb 0x45c9e7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x6c]
mov eax, dword [esp + 0x1c]
mov eax, dword [eax + 0x10]
sub eax, edi
cdq
idiv ebx
mov eax, dword [esp + 0x50]
add dword [esi + eax], edx
xor esi, esi
test ebx, ebx
jle 0x45ca3e
mov ebx, dword [esp + 0x10]
mov edi, dword [esp + 0xc]
mov eax, dword [esp + 0x6c]
test eax, eax
je 0x45ca23
mov ecx, dword [esp + 0x70]
mov edx, dword [esp + 0x14]
sub ecx, eax
sar ecx, 2
add edx, esi
cmp edx, ecx
jb 0x45ca2d
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x6c]
mov ecx, dword [esp + 0x30]
add dword [ebx + eax], ecx
add esi, 1
add ebx, 4
cmp esi, edi
jl 0x45ca08
mov esi, dword [esp + 0x6c]
mov edi, dword [esp + 0x14]
add dword [esp + 0x54], 0x1c
mov eax, 4
add dword [esp + 0x10], eax
add dword [esp + 0x50], eax
add edi, 1
cmp edi, dword [esp + 0x20]
mov dword [esp + 0x14], edi
jl 0x45c7e5
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x18], 0x10
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x2c], eax
jl 0x45c790
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0xc], eax
jle 0x45c770
mov ebx, dword [esp + 0x7c]
mov edx, 1
cmp dword [esp + 0x24], edx
mov dword [esp + 0xc], edx
jl 0x45cd35
cmp dword [esp + 0x24], 0
mov dword [esp + 0x10], 0
jle 0x45cd1c
xor eax, eax
mov dword [esp + 0x14], eax
mov dword [esp + 0x54], eax
test ecx, ecx
je 0x45cae3
mov eax, dword [esp + 0x60]
sub eax, ecx
sar eax, 4
cmp dword [esp + 0x10], eax
jb 0x45caf1
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x5c]
cmp dword [esp + 0x20], 0
mov edx, dword [esp + 0x54]
lea eax, [ecx + edx]
mov dword [esp + 0x38], eax
mov dword [esp + 0x2c], 0
jle 0x45ccfd
mov dword [esp + 0x50], 0
mov esi, dword [esp + 0x38]
mov eax, dword [esi + 4]
test eax, eax
je 0x45cb40
mov ecx, dword [esi + 8]
sub ecx, eax
mov eax, 0x92492493
imul ecx
add edx, ecx
sar edx, 4
mov eax, edx
shr eax, 0x1f
add eax, edx
cmp dword [esp + 0x2c], eax
jb 0x45cb4a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x7c]
mov esi, dword [esi + 4]
add esi, dword [esp + 0x50]
mov ecx, dword [esp + 0xc]
cmp dword [esi + 4], ecx
mov dword [esp + 0x18], esi
jne 0x45ccdf
cmp ecx, 1
jne 0x45cbf4
test ebx, ebx
mov edi, dword [esp + 0x10]
je 0x45cb85
mov ecx, dword [esp + 0x80]
mov eax, ecx
sub eax, ebx
sar eax, 2
cmp edi, eax
jb 0x45cb96
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x14]
mov edx, dword [esp + 0x14]
cmp dword [ebx + edx], eax
jle 0x45cbcf
test ebx, ebx
je 0x45cbb5
mov eax, ecx
sub eax, ebx
sar eax, 2
cmp edi, eax
jb 0x45cbc6
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [esp + 0x80]
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x14]
mov esi, dword [ebx + eax]
jmp 0x45cbd1
mov esi, eax
test ebx, ebx
je 0x45cbde
sub ecx, ebx
sar ecx, 2
cmp edi, ecx
jb 0x45cbe8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0x14]
mov dword [ebx + ecx], esi
jmp 0x45ccdb
mov ecx, dword [esp + 0xc]
xor edi, edi
xor esi, esi
test ecx, ecx
jle 0x45cc45
mov edx, dword [esp + 0x14]
mov dword [esp + 0x30], edx
test ebx, ebx
je 0x45cc22
mov eax, dword [esp + 0x80]
mov edx, dword [esp + 0x10]
sub eax, ebx
sar eax, 2
add edx, esi
cmp edx, eax
jb 0x45cc30
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0xc]
mov eax, dword [esp + 0x30]
add edi, dword [ebx + eax]
add esi, 1
add eax, 4
cmp esi, ecx
mov dword [esp + 0x30], eax
jl 0x45cc08
mov eax, dword [esp + 0x18]
mov eax, dword [eax + 0x14]
cmp edi, eax
jge 0x45ccdf
sub eax, edi
cdq
idiv ecx
test ebx, ebx
mov dword [esp + 0x30], eax
je 0x45cc73
mov eax, dword [esp + 0x80]
sub eax, ebx
sar eax, 2
cmp dword [esp + 0x10], eax
jb 0x45cc81
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x7c]
mov ecx, dword [esp + 0xc]
mov edx, dword [esp + 0x18]
mov eax, dword [edx + 0x14]
sub eax, edi
cdq
idiv ecx
mov eax, dword [esp + 0x14]
xor esi, esi
add dword [ebx + eax], edx
test ecx, ecx
jle 0x45ccdb
mov ebx, eax
lea esp, [esp]
mov eax, dword [esp + 0x7c]
test eax, eax
je 0x45ccbe
mov ecx, dword [esp + 0x80]
mov edx, dword [esp + 0x10]
sub ecx, eax
sar ecx, 2
add edx, esi
cmp edx, ecx
jb 0x45ccc8
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov eax, dword [esp + 0x7c]
mov ecx, dword [esp + 0x30]
add dword [eax + ebx], ecx
add esi, 1
add ebx, 4
cmp esi, dword [esp + 0xc]
jl 0x45cca0
mov ebx, dword [esp + 0x7c]
mov eax, dword [esp + 0x2c]
add dword [esp + 0x50], 0x1c
add eax, 1
cmp eax, dword [esp + 0x20]
mov dword [esp + 0x2c], eax
jl 0x45cb17
mov ecx, dword [esp + 0x5c]
mov eax, dword [esp + 0x10]
add dword [esp + 0x54], 0x10
add dword [esp + 0x14], 4
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0x10], eax
jl 0x45cad0
mov eax, dword [esp + 0xc]
add eax, 1
cmp eax, dword [esp + 0x24]
mov dword [esp + 0xc], eax
jle 0x45cab3
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov ecx, dword [edx + 0xa8]
mov eax, dword [esp + 0x20]
lea edi, [eax + ecx - 1]
mov eax, dword [ebp + 8]
add dword [eax], edi
mov edi, dword [esp + 0x24]
lea ecx, [edi + ecx - 1]
add dword [eax + 4], ecx
xor edi, edi
cmp dword [esp + 0x20], edi
jle 0x45cd9a
nop
test esi, esi
je 0x45cd71
mov ecx, dword [esp + 0x70]
sub ecx, esi
sar ecx, 2
cmp edi, ecx
jb 0x45cd82
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov esi, dword [esp + 0x6c]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 8]
mov ecx, dword [esi + edi*4]
add ecx, dword [edx + 0xa8]
add edi, 1
add dword [eax], ecx
cmp edi, dword [esp + 0x20]
jl 0x45cd60
mov ebx, dword [esp + 0x7c]
xor esi, esi
cmp dword [esp + 0x24], esi
jle 0x45cddc
test ebx, ebx
je 0x45cdb6
mov ecx, dword [esp + 0x80]
sub ecx, ebx
sar ecx, 2
cmp esi, ecx
jb 0x45cdc7
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ebx, dword [esp + 0x7c]
mov edx, dword [esp + 0x4c]
mov eax, dword [ebp + 8]
mov ecx, dword [ebx + esi*4]
add ecx, dword [edx + 0xa8]
add esi, 1
add dword [eax + 4], ecx
cmp esi, dword [esp + 0x24]
jl 0x45cda2
cmp dword [edx + 0x88], 6
mov ecx, dword [edx + 0x8c]
jne 0x45cdee
lea ecx, [ecx + ecx*2]
add ecx, ecx
add dword [eax], ecx
add dword [eax + 4], ecx
jmp 0x45ce13
mov ecx, dword [esp + 0x44]
sub ecx, dword [esp + 0x3c]
mov eax, dword [ebp + 8]
mov edx, dword [esp + 0x4c]
mov dword [eax], ecx
mov ecx, dword [esp + 0x48]
sub ecx, dword [esp + 0x40]
mov dword [eax + 4], ecx
mov eax, dword [edx + 8]
test eax, eax
je 0x45ce2b
mov edx, dword [edx + 0xc]
sub edx, eax
sar edx, 6
cmp dword [esp + 0xbc], edx
jb 0x45ce31
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [esp + 0x4c]
mov edi, dword [edx + 8]
add edi, dword [esp + 0xc0]
lea esi, [esp + 0x58]
mov eax, edi
call fcn.00415fa0
lea eax, [edi + 0x10]
push eax
lea ebx, [esp + 0x6c]
call fcn.0040b680
lea ecx, [edi + 0x20]
push ecx
lea ebx, [esp + 0x7c]
call fcn.0040b680
add edi, 0x30
push edi
lea ebx, [esp + 0x8c]
call fcn.0040b680
mov ecx, dword [esp + 0xb4]
push str.table
call dword [sym.imp.MFC80U.DLL_Ordinal_776]
mov esi, dword [esp + 0x4c]
push 1
mov ebx, esi
call fcn.00455e40
test eax, eax
je 0x45ce9c
call fcn.004542b0
lea ecx, [esp + 0xb0]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea ecx, [esp + 0xac]
call dword [sym.imp.MFC80U.DLL_Ordinal_577]
lea esi, [esp + 0x58]
call fcn.00415ba0
mov ecx, dword [esp + 0x12c]
mov eax, dword [ebp + 8]
pop edi
pop esi
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0xc