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

Disassembly:
push ebp
mov ebp, esp
and esp, 0xfffffff8
push 0xffffffffffffffff
push 0x4ebaa6
mov eax, dword fs:[0]
push eax
mov dword fs:[0], esp
sub esp, 0xc4
push ebx
push esi
push edi
mov esi, ecx
mov ecx, dword [ebp + 0x1c]
xor ebx, ebx
push 0xffffffffffffffff
push ebx
mov dword [esp + 0x18], esi
call sub.MFC42.DLL_CUIntArray::SetSize
mov eax, dword [esi + 0x5c]
xor edi, edi
dec eax
mov dword [esp + 0x1c], ebx
test eax, eax
mov dword [esp + 0x20], 0x40e38800
jle 0x46d998
jmp 0x46d777
mov esi, dword [esp + 0x10]
lea ecx, [esp + 0x78]
push edi
add esi, 0x54
push ecx
mov ecx, esi
mov dword [esp + 0x1c], 0
mov dword [esp + 0x20], 0
call fcn.0040b280
lea eax, [edi + 1]
lea edx, [esp + 0x48]
push eax
push edx
mov ecx, esi
mov dword [esp + 0xe0], ebx
mov dword [esp + 0x38], eax
call fcn.0040b280
mov eax, dword [esp + 0x54]
mov byte [esp + 0xd8], 1
cmp eax, ebx
jne 0x46d7cc
cmp dword [ebp + 0x14], ebx
jne 0x46d7da
jmp 0x46d960
cmp eax, 1
jne 0x46d7da
cmp dword [ebp + 0x18], ebx
je 0x46d960
lea ecx, [esp + 0xa8]
call fcn.00435570
lea eax, [esp + 0x48]
lea ecx, [esp + 0x4c]
neg eax
sbb eax, eax
lea edx, [esp + 0x7c]
and eax, ecx
lea ecx, [esp + 0x78]
neg ecx
sbb ecx, ecx
xor esi, esi
and ecx, edx
xor edx, edx
push esi
push edx
mov edx, dword [eax + 4]
mov eax, dword [eax]
push edx
mov edx, dword [ecx + 4]
push eax
mov eax, dword [ecx]
push edx
push eax
push ebx
lea ecx, [esp + 0xc4]
mov byte [esp + 0xf4], 2
call fcn.00435600
mov esi, dword [ebp + 0x10]
mov edx, dword [ebp + 0xc]
mov eax, dword [ebp + 8]
lea ecx, [esp + 0x14]
push ecx
push 0xf
push esi
push edx
push eax
lea ecx, [esp + 0xbc]
call fcn.00435640
cmp eax, ebx
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0xa8]
jne 0x46d867
call fcn.004355f0
jmp 0x46d960
call fcn.004355f0
mov ecx, dword [ebp + 0xc]
lea edx, [esp + 0x28]
push edx
mov dword [esp + 0x2c], ecx
mov dword [esp + 0x30], esi
call fcn.004346a0
add esp, 4
lea ecx, [esp + 0x34]
call fcn.004dc560
lea eax, [esp + 0x78]
lea ecx, [esp + 0x7c]
neg eax
sbb eax, eax
mov byte [esp + 0xd8], 3
and eax, ecx
lea ecx, [esp + 0x4c]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x3c], eax
lea eax, [esp + 0x48]
neg eax
sbb eax, eax
mov dword [esp + 0x38], edx
and eax, ecx
lea ecx, [esp + 0xc8]
push ecx
lea ecx, [esp + 0x38]
mov edx, dword [eax]
mov eax, dword [eax + 4]
mov dword [esp + 0x44], edx
mov edx, dword [esp + 0x30]
mov dword [esp + 0x48], eax
mov eax, dword [esp + 0x2c]
push edx
push eax
call fcn.004dc6b0
cmp eax, ebx
mov byte [esp + 0xd8], 1
lea ecx, [esp + 0x34]
jne 0x46d8fd
call fcn.004dc5b0
jmp 0x46d960
call fcn.004dc5b0
fld qword [esp + 0x14]
fmul qword [0x4f67f0]
call sub.MSVCRT.dll__ftol
fld qword [esp + 0x1c]
fmul qword [0x4f67f0]
mov esi, eax
call sub.MSVCRT.dll__ftol
cmp esi, eax
jne 0x46d935
mov ecx, dword [ebp + 0x1c]
push edi
mov eax, dword [ecx + 8]
push eax
call sub.MFC42.DLL_CUIntArray::SetAtGrow
jmp 0x46d960
jge 0x46d960
mov esi, dword [ebp + 0x1c]
push 0xffffffffffffffff
push ebx
mov ecx, esi
call sub.MFC42.DLL_CUIntArray::SetSize
mov eax, dword [esi + 8]
push edi
push eax
mov ecx, esi
call sub.MFC42.DLL_CUIntArray::SetAtGrow
mov ecx, dword [esp + 0x14]
mov edx, dword [esp + 0x18]
mov dword [esp + 0x1c], ecx
mov dword [esp + 0x20], edx
lea ecx, [esp + 0x48]
mov byte [esp + 0xd8], bl
call fcn.00456e80
lea ecx, [esp + 0x78]
mov dword [esp + 0xd8], 0xffffffff
call fcn.00456e80
mov eax, dword [esp + 0x10]
mov edi, dword [esp + 0x30]
mov ecx, dword [eax + 0x5c]
dec ecx
cmp edi, ecx
jl 0x46d773
mov edx, dword [ebp + 0x1c]
xor eax, eax
pop edi
pop esi
mov ecx, dword [edx + 8]
cmp ecx, ebx
mov ecx, dword [esp + 0xc8]
setne al
mov dword fs:[0], ecx
pop ebx
mov esp, ebp
pop ebp
ret 0x18