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

Disassembly:
push 0xffffffffffffffff
push 0x470691
mov eax, dword fs:[0]
push eax
sub esp, 0xb4
mov eax, dword [0x4f8028]
xor eax, esp
mov dword [esp + 0xac], eax
push ebp
push esi
push edi
mov eax, dword [0x4f8028]
xor eax, esp
push eax
lea eax, [esp + 0xc4]
mov dword fs:[0], eax
mov eax, dword [esp + 0xd4]
xor ebp, ebp
xor esi, esi
mov dword [esp + 0x50], eax
mov dword [esp + 0x3c], esi
lea ecx, [ecx]
mov ecx, dword [ebx + 0x2ec]
cmp ecx, ebp
je 0x46c0a8
mov eax, dword [ebx + 0x2f0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x46c0a8
cmp ecx, ebp
je 0x46b924
mov eax, dword [ebx + 0x2f0]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x46b92a
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x2ec]
mov esi, dword [ecx + esi*4]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
xor eax, eax
cmp ecx, ebp
mov byte [esp + 0xac], 0
mov dword [esp + 0xad], eax
mov word [esp + 0xb1], ax
mov byte [esp + 0xb3], al
jle 0x46b976
lea edi, [edx + ecx - 1]
mov dl, byte [edi]
mov byte [esp + eax + 0xac], dl
add eax, 1
sub edi, 1
cmp eax, ecx
jl 0x46b961
xor ebp, ebp
push 0x1c
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
cmp eax, ebp
je 0x46b995
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov edi, eax
mov dword [esp + 0x30], eax
jmp 0x46b99b
xor edi, edi
mov dword [esp + 0x30], edi
mov dword [esp + 0xcc], 0xffffffff
mov dword [edi], ebp
mov dword [edi + 4], esi
lea esi, [ebx + 0x358]
mov dword [edi + 0x18], ebp
mov eax, dword [esi + 4]
cmp eax, ebp
mov dword [esp + 0x2c], edi
jne 0x46b9c3
xor edx, edx
jmp 0x46b9cb
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ebp
je 0x46b9e8
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x46b9e8
mov eax, dword [esi + 8]
mov dword [eax], edi
add eax, 4
mov dword [esi + 8], eax
jmp 0x46ba0c
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x46b9f5
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
lea eax, [esp + 0x34]
push eax
lea ecx, [esp + 0x70]
push ecx
mov eax, esi
call fcn.0041b490
mov edi, dword [esp + 0x30]
xor esi, esi
mov dword [esp + 0x34], esi
mov ecx, dword [ebx + 0x2fc]
cmp ecx, ebp
je 0x46c031
mov eax, dword [ebx + 0x300]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x46c031
cmp ecx, ebp
je 0x46ba46
mov eax, dword [ebx + 0x300]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x46ba4c
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov edx, dword [ebx + 0x2fc]
mov esi, dword [edx + esi*4]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
xor eax, eax
cmp ecx, ebp
mov byte [esp + 0x8c], 0
mov dword [esp + 0x8d], eax
mov word [esp + 0x91], ax
mov byte [esp + 0x93], al
jle 0x46ba98
lea edi, [edx + ecx - 1]
mov dl, byte [edi]
mov byte [esp + eax + 0x8c], dl
add eax, 1
sub edi, 1
cmp eax, ecx
jl 0x46ba83
xor ebp, ebp
mov ecx, dword [esi + 0x4d]
mov edx, dword [esi + 0x51]
xor eax, eax
cmp ecx, ebp
mov byte [esp + 0x84], 0
mov dword [esp + 0x85], eax
mov word [esp + 0x89], ax
mov byte [esp + 0x8b], al
jle 0x46bae5
lea edi, [edx + ecx - 1]
jmp 0x46bad0
mov dl, byte [edi]
mov byte [esp + eax + 0x84], dl
add eax, 1
sub edi, 1
cmp eax, ecx
jl 0x46bad0
xor ebp, ebp
mov eax, dword [esp + 0xac]
cmp eax, dword [esp + 0x84]
jne 0x46c01f
mov ecx, dword [esp + 0xb0]
cmp ecx, dword [esp + 0x88]
jne 0x46c01f
push 0x1c
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
cmp eax, ebp
je 0x46bb2c
mov dword [eax + 0xc], ebp
mov dword [eax + 0x10], ebp
mov dword [eax + 0x14], ebp
mov edi, eax
mov dword [esp + 0x2c], eax
jmp 0x46bb32
xor edi, edi
mov dword [esp + 0x2c], edi
mov dword [esp + 0xcc], 0xffffffff
mov dword [edi], 1
mov dword [edi + 4], esi
mov esi, dword [esp + 0x30]
add esi, 8
mov dword [edi + 0x18], ebp
mov eax, dword [esi + 4]
cmp eax, ebp
mov dword [esp + 0x28], edi
jne 0x46bb5f
xor edx, edx
jmp 0x46bb67
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ebp
je 0x46bb84
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x46bb84
mov eax, dword [esi + 8]
mov dword [eax], edi
add eax, 4
mov dword [esi + 8], eax
jmp 0x46bba4
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x46bb91
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
lea edx, [esp + 0x30]
push edx
lea eax, [esp + 0x60]
push eax
mov eax, esi
call fcn.0041b490
xor esi, esi
mov dword [esp + 0x28], esi
lea ebx, [ebx]
mov ecx, dword [ebx + 0x30c]
cmp ecx, ebp
je 0x46c01f
mov eax, dword [ebx + 0x310]
sub eax, ecx
sar eax, 2
cmp esi, eax
jae 0x46c01f
cmp ecx, ebp
je 0x46bbe4
mov eax, dword [ebx + 0x310]
sub eax, ecx
sar eax, 2
cmp esi, eax
jb 0x46bbea
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x30c]
mov esi, dword [ecx + esi*4]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
xor eax, eax
cmp ecx, ebp
jle 0x46bc18
lea edi, [edx + ecx - 1]
mov dl, byte [edi]
mov byte [esp + eax + 0x9c], dl
add eax, 1
sub edi, 1
cmp eax, ecx
jl 0x46bc03
xor ebp, ebp
mov ecx, dword [esi + 0x4c]
mov edx, dword [esi + 0x50]
xor eax, eax
cmp ecx, ebp
mov byte [esp + 0x94], 0
mov dword [esp + 0x95], eax
mov word [esp + 0x99], ax
mov byte [esp + 0x9b], al
jle 0x46bc65
lea edi, [edx + ecx - 1]
jmp 0x46bc50
mov dl, byte [edi]
mov byte [esp + eax + 0x94], dl
add eax, 1
sub edi, 1
cmp eax, ecx
jl 0x46bc50
xor ebp, ebp
mov ecx, dword [esi + 0x54]
mov edx, dword [esi + 0x58]
xor eax, eax
cmp ecx, ebp
mov byte [esp + 0x7c], 0
mov dword [esp + 0x7d], eax
mov word [esp + 0x81], ax
mov byte [esp + 0x83], al
jle 0x46bca0
lea edi, [edx + ecx - 1]
lea ecx, [ecx]
mov dl, byte [edi]
mov byte [esp + eax + 0x7c], dl
add eax, 1
sub edi, 1
cmp eax, ecx
jl 0x46bc90
mov eax, dword [esp + 0x8c]
cmp eax, dword [esp + 0x94]
jne 0x46c00f
mov ecx, dword [esp + 0x90]
cmp ecx, dword [esp + 0x98]
jne 0x46c00f
push 0x1c
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
xor ecx, ecx
cmp eax, ecx
je 0x46bce9
mov dword [eax + 0xc], ecx
mov dword [eax + 0x10], ecx
mov dword [eax + 0x14], ecx
mov edi, eax
mov dword [esp + 0x38], eax
jmp 0x46bcef
xor edi, edi
mov dword [esp + 0x38], edi
mov dword [esp + 0xcc], 0xffffffff
mov dword [edi], 2
mov dword [edi + 4], esi
mov esi, dword [esp + 0x2c]
add esi, 8
mov dword [edi + 0x18], ecx
mov eax, dword [esi + 4]
cmp eax, ecx
mov dword [esp + 0x9c], edi
jne 0x46bd1f
xor edx, edx
jmp 0x46bd27
mov edx, dword [esi + 8]
sub edx, eax
sar edx, 2
cmp eax, ecx
je 0x46bd44
mov ecx, dword [esi + 0xc]
sub ecx, eax
sar ecx, 2
cmp edx, ecx
jae 0x46bd44
mov eax, dword [esi + 8]
mov dword [eax], edi
add eax, 4
mov dword [esi + 8], eax
jmp 0x46bd67
mov edi, dword [esi + 8]
cmp eax, edi
jbe 0x46bd51
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x68]
push eax
mov eax, esi
call fcn.0041b490
xor ebp, ebp
lea esp, [esp]
mov ecx, dword [ebx + 0x31c]
test ecx, ecx
je 0x46bebc
mov eax, dword [ebx + 0x320]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x46bebc
test ecx, ecx
je 0x46bda4
mov eax, dword [ebx + 0x320]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46bdaa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x31c]
mov esi, dword [ecx + ebp*4]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
xor eax, eax
test ecx, ecx
mov byte [esp + 0xa4], 0
mov dword [esp + 0xa5], eax
mov word [esp + 0xa9], ax
mov byte [esp + 0xab], al
jle 0x46bdf4
lea edi, [edx + ecx - 1]
mov dl, byte [edi]
mov byte [esp + eax + 0xa4], dl
add eax, 1
sub edi, 1
cmp eax, ecx
jl 0x46bde1
mov eax, dword [esp + 0xa4]
cmp eax, dword [esp + 0x7c]
jne 0x46beb4
mov ecx, dword [esp + 0xa8]
cmp ecx, dword [esp + 0x80]
jne 0x46beb4
push 0x1c
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
xor edx, edx
cmp eax, edx
je 0x46be34
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
jmp 0x46be36
xor eax, eax
mov dword [esp + 0xcc], 0xffffffff
mov dword [eax], 3
mov dword [eax + 4], esi
mov esi, dword [esp + 0x38]
add esi, 8
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 4]
cmp ecx, edx
mov dword [esp + 0x9c], eax
jne 0x46be66
xor edi, edi
jmp 0x46be6e
mov edi, dword [esi + 8]
sub edi, ecx
sar edi, 2
test ecx, ecx
je 0x46be91
mov edx, dword [esi + 0xc]
sub edx, ecx
sar edx, 2
cmp edi, edx
jae 0x46be91
mov ecx, dword [esi + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [esi + 8], ecx
add ebp, 1
jmp 0x46bd70
mov edi, dword [esi + 8]
cmp ecx, edi
jbe 0x46be9e
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x78]
push eax
mov eax, esi
call fcn.0041b490
add ebp, 1
jmp 0x46bd70
xor ebp, ebp
mov edi, edi
mov ecx, dword [ebx + 0x32c]
test ecx, ecx
je 0x46c00f
mov eax, dword [ebx + 0x330]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jae 0x46c00f
test ecx, ecx
je 0x46bef4
mov eax, dword [ebx + 0x330]
sub eax, ecx
sar eax, 2
cmp ebp, eax
jb 0x46befa
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
mov ecx, dword [ebx + 0x32c]
mov esi, dword [ecx + ebp*4]
mov ecx, dword [esi + 0x18]
mov edx, dword [esi + 0x1c]
xor eax, eax
test ecx, ecx
mov byte [esp + 0xb4], 0
mov dword [esp + 0xb5], eax
mov word [esp + 0xb9], ax
mov byte [esp + 0xbb], al
jle 0x46bf44
lea edi, [edx + ecx - 1]
mov dl, byte [edi]
mov byte [esp + eax + 0xb4], dl
add eax, 1
sub edi, 1
cmp eax, ecx
jl 0x46bf31
mov eax, dword [esp + 0xb4]
cmp eax, dword [esp + 0x7c]
jne 0x46c007
mov ecx, dword [esp + 0xb8]
cmp ecx, dword [esp + 0x80]
jne 0x46c007
push 0x1c
call sub.MFC80U.DLL_Ordinal_762
add esp, 4
xor edx, edx
cmp eax, edx
je 0x46bf84
mov dword [eax + 0xc], edx
mov dword [eax + 0x10], edx
mov dword [eax + 0x14], edx
jmp 0x46bf86
xor eax, eax
mov dword [esp + 0xcc], 0xffffffff
mov dword [eax], 4
mov dword [eax + 4], esi
mov esi, dword [esp + 0x38]
add esi, 8
mov dword [eax + 0x18], edx
mov ecx, dword [esi + 4]
cmp ecx, edx
mov dword [esp + 0x9c], eax
jne 0x46bfb6
xor edi, edi
jmp 0x46bfbe
mov edi, dword [esi + 8]
sub edi, ecx
sar edi, 2
test ecx, ecx
je 0x46bfe1
mov edx, dword [esi + 0xc]
sub edx, ecx
sar edx, 2
cmp edi, edx
jae 0x46bfe1
mov ecx, dword [esi + 8]
mov dword [ecx], eax
add ecx, 4
mov dword [esi + 8], ecx
add ebp, 1
jmp 0x46bec0
mov edi, dword [esi + 8]
cmp ecx, edi
jbe 0x46bfee
call dword [sym.imp.MSVCR80.dll__invalid_parameter_noinfo]
push edi
push esi
lea edx, [esp + 0xa4]
push edx
lea eax, [esp + 0x80]
push eax
mov eax, esi
call fcn.0041b490
add ebp, 1
jmp 0x46bec0
add dword [esp + 0x28], 1
mov esi, dword [esp + 0x28]
xor ebp, ebp
jmp 0x46bbb0
add dword [esp + 0x34], 1
mov esi, dword [esp + 0x34]
mov edi, dword [esp + 0x30]
jmp 0x46ba12
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
mov esi, dword [esp + 0x50]
push esi
lea ecx, [esp + 0x44]
mov edx, edi
mov dword [esp + 0xd0], 5
call fcn.0046c1a0
test eax, eax
jne 0x46c064
mov dword [edi], 7
jmp 0x46c072
lea ecx, [esp + 0x40]
push ecx
push esi
call fcn.0046c690
mov dword [edi + 0x18], eax
mov dword [esp + 0xcc], 0xffffffff
mov eax, dword [esp + 0x44]
cmp eax, ebp
je 0x46c08e
push eax
call sub.MFC80U.DLL_Ordinal_764
add esp, 4
add dword [esp + 0x3c], 1
mov esi, dword [esp + 0x3c]
mov dword [esp + 0x44], ebp
mov dword [esp + 0x48], ebp
mov dword [esp + 0x4c], ebp
jmp 0x46b8f0
mov ecx, dword [esp + 0xc4]
mov dword fs:[0], ecx
pop ecx
pop edi
pop esi
pop ebp
mov ecx, dword [esp + 0xac]
xor ecx, esp
call fcn.0046d6fd
add esp, 0xc0
ret 4